...
1 package subscriptions
2
3
4
5
6
7
8
9
10 type LocationType string
11
12 const (
13
14 LocationTypeEdgeZone LocationType = "EdgeZone"
15
16 LocationTypeRegion LocationType = "Region"
17 )
18
19
20 func PossibleLocationTypeValues() []LocationType {
21 return []LocationType{LocationTypeEdgeZone, LocationTypeRegion}
22 }
23
24
25 type RegionCategory string
26
27 const (
28
29 RegionCategoryExtended RegionCategory = "Extended"
30
31 RegionCategoryOther RegionCategory = "Other"
32
33 RegionCategoryRecommended RegionCategory = "Recommended"
34 )
35
36
37 func PossibleRegionCategoryValues() []RegionCategory {
38 return []RegionCategory{RegionCategoryExtended, RegionCategoryOther, RegionCategoryRecommended}
39 }
40
41
42 type RegionType string
43
44 const (
45
46 RegionTypeLogical RegionType = "Logical"
47
48 RegionTypePhysical RegionType = "Physical"
49 )
50
51
52 func PossibleRegionTypeValues() []RegionType {
53 return []RegionType{RegionTypeLogical, RegionTypePhysical}
54 }
55
56
57 type ResourceNameStatus string
58
59 const (
60
61 ResourceNameStatusAllowed ResourceNameStatus = "Allowed"
62
63 ResourceNameStatusReserved ResourceNameStatus = "Reserved"
64 )
65
66
67 func PossibleResourceNameStatusValues() []ResourceNameStatus {
68 return []ResourceNameStatus{ResourceNameStatusAllowed, ResourceNameStatusReserved}
69 }
70
71
72 type SpendingLimit string
73
74 const (
75
76 SpendingLimitCurrentPeriodOff SpendingLimit = "CurrentPeriodOff"
77
78 SpendingLimitOff SpendingLimit = "Off"
79
80 SpendingLimitOn SpendingLimit = "On"
81 )
82
83
84 func PossibleSpendingLimitValues() []SpendingLimit {
85 return []SpendingLimit{SpendingLimitCurrentPeriodOff, SpendingLimitOff, SpendingLimitOn}
86 }
87
88
89 type State string
90
91 const (
92
93 StateDeleted State = "Deleted"
94
95 StateDisabled State = "Disabled"
96
97 StateEnabled State = "Enabled"
98
99 StatePastDue State = "PastDue"
100
101 StateWarned State = "Warned"
102 )
103
104
105 func PossibleStateValues() []State {
106 return []State{StateDeleted, StateDisabled, StateEnabled, StatePastDue, StateWarned}
107 }
108
109
110 type TenantCategory string
111
112 const (
113
114 TenantCategoryHome TenantCategory = "Home"
115
116 TenantCategoryManagedBy TenantCategory = "ManagedBy"
117
118 TenantCategoryProjectedBy TenantCategory = "ProjectedBy"
119 )
120
121
122 func PossibleTenantCategoryValues() []TenantCategory {
123 return []TenantCategory{TenantCategoryHome, TenantCategoryManagedBy, TenantCategoryProjectedBy}
124 }
125
View as plain text