1package servicefabric
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// ClusterState enumerates the values for cluster state.
10type ClusterState string
11
12const (
13	// AutoScale ...
14	AutoScale ClusterState = "AutoScale"
15	// BaselineUpgrade ...
16	BaselineUpgrade ClusterState = "BaselineUpgrade"
17	// Deploying ...
18	Deploying ClusterState = "Deploying"
19	// EnforcingClusterVersion ...
20	EnforcingClusterVersion ClusterState = "EnforcingClusterVersion"
21	// Ready ...
22	Ready ClusterState = "Ready"
23	// UpdatingInfrastructure ...
24	UpdatingInfrastructure ClusterState = "UpdatingInfrastructure"
25	// UpdatingUserCertificate ...
26	UpdatingUserCertificate ClusterState = "UpdatingUserCertificate"
27	// UpdatingUserConfiguration ...
28	UpdatingUserConfiguration ClusterState = "UpdatingUserConfiguration"
29	// UpgradeServiceUnreachable ...
30	UpgradeServiceUnreachable ClusterState = "UpgradeServiceUnreachable"
31	// WaitingForNodes ...
32	WaitingForNodes ClusterState = "WaitingForNodes"
33)
34
35// PossibleClusterStateValues returns an array of possible values for the ClusterState const type.
36func PossibleClusterStateValues() []ClusterState {
37	return []ClusterState{AutoScale, BaselineUpgrade, Deploying, EnforcingClusterVersion, Ready, UpdatingInfrastructure, UpdatingUserCertificate, UpdatingUserConfiguration, UpgradeServiceUnreachable, WaitingForNodes}
38}
39
40// DefaultMoveCost enumerates the values for default move cost.
41type DefaultMoveCost string
42
43const (
44	// High ...
45	High DefaultMoveCost = "High"
46	// Low ...
47	Low DefaultMoveCost = "Low"
48	// Medium ...
49	Medium DefaultMoveCost = "Medium"
50	// Zero ...
51	Zero DefaultMoveCost = "Zero"
52)
53
54// PossibleDefaultMoveCostValues returns an array of possible values for the DefaultMoveCost const type.
55func PossibleDefaultMoveCostValues() []DefaultMoveCost {
56	return []DefaultMoveCost{High, Low, Medium, Zero}
57}
58
59// DurabilityLevel enumerates the values for durability level.
60type DurabilityLevel string
61
62const (
63	// Bronze ...
64	Bronze DurabilityLevel = "Bronze"
65	// Gold ...
66	Gold DurabilityLevel = "Gold"
67	// Silver ...
68	Silver DurabilityLevel = "Silver"
69)
70
71// PossibleDurabilityLevelValues returns an array of possible values for the DurabilityLevel const type.
72func PossibleDurabilityLevelValues() []DurabilityLevel {
73	return []DurabilityLevel{Bronze, Gold, Silver}
74}
75
76// Environment enumerates the values for environment.
77type Environment string
78
79const (
80	// Linux ...
81	Linux Environment = "Linux"
82	// Windows ...
83	Windows Environment = "Windows"
84)
85
86// PossibleEnvironmentValues returns an array of possible values for the Environment const type.
87func PossibleEnvironmentValues() []Environment {
88	return []Environment{Linux, Windows}
89}
90
91// PartitionScheme enumerates the values for partition scheme.
92type PartitionScheme string
93
94const (
95	// PartitionSchemeNamed ...
96	PartitionSchemeNamed PartitionScheme = "Named"
97	// PartitionSchemePartitionSchemeDescription ...
98	PartitionSchemePartitionSchemeDescription PartitionScheme = "PartitionSchemeDescription"
99	// PartitionSchemeSingleton ...
100	PartitionSchemeSingleton PartitionScheme = "Singleton"
101	// PartitionSchemeUniformInt64Range ...
102	PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range"
103)
104
105// PossiblePartitionSchemeValues returns an array of possible values for the PartitionScheme const type.
106func PossiblePartitionSchemeValues() []PartitionScheme {
107	return []PartitionScheme{PartitionSchemeNamed, PartitionSchemePartitionSchemeDescription, PartitionSchemeSingleton, PartitionSchemeUniformInt64Range}
108}
109
110// ProvisioningState enumerates the values for provisioning state.
111type ProvisioningState string
112
113const (
114	// Canceled ...
115	Canceled ProvisioningState = "Canceled"
116	// Failed ...
117	Failed ProvisioningState = "Failed"
118	// Succeeded ...
119	Succeeded ProvisioningState = "Succeeded"
120	// Updating ...
121	Updating ProvisioningState = "Updating"
122)
123
124// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
125func PossibleProvisioningStateValues() []ProvisioningState {
126	return []ProvisioningState{Canceled, Failed, Succeeded, Updating}
127}
128
129// ReliabilityLevel enumerates the values for reliability level.
130type ReliabilityLevel string
131
132const (
133	// ReliabilityLevelBronze ...
134	ReliabilityLevelBronze ReliabilityLevel = "Bronze"
135	// ReliabilityLevelGold ...
136	ReliabilityLevelGold ReliabilityLevel = "Gold"
137	// ReliabilityLevelNone ...
138	ReliabilityLevelNone ReliabilityLevel = "None"
139	// ReliabilityLevelPlatinum ...
140	ReliabilityLevelPlatinum ReliabilityLevel = "Platinum"
141	// ReliabilityLevelSilver ...
142	ReliabilityLevelSilver ReliabilityLevel = "Silver"
143)
144
145// PossibleReliabilityLevelValues returns an array of possible values for the ReliabilityLevel const type.
146func PossibleReliabilityLevelValues() []ReliabilityLevel {
147	return []ReliabilityLevel{ReliabilityLevelBronze, ReliabilityLevelGold, ReliabilityLevelNone, ReliabilityLevelPlatinum, ReliabilityLevelSilver}
148}
149
150// ReliabilityLevel1 enumerates the values for reliability level 1.
151type ReliabilityLevel1 string
152
153const (
154	// ReliabilityLevel1Bronze ...
155	ReliabilityLevel1Bronze ReliabilityLevel1 = "Bronze"
156	// ReliabilityLevel1Gold ...
157	ReliabilityLevel1Gold ReliabilityLevel1 = "Gold"
158	// ReliabilityLevel1Silver ...
159	ReliabilityLevel1Silver ReliabilityLevel1 = "Silver"
160)
161
162// PossibleReliabilityLevel1Values returns an array of possible values for the ReliabilityLevel1 const type.
163func PossibleReliabilityLevel1Values() []ReliabilityLevel1 {
164	return []ReliabilityLevel1{ReliabilityLevel1Bronze, ReliabilityLevel1Gold, ReliabilityLevel1Silver}
165}
166
167// Scheme enumerates the values for scheme.
168type Scheme string
169
170const (
171	// Affinity ...
172	Affinity Scheme = "Affinity"
173	// AlignedAffinity ...
174	AlignedAffinity Scheme = "AlignedAffinity"
175	// Invalid ...
176	Invalid Scheme = "Invalid"
177	// NonAlignedAffinity ...
178	NonAlignedAffinity Scheme = "NonAlignedAffinity"
179)
180
181// PossibleSchemeValues returns an array of possible values for the Scheme const type.
182func PossibleSchemeValues() []Scheme {
183	return []Scheme{Affinity, AlignedAffinity, Invalid, NonAlignedAffinity}
184}
185
186// ServiceKind enumerates the values for service kind.
187type ServiceKind string
188
189const (
190	// ServiceKindServiceProperties ...
191	ServiceKindServiceProperties ServiceKind = "ServiceProperties"
192	// ServiceKindStateful ...
193	ServiceKindStateful ServiceKind = "Stateful"
194	// ServiceKindStateless ...
195	ServiceKindStateless ServiceKind = "Stateless"
196)
197
198// PossibleServiceKindValues returns an array of possible values for the ServiceKind const type.
199func PossibleServiceKindValues() []ServiceKind {
200	return []ServiceKind{ServiceKindServiceProperties, ServiceKindStateful, ServiceKindStateless}
201}
202
203// ServiceKindBasicServiceUpdateProperties enumerates the values for service kind basic service update
204// properties.
205type ServiceKindBasicServiceUpdateProperties string
206
207const (
208	// ServiceKindBasicServiceUpdatePropertiesServiceKindServiceUpdateProperties ...
209	ServiceKindBasicServiceUpdatePropertiesServiceKindServiceUpdateProperties ServiceKindBasicServiceUpdateProperties = "ServiceUpdateProperties"
210	// ServiceKindBasicServiceUpdatePropertiesServiceKindStateful ...
211	ServiceKindBasicServiceUpdatePropertiesServiceKindStateful ServiceKindBasicServiceUpdateProperties = "Stateful"
212	// ServiceKindBasicServiceUpdatePropertiesServiceKindStateless ...
213	ServiceKindBasicServiceUpdatePropertiesServiceKindStateless ServiceKindBasicServiceUpdateProperties = "Stateless"
214)
215
216// PossibleServiceKindBasicServiceUpdatePropertiesValues returns an array of possible values for the ServiceKindBasicServiceUpdateProperties const type.
217func PossibleServiceKindBasicServiceUpdatePropertiesValues() []ServiceKindBasicServiceUpdateProperties {
218	return []ServiceKindBasicServiceUpdateProperties{ServiceKindBasicServiceUpdatePropertiesServiceKindServiceUpdateProperties, ServiceKindBasicServiceUpdatePropertiesServiceKindStateful, ServiceKindBasicServiceUpdatePropertiesServiceKindStateless}
219}
220
221// Type enumerates the values for type.
222type Type string
223
224const (
225	// TypeServicePlacementPolicyDescription ...
226	TypeServicePlacementPolicyDescription Type = "ServicePlacementPolicyDescription"
227)
228
229// PossibleTypeValues returns an array of possible values for the Type const type.
230func PossibleTypeValues() []Type {
231	return []Type{TypeServicePlacementPolicyDescription}
232}
233
234// UpgradeMode enumerates the values for upgrade mode.
235type UpgradeMode string
236
237const (
238	// Automatic ...
239	Automatic UpgradeMode = "Automatic"
240	// Manual ...
241	Manual UpgradeMode = "Manual"
242)
243
244// PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
245func PossibleUpgradeModeValues() []UpgradeMode {
246	return []UpgradeMode{Automatic, Manual}
247}
248
249// UpgradeMode1 enumerates the values for upgrade mode 1.
250type UpgradeMode1 string
251
252const (
253	// UpgradeMode1Automatic ...
254	UpgradeMode1Automatic UpgradeMode1 = "Automatic"
255	// UpgradeMode1Manual ...
256	UpgradeMode1Manual UpgradeMode1 = "Manual"
257)
258
259// PossibleUpgradeMode1Values returns an array of possible values for the UpgradeMode1 const type.
260func PossibleUpgradeMode1Values() []UpgradeMode1 {
261	return []UpgradeMode1{UpgradeMode1Automatic, UpgradeMode1Manual}
262}
263
264// Weight enumerates the values for weight.
265type Weight string
266
267const (
268	// WeightHigh ...
269	WeightHigh Weight = "High"
270	// WeightLow ...
271	WeightLow Weight = "Low"
272	// WeightMedium ...
273	WeightMedium Weight = "Medium"
274	// WeightZero ...
275	WeightZero Weight = "Zero"
276)
277
278// PossibleWeightValues returns an array of possible values for the Weight const type.
279func PossibleWeightValues() []Weight {
280	return []Weight{WeightHigh, WeightLow, WeightMedium, WeightZero}
281}
282
283// X509StoreName enumerates the values for x509 store name.
284type X509StoreName string
285
286const (
287	// AddressBook ...
288	AddressBook X509StoreName = "AddressBook"
289	// AuthRoot ...
290	AuthRoot X509StoreName = "AuthRoot"
291	// CertificateAuthority ...
292	CertificateAuthority X509StoreName = "CertificateAuthority"
293	// Disallowed ...
294	Disallowed X509StoreName = "Disallowed"
295	// My ...
296	My X509StoreName = "My"
297	// Root ...
298	Root X509StoreName = "Root"
299	// TrustedPeople ...
300	TrustedPeople X509StoreName = "TrustedPeople"
301	// TrustedPublisher ...
302	TrustedPublisher X509StoreName = "TrustedPublisher"
303)
304
305// PossibleX509StoreNameValues returns an array of possible values for the X509StoreName const type.
306func PossibleX509StoreNameValues() []X509StoreName {
307	return []X509StoreName{AddressBook, AuthRoot, CertificateAuthority, Disallowed, My, Root, TrustedPeople, TrustedPublisher}
308}
309