...
1 package subscriptions
2
3
4
5
6
7
8
9
10 type ResourceNameStatus string
11
12 const (
13
14 Allowed ResourceNameStatus = "Allowed"
15
16 Reserved ResourceNameStatus = "Reserved"
17 )
18
19
20 func PossibleResourceNameStatusValues() []ResourceNameStatus {
21 return []ResourceNameStatus{Allowed, Reserved}
22 }
23
24
25 type SpendingLimit string
26
27 const (
28
29 CurrentPeriodOff SpendingLimit = "CurrentPeriodOff"
30
31 Off SpendingLimit = "Off"
32
33 On SpendingLimit = "On"
34 )
35
36
37 func PossibleSpendingLimitValues() []SpendingLimit {
38 return []SpendingLimit{CurrentPeriodOff, Off, On}
39 }
40
41
42 type State string
43
44 const (
45
46 Deleted State = "Deleted"
47
48 Disabled State = "Disabled"
49
50 Enabled State = "Enabled"
51
52 PastDue State = "PastDue"
53
54 Warned State = "Warned"
55 )
56
57
58 func PossibleStateValues() []State {
59 return []State{Deleted, Disabled, Enabled, PastDue, Warned}
60 }
61
View as plain text