Framework/Models/SVT/SVTResource.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Set-StrictMode -Version Latest 

class SubscriptionMapping
{    
    [string] $JsonFileName
    [string] $ClassName
    [string] $FixClassName = "";
    [string] $FixFileName = "";
}

class ResourceTypeMapping: SubscriptionMapping
{
    [string] $ResourceTypeName
    [string] $ResourceType
}

#Class used to create SVTResources list inside resolver
class SVTResource
{
    [string] $ResourceId = "";
    [string] $ResourceGroupName = "";
    [string] $ResourceName = ""; 
    [string] $Location = "";
    [string] $ResourceType = "";
    hidden [ResourceTypeMapping] $ResourceTypeMapping = $null;
    [PSObject] $ResourceDetails
}