...
1 package subscriptions
2
3
4
5
6
7
8
9
10 type RegionCategory string
11
12 const (
13
14 Other RegionCategory = "Other"
15
16 Recommended RegionCategory = "Recommended"
17 )
18
19
20 func PossibleRegionCategoryValues() []RegionCategory {
21 return []RegionCategory{Other, Recommended}
22 }
23
24
25 type RegionType string
26
27 const (
28
29 Logical RegionType = "Logical"
30
31 Physical RegionType = "Physical"
32 )
33
34
35 func PossibleRegionTypeValues() []RegionType {
36 return []RegionType{Logical, Physical}
37 }
38
39
40 type ResourceNameStatus string
41
42 const (
43
44 Allowed ResourceNameStatus = "Allowed"
45
46 Reserved ResourceNameStatus = "Reserved"
47 )
48
49
50 func PossibleResourceNameStatusValues() []ResourceNameStatus {
51 return []ResourceNameStatus{Allowed, Reserved}
52 }
53
54
55 type SpendingLimit string
56
57 const (
58
59 CurrentPeriodOff SpendingLimit = "CurrentPeriodOff"
60
61 Off SpendingLimit = "Off"
62
63 On SpendingLimit = "On"
64 )
65
66
67 func PossibleSpendingLimitValues() []SpendingLimit {
68 return []SpendingLimit{CurrentPeriodOff, Off, On}
69 }
70
71
72 type State string
73
74 const (
75
76 Deleted State = "Deleted"
77
78 Disabled State = "Disabled"
79
80 Enabled State = "Enabled"
81
82 PastDue State = "PastDue"
83
84 Warned State = "Warned"
85 )
86
87
88 func PossibleStateValues() []State {
89 return []State{Deleted, Disabled, Enabled, PastDue, Warned}
90 }
91
92
93 type TenantCategory string
94
95 const (
96
97 Home TenantCategory = "Home"
98
99 ManagedBy TenantCategory = "ManagedBy"
100
101 ProjectedBy TenantCategory = "ProjectedBy"
102 )
103
104
105 func PossibleTenantCategoryValues() []TenantCategory {
106 return []TenantCategory{Home, ManagedBy, ProjectedBy}
107 }
108
View as plain text