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// ApplicationDefinitionKind enumerates the values for application definition kind.
10type ApplicationDefinitionKind string
11
12const (
13	// Compose Indicates the application is defined by compose file(s). The value is 1.
14	Compose ApplicationDefinitionKind = "Compose"
15	// Invalid Indicates the application definition kind is invalid. All Service Fabric enumerations have the
16	// invalid type. The value is 65535.
17	Invalid ApplicationDefinitionKind = "Invalid"
18	// ServiceFabricApplicationDescription Indicates the application is defined by a Service Fabric application
19	// description. The value is 0.
20	ServiceFabricApplicationDescription ApplicationDefinitionKind = "ServiceFabricApplicationDescription"
21)
22
23// PossibleApplicationDefinitionKindValues returns an array of possible values for the ApplicationDefinitionKind const type.
24func PossibleApplicationDefinitionKindValues() []ApplicationDefinitionKind {
25	return []ApplicationDefinitionKind{Compose, Invalid, ServiceFabricApplicationDescription}
26}
27
28// ApplicationPackageCleanupPolicy enumerates the values for application package cleanup policy.
29type ApplicationPackageCleanupPolicy string
30
31const (
32	// ApplicationPackageCleanupPolicyAutomatic Indicates that the service fabric runtime determines when to do
33	// the application package cleanup. By default, cleanup is done on successful provision. The value is 2.
34	ApplicationPackageCleanupPolicyAutomatic ApplicationPackageCleanupPolicy = "Automatic"
35	// ApplicationPackageCleanupPolicyDefault Indicates that the cleanup policy of application packages is
36	// based on the cluster setting "CleanupApplicationPackageOnProvisionSuccess." The value is 1.
37	ApplicationPackageCleanupPolicyDefault ApplicationPackageCleanupPolicy = "Default"
38	// ApplicationPackageCleanupPolicyInvalid Indicates that the application package cleanup policy is invalid.
39	// This value is default. The value is zero.
40	ApplicationPackageCleanupPolicyInvalid ApplicationPackageCleanupPolicy = "Invalid"
41	// ApplicationPackageCleanupPolicyManual Indicates that the user has to explicitly clean up the application
42	// package. The value is 3.
43	ApplicationPackageCleanupPolicyManual ApplicationPackageCleanupPolicy = "Manual"
44)
45
46// PossibleApplicationPackageCleanupPolicyValues returns an array of possible values for the ApplicationPackageCleanupPolicy const type.
47func PossibleApplicationPackageCleanupPolicyValues() []ApplicationPackageCleanupPolicy {
48	return []ApplicationPackageCleanupPolicy{ApplicationPackageCleanupPolicyAutomatic, ApplicationPackageCleanupPolicyDefault, ApplicationPackageCleanupPolicyInvalid, ApplicationPackageCleanupPolicyManual}
49}
50
51// ApplicationStatus enumerates the values for application status.
52type ApplicationStatus string
53
54const (
55	// ApplicationStatusCreating Indicates the application status is creating. The value is 3.
56	ApplicationStatusCreating ApplicationStatus = "Creating"
57	// ApplicationStatusDeleting Indicates the application status is deleting. The value is 4.
58	ApplicationStatusDeleting ApplicationStatus = "Deleting"
59	// ApplicationStatusFailed Indicates the creation or deletion of application was terminated due to
60	// persistent failures. Another create/delete request can be accepted to resume a failed application. The
61	// value is 5.
62	ApplicationStatusFailed ApplicationStatus = "Failed"
63	// ApplicationStatusInvalid Indicates the application status is invalid. All Service Fabric enumerations
64	// have the invalid type. The value is zero.
65	ApplicationStatusInvalid ApplicationStatus = "Invalid"
66	// ApplicationStatusReady Indicates the application status is ready. The value is 1.
67	ApplicationStatusReady ApplicationStatus = "Ready"
68	// ApplicationStatusUpgrading Indicates the application status is upgrading. The value is 2.
69	ApplicationStatusUpgrading ApplicationStatus = "Upgrading"
70)
71
72// PossibleApplicationStatusValues returns an array of possible values for the ApplicationStatus const type.
73func PossibleApplicationStatusValues() []ApplicationStatus {
74	return []ApplicationStatus{ApplicationStatusCreating, ApplicationStatusDeleting, ApplicationStatusFailed, ApplicationStatusInvalid, ApplicationStatusReady, ApplicationStatusUpgrading}
75}
76
77// ApplicationTypeDefinitionKind enumerates the values for application type definition kind.
78type ApplicationTypeDefinitionKind string
79
80const (
81	// ApplicationTypeDefinitionKindCompose Indicates the application type is defined and created implicitly as
82	// part of a compose deployment. The value is 2.
83	ApplicationTypeDefinitionKindCompose ApplicationTypeDefinitionKind = "Compose"
84	// ApplicationTypeDefinitionKindInvalid Indicates the application type definition kind is invalid. All
85	// Service Fabric enumerations have the invalid type. The value is 0.
86	ApplicationTypeDefinitionKindInvalid ApplicationTypeDefinitionKind = "Invalid"
87	// ApplicationTypeDefinitionKindServiceFabricApplicationPackage Indicates the application type is defined
88	// and created by a Service Fabric application package provided by the user. The value is 1.
89	ApplicationTypeDefinitionKindServiceFabricApplicationPackage ApplicationTypeDefinitionKind = "ServiceFabricApplicationPackage"
90)
91
92// PossibleApplicationTypeDefinitionKindValues returns an array of possible values for the ApplicationTypeDefinitionKind const type.
93func PossibleApplicationTypeDefinitionKindValues() []ApplicationTypeDefinitionKind {
94	return []ApplicationTypeDefinitionKind{ApplicationTypeDefinitionKindCompose, ApplicationTypeDefinitionKindInvalid, ApplicationTypeDefinitionKindServiceFabricApplicationPackage}
95}
96
97// ApplicationTypeStatus enumerates the values for application type status.
98type ApplicationTypeStatus string
99
100const (
101	// ApplicationTypeStatusAvailable Indicates that the application type is fully provisioned and is available
102	// for use. An application of this type and version can be created. The value is 2.
103	ApplicationTypeStatusAvailable ApplicationTypeStatus = "Available"
104	// ApplicationTypeStatusFailed Indicates that the application type provisioning failed and it is
105	// unavailable for use. The failure details can be obtained from the application type information query.
106	// The failed application type information remains in the cluster until it is unprovisioned or
107	// reprovisioned successfully. The value is 4.
108	ApplicationTypeStatusFailed ApplicationTypeStatus = "Failed"
109	// ApplicationTypeStatusInvalid Indicates the application type status is invalid. All Service Fabric
110	// enumerations have the invalid type. The value is zero.
111	ApplicationTypeStatusInvalid ApplicationTypeStatus = "Invalid"
112	// ApplicationTypeStatusProvisioning Indicates that the application type is being provisioned in the
113	// cluster. The value is 1.
114	ApplicationTypeStatusProvisioning ApplicationTypeStatus = "Provisioning"
115	// ApplicationTypeStatusUnprovisioning Indicates that the application type is in process of being
116	// unprovisioned from the cluster. The value is 3.
117	ApplicationTypeStatusUnprovisioning ApplicationTypeStatus = "Unprovisioning"
118)
119
120// PossibleApplicationTypeStatusValues returns an array of possible values for the ApplicationTypeStatus const type.
121func PossibleApplicationTypeStatusValues() []ApplicationTypeStatus {
122	return []ApplicationTypeStatus{ApplicationTypeStatusAvailable, ApplicationTypeStatusFailed, ApplicationTypeStatusInvalid, ApplicationTypeStatusProvisioning, ApplicationTypeStatusUnprovisioning}
123}
124
125// BackupEntityKind enumerates the values for backup entity kind.
126type BackupEntityKind string
127
128const (
129	// BackupEntityKindApplication Indicates the entity is a Service Fabric application.
130	BackupEntityKindApplication BackupEntityKind = "Application"
131	// BackupEntityKindInvalid Indicates an invalid entity kind. All Service Fabric enumerations have the
132	// invalid type.
133	BackupEntityKindInvalid BackupEntityKind = "Invalid"
134	// BackupEntityKindPartition Indicates the entity is a Service Fabric partition.
135	BackupEntityKindPartition BackupEntityKind = "Partition"
136	// BackupEntityKindService Indicates the entity is a Service Fabric service.
137	BackupEntityKindService BackupEntityKind = "Service"
138)
139
140// PossibleBackupEntityKindValues returns an array of possible values for the BackupEntityKind const type.
141func PossibleBackupEntityKindValues() []BackupEntityKind {
142	return []BackupEntityKind{BackupEntityKindApplication, BackupEntityKindInvalid, BackupEntityKindPartition, BackupEntityKindService}
143}
144
145// BackupPolicyScope enumerates the values for backup policy scope.
146type BackupPolicyScope string
147
148const (
149	// BackupPolicyScopeApplication Indicates the backup policy is applied at application level. All services
150	// and partitions of the application inherit this policy unless explicitly overridden at service or
151	// partition level.
152	BackupPolicyScopeApplication BackupPolicyScope = "Application"
153	// BackupPolicyScopeInvalid Indicates an invalid backup policy scope type. All Service Fabric enumerations
154	// have the invalid type.
155	BackupPolicyScopeInvalid BackupPolicyScope = "Invalid"
156	// BackupPolicyScopePartition Indicates the backup policy is applied at partition level. Hence overriding
157	// any policy which may have applied at partition's service or application level.
158	BackupPolicyScopePartition BackupPolicyScope = "Partition"
159	// BackupPolicyScopeService Indicates the backup policy is applied at service level. All partitions of the
160	// service inherit this policy unless explicitly overridden at partition level.
161	BackupPolicyScopeService BackupPolicyScope = "Service"
162)
163
164// PossibleBackupPolicyScopeValues returns an array of possible values for the BackupPolicyScope const type.
165func PossibleBackupPolicyScopeValues() []BackupPolicyScope {
166	return []BackupPolicyScope{BackupPolicyScopeApplication, BackupPolicyScopeInvalid, BackupPolicyScopePartition, BackupPolicyScopeService}
167}
168
169// BackupScheduleFrequencyType enumerates the values for backup schedule frequency type.
170type BackupScheduleFrequencyType string
171
172const (
173	// BackupScheduleFrequencyTypeDaily Indicates that the time based backup schedule is repeated at a daily
174	// frequency.
175	BackupScheduleFrequencyTypeDaily BackupScheduleFrequencyType = "Daily"
176	// BackupScheduleFrequencyTypeInvalid Indicates an invalid backup schedule frequency type. All Service
177	// Fabric enumerations have the invalid type.
178	BackupScheduleFrequencyTypeInvalid BackupScheduleFrequencyType = "Invalid"
179	// BackupScheduleFrequencyTypeWeekly Indicates that the time based backup schedule is repeated at a weekly
180	// frequency.
181	BackupScheduleFrequencyTypeWeekly BackupScheduleFrequencyType = "Weekly"
182)
183
184// PossibleBackupScheduleFrequencyTypeValues returns an array of possible values for the BackupScheduleFrequencyType const type.
185func PossibleBackupScheduleFrequencyTypeValues() []BackupScheduleFrequencyType {
186	return []BackupScheduleFrequencyType{BackupScheduleFrequencyTypeDaily, BackupScheduleFrequencyTypeInvalid, BackupScheduleFrequencyTypeWeekly}
187}
188
189// BackupScheduleKind enumerates the values for backup schedule kind.
190type BackupScheduleKind string
191
192const (
193	// BackupScheduleKindFrequencyBased Indicates a frequency-based backup schedule.
194	BackupScheduleKindFrequencyBased BackupScheduleKind = "FrequencyBased"
195	// BackupScheduleKindInvalid Indicates an invalid backup schedule kind. All Service Fabric enumerations
196	// have the invalid type.
197	BackupScheduleKindInvalid BackupScheduleKind = "Invalid"
198	// BackupScheduleKindTimeBased Indicates a time-based backup schedule.
199	BackupScheduleKindTimeBased BackupScheduleKind = "TimeBased"
200)
201
202// PossibleBackupScheduleKindValues returns an array of possible values for the BackupScheduleKind const type.
203func PossibleBackupScheduleKindValues() []BackupScheduleKind {
204	return []BackupScheduleKind{BackupScheduleKindFrequencyBased, BackupScheduleKindInvalid, BackupScheduleKindTimeBased}
205}
206
207// BackupState enumerates the values for backup state.
208type BackupState string
209
210const (
211	// BackupStateAccepted Operation has been validated and accepted. Backup is yet to be triggered.
212	BackupStateAccepted BackupState = "Accepted"
213	// BackupStateBackupInProgress Backup operation has been triggered and is under process.
214	BackupStateBackupInProgress BackupState = "BackupInProgress"
215	// BackupStateFailure Operation completed with failure.
216	BackupStateFailure BackupState = "Failure"
217	// BackupStateInvalid Indicates an invalid backup state. All Service Fabric enumerations have the invalid
218	// type.
219	BackupStateInvalid BackupState = "Invalid"
220	// BackupStateSuccess Operation completed with success.
221	BackupStateSuccess BackupState = "Success"
222	// BackupStateTimeout Operation timed out.
223	BackupStateTimeout BackupState = "Timeout"
224)
225
226// PossibleBackupStateValues returns an array of possible values for the BackupState const type.
227func PossibleBackupStateValues() []BackupState {
228	return []BackupState{BackupStateAccepted, BackupStateBackupInProgress, BackupStateFailure, BackupStateInvalid, BackupStateSuccess, BackupStateTimeout}
229}
230
231// BackupStorageKind enumerates the values for backup storage kind.
232type BackupStorageKind string
233
234const (
235	// BackupStorageKindAzureBlobStore Indicates Azure blob store to be used as backup storage.
236	BackupStorageKindAzureBlobStore BackupStorageKind = "AzureBlobStore"
237	// BackupStorageKindFileShare Indicates file/ SMB share to be used as backup storage.
238	BackupStorageKindFileShare BackupStorageKind = "FileShare"
239	// BackupStorageKindInvalid Indicates an invalid backup storage kind. All Service Fabric enumerations have
240	// the invalid type.
241	BackupStorageKindInvalid BackupStorageKind = "Invalid"
242)
243
244// PossibleBackupStorageKindValues returns an array of possible values for the BackupStorageKind const type.
245func PossibleBackupStorageKindValues() []BackupStorageKind {
246	return []BackupStorageKind{BackupStorageKindAzureBlobStore, BackupStorageKindFileShare, BackupStorageKindInvalid}
247}
248
249// BackupSuspensionScope enumerates the values for backup suspension scope.
250type BackupSuspensionScope string
251
252const (
253	// BackupSuspensionScopeApplication Indicates the backup suspension is applied at application level. All
254	// services and partitions of the application are hence suspended for backup.
255	BackupSuspensionScopeApplication BackupSuspensionScope = "Application"
256	// BackupSuspensionScopeInvalid Indicates an invalid backup suspension scope type also indicating entity is
257	// not suspended. All Service Fabric enumerations have the invalid type.
258	BackupSuspensionScopeInvalid BackupSuspensionScope = "Invalid"
259	// BackupSuspensionScopePartition Indicates the backup suspension is applied at partition level.
260	BackupSuspensionScopePartition BackupSuspensionScope = "Partition"
261	// BackupSuspensionScopeService Indicates the backup suspension is applied at service level. All partitions
262	// of the service are hence suspended for backup.
263	BackupSuspensionScopeService BackupSuspensionScope = "Service"
264)
265
266// PossibleBackupSuspensionScopeValues returns an array of possible values for the BackupSuspensionScope const type.
267func PossibleBackupSuspensionScopeValues() []BackupSuspensionScope {
268	return []BackupSuspensionScope{BackupSuspensionScopeApplication, BackupSuspensionScopeInvalid, BackupSuspensionScopePartition, BackupSuspensionScopeService}
269}
270
271// BackupType enumerates the values for backup type.
272type BackupType string
273
274const (
275	// BackupTypeFull Indicates a full backup.
276	BackupTypeFull BackupType = "Full"
277	// BackupTypeIncremental Indicates an incremental backup. A backup chain is comprised of a full backup
278	// followed by 0 or more incremental backups.
279	BackupTypeIncremental BackupType = "Incremental"
280	// BackupTypeInvalid Indicates an invalid backup type. All Service Fabric enumerations have the invalid
281	// type.
282	BackupTypeInvalid BackupType = "Invalid"
283)
284
285// PossibleBackupTypeValues returns an array of possible values for the BackupType const type.
286func PossibleBackupTypeValues() []BackupType {
287	return []BackupType{BackupTypeFull, BackupTypeIncremental, BackupTypeInvalid}
288}
289
290// ChaosEventKind enumerates the values for chaos event kind.
291type ChaosEventKind string
292
293const (
294	// ChaosEventKindExecutingFaults Indicates a Chaos event that gets generated when Chaos has decided on the
295	// faults for an iteration. This Chaos event contains the details of the faults as a list of strings.
296	ChaosEventKindExecutingFaults ChaosEventKind = "ExecutingFaults"
297	// ChaosEventKindInvalid Indicates an invalid Chaos event kind. All Service Fabric enumerations have the
298	// invalid type.
299	ChaosEventKindInvalid ChaosEventKind = "Invalid"
300	// ChaosEventKindStarted Indicates a Chaos event that gets generated when Chaos is started.
301	ChaosEventKindStarted ChaosEventKind = "Started"
302	// ChaosEventKindStopped Indicates a Chaos event that gets generated when Chaos stops because either the
303	// user issued a stop or the time to run was up.
304	ChaosEventKindStopped ChaosEventKind = "Stopped"
305	// ChaosEventKindTestError Indicates a Chaos event that gets generated when an unexpected event has
306	// occurred in the Chaos engine, for example, due to the cluster snapshot being inconsistent, while
307	// faulting a faultable entity Chaos found that the entity was already faulted.
308	ChaosEventKindTestError ChaosEventKind = "TestError"
309	// ChaosEventKindValidationFailed Indicates a Chaos event that gets generated when the cluster entities do
310	// not become stable and healthy within ChaosParameters.MaxClusterStabilizationTimeoutInSeconds.
311	ChaosEventKindValidationFailed ChaosEventKind = "ValidationFailed"
312	// ChaosEventKindWaiting Indicates a Chaos event that gets generated when Chaos is waiting for the cluster
313	// to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.
314	ChaosEventKindWaiting ChaosEventKind = "Waiting"
315)
316
317// PossibleChaosEventKindValues returns an array of possible values for the ChaosEventKind const type.
318func PossibleChaosEventKindValues() []ChaosEventKind {
319	return []ChaosEventKind{ChaosEventKindExecutingFaults, ChaosEventKindInvalid, ChaosEventKindStarted, ChaosEventKindStopped, ChaosEventKindTestError, ChaosEventKindValidationFailed, ChaosEventKindWaiting}
320}
321
322// ChaosScheduleStatus enumerates the values for chaos schedule status.
323type ChaosScheduleStatus string
324
325const (
326	// ChaosScheduleStatusActive Indicates that the schedule is active and is being used to schedule runs of
327	// Chaos. The value is two.
328	ChaosScheduleStatusActive ChaosScheduleStatus = "Active"
329	// ChaosScheduleStatusExpired Indicates that the schedule is expired and will no longer be used to schedule
330	// runs of Chaos. The value is three.
331	ChaosScheduleStatusExpired ChaosScheduleStatus = "Expired"
332	// ChaosScheduleStatusInvalid Indicates an invalid Chaos Schedule status. All Service Fabric enumerations
333	// have the invalid type. The value is zero.
334	ChaosScheduleStatusInvalid ChaosScheduleStatus = "Invalid"
335	// ChaosScheduleStatusPending Indicates that the schedule is pending and is not yet being used to schedule
336	// runs of Chaos but will be used when the start time is passed. The value is four.
337	ChaosScheduleStatusPending ChaosScheduleStatus = "Pending"
338	// ChaosScheduleStatusStopped Indicates that the schedule is stopped and not being used to schedule runs of
339	// chaos. The value is one.
340	ChaosScheduleStatusStopped ChaosScheduleStatus = "Stopped"
341)
342
343// PossibleChaosScheduleStatusValues returns an array of possible values for the ChaosScheduleStatus const type.
344func PossibleChaosScheduleStatusValues() []ChaosScheduleStatus {
345	return []ChaosScheduleStatus{ChaosScheduleStatusActive, ChaosScheduleStatusExpired, ChaosScheduleStatusInvalid, ChaosScheduleStatusPending, ChaosScheduleStatusStopped}
346}
347
348// ChaosStatus enumerates the values for chaos status.
349type ChaosStatus string
350
351const (
352	// ChaosStatusInvalid Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid
353	// type. The value is zero.
354	ChaosStatusInvalid ChaosStatus = "Invalid"
355	// ChaosStatusRunning Indicates that Chaos is not stopped. The value is one.
356	ChaosStatusRunning ChaosStatus = "Running"
357	// ChaosStatusStopped Indicates that Chaos is not scheduling further faults. The value is two.
358	ChaosStatusStopped ChaosStatus = "Stopped"
359)
360
361// PossibleChaosStatusValues returns an array of possible values for the ChaosStatus const type.
362func PossibleChaosStatusValues() []ChaosStatus {
363	return []ChaosStatus{ChaosStatusInvalid, ChaosStatusRunning, ChaosStatusStopped}
364}
365
366// ComposeDeploymentStatus enumerates the values for compose deployment status.
367type ComposeDeploymentStatus string
368
369const (
370	// ComposeDeploymentStatusCreating Indicates that the compose deployment is being created in background.
371	// The value is 2.
372	ComposeDeploymentStatusCreating ComposeDeploymentStatus = "Creating"
373	// ComposeDeploymentStatusDeleting Indicates that the compose deployment is being deleted in background.
374	// The value is 5.
375	ComposeDeploymentStatusDeleting ComposeDeploymentStatus = "Deleting"
376	// ComposeDeploymentStatusFailed Indicates that the compose deployment was terminated due to persistent
377	// failures. The value is 6.
378	ComposeDeploymentStatusFailed ComposeDeploymentStatus = "Failed"
379	// ComposeDeploymentStatusInvalid Indicates that the compose deployment status is invalid. The value is
380	// zero.
381	ComposeDeploymentStatusInvalid ComposeDeploymentStatus = "Invalid"
382	// ComposeDeploymentStatusProvisioning Indicates that the compose deployment is being provisioned in
383	// background. The value is 1.
384	ComposeDeploymentStatusProvisioning ComposeDeploymentStatus = "Provisioning"
385	// ComposeDeploymentStatusReady Indicates that the compose deployment has been successfully created or
386	// upgraded. The value is 3.
387	ComposeDeploymentStatusReady ComposeDeploymentStatus = "Ready"
388	// ComposeDeploymentStatusUnprovisioning Indicates that the compose deployment is being unprovisioned in
389	// background. The value is 4.
390	ComposeDeploymentStatusUnprovisioning ComposeDeploymentStatus = "Unprovisioning"
391	// ComposeDeploymentStatusUpgrading Indicates that the compose deployment is being upgraded in the
392	// background. The value is 7.
393	ComposeDeploymentStatusUpgrading ComposeDeploymentStatus = "Upgrading"
394)
395
396// PossibleComposeDeploymentStatusValues returns an array of possible values for the ComposeDeploymentStatus const type.
397func PossibleComposeDeploymentStatusValues() []ComposeDeploymentStatus {
398	return []ComposeDeploymentStatus{ComposeDeploymentStatusCreating, ComposeDeploymentStatusDeleting, ComposeDeploymentStatusFailed, ComposeDeploymentStatusInvalid, ComposeDeploymentStatusProvisioning, ComposeDeploymentStatusReady, ComposeDeploymentStatusUnprovisioning, ComposeDeploymentStatusUpgrading}
399}
400
401// ComposeDeploymentUpgradeState enumerates the values for compose deployment upgrade state.
402type ComposeDeploymentUpgradeState string
403
404const (
405	// ComposeDeploymentUpgradeStateFailed The upgrade has failed and is unable to execute FailureAction. The
406	// value is 9.
407	ComposeDeploymentUpgradeStateFailed ComposeDeploymentUpgradeState = "Failed"
408	// ComposeDeploymentUpgradeStateInvalid Indicates the upgrade state is invalid. All Service Fabric
409	// enumerations have the invalid type. The value is zero.
410	ComposeDeploymentUpgradeStateInvalid ComposeDeploymentUpgradeState = "Invalid"
411	// ComposeDeploymentUpgradeStateProvisioningTarget The upgrade is in the progress of provisioning target
412	// application type version. The value is 1.
413	ComposeDeploymentUpgradeStateProvisioningTarget ComposeDeploymentUpgradeState = "ProvisioningTarget"
414	// ComposeDeploymentUpgradeStateRollingBackCompleted The upgrade has finished rolling back. The value is 8.
415	ComposeDeploymentUpgradeStateRollingBackCompleted ComposeDeploymentUpgradeState = "RollingBackCompleted"
416	// ComposeDeploymentUpgradeStateRollingBackInProgress The upgrade is rolling back to the previous version
417	// but is not complete yet. The value is 6.
418	ComposeDeploymentUpgradeStateRollingBackInProgress ComposeDeploymentUpgradeState = "RollingBackInProgress"
419	// ComposeDeploymentUpgradeStateRollingForwardCompleted The upgrade has finished rolling forward. The value
420	// is 5.
421	ComposeDeploymentUpgradeStateRollingForwardCompleted ComposeDeploymentUpgradeState = "RollingForwardCompleted"
422	// ComposeDeploymentUpgradeStateRollingForwardInProgress The upgrade is rolling forward to the target
423	// version but is not complete yet. The value is 2.
424	ComposeDeploymentUpgradeStateRollingForwardInProgress ComposeDeploymentUpgradeState = "RollingForwardInProgress"
425	// ComposeDeploymentUpgradeStateRollingForwardPending The current upgrade domain has finished upgrading.
426	// The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing
427	// health checks in Monitored mode. The value is 3
428	ComposeDeploymentUpgradeStateRollingForwardPending ComposeDeploymentUpgradeState = "RollingForwardPending"
429	// ComposeDeploymentUpgradeStateUnprovisioningCurrent The upgrade is in the progress of unprovisioning
430	// current application type version and rolling forward to the target version is completed. The value is 4.
431	ComposeDeploymentUpgradeStateUnprovisioningCurrent ComposeDeploymentUpgradeState = "UnprovisioningCurrent"
432	// ComposeDeploymentUpgradeStateUnprovisioningTarget The upgrade is in the progress of unprovisioning
433	// target application type version and rolling back to the current version is completed. The value is 7.
434	ComposeDeploymentUpgradeStateUnprovisioningTarget ComposeDeploymentUpgradeState = "UnprovisioningTarget"
435)
436
437// PossibleComposeDeploymentUpgradeStateValues returns an array of possible values for the ComposeDeploymentUpgradeState const type.
438func PossibleComposeDeploymentUpgradeStateValues() []ComposeDeploymentUpgradeState {
439	return []ComposeDeploymentUpgradeState{ComposeDeploymentUpgradeStateFailed, ComposeDeploymentUpgradeStateInvalid, ComposeDeploymentUpgradeStateProvisioningTarget, ComposeDeploymentUpgradeStateRollingBackCompleted, ComposeDeploymentUpgradeStateRollingBackInProgress, ComposeDeploymentUpgradeStateRollingForwardCompleted, ComposeDeploymentUpgradeStateRollingForwardInProgress, ComposeDeploymentUpgradeStateRollingForwardPending, ComposeDeploymentUpgradeStateUnprovisioningCurrent, ComposeDeploymentUpgradeStateUnprovisioningTarget}
440}
441
442// CreateFabricDump enumerates the values for create fabric dump.
443type CreateFabricDump string
444
445const (
446	// False ...
447	False CreateFabricDump = "False"
448	// True ...
449	True CreateFabricDump = "True"
450)
451
452// PossibleCreateFabricDumpValues returns an array of possible values for the CreateFabricDump const type.
453func PossibleCreateFabricDumpValues() []CreateFabricDump {
454	return []CreateFabricDump{False, True}
455}
456
457// DataLossMode enumerates the values for data loss mode.
458type DataLossMode string
459
460const (
461	// DataLossModeFullDataLoss FullDataLoss option will drop all the replicas which means that all the data
462	// will be lost.
463	DataLossModeFullDataLoss DataLossMode = "FullDataLoss"
464	// DataLossModeInvalid Reserved.  Do not pass into API.
465	DataLossModeInvalid DataLossMode = "Invalid"
466	// DataLossModePartialDataLoss PartialDataLoss option will cause a quorum of replicas to go down,
467	// triggering an OnDataLoss event in the system for the given partition.
468	DataLossModePartialDataLoss DataLossMode = "PartialDataLoss"
469)
470
471// PossibleDataLossModeValues returns an array of possible values for the DataLossMode const type.
472func PossibleDataLossModeValues() []DataLossMode {
473	return []DataLossMode{DataLossModeFullDataLoss, DataLossModeInvalid, DataLossModePartialDataLoss}
474}
475
476// DayOfWeek enumerates the values for day of week.
477type DayOfWeek string
478
479const (
480	// Friday Indicates the Day referred is Friday.
481	Friday DayOfWeek = "Friday"
482	// Monday Indicates the Day referred is Monday.
483	Monday DayOfWeek = "Monday"
484	// Saturday Indicates the Day referred is Saturday.
485	Saturday DayOfWeek = "Saturday"
486	// Sunday Indicates the Day referred is Sunday.
487	Sunday DayOfWeek = "Sunday"
488	// Thursday Indicates the Day referred is Thursday.
489	Thursday DayOfWeek = "Thursday"
490	// Tuesday Indicates the Day referred is Tuesday.
491	Tuesday DayOfWeek = "Tuesday"
492	// Wednesday Indicates the Day referred is Wednesday.
493	Wednesday DayOfWeek = "Wednesday"
494)
495
496// PossibleDayOfWeekValues returns an array of possible values for the DayOfWeek const type.
497func PossibleDayOfWeekValues() []DayOfWeek {
498	return []DayOfWeek{Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}
499}
500
501// DeactivationIntent enumerates the values for deactivation intent.
502type DeactivationIntent string
503
504const (
505	// Pause Indicates that the node should be paused. The value is 1.
506	Pause DeactivationIntent = "Pause"
507	// RemoveData Indicates the intent is for the node to remove data. The value is 3.
508	RemoveData DeactivationIntent = "RemoveData"
509	// Restart Indicates that the intent is for the node to be restarted after a short period of time. The
510	// value is 2.
511	Restart DeactivationIntent = "Restart"
512)
513
514// PossibleDeactivationIntentValues returns an array of possible values for the DeactivationIntent const type.
515func PossibleDeactivationIntentValues() []DeactivationIntent {
516	return []DeactivationIntent{Pause, RemoveData, Restart}
517}
518
519// DeployedApplicationStatus enumerates the values for deployed application status.
520type DeployedApplicationStatus string
521
522const (
523	// DeployedApplicationStatusActivating Indicates that the package is activating. The value is 2.
524	DeployedApplicationStatusActivating DeployedApplicationStatus = "Activating"
525	// DeployedApplicationStatusActive Indicates that the package is active. The value is 3.
526	DeployedApplicationStatusActive DeployedApplicationStatus = "Active"
527	// DeployedApplicationStatusDeactivating Indicates that the package is deactivating. The value is 5.
528	DeployedApplicationStatusDeactivating DeployedApplicationStatus = "Deactivating"
529	// DeployedApplicationStatusDownloading Indicates that the package is downloading from the ImageStore. The
530	// value is 1.
531	DeployedApplicationStatusDownloading DeployedApplicationStatus = "Downloading"
532	// DeployedApplicationStatusInvalid Indicates that deployment status is not valid. All Service Fabric
533	// enumerations have the invalid type. The value is zero.
534	DeployedApplicationStatusInvalid DeployedApplicationStatus = "Invalid"
535	// DeployedApplicationStatusUpgrading Indicates that the package is upgrading. The value is 4.
536	DeployedApplicationStatusUpgrading DeployedApplicationStatus = "Upgrading"
537)
538
539// PossibleDeployedApplicationStatusValues returns an array of possible values for the DeployedApplicationStatus const type.
540func PossibleDeployedApplicationStatusValues() []DeployedApplicationStatus {
541	return []DeployedApplicationStatus{DeployedApplicationStatusActivating, DeployedApplicationStatusActive, DeployedApplicationStatusDeactivating, DeployedApplicationStatusDownloading, DeployedApplicationStatusInvalid, DeployedApplicationStatusUpgrading}
542}
543
544// DeploymentStatus enumerates the values for deployment status.
545type DeploymentStatus string
546
547const (
548	// DeploymentStatusActivating Indicates the application or service package is being activated. The value is
549	// 2.
550	DeploymentStatusActivating DeploymentStatus = "Activating"
551	// DeploymentStatusActive Indicates the application or service package is active the node. The value is 3.
552	DeploymentStatusActive DeploymentStatus = "Active"
553	// DeploymentStatusDeactivating Indicates the application or service package is being deactivated. The
554	// value is 5.
555	DeploymentStatusDeactivating DeploymentStatus = "Deactivating"
556	// DeploymentStatusDownloading Indicates the application or service package is being downloaded to the node
557	// from the ImageStore. The value is 1.
558	DeploymentStatusDownloading DeploymentStatus = "Downloading"
559	// DeploymentStatusInvalid Indicates status of the application or service package is not known or invalid.
560	// The value is 0.
561	DeploymentStatusInvalid DeploymentStatus = "Invalid"
562	// DeploymentStatusUpgrading Indicates the application or service package is being upgraded. The value is
563	// 4.
564	DeploymentStatusUpgrading DeploymentStatus = "Upgrading"
565)
566
567// PossibleDeploymentStatusValues returns an array of possible values for the DeploymentStatus const type.
568func PossibleDeploymentStatusValues() []DeploymentStatus {
569	return []DeploymentStatus{DeploymentStatusActivating, DeploymentStatusActive, DeploymentStatusDeactivating, DeploymentStatusDownloading, DeploymentStatusInvalid, DeploymentStatusUpgrading}
570}
571
572// EntityKind enumerates the values for entity kind.
573type EntityKind string
574
575const (
576	// EntityKindApplication Indicates the entity is a Service Fabric application. The value is 4.
577	EntityKindApplication EntityKind = "Application"
578	// EntityKindCluster Indicates the entity is a Service Fabric cluster. The value is 8.
579	EntityKindCluster EntityKind = "Cluster"
580	// EntityKindDeployedApplication Indicates the entity is a Service Fabric deployed application. The value
581	// is 6.
582	EntityKindDeployedApplication EntityKind = "DeployedApplication"
583	// EntityKindDeployedServicePackage Indicates the entity is a Service Fabric deployed service package. The
584	// value is 7.
585	EntityKindDeployedServicePackage EntityKind = "DeployedServicePackage"
586	// EntityKindInvalid Indicates an invalid entity kind. All Service Fabric enumerations have the invalid
587	// type. The value is zero.
588	EntityKindInvalid EntityKind = "Invalid"
589	// EntityKindNode Indicates the entity is a Service Fabric node. The value is 1.
590	EntityKindNode EntityKind = "Node"
591	// EntityKindPartition Indicates the entity is a Service Fabric partition. The value is 2.
592	EntityKindPartition EntityKind = "Partition"
593	// EntityKindReplica Indicates the entity is a Service Fabric replica. The value is 5.
594	EntityKindReplica EntityKind = "Replica"
595	// EntityKindService Indicates the entity is a Service Fabric service. The value is 3.
596	EntityKindService EntityKind = "Service"
597)
598
599// PossibleEntityKindValues returns an array of possible values for the EntityKind const type.
600func PossibleEntityKindValues() []EntityKind {
601	return []EntityKind{EntityKindApplication, EntityKindCluster, EntityKindDeployedApplication, EntityKindDeployedServicePackage, EntityKindInvalid, EntityKindNode, EntityKindPartition, EntityKindReplica, EntityKindService}
602}
603
604// EntityKindBasicBackupEntity enumerates the values for entity kind basic backup entity.
605type EntityKindBasicBackupEntity string
606
607const (
608	// EntityKindApplication1 ...
609	EntityKindApplication1 EntityKindBasicBackupEntity = "Application"
610	// EntityKindBackupEntity ...
611	EntityKindBackupEntity EntityKindBasicBackupEntity = "BackupEntity"
612	// EntityKindPartition1 ...
613	EntityKindPartition1 EntityKindBasicBackupEntity = "Partition"
614	// EntityKindService1 ...
615	EntityKindService1 EntityKindBasicBackupEntity = "Service"
616)
617
618// PossibleEntityKindBasicBackupEntityValues returns an array of possible values for the EntityKindBasicBackupEntity const type.
619func PossibleEntityKindBasicBackupEntityValues() []EntityKindBasicBackupEntity {
620	return []EntityKindBasicBackupEntity{EntityKindApplication1, EntityKindBackupEntity, EntityKindPartition1, EntityKindService1}
621}
622
623// EntryPointStatus enumerates the values for entry point status.
624type EntryPointStatus string
625
626const (
627	// EntryPointStatusInvalid Indicates status of entry point is not known or invalid. The value is 0.
628	EntryPointStatusInvalid EntryPointStatus = "Invalid"
629	// EntryPointStatusPending Indicates the entry point is scheduled to be started. The value is 1.
630	EntryPointStatusPending EntryPointStatus = "Pending"
631	// EntryPointStatusStarted Indicates the entry point was started successfully and is running. The value is
632	// 3.
633	EntryPointStatusStarted EntryPointStatus = "Started"
634	// EntryPointStatusStarting Indicates the entry point is being started. The value is 2.
635	EntryPointStatusStarting EntryPointStatus = "Starting"
636	// EntryPointStatusStopped Indicates the entry point is not running. The value is 5.
637	EntryPointStatusStopped EntryPointStatus = "Stopped"
638	// EntryPointStatusStopping Indicates the entry point is being stopped. The value is 4.
639	EntryPointStatusStopping EntryPointStatus = "Stopping"
640)
641
642// PossibleEntryPointStatusValues returns an array of possible values for the EntryPointStatus const type.
643func PossibleEntryPointStatusValues() []EntryPointStatus {
644	return []EntryPointStatus{EntryPointStatusInvalid, EntryPointStatusPending, EntryPointStatusStarted, EntryPointStatusStarting, EntryPointStatusStopped, EntryPointStatusStopping}
645}
646
647// FabricErrorCodes enumerates the values for fabric error codes.
648type FabricErrorCodes string
649
650const (
651	// EABORT ...
652	EABORT FabricErrorCodes = "E_ABORT"
653	// EFAIL ...
654	EFAIL FabricErrorCodes = "E_FAIL"
655	// EINVALIDARG ...
656	EINVALIDARG FabricErrorCodes = "E_INVALIDARG"
657	// FABRICEAPPLICATIONALREADYEXISTS ...
658	FABRICEAPPLICATIONALREADYEXISTS FabricErrorCodes = "FABRIC_E_APPLICATION_ALREADY_EXISTS"
659	// FABRICEAPPLICATIONALREADYINTARGETVERSION ...
660	FABRICEAPPLICATIONALREADYINTARGETVERSION FabricErrorCodes = "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION"
661	// FABRICEAPPLICATIONNOTFOUND ...
662	FABRICEAPPLICATIONNOTFOUND FabricErrorCodes = "FABRIC_E_APPLICATION_NOT_FOUND"
663	// FABRICEAPPLICATIONNOTUPGRADING ...
664	FABRICEAPPLICATIONNOTUPGRADING FabricErrorCodes = "FABRIC_E_APPLICATION_NOT_UPGRADING"
665	// FABRICEAPPLICATIONTYPEALREADYEXISTS ...
666	FABRICEAPPLICATIONTYPEALREADYEXISTS FabricErrorCodes = "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS"
667	// FABRICEAPPLICATIONTYPEINUSE ...
668	FABRICEAPPLICATIONTYPEINUSE FabricErrorCodes = "FABRIC_E_APPLICATION_TYPE_IN_USE"
669	// FABRICEAPPLICATIONTYPENOTFOUND ...
670	FABRICEAPPLICATIONTYPENOTFOUND FabricErrorCodes = "FABRIC_E_APPLICATION_TYPE_NOT_FOUND"
671	// FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS ...
672	FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS FabricErrorCodes = "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS"
673	// FABRICEAPPLICATIONUPGRADEINPROGRESS ...
674	FABRICEAPPLICATIONUPGRADEINPROGRESS FabricErrorCodes = "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS"
675	// FABRICEAPPLICATIONUPGRADEVALIDATIONERROR ...
676	FABRICEAPPLICATIONUPGRADEVALIDATIONERROR FabricErrorCodes = "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR"
677	// FABRICEBACKUPINPROGRESS ...
678	FABRICEBACKUPINPROGRESS FabricErrorCodes = "FABRIC_E_BACKUP_IN_PROGRESS"
679	// FABRICEBACKUPISENABLED ...
680	FABRICEBACKUPISENABLED FabricErrorCodes = "FABRIC_E_BACKUP_IS_ENABLED"
681	// FABRICEBACKUPNOTENABLED ...
682	FABRICEBACKUPNOTENABLED FabricErrorCodes = "FABRIC_E_BACKUP_NOT_ENABLED"
683	// FABRICEBACKUPPOLICYALREADYEXISTING ...
684	FABRICEBACKUPPOLICYALREADYEXISTING FabricErrorCodes = "FABRIC_E_BACKUP_POLICY_ALREADY_EXISTING"
685	// FABRICEBACKUPPOLICYNOTEXISTING ...
686	FABRICEBACKUPPOLICYNOTEXISTING FabricErrorCodes = "FABRIC_E_BACKUP_POLICY_NOT_EXISTING"
687	// FABRICECOMMUNICATIONERROR ...
688	FABRICECOMMUNICATIONERROR FabricErrorCodes = "FABRIC_E_COMMUNICATION_ERROR"
689	// FABRICECONFIGURATIONPARAMETERNOTFOUND ...
690	FABRICECONFIGURATIONPARAMETERNOTFOUND FabricErrorCodes = "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND"
691	// FABRICECONFIGURATIONSECTIONNOTFOUND ...
692	FABRICECONFIGURATIONSECTIONNOTFOUND FabricErrorCodes = "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND"
693	// FABRICEDIRECTORYNOTFOUND ...
694	FABRICEDIRECTORYNOTFOUND FabricErrorCodes = "FABRIC_E_DIRECTORY_NOT_FOUND"
695	// FABRICEENUMERATIONCOMPLETED ...
696	FABRICEENUMERATIONCOMPLETED FabricErrorCodes = "FABRIC_E_ENUMERATION_COMPLETED"
697	// FABRICEFABRICALREADYINTARGETVERSION ...
698	FABRICEFABRICALREADYINTARGETVERSION FabricErrorCodes = "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION"
699	// FABRICEFABRICNOTUPGRADING ...
700	FABRICEFABRICNOTUPGRADING FabricErrorCodes = "FABRIC_E_FABRIC_NOT_UPGRADING"
701	// FABRICEFABRICUPGRADEINPROGRESS ...
702	FABRICEFABRICUPGRADEINPROGRESS FabricErrorCodes = "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS"
703	// FABRICEFABRICUPGRADEVALIDATIONERROR ...
704	FABRICEFABRICUPGRADEVALIDATIONERROR FabricErrorCodes = "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR"
705	// FABRICEFABRICVERSIONALREADYEXISTS ...
706	FABRICEFABRICVERSIONALREADYEXISTS FabricErrorCodes = "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS"
707	// FABRICEFABRICVERSIONINUSE ...
708	FABRICEFABRICVERSIONINUSE FabricErrorCodes = "FABRIC_E_FABRIC_VERSION_IN_USE"
709	// FABRICEFABRICVERSIONNOTFOUND ...
710	FABRICEFABRICVERSIONNOTFOUND FabricErrorCodes = "FABRIC_E_FABRIC_VERSION_NOT_FOUND"
711	// FABRICEFAULTANALYSISSERVICENOTEXISTING ...
712	FABRICEFAULTANALYSISSERVICENOTEXISTING FabricErrorCodes = "FABRIC_E_FAULT_ANALYSIS_SERVICE_NOT_EXISTING"
713	// FABRICEFILENOTFOUND ...
714	FABRICEFILENOTFOUND FabricErrorCodes = "FABRIC_E_FILE_NOT_FOUND"
715	// FABRICEHEALTHENTITYNOTFOUND ...
716	FABRICEHEALTHENTITYNOTFOUND FabricErrorCodes = "FABRIC_E_HEALTH_ENTITY_NOT_FOUND"
717	// FABRICEHEALTHSTALEREPORT ...
718	FABRICEHEALTHSTALEREPORT FabricErrorCodes = "FABRIC_E_HEALTH_STALE_REPORT"
719	// FABRICEIMAGEBUILDERVALIDATIONERROR ...
720	FABRICEIMAGEBUILDERVALIDATIONERROR FabricErrorCodes = "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR"
721	// FABRICEINSTANCEIDMISMATCH ...
722	FABRICEINSTANCEIDMISMATCH FabricErrorCodes = "FABRIC_E_INSTANCE_ID_MISMATCH"
723	// FABRICEINVALIDADDRESS ...
724	FABRICEINVALIDADDRESS FabricErrorCodes = "FABRIC_E_INVALID_ADDRESS"
725	// FABRICEINVALIDATOMICGROUP ...
726	FABRICEINVALIDATOMICGROUP FabricErrorCodes = "FABRIC_E_INVALID_ATOMIC_GROUP"
727	// FABRICEINVALIDCONFIGURATION ...
728	FABRICEINVALIDCONFIGURATION FabricErrorCodes = "FABRIC_E_INVALID_CONFIGURATION"
729	// FABRICEINVALIDFORSTATELESSSERVICES ...
730	FABRICEINVALIDFORSTATELESSSERVICES FabricErrorCodes = "FABRIC_E_INVALID_FOR_STATELESS_SERVICES"
731	// FABRICEINVALIDNAMEURI ...
732	FABRICEINVALIDNAMEURI FabricErrorCodes = "FABRIC_E_INVALID_NAME_URI"
733	// FABRICEINVALIDPARTITIONKEY ...
734	FABRICEINVALIDPARTITIONKEY FabricErrorCodes = "FABRIC_E_INVALID_PARTITION_KEY"
735	// FABRICEINVALIDSERVICESCALINGPOLICY ...
736	FABRICEINVALIDSERVICESCALINGPOLICY FabricErrorCodes = "FABRIC_E_INVALID_SERVICE_SCALING_POLICY"
737	// FABRICEKEYNOTFOUND ...
738	FABRICEKEYNOTFOUND FabricErrorCodes = "FABRIC_E_KEY_NOT_FOUND"
739	// FABRICEKEYTOOLARGE ...
740	FABRICEKEYTOOLARGE FabricErrorCodes = "FABRIC_E_KEY_TOO_LARGE"
741	// FABRICENAMEALREADYEXISTS ...
742	FABRICENAMEALREADYEXISTS FabricErrorCodes = "FABRIC_E_NAME_ALREADY_EXISTS"
743	// FABRICENAMEDOESNOTEXIST ...
744	FABRICENAMEDOESNOTEXIST FabricErrorCodes = "FABRIC_E_NAME_DOES_NOT_EXIST"
745	// FABRICENAMENOTEMPTY ...
746	FABRICENAMENOTEMPTY FabricErrorCodes = "FABRIC_E_NAME_NOT_EMPTY"
747	// FABRICENODEHASNOTSTOPPEDYET ...
748	FABRICENODEHASNOTSTOPPEDYET FabricErrorCodes = "FABRIC_E_NODE_HAS_NOT_STOPPED_YET"
749	// FABRICENODEISUP ...
750	FABRICENODEISUP FabricErrorCodes = "FABRIC_E_NODE_IS_UP"
751	// FABRICENODENOTFOUND ...
752	FABRICENODENOTFOUND FabricErrorCodes = "FABRIC_E_NODE_NOT_FOUND"
753	// FABRICENOTPRIMARY ...
754	FABRICENOTPRIMARY FabricErrorCodes = "FABRIC_E_NOT_PRIMARY"
755	// FABRICENOTREADY ...
756	FABRICENOTREADY FabricErrorCodes = "FABRIC_E_NOT_READY"
757	// FABRICENOWRITEQUORUM ...
758	FABRICENOWRITEQUORUM FabricErrorCodes = "FABRIC_E_NO_WRITE_QUORUM"
759	// FABRICEOPERATIONNOTCOMPLETE ...
760	FABRICEOPERATIONNOTCOMPLETE FabricErrorCodes = "FABRIC_E_OPERATION_NOT_COMPLETE"
761	// FABRICEPARTITIONNOTFOUND ...
762	FABRICEPARTITIONNOTFOUND FabricErrorCodes = "FABRIC_E_PARTITION_NOT_FOUND"
763	// FABRICEPATHTOOLONG ...
764	FABRICEPATHTOOLONG FabricErrorCodes = "FABRIC_E_PATH_TOO_LONG"
765	// FABRICEPROPERTYCHECKFAILED ...
766	FABRICEPROPERTYCHECKFAILED FabricErrorCodes = "FABRIC_E_PROPERTY_CHECK_FAILED"
767	// FABRICEPROPERTYDOESNOTEXIST ...
768	FABRICEPROPERTYDOESNOTEXIST FabricErrorCodes = "FABRIC_E_PROPERTY_DOES_NOT_EXIST"
769	// FABRICERECONFIGURATIONPENDING ...
770	FABRICERECONFIGURATIONPENDING FabricErrorCodes = "FABRIC_E_RECONFIGURATION_PENDING"
771	// FABRICEREPLICADOESNOTEXIST ...
772	FABRICEREPLICADOESNOTEXIST FabricErrorCodes = "FABRIC_E_REPLICA_DOES_NOT_EXIST"
773	// FABRICERESTOREINPROGRESS ...
774	FABRICERESTOREINPROGRESS FabricErrorCodes = "FABRIC_E_RESTORE_IN_PROGRESS"
775	// FABRICERESTORESOURCETARGETPARTITIONMISMATCH ...
776	FABRICERESTORESOURCETARGETPARTITIONMISMATCH FabricErrorCodes = "FABRIC_E_RESTORE_SOURCE_TARGET_PARTITION_MISMATCH"
777	// FABRICESEQUENCENUMBERCHECKFAILED ...
778	FABRICESEQUENCENUMBERCHECKFAILED FabricErrorCodes = "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED"
779	// FABRICESERVICEAFFINITYCHAINNOTSUPPORTED ...
780	FABRICESERVICEAFFINITYCHAINNOTSUPPORTED FabricErrorCodes = "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED"
781	// FABRICESERVICEALREADYEXISTS ...
782	FABRICESERVICEALREADYEXISTS FabricErrorCodes = "FABRIC_E_SERVICE_ALREADY_EXISTS"
783	// FABRICESERVICEDOESNOTEXIST ...
784	FABRICESERVICEDOESNOTEXIST FabricErrorCodes = "FABRIC_E_SERVICE_DOES_NOT_EXIST"
785	// FABRICESERVICEGROUPALREADYEXISTS ...
786	FABRICESERVICEGROUPALREADYEXISTS FabricErrorCodes = "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS"
787	// FABRICESERVICEGROUPDOESNOTEXIST ...
788	FABRICESERVICEGROUPDOESNOTEXIST FabricErrorCodes = "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST"
789	// FABRICESERVICEMANIFESTNOTFOUND ...
790	FABRICESERVICEMANIFESTNOTFOUND FabricErrorCodes = "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND"
791	// FABRICESERVICEMETADATAMISMATCH ...
792	FABRICESERVICEMETADATAMISMATCH FabricErrorCodes = "FABRIC_E_SERVICE_METADATA_MISMATCH"
793	// FABRICESERVICEOFFLINE ...
794	FABRICESERVICEOFFLINE FabricErrorCodes = "FABRIC_E_SERVICE_OFFLINE"
795	// FABRICESERVICETYPEMISMATCH ...
796	FABRICESERVICETYPEMISMATCH FabricErrorCodes = "FABRIC_E_SERVICE_TYPE_MISMATCH"
797	// FABRICESERVICETYPENOTFOUND ...
798	FABRICESERVICETYPENOTFOUND FabricErrorCodes = "FABRIC_E_SERVICE_TYPE_NOT_FOUND"
799	// FABRICESERVICETYPETEMPLATENOTFOUND ...
800	FABRICESERVICETYPETEMPLATENOTFOUND FabricErrorCodes = "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND"
801	// FABRICETIMEOUT ...
802	FABRICETIMEOUT FabricErrorCodes = "FABRIC_E_TIMEOUT"
803	// FABRICEVALUEEMPTY ...
804	FABRICEVALUEEMPTY FabricErrorCodes = "FABRIC_E_VALUE_EMPTY"
805	// FABRICEVALUETOOLARGE ...
806	FABRICEVALUETOOLARGE FabricErrorCodes = "FABRIC_E_VALUE_TOO_LARGE"
807)
808
809// PossibleFabricErrorCodesValues returns an array of possible values for the FabricErrorCodes const type.
810func PossibleFabricErrorCodesValues() []FabricErrorCodes {
811	return []FabricErrorCodes{EABORT, EFAIL, EINVALIDARG, FABRICEAPPLICATIONALREADYEXISTS, FABRICEAPPLICATIONALREADYINTARGETVERSION, FABRICEAPPLICATIONNOTFOUND, FABRICEAPPLICATIONNOTUPGRADING, FABRICEAPPLICATIONTYPEALREADYEXISTS, FABRICEAPPLICATIONTYPEINUSE, FABRICEAPPLICATIONTYPENOTFOUND, FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS, FABRICEAPPLICATIONUPGRADEINPROGRESS, FABRICEAPPLICATIONUPGRADEVALIDATIONERROR, FABRICEBACKUPINPROGRESS, FABRICEBACKUPISENABLED, FABRICEBACKUPNOTENABLED, FABRICEBACKUPPOLICYALREADYEXISTING, FABRICEBACKUPPOLICYNOTEXISTING, FABRICECOMMUNICATIONERROR, FABRICECONFIGURATIONPARAMETERNOTFOUND, FABRICECONFIGURATIONSECTIONNOTFOUND, FABRICEDIRECTORYNOTFOUND, FABRICEENUMERATIONCOMPLETED, FABRICEFABRICALREADYINTARGETVERSION, FABRICEFABRICNOTUPGRADING, FABRICEFABRICUPGRADEINPROGRESS, FABRICEFABRICUPGRADEVALIDATIONERROR, FABRICEFABRICVERSIONALREADYEXISTS, FABRICEFABRICVERSIONINUSE, FABRICEFABRICVERSIONNOTFOUND, FABRICEFAULTANALYSISSERVICENOTEXISTING, FABRICEFILENOTFOUND, FABRICEHEALTHENTITYNOTFOUND, FABRICEHEALTHSTALEREPORT, FABRICEIMAGEBUILDERVALIDATIONERROR, FABRICEINSTANCEIDMISMATCH, FABRICEINVALIDADDRESS, FABRICEINVALIDATOMICGROUP, FABRICEINVALIDCONFIGURATION, FABRICEINVALIDFORSTATELESSSERVICES, FABRICEINVALIDNAMEURI, FABRICEINVALIDPARTITIONKEY, FABRICEINVALIDSERVICESCALINGPOLICY, FABRICEKEYNOTFOUND, FABRICEKEYTOOLARGE, FABRICENAMEALREADYEXISTS, FABRICENAMEDOESNOTEXIST, FABRICENAMENOTEMPTY, FABRICENODEHASNOTSTOPPEDYET, FABRICENODEISUP, FABRICENODENOTFOUND, FABRICENOTPRIMARY, FABRICENOTREADY, FABRICENOWRITEQUORUM, FABRICEOPERATIONNOTCOMPLETE, FABRICEPARTITIONNOTFOUND, FABRICEPATHTOOLONG, FABRICEPROPERTYCHECKFAILED, FABRICEPROPERTYDOESNOTEXIST, FABRICERECONFIGURATIONPENDING, FABRICEREPLICADOESNOTEXIST, FABRICERESTOREINPROGRESS, FABRICERESTORESOURCETARGETPARTITIONMISMATCH, FABRICESEQUENCENUMBERCHECKFAILED, FABRICESERVICEAFFINITYCHAINNOTSUPPORTED, FABRICESERVICEALREADYEXISTS, FABRICESERVICEDOESNOTEXIST, FABRICESERVICEGROUPALREADYEXISTS, FABRICESERVICEGROUPDOESNOTEXIST, FABRICESERVICEMANIFESTNOTFOUND, FABRICESERVICEMETADATAMISMATCH, FABRICESERVICEOFFLINE, FABRICESERVICETYPEMISMATCH, FABRICESERVICETYPENOTFOUND, FABRICESERVICETYPETEMPLATENOTFOUND, FABRICETIMEOUT, FABRICEVALUEEMPTY, FABRICEVALUETOOLARGE}
812}
813
814// FabricEventKind enumerates the values for fabric event kind.
815type FabricEventKind string
816
817const (
818	// FabricEventKindApplicationCreated ...
819	FabricEventKindApplicationCreated FabricEventKind = "ApplicationCreated"
820	// FabricEventKindApplicationDeleted ...
821	FabricEventKindApplicationDeleted FabricEventKind = "ApplicationDeleted"
822	// FabricEventKindApplicationEvent ...
823	FabricEventKindApplicationEvent FabricEventKind = "ApplicationEvent"
824	// FabricEventKindApplicationHealthReportCreated ...
825	FabricEventKindApplicationHealthReportCreated FabricEventKind = "ApplicationHealthReportCreated"
826	// FabricEventKindApplicationHealthReportExpired ...
827	FabricEventKindApplicationHealthReportExpired FabricEventKind = "ApplicationHealthReportExpired"
828	// FabricEventKindApplicationUpgradeComplete ...
829	FabricEventKindApplicationUpgradeComplete FabricEventKind = "ApplicationUpgradeComplete"
830	// FabricEventKindApplicationUpgradeDomainComplete ...
831	FabricEventKindApplicationUpgradeDomainComplete FabricEventKind = "ApplicationUpgradeDomainComplete"
832	// FabricEventKindApplicationUpgradeRollbackComplete ...
833	FabricEventKindApplicationUpgradeRollbackComplete FabricEventKind = "ApplicationUpgradeRollbackComplete"
834	// FabricEventKindApplicationUpgradeRollbackStart ...
835	FabricEventKindApplicationUpgradeRollbackStart FabricEventKind = "ApplicationUpgradeRollbackStart"
836	// FabricEventKindApplicationUpgradeStart ...
837	FabricEventKindApplicationUpgradeStart FabricEventKind = "ApplicationUpgradeStart"
838	// FabricEventKindChaosMovePrimaryFaultScheduled ...
839	FabricEventKindChaosMovePrimaryFaultScheduled FabricEventKind = "ChaosMovePrimaryFaultScheduled"
840	// FabricEventKindChaosMoveSecondaryFaultScheduled ...
841	FabricEventKindChaosMoveSecondaryFaultScheduled FabricEventKind = "ChaosMoveSecondaryFaultScheduled"
842	// FabricEventKindChaosRemoveReplicaFaultCompleted ...
843	FabricEventKindChaosRemoveReplicaFaultCompleted FabricEventKind = "ChaosRemoveReplicaFaultCompleted"
844	// FabricEventKindChaosRemoveReplicaFaultScheduled ...
845	FabricEventKindChaosRemoveReplicaFaultScheduled FabricEventKind = "ChaosRemoveReplicaFaultScheduled"
846	// FabricEventKindChaosRestartCodePackageFaultCompleted ...
847	FabricEventKindChaosRestartCodePackageFaultCompleted FabricEventKind = "ChaosRestartCodePackageFaultCompleted"
848	// FabricEventKindChaosRestartCodePackageFaultScheduled ...
849	FabricEventKindChaosRestartCodePackageFaultScheduled FabricEventKind = "ChaosRestartCodePackageFaultScheduled"
850	// FabricEventKindChaosRestartNodeFaultCompleted ...
851	FabricEventKindChaosRestartNodeFaultCompleted FabricEventKind = "ChaosRestartNodeFaultCompleted"
852	// FabricEventKindChaosRestartNodeFaultScheduled ...
853	FabricEventKindChaosRestartNodeFaultScheduled FabricEventKind = "ChaosRestartNodeFaultScheduled"
854	// FabricEventKindChaosRestartReplicaFaultScheduled ...
855	FabricEventKindChaosRestartReplicaFaultScheduled FabricEventKind = "ChaosRestartReplicaFaultScheduled"
856	// FabricEventKindChaosStarted ...
857	FabricEventKindChaosStarted FabricEventKind = "ChaosStarted"
858	// FabricEventKindChaosStopped ...
859	FabricEventKindChaosStopped FabricEventKind = "ChaosStopped"
860	// FabricEventKindClusterEvent ...
861	FabricEventKindClusterEvent FabricEventKind = "ClusterEvent"
862	// FabricEventKindClusterHealthReportCreated ...
863	FabricEventKindClusterHealthReportCreated FabricEventKind = "ClusterHealthReportCreated"
864	// FabricEventKindClusterHealthReportExpired ...
865	FabricEventKindClusterHealthReportExpired FabricEventKind = "ClusterHealthReportExpired"
866	// FabricEventKindClusterUpgradeComplete ...
867	FabricEventKindClusterUpgradeComplete FabricEventKind = "ClusterUpgradeComplete"
868	// FabricEventKindClusterUpgradeDomainComplete ...
869	FabricEventKindClusterUpgradeDomainComplete FabricEventKind = "ClusterUpgradeDomainComplete"
870	// FabricEventKindClusterUpgradeRollbackComplete ...
871	FabricEventKindClusterUpgradeRollbackComplete FabricEventKind = "ClusterUpgradeRollbackComplete"
872	// FabricEventKindClusterUpgradeRollbackStart ...
873	FabricEventKindClusterUpgradeRollbackStart FabricEventKind = "ClusterUpgradeRollbackStart"
874	// FabricEventKindClusterUpgradeStart ...
875	FabricEventKindClusterUpgradeStart FabricEventKind = "ClusterUpgradeStart"
876	// FabricEventKindContainerDeactivated ...
877	FabricEventKindContainerDeactivated FabricEventKind = "ContainerDeactivated"
878	// FabricEventKindContainerInstanceEvent ...
879	FabricEventKindContainerInstanceEvent FabricEventKind = "ContainerInstanceEvent"
880	// FabricEventKindDeployedApplicationHealthReportCreated ...
881	FabricEventKindDeployedApplicationHealthReportCreated FabricEventKind = "DeployedApplicationHealthReportCreated"
882	// FabricEventKindDeployedApplicationHealthReportExpired ...
883	FabricEventKindDeployedApplicationHealthReportExpired FabricEventKind = "DeployedApplicationHealthReportExpired"
884	// FabricEventKindDeployedServiceHealthReportCreated ...
885	FabricEventKindDeployedServiceHealthReportCreated FabricEventKind = "DeployedServiceHealthReportCreated"
886	// FabricEventKindDeployedServiceHealthReportExpired ...
887	FabricEventKindDeployedServiceHealthReportExpired FabricEventKind = "DeployedServiceHealthReportExpired"
888	// FabricEventKindNodeAborted ...
889	FabricEventKindNodeAborted FabricEventKind = "NodeAborted"
890	// FabricEventKindNodeAborting ...
891	FabricEventKindNodeAborting FabricEventKind = "NodeAborting"
892	// FabricEventKindNodeAdded ...
893	FabricEventKindNodeAdded FabricEventKind = "NodeAdded"
894	// FabricEventKindNodeClose ...
895	FabricEventKindNodeClose FabricEventKind = "NodeClose"
896	// FabricEventKindNodeClosing ...
897	FabricEventKindNodeClosing FabricEventKind = "NodeClosing"
898	// FabricEventKindNodeDeactivateComplete ...
899	FabricEventKindNodeDeactivateComplete FabricEventKind = "NodeDeactivateComplete"
900	// FabricEventKindNodeDeactivateStart ...
901	FabricEventKindNodeDeactivateStart FabricEventKind = "NodeDeactivateStart"
902	// FabricEventKindNodeDown ...
903	FabricEventKindNodeDown FabricEventKind = "NodeDown"
904	// FabricEventKindNodeEvent ...
905	FabricEventKindNodeEvent FabricEventKind = "NodeEvent"
906	// FabricEventKindNodeHealthReportCreated ...
907	FabricEventKindNodeHealthReportCreated FabricEventKind = "NodeHealthReportCreated"
908	// FabricEventKindNodeHealthReportExpired ...
909	FabricEventKindNodeHealthReportExpired FabricEventKind = "NodeHealthReportExpired"
910	// FabricEventKindNodeOpenedSuccess ...
911	FabricEventKindNodeOpenedSuccess FabricEventKind = "NodeOpenedSuccess"
912	// FabricEventKindNodeOpenFailed ...
913	FabricEventKindNodeOpenFailed FabricEventKind = "NodeOpenFailed"
914	// FabricEventKindNodeOpening ...
915	FabricEventKindNodeOpening FabricEventKind = "NodeOpening"
916	// FabricEventKindNodeRemoved ...
917	FabricEventKindNodeRemoved FabricEventKind = "NodeRemoved"
918	// FabricEventKindNodeUp ...
919	FabricEventKindNodeUp FabricEventKind = "NodeUp"
920	// FabricEventKindPartitionAnalysisEvent ...
921	FabricEventKindPartitionAnalysisEvent FabricEventKind = "PartitionAnalysisEvent"
922	// FabricEventKindPartitionEvent ...
923	FabricEventKindPartitionEvent FabricEventKind = "PartitionEvent"
924	// FabricEventKindPartitionHealthReportCreated ...
925	FabricEventKindPartitionHealthReportCreated FabricEventKind = "PartitionHealthReportCreated"
926	// FabricEventKindPartitionHealthReportExpired ...
927	FabricEventKindPartitionHealthReportExpired FabricEventKind = "PartitionHealthReportExpired"
928	// FabricEventKindPartitionPrimaryMoveAnalysis ...
929	FabricEventKindPartitionPrimaryMoveAnalysis FabricEventKind = "PartitionPrimaryMoveAnalysis"
930	// FabricEventKindPartitionReconfigurationCompleted ...
931	FabricEventKindPartitionReconfigurationCompleted FabricEventKind = "PartitionReconfigurationCompleted"
932	// FabricEventKindProcessDeactivated ...
933	FabricEventKindProcessDeactivated FabricEventKind = "ProcessDeactivated"
934	// FabricEventKindReplicaEvent ...
935	FabricEventKindReplicaEvent FabricEventKind = "ReplicaEvent"
936	// FabricEventKindServiceCreated ...
937	FabricEventKindServiceCreated FabricEventKind = "ServiceCreated"
938	// FabricEventKindServiceDeleted ...
939	FabricEventKindServiceDeleted FabricEventKind = "ServiceDeleted"
940	// FabricEventKindServiceEvent ...
941	FabricEventKindServiceEvent FabricEventKind = "ServiceEvent"
942	// FabricEventKindServiceHealthReportCreated ...
943	FabricEventKindServiceHealthReportCreated FabricEventKind = "ServiceHealthReportCreated"
944	// FabricEventKindServiceHealthReportExpired ...
945	FabricEventKindServiceHealthReportExpired FabricEventKind = "ServiceHealthReportExpired"
946	// FabricEventKindStatefulReplicaHealthReportCreated ...
947	FabricEventKindStatefulReplicaHealthReportCreated FabricEventKind = "StatefulReplicaHealthReportCreated"
948	// FabricEventKindStatefulReplicaHealthReportExpired ...
949	FabricEventKindStatefulReplicaHealthReportExpired FabricEventKind = "StatefulReplicaHealthReportExpired"
950	// FabricEventKindStatelessReplicaHealthReportCreated ...
951	FabricEventKindStatelessReplicaHealthReportCreated FabricEventKind = "StatelessReplicaHealthReportCreated"
952	// FabricEventKindStatelessReplicaHealthReportExpired ...
953	FabricEventKindStatelessReplicaHealthReportExpired FabricEventKind = "StatelessReplicaHealthReportExpired"
954)
955
956// PossibleFabricEventKindValues returns an array of possible values for the FabricEventKind const type.
957func PossibleFabricEventKindValues() []FabricEventKind {
958	return []FabricEventKind{FabricEventKindApplicationCreated, FabricEventKindApplicationDeleted, FabricEventKindApplicationEvent, FabricEventKindApplicationHealthReportCreated, FabricEventKindApplicationHealthReportExpired, FabricEventKindApplicationUpgradeComplete, FabricEventKindApplicationUpgradeDomainComplete, FabricEventKindApplicationUpgradeRollbackComplete, FabricEventKindApplicationUpgradeRollbackStart, FabricEventKindApplicationUpgradeStart, FabricEventKindChaosMovePrimaryFaultScheduled, FabricEventKindChaosMoveSecondaryFaultScheduled, FabricEventKindChaosRemoveReplicaFaultCompleted, FabricEventKindChaosRemoveReplicaFaultScheduled, FabricEventKindChaosRestartCodePackageFaultCompleted, FabricEventKindChaosRestartCodePackageFaultScheduled, FabricEventKindChaosRestartNodeFaultCompleted, FabricEventKindChaosRestartNodeFaultScheduled, FabricEventKindChaosRestartReplicaFaultScheduled, FabricEventKindChaosStarted, FabricEventKindChaosStopped, FabricEventKindClusterEvent, FabricEventKindClusterHealthReportCreated, FabricEventKindClusterHealthReportExpired, FabricEventKindClusterUpgradeComplete, FabricEventKindClusterUpgradeDomainComplete, FabricEventKindClusterUpgradeRollbackComplete, FabricEventKindClusterUpgradeRollbackStart, FabricEventKindClusterUpgradeStart, FabricEventKindContainerDeactivated, FabricEventKindContainerInstanceEvent, FabricEventKindDeployedApplicationHealthReportCreated, FabricEventKindDeployedApplicationHealthReportExpired, FabricEventKindDeployedServiceHealthReportCreated, FabricEventKindDeployedServiceHealthReportExpired, FabricEventKindNodeAborted, FabricEventKindNodeAborting, FabricEventKindNodeAdded, FabricEventKindNodeClose, FabricEventKindNodeClosing, FabricEventKindNodeDeactivateComplete, FabricEventKindNodeDeactivateStart, FabricEventKindNodeDown, FabricEventKindNodeEvent, FabricEventKindNodeHealthReportCreated, FabricEventKindNodeHealthReportExpired, FabricEventKindNodeOpenedSuccess, FabricEventKindNodeOpenFailed, FabricEventKindNodeOpening, FabricEventKindNodeRemoved, FabricEventKindNodeUp, FabricEventKindPartitionAnalysisEvent, FabricEventKindPartitionEvent, FabricEventKindPartitionHealthReportCreated, FabricEventKindPartitionHealthReportExpired, FabricEventKindPartitionPrimaryMoveAnalysis, FabricEventKindPartitionReconfigurationCompleted, FabricEventKindProcessDeactivated, FabricEventKindReplicaEvent, FabricEventKindServiceCreated, FabricEventKindServiceDeleted, FabricEventKindServiceEvent, FabricEventKindServiceHealthReportCreated, FabricEventKindServiceHealthReportExpired, FabricEventKindStatefulReplicaHealthReportCreated, FabricEventKindStatefulReplicaHealthReportExpired, FabricEventKindStatelessReplicaHealthReportCreated, FabricEventKindStatelessReplicaHealthReportExpired}
959}
960
961// FabricReplicaStatus enumerates the values for fabric replica status.
962type FabricReplicaStatus string
963
964const (
965	// FabricReplicaStatusDown Indicates that the replica is down.
966	FabricReplicaStatusDown FabricReplicaStatus = "Down"
967	// FabricReplicaStatusInvalid Indicates that the read or write operation access status is not valid. This
968	// value is not returned to the caller.
969	FabricReplicaStatusInvalid FabricReplicaStatus = "Invalid"
970	// FabricReplicaStatusUp Indicates that the replica is up.
971	FabricReplicaStatusUp FabricReplicaStatus = "Up"
972)
973
974// PossibleFabricReplicaStatusValues returns an array of possible values for the FabricReplicaStatus const type.
975func PossibleFabricReplicaStatusValues() []FabricReplicaStatus {
976	return []FabricReplicaStatus{FabricReplicaStatusDown, FabricReplicaStatusInvalid, FabricReplicaStatusUp}
977}
978
979// FailureAction enumerates the values for failure action.
980type FailureAction string
981
982const (
983	// FailureActionInvalid Indicates the failure action is invalid. All Service Fabric enumerations have the
984	// invalid type. The value is zero.
985	FailureActionInvalid FailureAction = "Invalid"
986	// FailureActionManual The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2
987	FailureActionManual FailureAction = "Manual"
988	// FailureActionRollback The upgrade will start rolling back automatically. The value is 1
989	FailureActionRollback FailureAction = "Rollback"
990)
991
992// PossibleFailureActionValues returns an array of possible values for the FailureAction const type.
993func PossibleFailureActionValues() []FailureAction {
994	return []FailureAction{FailureActionInvalid, FailureActionManual, FailureActionRollback}
995}
996
997// FailureReason enumerates the values for failure reason.
998type FailureReason string
999
1000const (
1001	// HealthCheck The upgrade failed due to health policy violations. The value is 2
1002	HealthCheck FailureReason = "HealthCheck"
1003	// Interrupted There was an external request to rollback the upgrade. The value is 1
1004	Interrupted FailureReason = "Interrupted"
1005	// None Indicates the reason is invalid or unknown. All Service Fabric enumerations have the invalid type.
1006	// The value is zero.
1007	None FailureReason = "None"
1008	// OverallUpgradeTimeout The overall upgrade took longer than the allowed upgrade timeout to process. The
1009	// value is 4
1010	OverallUpgradeTimeout FailureReason = "OverallUpgradeTimeout"
1011	// UpgradeDomainTimeout An upgrade domain took longer than the allowed upgrade domain timeout to process.
1012	// The value is 3
1013	UpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout"
1014)
1015
1016// PossibleFailureReasonValues returns an array of possible values for the FailureReason const type.
1017func PossibleFailureReasonValues() []FailureReason {
1018	return []FailureReason{HealthCheck, Interrupted, None, OverallUpgradeTimeout, UpgradeDomainTimeout}
1019}
1020
1021// HealthEvaluationKind enumerates the values for health evaluation kind.
1022type HealthEvaluationKind string
1023
1024const (
1025	// HealthEvaluationKindApplication Indicates that the health evaluation is for an application. The value is
1026	// 18.
1027	HealthEvaluationKindApplication HealthEvaluationKind = "Application"
1028	// HealthEvaluationKindApplications Indicates that the health evaluation is for the cluster applications.
1029	// The value is 8.
1030	HealthEvaluationKindApplications HealthEvaluationKind = "Applications"
1031	// HealthEvaluationKindApplicationTypeApplications – Indicates that the health evaluation is for
1032	// applications of an application type. The value is 21.
1033	HealthEvaluationKindApplicationTypeApplications HealthEvaluationKind = "ApplicationTypeApplications"
1034	// HealthEvaluationKindDeltaNodesCheck Indicates that the health evaluation is for the delta of unhealthy
1035	// cluster nodes. The value is 19.
1036	HealthEvaluationKindDeltaNodesCheck HealthEvaluationKind = "DeltaNodesCheck"
1037	// HealthEvaluationKindDeployedApplication Indicates that the health evaluation is for a deployed
1038	// application. The value is 17.
1039	HealthEvaluationKindDeployedApplication HealthEvaluationKind = "DeployedApplication"
1040	// HealthEvaluationKindDeployedApplications Indicates that the health evaluation is for the deployed
1041	// applications of an application. The value is 5.
1042	HealthEvaluationKindDeployedApplications HealthEvaluationKind = "DeployedApplications"
1043	// HealthEvaluationKindDeployedServicePackage Indicates that the health evaluation is for a deployed
1044	// service package. The value is 16.
1045	HealthEvaluationKindDeployedServicePackage HealthEvaluationKind = "DeployedServicePackage"
1046	// HealthEvaluationKindDeployedServicePackages Indicates that the health evaluation is for the deployed
1047	// service packages of a deployed application. The value is 4.
1048	HealthEvaluationKindDeployedServicePackages HealthEvaluationKind = "DeployedServicePackages"
1049	// HealthEvaluationKindEvent Indicates that the health evaluation is for a health event. The value is 1.
1050	HealthEvaluationKindEvent HealthEvaluationKind = "Event"
1051	// HealthEvaluationKindInvalid Indicates that the health evaluation is invalid. The value is zero.
1052	HealthEvaluationKindInvalid HealthEvaluationKind = "Invalid"
1053	// HealthEvaluationKindNode Indicates that the health evaluation is for a node. The value is 12.
1054	HealthEvaluationKindNode HealthEvaluationKind = "Node"
1055	// HealthEvaluationKindNodes Indicates that the health evaluation is for the cluster nodes. The value is 7.
1056	HealthEvaluationKindNodes HealthEvaluationKind = "Nodes"
1057	// HealthEvaluationKindPartition Indicates that the health evaluation is for a partition. The value is 14.
1058	HealthEvaluationKindPartition HealthEvaluationKind = "Partition"
1059	// HealthEvaluationKindPartitions Indicates that the health evaluation is for the partitions of a service.
1060	// The value is 3.
1061	HealthEvaluationKindPartitions HealthEvaluationKind = "Partitions"
1062	// HealthEvaluationKindReplica Indicates that the health evaluation is for a replica. The value is 13.
1063	HealthEvaluationKindReplica HealthEvaluationKind = "Replica"
1064	// HealthEvaluationKindReplicas Indicates that the health evaluation is for the replicas of a partition.
1065	// The value is 2.
1066	HealthEvaluationKindReplicas HealthEvaluationKind = "Replicas"
1067	// HealthEvaluationKindService Indicates that the health evaluation is for a service. The value is 15.
1068	HealthEvaluationKindService HealthEvaluationKind = "Service"
1069	// HealthEvaluationKindServices Indicates that the health evaluation is for services of an application. The
1070	// value is 6.
1071	HealthEvaluationKindServices HealthEvaluationKind = "Services"
1072	// HealthEvaluationKindSystemApplication Indicates that the health evaluation is for the system
1073	// application. The value is 9.
1074	HealthEvaluationKindSystemApplication HealthEvaluationKind = "SystemApplication"
1075	// HealthEvaluationKindUpgradeDomainDeltaNodesCheck Indicates that the health evaluation is for the delta
1076	// of unhealthy upgrade domain cluster nodes. The value is 20.
1077	HealthEvaluationKindUpgradeDomainDeltaNodesCheck HealthEvaluationKind = "UpgradeDomainDeltaNodesCheck"
1078	// HealthEvaluationKindUpgradeDomainDeployedApplications Indicates that the health evaluation is for the
1079	// deployed applications of an application in an upgrade domain. The value is 10.
1080	HealthEvaluationKindUpgradeDomainDeployedApplications HealthEvaluationKind = "UpgradeDomainDeployedApplications"
1081	// HealthEvaluationKindUpgradeDomainNodes Indicates that the health evaluation is for the cluster nodes in
1082	// an upgrade domain. The value is 11.
1083	HealthEvaluationKindUpgradeDomainNodes HealthEvaluationKind = "UpgradeDomainNodes"
1084)
1085
1086// PossibleHealthEvaluationKindValues returns an array of possible values for the HealthEvaluationKind const type.
1087func PossibleHealthEvaluationKindValues() []HealthEvaluationKind {
1088	return []HealthEvaluationKind{HealthEvaluationKindApplication, HealthEvaluationKindApplications, HealthEvaluationKindApplicationTypeApplications, HealthEvaluationKindDeltaNodesCheck, HealthEvaluationKindDeployedApplication, HealthEvaluationKindDeployedApplications, HealthEvaluationKindDeployedServicePackage, HealthEvaluationKindDeployedServicePackages, HealthEvaluationKindEvent, HealthEvaluationKindInvalid, HealthEvaluationKindNode, HealthEvaluationKindNodes, HealthEvaluationKindPartition, HealthEvaluationKindPartitions, HealthEvaluationKindReplica, HealthEvaluationKindReplicas, HealthEvaluationKindService, HealthEvaluationKindServices, HealthEvaluationKindSystemApplication, HealthEvaluationKindUpgradeDomainDeltaNodesCheck, HealthEvaluationKindUpgradeDomainDeployedApplications, HealthEvaluationKindUpgradeDomainNodes}
1089}
1090
1091// HealthState enumerates the values for health state.
1092type HealthState string
1093
1094const (
1095	// HealthStateError Indicates the health state is at an error level. Error health state should be
1096	// investigated, as they can impact the correct functionality of the cluster. The value is 3.
1097	HealthStateError HealthState = "Error"
1098	// HealthStateInvalid Indicates an invalid health state. All Service Fabric enumerations have the invalid
1099	// type. The value is zero.
1100	HealthStateInvalid HealthState = "Invalid"
1101	// HealthStateOk Indicates the health state is okay. The value is 1.
1102	HealthStateOk HealthState = "Ok"
1103	// HealthStateUnknown Indicates an unknown health status. The value is 65535.
1104	HealthStateUnknown HealthState = "Unknown"
1105	// HealthStateWarning Indicates the health state is at a warning level. The value is 2.
1106	HealthStateWarning HealthState = "Warning"
1107)
1108
1109// PossibleHealthStateValues returns an array of possible values for the HealthState const type.
1110func PossibleHealthStateValues() []HealthState {
1111	return []HealthState{HealthStateError, HealthStateInvalid, HealthStateOk, HealthStateUnknown, HealthStateWarning}
1112}
1113
1114// HostIsolationMode enumerates the values for host isolation mode.
1115type HostIsolationMode string
1116
1117const (
1118	// HostIsolationModeHyperV Indicates the ContainerHost is a Hyper-V container. This applies to only Windows
1119	// containers. The value is 2.
1120	HostIsolationModeHyperV HostIsolationMode = "HyperV"
1121	// HostIsolationModeNone Indicates the isolation mode is not applicable for given HostType. The value is 0.
1122	HostIsolationModeNone HostIsolationMode = "None"
1123	// HostIsolationModeProcess This is the default isolation mode for a ContainerHost. The value is 1.
1124	HostIsolationModeProcess HostIsolationMode = "Process"
1125)
1126
1127// PossibleHostIsolationModeValues returns an array of possible values for the HostIsolationMode const type.
1128func PossibleHostIsolationModeValues() []HostIsolationMode {
1129	return []HostIsolationMode{HostIsolationModeHyperV, HostIsolationModeNone, HostIsolationModeProcess}
1130}
1131
1132// HostType enumerates the values for host type.
1133type HostType string
1134
1135const (
1136	// HostTypeContainerHost Indicates the host is a container. The value is 2.
1137	HostTypeContainerHost HostType = "ContainerHost"
1138	// HostTypeExeHost Indicates the host is an executable. The value is 1.
1139	HostTypeExeHost HostType = "ExeHost"
1140	// HostTypeInvalid Indicates the type of host is not known or invalid. The value is 0.
1141	HostTypeInvalid HostType = "Invalid"
1142)
1143
1144// PossibleHostTypeValues returns an array of possible values for the HostType const type.
1145func PossibleHostTypeValues() []HostType {
1146	return []HostType{HostTypeContainerHost, HostTypeExeHost, HostTypeInvalid}
1147}
1148
1149// ImpactLevel enumerates the values for impact level.
1150type ImpactLevel string
1151
1152const (
1153	// ImpactLevelInvalid ...
1154	ImpactLevelInvalid ImpactLevel = "Invalid"
1155	// ImpactLevelNone ...
1156	ImpactLevelNone ImpactLevel = "None"
1157	// ImpactLevelRemoveData ...
1158	ImpactLevelRemoveData ImpactLevel = "RemoveData"
1159	// ImpactLevelRemoveNode ...
1160	ImpactLevelRemoveNode ImpactLevel = "RemoveNode"
1161	// ImpactLevelRestart ...
1162	ImpactLevelRestart ImpactLevel = "Restart"
1163)
1164
1165// PossibleImpactLevelValues returns an array of possible values for the ImpactLevel const type.
1166func PossibleImpactLevelValues() []ImpactLevel {
1167	return []ImpactLevel{ImpactLevelInvalid, ImpactLevelNone, ImpactLevelRemoveData, ImpactLevelRemoveNode, ImpactLevelRestart}
1168}
1169
1170// Kind enumerates the values for kind.
1171type Kind string
1172
1173const (
1174	// KindApplication ...
1175	KindApplication Kind = "Application"
1176	// KindApplications ...
1177	KindApplications Kind = "Applications"
1178	// KindApplicationTypeApplications ...
1179	KindApplicationTypeApplications Kind = "ApplicationTypeApplications"
1180	// KindDeltaNodesCheck ...
1181	KindDeltaNodesCheck Kind = "DeltaNodesCheck"
1182	// KindDeployedApplication ...
1183	KindDeployedApplication Kind = "DeployedApplication"
1184	// KindDeployedApplications ...
1185	KindDeployedApplications Kind = "DeployedApplications"
1186	// KindDeployedServicePackage ...
1187	KindDeployedServicePackage Kind = "DeployedServicePackage"
1188	// KindDeployedServicePackages ...
1189	KindDeployedServicePackages Kind = "DeployedServicePackages"
1190	// KindEvent ...
1191	KindEvent Kind = "Event"
1192	// KindHealthEvaluation ...
1193	KindHealthEvaluation Kind = "HealthEvaluation"
1194	// KindNode ...
1195	KindNode Kind = "Node"
1196	// KindNodes ...
1197	KindNodes Kind = "Nodes"
1198	// KindPartition ...
1199	KindPartition Kind = "Partition"
1200	// KindPartitions ...
1201	KindPartitions Kind = "Partitions"
1202	// KindReplica ...
1203	KindReplica Kind = "Replica"
1204	// KindReplicas ...
1205	KindReplicas Kind = "Replicas"
1206	// KindService ...
1207	KindService Kind = "Service"
1208	// KindServices ...
1209	KindServices Kind = "Services"
1210	// KindSystemApplication ...
1211	KindSystemApplication Kind = "SystemApplication"
1212	// KindUpgradeDomainDeltaNodesCheck ...
1213	KindUpgradeDomainDeltaNodesCheck Kind = "UpgradeDomainDeltaNodesCheck"
1214	// KindUpgradeDomainNodes ...
1215	KindUpgradeDomainNodes Kind = "UpgradeDomainNodes"
1216)
1217
1218// PossibleKindValues returns an array of possible values for the Kind const type.
1219func PossibleKindValues() []Kind {
1220	return []Kind{KindApplication, KindApplications, KindApplicationTypeApplications, KindDeltaNodesCheck, KindDeployedApplication, KindDeployedApplications, KindDeployedServicePackage, KindDeployedServicePackages, KindEvent, KindHealthEvaluation, KindNode, KindNodes, KindPartition, KindPartitions, KindReplica, KindReplicas, KindService, KindServices, KindSystemApplication, KindUpgradeDomainDeltaNodesCheck, KindUpgradeDomainNodes}
1221}
1222
1223// KindBasicBackupConfigurationInfo enumerates the values for kind basic backup configuration info.
1224type KindBasicBackupConfigurationInfo string
1225
1226const (
1227	// KindBasicBackupConfigurationInfoKindApplication ...
1228	KindBasicBackupConfigurationInfoKindApplication KindBasicBackupConfigurationInfo = "Application"
1229	// KindBasicBackupConfigurationInfoKindBackupConfigurationInfo ...
1230	KindBasicBackupConfigurationInfoKindBackupConfigurationInfo KindBasicBackupConfigurationInfo = "BackupConfigurationInfo"
1231	// KindBasicBackupConfigurationInfoKindPartition ...
1232	KindBasicBackupConfigurationInfoKindPartition KindBasicBackupConfigurationInfo = "Partition"
1233	// KindBasicBackupConfigurationInfoKindService ...
1234	KindBasicBackupConfigurationInfoKindService KindBasicBackupConfigurationInfo = "Service"
1235)
1236
1237// PossibleKindBasicBackupConfigurationInfoValues returns an array of possible values for the KindBasicBackupConfigurationInfo const type.
1238func PossibleKindBasicBackupConfigurationInfoValues() []KindBasicBackupConfigurationInfo {
1239	return []KindBasicBackupConfigurationInfo{KindBasicBackupConfigurationInfoKindApplication, KindBasicBackupConfigurationInfoKindBackupConfigurationInfo, KindBasicBackupConfigurationInfoKindPartition, KindBasicBackupConfigurationInfoKindService}
1240}
1241
1242// KindBasicChaosEvent enumerates the values for kind basic chaos event.
1243type KindBasicChaosEvent string
1244
1245const (
1246	// KindChaosEvent ...
1247	KindChaosEvent KindBasicChaosEvent = "ChaosEvent"
1248	// KindExecutingFaults ...
1249	KindExecutingFaults KindBasicChaosEvent = "ExecutingFaults"
1250	// KindStarted ...
1251	KindStarted KindBasicChaosEvent = "Started"
1252	// KindStopped ...
1253	KindStopped KindBasicChaosEvent = "Stopped"
1254	// KindTestError ...
1255	KindTestError KindBasicChaosEvent = "TestError"
1256	// KindValidationFailed ...
1257	KindValidationFailed KindBasicChaosEvent = "ValidationFailed"
1258	// KindWaiting ...
1259	KindWaiting KindBasicChaosEvent = "Waiting"
1260)
1261
1262// PossibleKindBasicChaosEventValues returns an array of possible values for the KindBasicChaosEvent const type.
1263func PossibleKindBasicChaosEventValues() []KindBasicChaosEvent {
1264	return []KindBasicChaosEvent{KindChaosEvent, KindExecutingFaults, KindStarted, KindStopped, KindTestError, KindValidationFailed, KindWaiting}
1265}
1266
1267// KindBasicFabricEvent enumerates the values for kind basic fabric event.
1268type KindBasicFabricEvent string
1269
1270const (
1271	// KindApplicationCreated ...
1272	KindApplicationCreated KindBasicFabricEvent = "ApplicationCreated"
1273	// KindApplicationDeleted ...
1274	KindApplicationDeleted KindBasicFabricEvent = "ApplicationDeleted"
1275	// KindApplicationEvent ...
1276	KindApplicationEvent KindBasicFabricEvent = "ApplicationEvent"
1277	// KindApplicationHealthReportCreated ...
1278	KindApplicationHealthReportCreated KindBasicFabricEvent = "ApplicationHealthReportCreated"
1279	// KindApplicationHealthReportExpired ...
1280	KindApplicationHealthReportExpired KindBasicFabricEvent = "ApplicationHealthReportExpired"
1281	// KindApplicationUpgradeComplete ...
1282	KindApplicationUpgradeComplete KindBasicFabricEvent = "ApplicationUpgradeComplete"
1283	// KindApplicationUpgradeDomainComplete ...
1284	KindApplicationUpgradeDomainComplete KindBasicFabricEvent = "ApplicationUpgradeDomainComplete"
1285	// KindApplicationUpgradeRollbackComplete ...
1286	KindApplicationUpgradeRollbackComplete KindBasicFabricEvent = "ApplicationUpgradeRollbackComplete"
1287	// KindApplicationUpgradeRollbackStart ...
1288	KindApplicationUpgradeRollbackStart KindBasicFabricEvent = "ApplicationUpgradeRollbackStart"
1289	// KindApplicationUpgradeStart ...
1290	KindApplicationUpgradeStart KindBasicFabricEvent = "ApplicationUpgradeStart"
1291	// KindChaosMovePrimaryFaultScheduled ...
1292	KindChaosMovePrimaryFaultScheduled KindBasicFabricEvent = "ChaosMovePrimaryFaultScheduled"
1293	// KindChaosMoveSecondaryFaultScheduled ...
1294	KindChaosMoveSecondaryFaultScheduled KindBasicFabricEvent = "ChaosMoveSecondaryFaultScheduled"
1295	// KindChaosRemoveReplicaFaultCompleted ...
1296	KindChaosRemoveReplicaFaultCompleted KindBasicFabricEvent = "ChaosRemoveReplicaFaultCompleted"
1297	// KindChaosRemoveReplicaFaultScheduled ...
1298	KindChaosRemoveReplicaFaultScheduled KindBasicFabricEvent = "ChaosRemoveReplicaFaultScheduled"
1299	// KindChaosRestartCodePackageFaultCompleted ...
1300	KindChaosRestartCodePackageFaultCompleted KindBasicFabricEvent = "ChaosRestartCodePackageFaultCompleted"
1301	// KindChaosRestartCodePackageFaultScheduled ...
1302	KindChaosRestartCodePackageFaultScheduled KindBasicFabricEvent = "ChaosRestartCodePackageFaultScheduled"
1303	// KindChaosRestartNodeFaultCompleted ...
1304	KindChaosRestartNodeFaultCompleted KindBasicFabricEvent = "ChaosRestartNodeFaultCompleted"
1305	// KindChaosRestartNodeFaultScheduled ...
1306	KindChaosRestartNodeFaultScheduled KindBasicFabricEvent = "ChaosRestartNodeFaultScheduled"
1307	// KindChaosRestartReplicaFaultScheduled ...
1308	KindChaosRestartReplicaFaultScheduled KindBasicFabricEvent = "ChaosRestartReplicaFaultScheduled"
1309	// KindChaosStarted ...
1310	KindChaosStarted KindBasicFabricEvent = "ChaosStarted"
1311	// KindChaosStopped ...
1312	KindChaosStopped KindBasicFabricEvent = "ChaosStopped"
1313	// KindClusterEvent ...
1314	KindClusterEvent KindBasicFabricEvent = "ClusterEvent"
1315	// KindClusterHealthReportCreated ...
1316	KindClusterHealthReportCreated KindBasicFabricEvent = "ClusterHealthReportCreated"
1317	// KindClusterHealthReportExpired ...
1318	KindClusterHealthReportExpired KindBasicFabricEvent = "ClusterHealthReportExpired"
1319	// KindClusterUpgradeComplete ...
1320	KindClusterUpgradeComplete KindBasicFabricEvent = "ClusterUpgradeComplete"
1321	// KindClusterUpgradeDomainComplete ...
1322	KindClusterUpgradeDomainComplete KindBasicFabricEvent = "ClusterUpgradeDomainComplete"
1323	// KindClusterUpgradeRollbackComplete ...
1324	KindClusterUpgradeRollbackComplete KindBasicFabricEvent = "ClusterUpgradeRollbackComplete"
1325	// KindClusterUpgradeRollbackStart ...
1326	KindClusterUpgradeRollbackStart KindBasicFabricEvent = "ClusterUpgradeRollbackStart"
1327	// KindClusterUpgradeStart ...
1328	KindClusterUpgradeStart KindBasicFabricEvent = "ClusterUpgradeStart"
1329	// KindContainerDeactivated ...
1330	KindContainerDeactivated KindBasicFabricEvent = "ContainerDeactivated"
1331	// KindContainerInstanceEvent ...
1332	KindContainerInstanceEvent KindBasicFabricEvent = "ContainerInstanceEvent"
1333	// KindDeployedApplicationHealthReportCreated ...
1334	KindDeployedApplicationHealthReportCreated KindBasicFabricEvent = "DeployedApplicationHealthReportCreated"
1335	// KindDeployedApplicationHealthReportExpired ...
1336	KindDeployedApplicationHealthReportExpired KindBasicFabricEvent = "DeployedApplicationHealthReportExpired"
1337	// KindDeployedServiceHealthReportCreated ...
1338	KindDeployedServiceHealthReportCreated KindBasicFabricEvent = "DeployedServiceHealthReportCreated"
1339	// KindDeployedServiceHealthReportExpired ...
1340	KindDeployedServiceHealthReportExpired KindBasicFabricEvent = "DeployedServiceHealthReportExpired"
1341	// KindFabricEvent ...
1342	KindFabricEvent KindBasicFabricEvent = "FabricEvent"
1343	// KindNodeAborted ...
1344	KindNodeAborted KindBasicFabricEvent = "NodeAborted"
1345	// KindNodeAborting ...
1346	KindNodeAborting KindBasicFabricEvent = "NodeAborting"
1347	// KindNodeAdded ...
1348	KindNodeAdded KindBasicFabricEvent = "NodeAdded"
1349	// KindNodeClose ...
1350	KindNodeClose KindBasicFabricEvent = "NodeClose"
1351	// KindNodeClosing ...
1352	KindNodeClosing KindBasicFabricEvent = "NodeClosing"
1353	// KindNodeDeactivateComplete ...
1354	KindNodeDeactivateComplete KindBasicFabricEvent = "NodeDeactivateComplete"
1355	// KindNodeDeactivateStart ...
1356	KindNodeDeactivateStart KindBasicFabricEvent = "NodeDeactivateStart"
1357	// KindNodeDown ...
1358	KindNodeDown KindBasicFabricEvent = "NodeDown"
1359	// KindNodeEvent ...
1360	KindNodeEvent KindBasicFabricEvent = "NodeEvent"
1361	// KindNodeHealthReportCreated ...
1362	KindNodeHealthReportCreated KindBasicFabricEvent = "NodeHealthReportCreated"
1363	// KindNodeHealthReportExpired ...
1364	KindNodeHealthReportExpired KindBasicFabricEvent = "NodeHealthReportExpired"
1365	// KindNodeOpenedSuccess ...
1366	KindNodeOpenedSuccess KindBasicFabricEvent = "NodeOpenedSuccess"
1367	// KindNodeOpenFailed ...
1368	KindNodeOpenFailed KindBasicFabricEvent = "NodeOpenFailed"
1369	// KindNodeOpening ...
1370	KindNodeOpening KindBasicFabricEvent = "NodeOpening"
1371	// KindNodeRemoved ...
1372	KindNodeRemoved KindBasicFabricEvent = "NodeRemoved"
1373	// KindNodeUp ...
1374	KindNodeUp KindBasicFabricEvent = "NodeUp"
1375	// KindPartitionAnalysisEvent ...
1376	KindPartitionAnalysisEvent KindBasicFabricEvent = "PartitionAnalysisEvent"
1377	// KindPartitionEvent ...
1378	KindPartitionEvent KindBasicFabricEvent = "PartitionEvent"
1379	// KindPartitionHealthReportCreated ...
1380	KindPartitionHealthReportCreated KindBasicFabricEvent = "PartitionHealthReportCreated"
1381	// KindPartitionHealthReportExpired ...
1382	KindPartitionHealthReportExpired KindBasicFabricEvent = "PartitionHealthReportExpired"
1383	// KindPartitionPrimaryMoveAnalysis ...
1384	KindPartitionPrimaryMoveAnalysis KindBasicFabricEvent = "PartitionPrimaryMoveAnalysis"
1385	// KindPartitionReconfigurationCompleted ...
1386	KindPartitionReconfigurationCompleted KindBasicFabricEvent = "PartitionReconfigurationCompleted"
1387	// KindProcessDeactivated ...
1388	KindProcessDeactivated KindBasicFabricEvent = "ProcessDeactivated"
1389	// KindReplicaEvent ...
1390	KindReplicaEvent KindBasicFabricEvent = "ReplicaEvent"
1391	// KindServiceCreated ...
1392	KindServiceCreated KindBasicFabricEvent = "ServiceCreated"
1393	// KindServiceDeleted ...
1394	KindServiceDeleted KindBasicFabricEvent = "ServiceDeleted"
1395	// KindServiceEvent ...
1396	KindServiceEvent KindBasicFabricEvent = "ServiceEvent"
1397	// KindServiceHealthReportCreated ...
1398	KindServiceHealthReportCreated KindBasicFabricEvent = "ServiceHealthReportCreated"
1399	// KindServiceHealthReportExpired ...
1400	KindServiceHealthReportExpired KindBasicFabricEvent = "ServiceHealthReportExpired"
1401	// KindStatefulReplicaHealthReportCreated ...
1402	KindStatefulReplicaHealthReportCreated KindBasicFabricEvent = "StatefulReplicaHealthReportCreated"
1403	// KindStatefulReplicaHealthReportExpired ...
1404	KindStatefulReplicaHealthReportExpired KindBasicFabricEvent = "StatefulReplicaHealthReportExpired"
1405	// KindStatelessReplicaHealthReportCreated ...
1406	KindStatelessReplicaHealthReportCreated KindBasicFabricEvent = "StatelessReplicaHealthReportCreated"
1407	// KindStatelessReplicaHealthReportExpired ...
1408	KindStatelessReplicaHealthReportExpired KindBasicFabricEvent = "StatelessReplicaHealthReportExpired"
1409)
1410
1411// PossibleKindBasicFabricEventValues returns an array of possible values for the KindBasicFabricEvent const type.
1412func PossibleKindBasicFabricEventValues() []KindBasicFabricEvent {
1413	return []KindBasicFabricEvent{KindApplicationCreated, KindApplicationDeleted, KindApplicationEvent, KindApplicationHealthReportCreated, KindApplicationHealthReportExpired, KindApplicationUpgradeComplete, KindApplicationUpgradeDomainComplete, KindApplicationUpgradeRollbackComplete, KindApplicationUpgradeRollbackStart, KindApplicationUpgradeStart, KindChaosMovePrimaryFaultScheduled, KindChaosMoveSecondaryFaultScheduled, KindChaosRemoveReplicaFaultCompleted, KindChaosRemoveReplicaFaultScheduled, KindChaosRestartCodePackageFaultCompleted, KindChaosRestartCodePackageFaultScheduled, KindChaosRestartNodeFaultCompleted, KindChaosRestartNodeFaultScheduled, KindChaosRestartReplicaFaultScheduled, KindChaosStarted, KindChaosStopped, KindClusterEvent, KindClusterHealthReportCreated, KindClusterHealthReportExpired, KindClusterUpgradeComplete, KindClusterUpgradeDomainComplete, KindClusterUpgradeRollbackComplete, KindClusterUpgradeRollbackStart, KindClusterUpgradeStart, KindContainerDeactivated, KindContainerInstanceEvent, KindDeployedApplicationHealthReportCreated, KindDeployedApplicationHealthReportExpired, KindDeployedServiceHealthReportCreated, KindDeployedServiceHealthReportExpired, KindFabricEvent, KindNodeAborted, KindNodeAborting, KindNodeAdded, KindNodeClose, KindNodeClosing, KindNodeDeactivateComplete, KindNodeDeactivateStart, KindNodeDown, KindNodeEvent, KindNodeHealthReportCreated, KindNodeHealthReportExpired, KindNodeOpenedSuccess, KindNodeOpenFailed, KindNodeOpening, KindNodeRemoved, KindNodeUp, KindPartitionAnalysisEvent, KindPartitionEvent, KindPartitionHealthReportCreated, KindPartitionHealthReportExpired, KindPartitionPrimaryMoveAnalysis, KindPartitionReconfigurationCompleted, KindProcessDeactivated, KindReplicaEvent, KindServiceCreated, KindServiceDeleted, KindServiceEvent, KindServiceHealthReportCreated, KindServiceHealthReportExpired, KindStatefulReplicaHealthReportCreated, KindStatefulReplicaHealthReportExpired, KindStatelessReplicaHealthReportCreated, KindStatelessReplicaHealthReportExpired}
1414}
1415
1416// KindBasicPropertyBatchInfo enumerates the values for kind basic property batch info.
1417type KindBasicPropertyBatchInfo string
1418
1419const (
1420	// KindFailed ...
1421	KindFailed KindBasicPropertyBatchInfo = "Failed"
1422	// KindPropertyBatchInfo ...
1423	KindPropertyBatchInfo KindBasicPropertyBatchInfo = "PropertyBatchInfo"
1424	// KindSuccessful ...
1425	KindSuccessful KindBasicPropertyBatchInfo = "Successful"
1426)
1427
1428// PossibleKindBasicPropertyBatchInfoValues returns an array of possible values for the KindBasicPropertyBatchInfo const type.
1429func PossibleKindBasicPropertyBatchInfoValues() []KindBasicPropertyBatchInfo {
1430	return []KindBasicPropertyBatchInfo{KindFailed, KindPropertyBatchInfo, KindSuccessful}
1431}
1432
1433// KindBasicPropertyBatchOperation enumerates the values for kind basic property batch operation.
1434type KindBasicPropertyBatchOperation string
1435
1436const (
1437	// KindCheckExists ...
1438	KindCheckExists KindBasicPropertyBatchOperation = "CheckExists"
1439	// KindCheckSequence ...
1440	KindCheckSequence KindBasicPropertyBatchOperation = "CheckSequence"
1441	// KindCheckValue ...
1442	KindCheckValue KindBasicPropertyBatchOperation = "CheckValue"
1443	// KindDelete ...
1444	KindDelete KindBasicPropertyBatchOperation = "Delete"
1445	// KindGet ...
1446	KindGet KindBasicPropertyBatchOperation = "Get"
1447	// KindPropertyBatchOperation ...
1448	KindPropertyBatchOperation KindBasicPropertyBatchOperation = "PropertyBatchOperation"
1449	// KindPut ...
1450	KindPut KindBasicPropertyBatchOperation = "Put"
1451)
1452
1453// PossibleKindBasicPropertyBatchOperationValues returns an array of possible values for the KindBasicPropertyBatchOperation const type.
1454func PossibleKindBasicPropertyBatchOperationValues() []KindBasicPropertyBatchOperation {
1455	return []KindBasicPropertyBatchOperation{KindCheckExists, KindCheckSequence, KindCheckValue, KindDelete, KindGet, KindPropertyBatchOperation, KindPut}
1456}
1457
1458// KindBasicPropertyValue enumerates the values for kind basic property value.
1459type KindBasicPropertyValue string
1460
1461const (
1462	// KindBinary ...
1463	KindBinary KindBasicPropertyValue = "Binary"
1464	// KindDouble ...
1465	KindDouble KindBasicPropertyValue = "Double"
1466	// KindGUID ...
1467	KindGUID KindBasicPropertyValue = "Guid"
1468	// KindInt64 ...
1469	KindInt64 KindBasicPropertyValue = "Int64"
1470	// KindPropertyValue ...
1471	KindPropertyValue KindBasicPropertyValue = "PropertyValue"
1472	// KindString ...
1473	KindString KindBasicPropertyValue = "String"
1474)
1475
1476// PossibleKindBasicPropertyValueValues returns an array of possible values for the KindBasicPropertyValue const type.
1477func PossibleKindBasicPropertyValueValues() []KindBasicPropertyValue {
1478	return []KindBasicPropertyValue{KindBinary, KindDouble, KindGUID, KindInt64, KindPropertyValue, KindString}
1479}
1480
1481// KindBasicProvisionApplicationTypeDescriptionBase enumerates the values for kind basic provision application
1482// type description base.
1483type KindBasicProvisionApplicationTypeDescriptionBase string
1484
1485const (
1486	// KindExternalStore ...
1487	KindExternalStore KindBasicProvisionApplicationTypeDescriptionBase = "ExternalStore"
1488	// KindImageStorePath ...
1489	KindImageStorePath KindBasicProvisionApplicationTypeDescriptionBase = "ImageStorePath"
1490	// KindProvisionApplicationTypeDescriptionBase ...
1491	KindProvisionApplicationTypeDescriptionBase KindBasicProvisionApplicationTypeDescriptionBase = "ProvisionApplicationTypeDescriptionBase"
1492)
1493
1494// PossibleKindBasicProvisionApplicationTypeDescriptionBaseValues returns an array of possible values for the KindBasicProvisionApplicationTypeDescriptionBase const type.
1495func PossibleKindBasicProvisionApplicationTypeDescriptionBaseValues() []KindBasicProvisionApplicationTypeDescriptionBase {
1496	return []KindBasicProvisionApplicationTypeDescriptionBase{KindExternalStore, KindImageStorePath, KindProvisionApplicationTypeDescriptionBase}
1497}
1498
1499// KindBasicRepairImpactDescriptionBase enumerates the values for kind basic repair impact description base.
1500type KindBasicRepairImpactDescriptionBase string
1501
1502const (
1503	// KindBasicRepairImpactDescriptionBaseKindNode ...
1504	KindBasicRepairImpactDescriptionBaseKindNode KindBasicRepairImpactDescriptionBase = "Node"
1505	// KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase ...
1506	KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase KindBasicRepairImpactDescriptionBase = "RepairImpactDescriptionBase"
1507)
1508
1509// PossibleKindBasicRepairImpactDescriptionBaseValues returns an array of possible values for the KindBasicRepairImpactDescriptionBase const type.
1510func PossibleKindBasicRepairImpactDescriptionBaseValues() []KindBasicRepairImpactDescriptionBase {
1511	return []KindBasicRepairImpactDescriptionBase{KindBasicRepairImpactDescriptionBaseKindNode, KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase}
1512}
1513
1514// KindBasicRepairTargetDescriptionBase enumerates the values for kind basic repair target description base.
1515type KindBasicRepairTargetDescriptionBase string
1516
1517const (
1518	// KindBasicRepairTargetDescriptionBaseKindNode ...
1519	KindBasicRepairTargetDescriptionBaseKindNode KindBasicRepairTargetDescriptionBase = "Node"
1520	// KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase ...
1521	KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase KindBasicRepairTargetDescriptionBase = "RepairTargetDescriptionBase"
1522)
1523
1524// PossibleKindBasicRepairTargetDescriptionBaseValues returns an array of possible values for the KindBasicRepairTargetDescriptionBase const type.
1525func PossibleKindBasicRepairTargetDescriptionBaseValues() []KindBasicRepairTargetDescriptionBase {
1526	return []KindBasicRepairTargetDescriptionBase{KindBasicRepairTargetDescriptionBaseKindNode, KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase}
1527}
1528
1529// KindBasicReplicaStatusBase enumerates the values for kind basic replica status base.
1530type KindBasicReplicaStatusBase string
1531
1532const (
1533	// KindKeyValueStore ...
1534	KindKeyValueStore KindBasicReplicaStatusBase = "KeyValueStore"
1535	// KindReplicaStatusBase ...
1536	KindReplicaStatusBase KindBasicReplicaStatusBase = "ReplicaStatusBase"
1537)
1538
1539// PossibleKindBasicReplicaStatusBaseValues returns an array of possible values for the KindBasicReplicaStatusBase const type.
1540func PossibleKindBasicReplicaStatusBaseValues() []KindBasicReplicaStatusBase {
1541	return []KindBasicReplicaStatusBase{KindKeyValueStore, KindReplicaStatusBase}
1542}
1543
1544// KindBasicReplicatorStatus enumerates the values for kind basic replicator status.
1545type KindBasicReplicatorStatus string
1546
1547const (
1548	// KindActiveSecondary ...
1549	KindActiveSecondary KindBasicReplicatorStatus = "ActiveSecondary"
1550	// KindIdleSecondary ...
1551	KindIdleSecondary KindBasicReplicatorStatus = "IdleSecondary"
1552	// KindPrimary ...
1553	KindPrimary KindBasicReplicatorStatus = "Primary"
1554	// KindReplicatorStatus ...
1555	KindReplicatorStatus KindBasicReplicatorStatus = "ReplicatorStatus"
1556	// KindSecondaryReplicatorStatus ...
1557	KindSecondaryReplicatorStatus KindBasicReplicatorStatus = "SecondaryReplicatorStatus"
1558)
1559
1560// PossibleKindBasicReplicatorStatusValues returns an array of possible values for the KindBasicReplicatorStatus const type.
1561func PossibleKindBasicReplicatorStatusValues() []KindBasicReplicatorStatus {
1562	return []KindBasicReplicatorStatus{KindActiveSecondary, KindIdleSecondary, KindPrimary, KindReplicatorStatus, KindSecondaryReplicatorStatus}
1563}
1564
1565// KindBasicSafetyCheck enumerates the values for kind basic safety check.
1566type KindBasicSafetyCheck string
1567
1568const (
1569	// KindEnsureAvailability ...
1570	KindEnsureAvailability KindBasicSafetyCheck = "EnsureAvailability"
1571	// KindEnsurePartitionQuorum ...
1572	KindEnsurePartitionQuorum KindBasicSafetyCheck = "EnsurePartitionQuorum"
1573	// KindEnsureSeedNodeQuorum ...
1574	KindEnsureSeedNodeQuorum KindBasicSafetyCheck = "EnsureSeedNodeQuorum"
1575	// KindPartitionSafetyCheck ...
1576	KindPartitionSafetyCheck KindBasicSafetyCheck = "PartitionSafetyCheck"
1577	// KindSafetyCheck ...
1578	KindSafetyCheck KindBasicSafetyCheck = "SafetyCheck"
1579	// KindWaitForInbuildReplica ...
1580	KindWaitForInbuildReplica KindBasicSafetyCheck = "WaitForInbuildReplica"
1581	// KindWaitForPrimaryPlacement ...
1582	KindWaitForPrimaryPlacement KindBasicSafetyCheck = "WaitForPrimaryPlacement"
1583	// KindWaitForPrimarySwap ...
1584	KindWaitForPrimarySwap KindBasicSafetyCheck = "WaitForPrimarySwap"
1585	// KindWaitForReconfiguration ...
1586	KindWaitForReconfiguration KindBasicSafetyCheck = "WaitForReconfiguration"
1587)
1588
1589// PossibleKindBasicSafetyCheckValues returns an array of possible values for the KindBasicSafetyCheck const type.
1590func PossibleKindBasicSafetyCheckValues() []KindBasicSafetyCheck {
1591	return []KindBasicSafetyCheck{KindEnsureAvailability, KindEnsurePartitionQuorum, KindEnsureSeedNodeQuorum, KindPartitionSafetyCheck, KindSafetyCheck, KindWaitForInbuildReplica, KindWaitForPrimaryPlacement, KindWaitForPrimarySwap, KindWaitForReconfiguration}
1592}
1593
1594// KindBasicScalingMechanismDescription enumerates the values for kind basic scaling mechanism description.
1595type KindBasicScalingMechanismDescription string
1596
1597const (
1598	// KindAddRemoveIncrementalNamedPartition ...
1599	KindAddRemoveIncrementalNamedPartition KindBasicScalingMechanismDescription = "AddRemoveIncrementalNamedPartition"
1600	// KindPartitionInstanceCount ...
1601	KindPartitionInstanceCount KindBasicScalingMechanismDescription = "PartitionInstanceCount"
1602	// KindScalingMechanismDescription ...
1603	KindScalingMechanismDescription KindBasicScalingMechanismDescription = "ScalingMechanismDescription"
1604)
1605
1606// PossibleKindBasicScalingMechanismDescriptionValues returns an array of possible values for the KindBasicScalingMechanismDescription const type.
1607func PossibleKindBasicScalingMechanismDescriptionValues() []KindBasicScalingMechanismDescription {
1608	return []KindBasicScalingMechanismDescription{KindAddRemoveIncrementalNamedPartition, KindPartitionInstanceCount, KindScalingMechanismDescription}
1609}
1610
1611// KindBasicScalingTriggerDescription enumerates the values for kind basic scaling trigger description.
1612type KindBasicScalingTriggerDescription string
1613
1614const (
1615	// KindAveragePartitionLoad ...
1616	KindAveragePartitionLoad KindBasicScalingTriggerDescription = "AveragePartitionLoad"
1617	// KindAverageServiceLoad ...
1618	KindAverageServiceLoad KindBasicScalingTriggerDescription = "AverageServiceLoad"
1619	// KindScalingTriggerDescription ...
1620	KindScalingTriggerDescription KindBasicScalingTriggerDescription = "ScalingTriggerDescription"
1621)
1622
1623// PossibleKindBasicScalingTriggerDescriptionValues returns an array of possible values for the KindBasicScalingTriggerDescription const type.
1624func PossibleKindBasicScalingTriggerDescriptionValues() []KindBasicScalingTriggerDescription {
1625	return []KindBasicScalingTriggerDescription{KindAveragePartitionLoad, KindAverageServiceLoad, KindScalingTriggerDescription}
1626}
1627
1628// KindBasicServiceTypeDescription enumerates the values for kind basic service type description.
1629type KindBasicServiceTypeDescription string
1630
1631const (
1632	// KindServiceTypeDescription ...
1633	KindServiceTypeDescription KindBasicServiceTypeDescription = "ServiceTypeDescription"
1634	// KindStateful ...
1635	KindStateful KindBasicServiceTypeDescription = "Stateful"
1636	// KindStateless ...
1637	KindStateless KindBasicServiceTypeDescription = "Stateless"
1638)
1639
1640// PossibleKindBasicServiceTypeDescriptionValues returns an array of possible values for the KindBasicServiceTypeDescription const type.
1641func PossibleKindBasicServiceTypeDescriptionValues() []KindBasicServiceTypeDescription {
1642	return []KindBasicServiceTypeDescription{KindServiceTypeDescription, KindStateful, KindStateless}
1643}
1644
1645// MoveCost enumerates the values for move cost.
1646type MoveCost string
1647
1648const (
1649	// High Specifies the move cost of the service as High. The value is 3.
1650	High MoveCost = "High"
1651	// Low Specifies the move cost of the service as Low. The value is 1.
1652	Low MoveCost = "Low"
1653	// Medium Specifies the move cost of the service as Medium. The value is 2.
1654	Medium MoveCost = "Medium"
1655	// Zero Zero move cost. This value is zero.
1656	Zero MoveCost = "Zero"
1657)
1658
1659// PossibleMoveCostValues returns an array of possible values for the MoveCost const type.
1660func PossibleMoveCostValues() []MoveCost {
1661	return []MoveCost{High, Low, Medium, Zero}
1662}
1663
1664// NodeDeactivationIntent enumerates the values for node deactivation intent.
1665type NodeDeactivationIntent string
1666
1667const (
1668	// NodeDeactivationIntentInvalid Indicates the node deactivation intent is invalid. All Service Fabric
1669	// enumerations have the invalid type. The value is zero. This value is not used.
1670	NodeDeactivationIntentInvalid NodeDeactivationIntent = "Invalid"
1671	// NodeDeactivationIntentPause Indicates that the node should be paused. The value is 1.
1672	NodeDeactivationIntentPause NodeDeactivationIntent = "Pause"
1673	// NodeDeactivationIntentRemoveData Indicates that the intent is to reimage the node. Service Fabric does
1674	// not reimage the node, this action is done outside of Service Fabric. The value is 3.
1675	NodeDeactivationIntentRemoveData NodeDeactivationIntent = "RemoveData"
1676	// NodeDeactivationIntentRemoveNode Indicates that the node is being decommissioned and is not expected to
1677	// return. Service Fabric does not decommission the node, this action is done outside of Service Fabric.
1678	// The value is 4.
1679	NodeDeactivationIntentRemoveNode NodeDeactivationIntent = "RemoveNode"
1680	// NodeDeactivationIntentRestart Indicates that the intent is for the node to be restarted after a short
1681	// period of time. Service Fabric does not restart the node, this action is done outside of Service Fabric.
1682	// The value is 2.
1683	NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart"
1684)
1685
1686// PossibleNodeDeactivationIntentValues returns an array of possible values for the NodeDeactivationIntent const type.
1687func PossibleNodeDeactivationIntentValues() []NodeDeactivationIntent {
1688	return []NodeDeactivationIntent{NodeDeactivationIntentInvalid, NodeDeactivationIntentPause, NodeDeactivationIntentRemoveData, NodeDeactivationIntentRemoveNode, NodeDeactivationIntentRestart}
1689}
1690
1691// NodeDeactivationStatus enumerates the values for node deactivation status.
1692type NodeDeactivationStatus string
1693
1694const (
1695	// NodeDeactivationStatusCompleted The task is completed. The value is 3.
1696	NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed"
1697	// NodeDeactivationStatusNone No status is associated with the task. The value is zero.
1698	NodeDeactivationStatusNone NodeDeactivationStatus = "None"
1699	// NodeDeactivationStatusSafetyCheckComplete When a node is deactivated Service Fabric performs checks to
1700	// ensure that the operation is safe to proceed to ensure availability of the service and reliability of
1701	// the state. This value indicates that all safety checks have been completed. The value is 2.
1702	NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete"
1703	// NodeDeactivationStatusSafetyCheckInProgress When a node is deactivated Service Fabric performs checks to
1704	// ensure that the operation is safe to proceed to ensure availability of the service and reliability of
1705	// the state. This value indicates that one or more safety checks are in progress. The value is 1.
1706	NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress"
1707)
1708
1709// PossibleNodeDeactivationStatusValues returns an array of possible values for the NodeDeactivationStatus const type.
1710func PossibleNodeDeactivationStatusValues() []NodeDeactivationStatus {
1711	return []NodeDeactivationStatus{NodeDeactivationStatusCompleted, NodeDeactivationStatusNone, NodeDeactivationStatusSafetyCheckComplete, NodeDeactivationStatusSafetyCheckInProgress}
1712}
1713
1714// NodeDeactivationTaskType enumerates the values for node deactivation task type.
1715type NodeDeactivationTaskType string
1716
1717const (
1718	// NodeDeactivationTaskTypeClient Specifies that the task was created by using the public API. The value is
1719	// 3.
1720	NodeDeactivationTaskTypeClient NodeDeactivationTaskType = "Client"
1721	// NodeDeactivationTaskTypeInfrastructure Specifies the task created by Infrastructure hosting the nodes.
1722	// The value is 1.
1723	NodeDeactivationTaskTypeInfrastructure NodeDeactivationTaskType = "Infrastructure"
1724	// NodeDeactivationTaskTypeInvalid Indicates the node deactivation task type is invalid. All Service Fabric
1725	// enumerations have the invalid type. The value is zero. This value is not used.
1726	NodeDeactivationTaskTypeInvalid NodeDeactivationTaskType = "Invalid"
1727	// NodeDeactivationTaskTypeRepair Specifies the task that was created by the Repair Manager service. The
1728	// value is 2.
1729	NodeDeactivationTaskTypeRepair NodeDeactivationTaskType = "Repair"
1730)
1731
1732// PossibleNodeDeactivationTaskTypeValues returns an array of possible values for the NodeDeactivationTaskType const type.
1733func PossibleNodeDeactivationTaskTypeValues() []NodeDeactivationTaskType {
1734	return []NodeDeactivationTaskType{NodeDeactivationTaskTypeClient, NodeDeactivationTaskTypeInfrastructure, NodeDeactivationTaskTypeInvalid, NodeDeactivationTaskTypeRepair}
1735}
1736
1737// NodeStatus enumerates the values for node status.
1738type NodeStatus string
1739
1740const (
1741	// NodeStatusDisabled Indicates the node is disabled. The value is 5.
1742	NodeStatusDisabled NodeStatus = "Disabled"
1743	// NodeStatusDisabling Indicates the node is in the process of being disabled. The value is 4.
1744	NodeStatusDisabling NodeStatus = "Disabling"
1745	// NodeStatusDown Indicates the node is down. The value is 2.
1746	NodeStatusDown NodeStatus = "Down"
1747	// NodeStatusEnabling Indicates the node is in process of being enabled. The value is 3.
1748	NodeStatusEnabling NodeStatus = "Enabling"
1749	// NodeStatusInvalid Indicates the node status is invalid. All Service Fabric enumerations have the invalid
1750	// type. The value is zero.
1751	NodeStatusInvalid NodeStatus = "Invalid"
1752	// NodeStatusRemoved Indicates the node is removed. A node would be in Removed state if NodeStateRemoved
1753	// API has been called for this node. In other words, Service Fabric has been informed that the persisted
1754	// state on the node has been permanently lost. The value is 7.
1755	NodeStatusRemoved NodeStatus = "Removed"
1756	// NodeStatusUnknown Indicates the node is unknown. A node would be in Unknown state if Service Fabric does
1757	// not have authoritative information about that node. This can happen if the system learns about a node at
1758	// runtime.The value is 6.
1759	NodeStatusUnknown NodeStatus = "Unknown"
1760	// NodeStatusUp Indicates the node is up. The value is 1.
1761	NodeStatusUp NodeStatus = "Up"
1762)
1763
1764// PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.
1765func PossibleNodeStatusValues() []NodeStatus {
1766	return []NodeStatus{NodeStatusDisabled, NodeStatusDisabling, NodeStatusDown, NodeStatusEnabling, NodeStatusInvalid, NodeStatusRemoved, NodeStatusUnknown, NodeStatusUp}
1767}
1768
1769// NodeStatusFilter enumerates the values for node status filter.
1770type NodeStatusFilter string
1771
1772const (
1773	// All This filter value will match all of the nodes.
1774	All NodeStatusFilter = "all"
1775	// Default This filter value will match all of the nodes excepts the ones with status as Unknown or
1776	// Removed.
1777	Default NodeStatusFilter = "default"
1778	// Disabled This filter value will match nodes that are Disabled.
1779	Disabled NodeStatusFilter = "disabled"
1780	// Disabling This filter value will match nodes that are in the process of being disabled with status as
1781	// Disabling.
1782	Disabling NodeStatusFilter = "disabling"
1783	// Down This filter value will match nodes that are Down.
1784	Down NodeStatusFilter = "down"
1785	// Enabling This filter value will match nodes that are in the process of being enabled with status as
1786	// Enabling.
1787	Enabling NodeStatusFilter = "enabling"
1788	// Removed This filter value will match nodes whose status is Removed. These are the nodes that are removed
1789	// from the cluster using the RemoveNodeState API.
1790	Removed NodeStatusFilter = "removed"
1791	// Unknown This filter value will match nodes whose status is Unknown. A node would be in Unknown state if
1792	// Service Fabric does not have authoritative information about that node. This can happen if the system
1793	// learns about a node at runtime.
1794	Unknown NodeStatusFilter = "unknown"
1795	// Up This filter value will match nodes that are Up.
1796	Up NodeStatusFilter = "up"
1797)
1798
1799// PossibleNodeStatusFilterValues returns an array of possible values for the NodeStatusFilter const type.
1800func PossibleNodeStatusFilterValues() []NodeStatusFilter {
1801	return []NodeStatusFilter{All, Default, Disabled, Disabling, Down, Enabling, Removed, Unknown, Up}
1802}
1803
1804// NodeTransitionType enumerates the values for node transition type.
1805type NodeTransitionType string
1806
1807const (
1808	// NodeTransitionTypeInvalid Reserved.  Do not pass into API.
1809	NodeTransitionTypeInvalid NodeTransitionType = "Invalid"
1810	// NodeTransitionTypeStart Transition a stopped node to up.
1811	NodeTransitionTypeStart NodeTransitionType = "Start"
1812	// NodeTransitionTypeStop Transition an up node to stopped.
1813	NodeTransitionTypeStop NodeTransitionType = "Stop"
1814)
1815
1816// PossibleNodeTransitionTypeValues returns an array of possible values for the NodeTransitionType const type.
1817func PossibleNodeTransitionTypeValues() []NodeTransitionType {
1818	return []NodeTransitionType{NodeTransitionTypeInvalid, NodeTransitionTypeStart, NodeTransitionTypeStop}
1819}
1820
1821// NodeUpgradePhase enumerates the values for node upgrade phase.
1822type NodeUpgradePhase string
1823
1824const (
1825	// NodeUpgradePhaseInvalid Indicates the upgrade state is invalid. All Service Fabric enumerations have the
1826	// invalid type. The value is zero.
1827	NodeUpgradePhaseInvalid NodeUpgradePhase = "Invalid"
1828	// NodeUpgradePhasePostUpgradeSafetyCheck The upgrade has completed and post upgrade safety checks are
1829	// being performed. The value is 3
1830	NodeUpgradePhasePostUpgradeSafetyCheck NodeUpgradePhase = "PostUpgradeSafetyCheck"
1831	// NodeUpgradePhasePreUpgradeSafetyCheck The upgrade has not started yet due to pending safety checks. The
1832	// value is 1
1833	NodeUpgradePhasePreUpgradeSafetyCheck NodeUpgradePhase = "PreUpgradeSafetyCheck"
1834	// NodeUpgradePhaseUpgrading The upgrade is in progress. The value is 2
1835	NodeUpgradePhaseUpgrading NodeUpgradePhase = "Upgrading"
1836)
1837
1838// PossibleNodeUpgradePhaseValues returns an array of possible values for the NodeUpgradePhase const type.
1839func PossibleNodeUpgradePhaseValues() []NodeUpgradePhase {
1840	return []NodeUpgradePhase{NodeUpgradePhaseInvalid, NodeUpgradePhasePostUpgradeSafetyCheck, NodeUpgradePhasePreUpgradeSafetyCheck, NodeUpgradePhaseUpgrading}
1841}
1842
1843// OperationState enumerates the values for operation state.
1844type OperationState string
1845
1846const (
1847	// OperationStateCancelled The operation was cancelled by the user using CancelOperation, and is no longer
1848	// running.
1849	OperationStateCancelled OperationState = "Cancelled"
1850	// OperationStateCompleted The operation has completed successfully and is no longer running.
1851	OperationStateCompleted OperationState = "Completed"
1852	// OperationStateFaulted The operation has failed and is no longer running.
1853	OperationStateFaulted OperationState = "Faulted"
1854	// OperationStateForceCancelled The operation was cancelled by the user using CancelOperation, with the
1855	// force parameter set to true.  It is no longer running.  Refer to CancelOperation for more details.
1856	OperationStateForceCancelled OperationState = "ForceCancelled"
1857	// OperationStateInvalid The operation state is invalid.
1858	OperationStateInvalid OperationState = "Invalid"
1859	// OperationStateRollingBack The operation is rolling back internal system state because it encountered a
1860	// fatal error or was cancelled by the user.  "RollingBack"     does not refer to user state.  For example,
1861	// if CancelOperation is called on a command of type PartitionDataLoss, state of "RollingBack" does not
1862	// mean service data is being restored (assuming the command has progressed far enough to cause data loss).
1863	// It means the system is rolling back/cleaning up internal system state associated with the command.
1864	OperationStateRollingBack OperationState = "RollingBack"
1865	// OperationStateRunning The operation is in progress.
1866	OperationStateRunning OperationState = "Running"
1867)
1868
1869// PossibleOperationStateValues returns an array of possible values for the OperationState const type.
1870func PossibleOperationStateValues() []OperationState {
1871	return []OperationState{OperationStateCancelled, OperationStateCompleted, OperationStateFaulted, OperationStateForceCancelled, OperationStateInvalid, OperationStateRollingBack, OperationStateRunning}
1872}
1873
1874// OperationType enumerates the values for operation type.
1875type OperationType string
1876
1877const (
1878	// OperationTypeInvalid The operation state is invalid.
1879	OperationTypeInvalid OperationType = "Invalid"
1880	// OperationTypeNodeTransition An operation started using the StartNodeTransition API.
1881	OperationTypeNodeTransition OperationType = "NodeTransition"
1882	// OperationTypePartitionDataLoss An operation started using the StartDataLoss API.
1883	OperationTypePartitionDataLoss OperationType = "PartitionDataLoss"
1884	// OperationTypePartitionQuorumLoss An operation started using the StartQuorumLoss API.
1885	OperationTypePartitionQuorumLoss OperationType = "PartitionQuorumLoss"
1886	// OperationTypePartitionRestart An operation started using the StartPartitionRestart API.
1887	OperationTypePartitionRestart OperationType = "PartitionRestart"
1888)
1889
1890// PossibleOperationTypeValues returns an array of possible values for the OperationType const type.
1891func PossibleOperationTypeValues() []OperationType {
1892	return []OperationType{OperationTypeInvalid, OperationTypeNodeTransition, OperationTypePartitionDataLoss, OperationTypePartitionQuorumLoss, OperationTypePartitionRestart}
1893}
1894
1895// PackageSharingPolicyScope enumerates the values for package sharing policy scope.
1896type PackageSharingPolicyScope string
1897
1898const (
1899	// PackageSharingPolicyScopeAll Share all code, config and data packages from corresponding service
1900	// manifest. The value is 1.
1901	PackageSharingPolicyScopeAll PackageSharingPolicyScope = "All"
1902	// PackageSharingPolicyScopeCode Share all code packages from corresponding service manifest. The value is
1903	// 2.
1904	PackageSharingPolicyScopeCode PackageSharingPolicyScope = "Code"
1905	// PackageSharingPolicyScopeConfig Share all config packages from corresponding service manifest. The value
1906	// is 3.
1907	PackageSharingPolicyScopeConfig PackageSharingPolicyScope = "Config"
1908	// PackageSharingPolicyScopeData Share all data packages from corresponding service manifest. The value is
1909	// 4.
1910	PackageSharingPolicyScopeData PackageSharingPolicyScope = "Data"
1911	// PackageSharingPolicyScopeNone No package sharing policy scope. The value is 0.
1912	PackageSharingPolicyScopeNone PackageSharingPolicyScope = "None"
1913)
1914
1915// PossiblePackageSharingPolicyScopeValues returns an array of possible values for the PackageSharingPolicyScope const type.
1916func PossiblePackageSharingPolicyScopeValues() []PackageSharingPolicyScope {
1917	return []PackageSharingPolicyScope{PackageSharingPolicyScopeAll, PackageSharingPolicyScopeCode, PackageSharingPolicyScopeConfig, PackageSharingPolicyScopeData, PackageSharingPolicyScopeNone}
1918}
1919
1920// PartitionAccessStatus enumerates the values for partition access status.
1921type PartitionAccessStatus string
1922
1923const (
1924	// PartitionAccessStatusGranted Indicates that the read or write operation access is granted and the
1925	// operation is allowed.
1926	PartitionAccessStatusGranted PartitionAccessStatus = "Granted"
1927	// PartitionAccessStatusInvalid Indicates that the read or write operation access status is not valid. This
1928	// value is not returned to the caller.
1929	PartitionAccessStatusInvalid PartitionAccessStatus = "Invalid"
1930	// PartitionAccessStatusNotPrimary Indicates that this client request was received by a replica that is not
1931	// a Primary replica.
1932	PartitionAccessStatusNotPrimary PartitionAccessStatus = "NotPrimary"
1933	// PartitionAccessStatusNoWriteQuorum Indicates that no write quorum is available and, therefore, no write
1934	// operation can be accepted.
1935	PartitionAccessStatusNoWriteQuorum PartitionAccessStatus = "NoWriteQuorum"
1936	// PartitionAccessStatusReconfigurationPending Indicates that the client should try again later, because a
1937	// reconfiguration is in progress.
1938	PartitionAccessStatusReconfigurationPending PartitionAccessStatus = "ReconfigurationPending"
1939)
1940
1941// PossiblePartitionAccessStatusValues returns an array of possible values for the PartitionAccessStatus const type.
1942func PossiblePartitionAccessStatusValues() []PartitionAccessStatus {
1943	return []PartitionAccessStatus{PartitionAccessStatusGranted, PartitionAccessStatusInvalid, PartitionAccessStatusNotPrimary, PartitionAccessStatusNoWriteQuorum, PartitionAccessStatusReconfigurationPending}
1944}
1945
1946// PartitionScheme enumerates the values for partition scheme.
1947type PartitionScheme string
1948
1949const (
1950	// PartitionSchemeInvalid Indicates the partition kind is invalid. All Service Fabric enumerations have the
1951	// invalid type. The value is zero.
1952	PartitionSchemeInvalid PartitionScheme = "Invalid"
1953	// PartitionSchemeNamed Indicates that the partition is based on string names, and is a
1954	// NamedPartitionSchemeDescription object. The value is 3
1955	PartitionSchemeNamed PartitionScheme = "Named"
1956	// PartitionSchemeSingleton Indicates that the partition is based on string names, and is a
1957	// SingletonPartitionSchemeDescription object, The value is 1.
1958	PartitionSchemeSingleton PartitionScheme = "Singleton"
1959	// PartitionSchemeUniformInt64Range Indicates that the partition is based on Int64 key ranges, and is a
1960	// UniformInt64RangePartitionSchemeDescription object. The value is 2.
1961	PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range"
1962)
1963
1964// PossiblePartitionSchemeValues returns an array of possible values for the PartitionScheme const type.
1965func PossiblePartitionSchemeValues() []PartitionScheme {
1966	return []PartitionScheme{PartitionSchemeInvalid, PartitionSchemeNamed, PartitionSchemeSingleton, PartitionSchemeUniformInt64Range}
1967}
1968
1969// PartitionSchemeBasicPartitionSchemeDescription enumerates the values for partition scheme basic partition
1970// scheme description.
1971type PartitionSchemeBasicPartitionSchemeDescription string
1972
1973const (
1974	// PartitionSchemeNamed1 ...
1975	PartitionSchemeNamed1 PartitionSchemeBasicPartitionSchemeDescription = "Named"
1976	// PartitionSchemePartitionSchemeDescription ...
1977	PartitionSchemePartitionSchemeDescription PartitionSchemeBasicPartitionSchemeDescription = "PartitionSchemeDescription"
1978	// PartitionSchemeSingleton1 ...
1979	PartitionSchemeSingleton1 PartitionSchemeBasicPartitionSchemeDescription = "Singleton"
1980	// PartitionSchemeUniformInt64Range1 ...
1981	PartitionSchemeUniformInt64Range1 PartitionSchemeBasicPartitionSchemeDescription = "UniformInt64Range"
1982)
1983
1984// PossiblePartitionSchemeBasicPartitionSchemeDescriptionValues returns an array of possible values for the PartitionSchemeBasicPartitionSchemeDescription const type.
1985func PossiblePartitionSchemeBasicPartitionSchemeDescriptionValues() []PartitionSchemeBasicPartitionSchemeDescription {
1986	return []PartitionSchemeBasicPartitionSchemeDescription{PartitionSchemeNamed1, PartitionSchemePartitionSchemeDescription, PartitionSchemeSingleton1, PartitionSchemeUniformInt64Range1}
1987}
1988
1989// PropertyBatchInfoKind enumerates the values for property batch info kind.
1990type PropertyBatchInfoKind string
1991
1992const (
1993	// PropertyBatchInfoKindFailed The property batch failed.
1994	PropertyBatchInfoKindFailed PropertyBatchInfoKind = "Failed"
1995	// PropertyBatchInfoKindInvalid Indicates the property batch info is invalid. All Service Fabric
1996	// enumerations have the invalid type.
1997	PropertyBatchInfoKindInvalid PropertyBatchInfoKind = "Invalid"
1998	// PropertyBatchInfoKindSuccessful The property batch succeeded.
1999	PropertyBatchInfoKindSuccessful PropertyBatchInfoKind = "Successful"
2000)
2001
2002// PossiblePropertyBatchInfoKindValues returns an array of possible values for the PropertyBatchInfoKind const type.
2003func PossiblePropertyBatchInfoKindValues() []PropertyBatchInfoKind {
2004	return []PropertyBatchInfoKind{PropertyBatchInfoKindFailed, PropertyBatchInfoKindInvalid, PropertyBatchInfoKindSuccessful}
2005}
2006
2007// PropertyBatchOperationKind enumerates the values for property batch operation kind.
2008type PropertyBatchOperationKind string
2009
2010const (
2011	// PropertyBatchOperationKindCheckExists The operation will check that a property exists or doesn't exists,
2012	// depending on the provided value. The value is 3.
2013	PropertyBatchOperationKindCheckExists PropertyBatchOperationKind = "CheckExists"
2014	// PropertyBatchOperationKindCheckSequence The operation will ensure that the sequence number is equal to
2015	// the provided value. The value is 4.
2016	PropertyBatchOperationKindCheckSequence PropertyBatchOperationKind = "CheckSequence"
2017	// PropertyBatchOperationKindCheckValue The operation will ensure that the value of a property is equal to
2018	// the provided value. The value is 7.
2019	PropertyBatchOperationKindCheckValue PropertyBatchOperationKind = "CheckValue"
2020	// PropertyBatchOperationKindDelete The operation will delete a property. The value is 5.
2021	PropertyBatchOperationKindDelete PropertyBatchOperationKind = "Delete"
2022	// PropertyBatchOperationKindGet The operation will get a property. The value is 2.
2023	PropertyBatchOperationKindGet PropertyBatchOperationKind = "Get"
2024	// PropertyBatchOperationKindInvalid Indicates the property operation is invalid. All Service Fabric
2025	// enumerations have the invalid type. The value is zero.
2026	PropertyBatchOperationKindInvalid PropertyBatchOperationKind = "Invalid"
2027	// PropertyBatchOperationKindPut The operation will create or edit a property. The value is 1.
2028	PropertyBatchOperationKindPut PropertyBatchOperationKind = "Put"
2029)
2030
2031// PossiblePropertyBatchOperationKindValues returns an array of possible values for the PropertyBatchOperationKind const type.
2032func PossiblePropertyBatchOperationKindValues() []PropertyBatchOperationKind {
2033	return []PropertyBatchOperationKind{PropertyBatchOperationKindCheckExists, PropertyBatchOperationKindCheckSequence, PropertyBatchOperationKindCheckValue, PropertyBatchOperationKindDelete, PropertyBatchOperationKindGet, PropertyBatchOperationKindInvalid, PropertyBatchOperationKindPut}
2034}
2035
2036// PropertyValueKind enumerates the values for property value kind.
2037type PropertyValueKind string
2038
2039const (
2040	// PropertyValueKindBinary The data inside the property is a binary blob. The value is 1.
2041	PropertyValueKindBinary PropertyValueKind = "Binary"
2042	// PropertyValueKindDouble The data inside the property is a double. The value is 3.
2043	PropertyValueKindDouble PropertyValueKind = "Double"
2044	// PropertyValueKindGUID The data inside the property is a guid. The value is 5.
2045	PropertyValueKindGUID PropertyValueKind = "Guid"
2046	// PropertyValueKindInt64 The data inside the property is an int64. The value is 2.
2047	PropertyValueKindInt64 PropertyValueKind = "Int64"
2048	// PropertyValueKindInvalid Indicates the property is invalid. All Service Fabric enumerations have the
2049	// invalid type. The value is zero.
2050	PropertyValueKindInvalid PropertyValueKind = "Invalid"
2051	// PropertyValueKindString The data inside the property is a string. The value is 4.
2052	PropertyValueKindString PropertyValueKind = "String"
2053)
2054
2055// PossiblePropertyValueKindValues returns an array of possible values for the PropertyValueKind const type.
2056func PossiblePropertyValueKindValues() []PropertyValueKind {
2057	return []PropertyValueKind{PropertyValueKindBinary, PropertyValueKindDouble, PropertyValueKindGUID, PropertyValueKindInt64, PropertyValueKindInvalid, PropertyValueKindString}
2058}
2059
2060// ProvisionApplicationTypeKind enumerates the values for provision application type kind.
2061type ProvisionApplicationTypeKind string
2062
2063const (
2064	// ProvisionApplicationTypeKindExternalStore Indicates that the provision is for an application package
2065	// that was previously uploaded to an external store. The application package ends with the extension
2066	// *.sfpkg. The value is 2.
2067	ProvisionApplicationTypeKindExternalStore ProvisionApplicationTypeKind = "ExternalStore"
2068	// ProvisionApplicationTypeKindImageStorePath Indicates that the provision is for a package that was
2069	// previously uploaded to the image store. The value is 1.
2070	ProvisionApplicationTypeKindImageStorePath ProvisionApplicationTypeKind = "ImageStorePath"
2071	// ProvisionApplicationTypeKindInvalid Indicates that the provision kind is invalid. This value is default
2072	// and should not be used. The value is zero.
2073	ProvisionApplicationTypeKindInvalid ProvisionApplicationTypeKind = "Invalid"
2074)
2075
2076// PossibleProvisionApplicationTypeKindValues returns an array of possible values for the ProvisionApplicationTypeKind const type.
2077func PossibleProvisionApplicationTypeKindValues() []ProvisionApplicationTypeKind {
2078	return []ProvisionApplicationTypeKind{ProvisionApplicationTypeKindExternalStore, ProvisionApplicationTypeKindImageStorePath, ProvisionApplicationTypeKindInvalid}
2079}
2080
2081// QuorumLossMode enumerates the values for quorum loss mode.
2082type QuorumLossMode string
2083
2084const (
2085	// QuorumLossModeAllReplicas ...
2086	QuorumLossModeAllReplicas QuorumLossMode = "AllReplicas"
2087	// QuorumLossModeInvalid Reserved.  Do not pass into API.
2088	QuorumLossModeInvalid QuorumLossMode = "Invalid"
2089	// QuorumLossModeQuorumReplicas Partial Quorum loss mode : Minimum number of replicas for a partition will
2090	// be down that will cause a quorum loss.
2091	QuorumLossModeQuorumReplicas QuorumLossMode = "QuorumReplicas"
2092)
2093
2094// PossibleQuorumLossModeValues returns an array of possible values for the QuorumLossMode const type.
2095func PossibleQuorumLossModeValues() []QuorumLossMode {
2096	return []QuorumLossMode{QuorumLossModeAllReplicas, QuorumLossModeInvalid, QuorumLossModeQuorumReplicas}
2097}
2098
2099// ReconfigurationPhase enumerates the values for reconfiguration phase.
2100type ReconfigurationPhase string
2101
2102const (
2103	// ReconfigurationPhaseAbortPhaseZero This phase is for internal use only.
2104	ReconfigurationPhaseAbortPhaseZero ReconfigurationPhase = "AbortPhaseZero"
2105	// ReconfigurationPhaseNone Specifies that there is no reconfiguration in progress.
2106	ReconfigurationPhaseNone ReconfigurationPhase = "None"
2107	// ReconfigurationPhasePhase0 Refers to the phase where the reconfiguration is transferring data from the
2108	// previous primary to the new primary.
2109	ReconfigurationPhasePhase0 ReconfigurationPhase = "Phase0"
2110	// ReconfigurationPhasePhase1 Refers to the phase where the reconfiguration is querying the replica set for
2111	// the progress.
2112	ReconfigurationPhasePhase1 ReconfigurationPhase = "Phase1"
2113	// ReconfigurationPhasePhase2 Refers to the phase where the reconfiguration is ensuring that data from the
2114	// current primary is present in a majority of the replica set.
2115	ReconfigurationPhasePhase2 ReconfigurationPhase = "Phase2"
2116	// ReconfigurationPhasePhase3 This phase is for internal use only.
2117	ReconfigurationPhasePhase3 ReconfigurationPhase = "Phase3"
2118	// ReconfigurationPhasePhase4 This phase is for internal use only.
2119	ReconfigurationPhasePhase4 ReconfigurationPhase = "Phase4"
2120	// ReconfigurationPhaseUnknown Indicates the invalid reconfiguration phase.
2121	ReconfigurationPhaseUnknown ReconfigurationPhase = "Unknown"
2122)
2123
2124// PossibleReconfigurationPhaseValues returns an array of possible values for the ReconfigurationPhase const type.
2125func PossibleReconfigurationPhaseValues() []ReconfigurationPhase {
2126	return []ReconfigurationPhase{ReconfigurationPhaseAbortPhaseZero, ReconfigurationPhaseNone, ReconfigurationPhasePhase0, ReconfigurationPhasePhase1, ReconfigurationPhasePhase2, ReconfigurationPhasePhase3, ReconfigurationPhasePhase4, ReconfigurationPhaseUnknown}
2127}
2128
2129// ReconfigurationType enumerates the values for reconfiguration type.
2130type ReconfigurationType string
2131
2132const (
2133	// ReconfigurationTypeFailover Reconfiguration triggered in response to a primary going down. This could be
2134	// due to many reasons such as primary replica crashing etc.
2135	ReconfigurationTypeFailover ReconfigurationType = "Failover"
2136	// ReconfigurationTypeOther Reconfigurations where the primary replica is not changing.
2137	ReconfigurationTypeOther ReconfigurationType = "Other"
2138	// ReconfigurationTypeSwapPrimary Specifies that the primary replica is being swapped with a different
2139	// replica.
2140	ReconfigurationTypeSwapPrimary ReconfigurationType = "SwapPrimary"
2141	// ReconfigurationTypeUnknown Indicates the invalid reconfiguration type.
2142	ReconfigurationTypeUnknown ReconfigurationType = "Unknown"
2143)
2144
2145// PossibleReconfigurationTypeValues returns an array of possible values for the ReconfigurationType const type.
2146func PossibleReconfigurationTypeValues() []ReconfigurationType {
2147	return []ReconfigurationType{ReconfigurationTypeFailover, ReconfigurationTypeOther, ReconfigurationTypeSwapPrimary, ReconfigurationTypeUnknown}
2148}
2149
2150// RepairImpactKind enumerates the values for repair impact kind.
2151type RepairImpactKind string
2152
2153const (
2154	// RepairImpactKindInvalid The repair impact is not valid or is of an unknown type.
2155	RepairImpactKindInvalid RepairImpactKind = "Invalid"
2156	// RepairImpactKindNode The repair impact affects a set of Service Fabric nodes.
2157	RepairImpactKindNode RepairImpactKind = "Node"
2158)
2159
2160// PossibleRepairImpactKindValues returns an array of possible values for the RepairImpactKind const type.
2161func PossibleRepairImpactKindValues() []RepairImpactKind {
2162	return []RepairImpactKind{RepairImpactKindInvalid, RepairImpactKindNode}
2163}
2164
2165// RepairTargetKind enumerates the values for repair target kind.
2166type RepairTargetKind string
2167
2168const (
2169	// RepairTargetKindInvalid The repair target is not valid or is of an unknown type.
2170	RepairTargetKindInvalid RepairTargetKind = "Invalid"
2171	// RepairTargetKindNode The repair target is a set of Service Fabric nodes.
2172	RepairTargetKindNode RepairTargetKind = "Node"
2173)
2174
2175// PossibleRepairTargetKindValues returns an array of possible values for the RepairTargetKind const type.
2176func PossibleRepairTargetKindValues() []RepairTargetKind {
2177	return []RepairTargetKind{RepairTargetKindInvalid, RepairTargetKindNode}
2178}
2179
2180// RepairTaskHealthCheckState enumerates the values for repair task health check state.
2181type RepairTaskHealthCheckState string
2182
2183const (
2184	// InProgress Indicates that the health check is in progress.
2185	InProgress RepairTaskHealthCheckState = "InProgress"
2186	// NotStarted Indicates that the health check has not started.
2187	NotStarted RepairTaskHealthCheckState = "NotStarted"
2188	// Skipped Indicates that the health check was skipped.
2189	Skipped RepairTaskHealthCheckState = "Skipped"
2190	// Succeeded Indicates that the health check succeeded.
2191	Succeeded RepairTaskHealthCheckState = "Succeeded"
2192	// TimedOut Indicates that the health check timed out.
2193	TimedOut RepairTaskHealthCheckState = "TimedOut"
2194)
2195
2196// PossibleRepairTaskHealthCheckStateValues returns an array of possible values for the RepairTaskHealthCheckState const type.
2197func PossibleRepairTaskHealthCheckStateValues() []RepairTaskHealthCheckState {
2198	return []RepairTaskHealthCheckState{InProgress, NotStarted, Skipped, Succeeded, TimedOut}
2199}
2200
2201// ReplicaHealthReportServiceKind enumerates the values for replica health report service kind.
2202type ReplicaHealthReportServiceKind string
2203
2204const (
2205	// Stateful Uses Service Fabric to make its state or part of its state highly available and reliable. The
2206	// value is 2.
2207	Stateful ReplicaHealthReportServiceKind = "Stateful"
2208	// Stateless Does not use Service Fabric to make its state highly available or reliable. The value is 1
2209	Stateless ReplicaHealthReportServiceKind = "Stateless"
2210)
2211
2212// PossibleReplicaHealthReportServiceKindValues returns an array of possible values for the ReplicaHealthReportServiceKind const type.
2213func PossibleReplicaHealthReportServiceKindValues() []ReplicaHealthReportServiceKind {
2214	return []ReplicaHealthReportServiceKind{Stateful, Stateless}
2215}
2216
2217// ReplicaKind enumerates the values for replica kind.
2218type ReplicaKind string
2219
2220const (
2221	// ReplicaKindInvalid Represents an invalid replica kind. The value is zero.
2222	ReplicaKindInvalid ReplicaKind = "Invalid"
2223	// ReplicaKindKeyValueStore Represents a key value store replica. The value is 1
2224	ReplicaKindKeyValueStore ReplicaKind = "KeyValueStore"
2225)
2226
2227// PossibleReplicaKindValues returns an array of possible values for the ReplicaKind const type.
2228func PossibleReplicaKindValues() []ReplicaKind {
2229	return []ReplicaKind{ReplicaKindInvalid, ReplicaKindKeyValueStore}
2230}
2231
2232// ReplicaRole enumerates the values for replica role.
2233type ReplicaRole string
2234
2235const (
2236	// ReplicaRoleActiveSecondary Refers to a replica in the set that receives state updates from the Primary
2237	// replica, applies them, and sends acknowledgements back. Secondary replicas must participate in the write
2238	// quorum for a replica set. There can be multiple active Secondary replicas in a replica set at a time.
2239	// The number of active Secondary replicas is configurable that the reliability subsystem should maintain.
2240	// The value is 4.
2241	ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary"
2242	// ReplicaRoleIdleSecondary Refers to a replica in the set that receives a state transfer from the Primary
2243	// replica to prepare for becoming an active Secondary replica. There can be multiple Idle Secondary
2244	// replicas in a replica set at a time. Idle Secondary replicas do not count as a part of a write quorum.
2245	// The value is 3.
2246	ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary"
2247	// ReplicaRoleNone Specifies that the replica has no responsibility in regard to the replica set. The value
2248	// is 1
2249	ReplicaRoleNone ReplicaRole = "None"
2250	// ReplicaRolePrimary Refers to the replica in the set on which all read and write operations are complete
2251	// in order to enforce strong consistency semantics. Read operations are handled directly by the Primary
2252	// replica, while write operations must be acknowledged by a quorum of the replicas in the replica set.
2253	// There can only be one Primary replica in a replica set at a time. The value is 2.
2254	ReplicaRolePrimary ReplicaRole = "Primary"
2255	// ReplicaRoleUnknown Indicates the initial role that a replica is created in. The value is zero.
2256	ReplicaRoleUnknown ReplicaRole = "Unknown"
2257)
2258
2259// PossibleReplicaRoleValues returns an array of possible values for the ReplicaRole const type.
2260func PossibleReplicaRoleValues() []ReplicaRole {
2261	return []ReplicaRole{ReplicaRoleActiveSecondary, ReplicaRoleIdleSecondary, ReplicaRoleNone, ReplicaRolePrimary, ReplicaRoleUnknown}
2262}
2263
2264// ReplicaStatus enumerates the values for replica status.
2265type ReplicaStatus string
2266
2267const (
2268	// ReplicaStatusDown The replica is down. The value is 4.
2269	ReplicaStatusDown ReplicaStatus = "Down"
2270	// ReplicaStatusDropped Replica is dropped. This means that the replica has been removed from the replica
2271	// set. If it is persisted, its state has been deleted. The value is 5.
2272	ReplicaStatusDropped ReplicaStatus = "Dropped"
2273	// ReplicaStatusInBuild The replica is being built. This means that a primary replica is seeding this
2274	// replica. The value is 1.
2275	ReplicaStatusInBuild ReplicaStatus = "InBuild"
2276	// ReplicaStatusInvalid Indicates the replica status is invalid. All Service Fabric enumerations have the
2277	// invalid type. The value is zero.
2278	ReplicaStatusInvalid ReplicaStatus = "Invalid"
2279	// ReplicaStatusReady The replica is ready. The value is 3.
2280	ReplicaStatusReady ReplicaStatus = "Ready"
2281	// ReplicaStatusStandby The replica is in standby. The value is 2.
2282	ReplicaStatusStandby ReplicaStatus = "Standby"
2283)
2284
2285// PossibleReplicaStatusValues returns an array of possible values for the ReplicaStatus const type.
2286func PossibleReplicaStatusValues() []ReplicaStatus {
2287	return []ReplicaStatus{ReplicaStatusDown, ReplicaStatusDropped, ReplicaStatusInBuild, ReplicaStatusInvalid, ReplicaStatusReady, ReplicaStatusStandby}
2288}
2289
2290// ReplicatorOperationName enumerates the values for replicator operation name.
2291type ReplicatorOperationName string
2292
2293const (
2294	// ReplicatorOperationNameAbort Replicator is being aborted.
2295	ReplicatorOperationNameAbort ReplicatorOperationName = "Abort"
2296	// ReplicatorOperationNameBuild Replicator is in the process of building one or more replicas.
2297	ReplicatorOperationNameBuild ReplicatorOperationName = "Build"
2298	// ReplicatorOperationNameChangeRole Replicator is in the process of changing its role.
2299	ReplicatorOperationNameChangeRole ReplicatorOperationName = "ChangeRole"
2300	// ReplicatorOperationNameClose Replicator is closing.
2301	ReplicatorOperationNameClose ReplicatorOperationName = "Close"
2302	// ReplicatorOperationNameInvalid Default value if the replicator is not yet ready.
2303	ReplicatorOperationNameInvalid ReplicatorOperationName = "Invalid"
2304	// ReplicatorOperationNameNone Replicator is not running any operation from Service Fabric perspective.
2305	ReplicatorOperationNameNone ReplicatorOperationName = "None"
2306	// ReplicatorOperationNameOnDataLoss Replicator is handling the data loss condition, where the user service
2307	// may potentially be recovering state from an external source.
2308	ReplicatorOperationNameOnDataLoss ReplicatorOperationName = "OnDataLoss"
2309	// ReplicatorOperationNameOpen Replicator is opening.
2310	ReplicatorOperationNameOpen ReplicatorOperationName = "Open"
2311	// ReplicatorOperationNameUpdateEpoch Due to a change in the replica set, replicator is being updated with
2312	// its Epoch.
2313	ReplicatorOperationNameUpdateEpoch ReplicatorOperationName = "UpdateEpoch"
2314	// ReplicatorOperationNameWaitForCatchup Replicator is waiting for a quorum of replicas to be caught up to
2315	// the latest state.
2316	ReplicatorOperationNameWaitForCatchup ReplicatorOperationName = "WaitForCatchup"
2317)
2318
2319// PossibleReplicatorOperationNameValues returns an array of possible values for the ReplicatorOperationName const type.
2320func PossibleReplicatorOperationNameValues() []ReplicatorOperationName {
2321	return []ReplicatorOperationName{ReplicatorOperationNameAbort, ReplicatorOperationNameBuild, ReplicatorOperationNameChangeRole, ReplicatorOperationNameClose, ReplicatorOperationNameInvalid, ReplicatorOperationNameNone, ReplicatorOperationNameOnDataLoss, ReplicatorOperationNameOpen, ReplicatorOperationNameUpdateEpoch, ReplicatorOperationNameWaitForCatchup}
2322}
2323
2324// RestartPartitionMode enumerates the values for restart partition mode.
2325type RestartPartitionMode string
2326
2327const (
2328	// RestartPartitionModeAllReplicasOrInstances All replicas or instances in the partition are restarted at
2329	// once.
2330	RestartPartitionModeAllReplicasOrInstances RestartPartitionMode = "AllReplicasOrInstances"
2331	// RestartPartitionModeInvalid Reserved.  Do not pass into API.
2332	RestartPartitionModeInvalid RestartPartitionMode = "Invalid"
2333	// RestartPartitionModeOnlyActiveSecondaries Only the secondary replicas are restarted.
2334	RestartPartitionModeOnlyActiveSecondaries RestartPartitionMode = "OnlyActiveSecondaries"
2335)
2336
2337// PossibleRestartPartitionModeValues returns an array of possible values for the RestartPartitionMode const type.
2338func PossibleRestartPartitionModeValues() []RestartPartitionMode {
2339	return []RestartPartitionMode{RestartPartitionModeAllReplicasOrInstances, RestartPartitionModeInvalid, RestartPartitionModeOnlyActiveSecondaries}
2340}
2341
2342// RestoreState enumerates the values for restore state.
2343type RestoreState string
2344
2345const (
2346	// RestoreStateAccepted Operation has been validated and accepted. Restore is yet to be triggered.
2347	RestoreStateAccepted RestoreState = "Accepted"
2348	// RestoreStateFailure Operation completed with failure.
2349	RestoreStateFailure RestoreState = "Failure"
2350	// RestoreStateInvalid Indicates an invalid restore state. All Service Fabric enumerations have the invalid
2351	// type.
2352	RestoreStateInvalid RestoreState = "Invalid"
2353	// RestoreStateRestoreInProgress Restore operation has been triggered and is under process.
2354	RestoreStateRestoreInProgress RestoreState = "RestoreInProgress"
2355	// RestoreStateSuccess Operation completed with success.
2356	RestoreStateSuccess RestoreState = "Success"
2357	// RestoreStateTimeout Operation timed out.
2358	RestoreStateTimeout RestoreState = "Timeout"
2359)
2360
2361// PossibleRestoreStateValues returns an array of possible values for the RestoreState const type.
2362func PossibleRestoreStateValues() []RestoreState {
2363	return []RestoreState{RestoreStateAccepted, RestoreStateFailure, RestoreStateInvalid, RestoreStateRestoreInProgress, RestoreStateSuccess, RestoreStateTimeout}
2364}
2365
2366// ResultStatus enumerates the values for result status.
2367type ResultStatus string
2368
2369const (
2370	// ResultStatusCancelled Indicates that the repair task was cancelled prior to execution.
2371	ResultStatusCancelled ResultStatus = "Cancelled"
2372	// ResultStatusFailed Indicates that there was a failure during execution of the repair task. Some work may
2373	// have been performed.
2374	ResultStatusFailed ResultStatus = "Failed"
2375	// ResultStatusInterrupted Indicates that execution of the repair task was interrupted by a cancellation
2376	// request after some work had already been performed.
2377	ResultStatusInterrupted ResultStatus = "Interrupted"
2378	// ResultStatusInvalid Indicates that the repair task result is invalid. All Service Fabric enumerations
2379	// have the invalid value.
2380	ResultStatusInvalid ResultStatus = "Invalid"
2381	// ResultStatusPending Indicates that the repair task result is not yet available, because the repair task
2382	// has not finished executing.
2383	ResultStatusPending ResultStatus = "Pending"
2384	// ResultStatusSucceeded Indicates that the repair task completed execution successfully.
2385	ResultStatusSucceeded ResultStatus = "Succeeded"
2386)
2387
2388// PossibleResultStatusValues returns an array of possible values for the ResultStatus const type.
2389func PossibleResultStatusValues() []ResultStatus {
2390	return []ResultStatus{ResultStatusCancelled, ResultStatusFailed, ResultStatusInterrupted, ResultStatusInvalid, ResultStatusPending, ResultStatusSucceeded}
2391}
2392
2393// SafetyCheckKind enumerates the values for safety check kind.
2394type SafetyCheckKind string
2395
2396const (
2397	// SafetyCheckKindEnsureAvailability Indicates that there is either a stateless service partition on the
2398	// node having exactly one instance, or there is a primary replica on the node for which the partition is
2399	// quorum loss. In both cases, bringing down the replicas due to upgrade will result in loss of
2400	// availability. The value is 7.
2401	SafetyCheckKindEnsureAvailability SafetyCheckKind = "EnsureAvailability"
2402	// SafetyCheckKindEnsurePartitionQuorum Indicates that there is some partition for which if we bring down
2403	// the replica on the node, it will result in quorum loss for that partition. The value is 2.
2404	SafetyCheckKindEnsurePartitionQuorum SafetyCheckKind = "EnsurePartitionQuorum"
2405	// SafetyCheckKindEnsureSeedNodeQuorum Indicates that if we bring down the node then this will result in
2406	// global seed node quorum loss. The value is 1.
2407	SafetyCheckKindEnsureSeedNodeQuorum SafetyCheckKind = "EnsureSeedNodeQuorum"
2408	// SafetyCheckKindInvalid Indicates that the upgrade safety check kind is invalid. All Service Fabric
2409	// enumerations have the invalid type. The value is zero.
2410	SafetyCheckKindInvalid SafetyCheckKind = "Invalid"
2411	// SafetyCheckKindWaitForInbuildReplica Indicates that there is either a replica on the node that is going
2412	// through copy, or there is a primary replica on the node that is copying data to some other replica. In
2413	// both cases, bringing down the replica on the node due to upgrade will abort the copy. The value is 6.
2414	SafetyCheckKindWaitForInbuildReplica SafetyCheckKind = "WaitForInbuildReplica"
2415	// SafetyCheckKindWaitForPrimaryPlacement Indicates that there is some replica on the node that was moved
2416	// out of this node due to upgrade. Service Fabric is now waiting for the primary to be moved back to this
2417	// node. The value is 3.
2418	SafetyCheckKindWaitForPrimaryPlacement SafetyCheckKind = "WaitForPrimaryPlacement"
2419	// SafetyCheckKindWaitForPrimarySwap Indicates that Service Fabric is waiting for a primary replica to be
2420	// moved out of the node before starting upgrade on that node. The value is 4.
2421	SafetyCheckKindWaitForPrimarySwap SafetyCheckKind = "WaitForPrimarySwap"
2422	// SafetyCheckKindWaitForReconfiguration Indicates that there is some replica on the node that is involved
2423	// in a reconfiguration. Service Fabric is waiting for the reconfiguration to be complete before staring
2424	// upgrade on that node. The value is 5.
2425	SafetyCheckKindWaitForReconfiguration SafetyCheckKind = "WaitForReconfiguration"
2426)
2427
2428// PossibleSafetyCheckKindValues returns an array of possible values for the SafetyCheckKind const type.
2429func PossibleSafetyCheckKindValues() []SafetyCheckKind {
2430	return []SafetyCheckKind{SafetyCheckKindEnsureAvailability, SafetyCheckKindEnsurePartitionQuorum, SafetyCheckKindEnsureSeedNodeQuorum, SafetyCheckKindInvalid, SafetyCheckKindWaitForInbuildReplica, SafetyCheckKindWaitForPrimaryPlacement, SafetyCheckKindWaitForPrimarySwap, SafetyCheckKindWaitForReconfiguration}
2431}
2432
2433// ScalingMechanismKind enumerates the values for scaling mechanism kind.
2434type ScalingMechanismKind string
2435
2436const (
2437	// ScalingMechanismKindAddRemoveIncrementalNamedPartition Indicates a mechanism for scaling where new named
2438	// partitions are added or removed from a service. The value is 2.
2439	ScalingMechanismKindAddRemoveIncrementalNamedPartition ScalingMechanismKind = "AddRemoveIncrementalNamedPartition"
2440	// ScalingMechanismKindInvalid Indicates the scaling mechanism is invalid. All Service Fabric enumerations
2441	// have the invalid type. The value is zero.
2442	ScalingMechanismKindInvalid ScalingMechanismKind = "Invalid"
2443	// ScalingMechanismKindPartitionInstanceCount Indicates a mechanism for scaling where new instances are
2444	// added or removed from a partition. The value is 1.
2445	ScalingMechanismKindPartitionInstanceCount ScalingMechanismKind = "PartitionInstanceCount"
2446)
2447
2448// PossibleScalingMechanismKindValues returns an array of possible values for the ScalingMechanismKind const type.
2449func PossibleScalingMechanismKindValues() []ScalingMechanismKind {
2450	return []ScalingMechanismKind{ScalingMechanismKindAddRemoveIncrementalNamedPartition, ScalingMechanismKindInvalid, ScalingMechanismKindPartitionInstanceCount}
2451}
2452
2453// ScalingTriggerKind enumerates the values for scaling trigger kind.
2454type ScalingTriggerKind string
2455
2456const (
2457	// ScalingTriggerKindAveragePartitionLoad Indicates a trigger where scaling decisions are made based on
2458	// average load of a partition. The value is 1.
2459	ScalingTriggerKindAveragePartitionLoad ScalingTriggerKind = "AveragePartitionLoad"
2460	// ScalingTriggerKindAverageServiceLoad Indicates a trigger where scaling decisions are made based on
2461	// average load of a service. The value is 2.
2462	ScalingTriggerKindAverageServiceLoad ScalingTriggerKind = "AverageServiceLoad"
2463	// ScalingTriggerKindInvalid Indicates the scaling trigger is invalid. All Service Fabric enumerations have
2464	// the invalid type. The value is zero.
2465	ScalingTriggerKindInvalid ScalingTriggerKind = "Invalid"
2466)
2467
2468// PossibleScalingTriggerKindValues returns an array of possible values for the ScalingTriggerKind const type.
2469func PossibleScalingTriggerKindValues() []ScalingTriggerKind {
2470	return []ScalingTriggerKind{ScalingTriggerKindAveragePartitionLoad, ScalingTriggerKindAverageServiceLoad, ScalingTriggerKindInvalid}
2471}
2472
2473// ScheduleKind enumerates the values for schedule kind.
2474type ScheduleKind string
2475
2476const (
2477	// ScheduleKindBackupScheduleDescription ...
2478	ScheduleKindBackupScheduleDescription ScheduleKind = "BackupScheduleDescription"
2479	// ScheduleKindFrequencyBased ...
2480	ScheduleKindFrequencyBased ScheduleKind = "FrequencyBased"
2481	// ScheduleKindTimeBased ...
2482	ScheduleKindTimeBased ScheduleKind = "TimeBased"
2483)
2484
2485// PossibleScheduleKindValues returns an array of possible values for the ScheduleKind const type.
2486func PossibleScheduleKindValues() []ScheduleKind {
2487	return []ScheduleKind{ScheduleKindBackupScheduleDescription, ScheduleKindFrequencyBased, ScheduleKindTimeBased}
2488}
2489
2490// ServiceCorrelationScheme enumerates the values for service correlation scheme.
2491type ServiceCorrelationScheme string
2492
2493const (
2494	// ServiceCorrelationSchemeAffinity Indicates that this service has an affinity relationship with another
2495	// service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity
2496	// options. The value is 1.
2497	ServiceCorrelationSchemeAffinity ServiceCorrelationScheme = "Affinity"
2498	// ServiceCorrelationSchemeAlignedAffinity Aligned affinity ensures that the primaries of the partitions of
2499	// the affinitized services are collocated on the same nodes. This is the default and is the same as
2500	// selecting the Affinity scheme. The value is 2.
2501	ServiceCorrelationSchemeAlignedAffinity ServiceCorrelationScheme = "AlignedAffinity"
2502	// ServiceCorrelationSchemeInvalid An invalid correlation scheme. Cannot be used. The value is zero.
2503	ServiceCorrelationSchemeInvalid ServiceCorrelationScheme = "Invalid"
2504	// ServiceCorrelationSchemeNonAlignedAffinity Non-Aligned affinity guarantees that all replicas of each
2505	// service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas
2506	// of particular role will be collocated. The value is 3.
2507	ServiceCorrelationSchemeNonAlignedAffinity ServiceCorrelationScheme = "NonAlignedAffinity"
2508)
2509
2510// PossibleServiceCorrelationSchemeValues returns an array of possible values for the ServiceCorrelationScheme const type.
2511func PossibleServiceCorrelationSchemeValues() []ServiceCorrelationScheme {
2512	return []ServiceCorrelationScheme{ServiceCorrelationSchemeAffinity, ServiceCorrelationSchemeAlignedAffinity, ServiceCorrelationSchemeInvalid, ServiceCorrelationSchemeNonAlignedAffinity}
2513}
2514
2515// ServiceEndpointRole enumerates the values for service endpoint role.
2516type ServiceEndpointRole string
2517
2518const (
2519	// ServiceEndpointRoleInvalid Indicates the service endpoint role is invalid. All Service Fabric
2520	// enumerations have the invalid type. The value is zero.
2521	ServiceEndpointRoleInvalid ServiceEndpointRole = "Invalid"
2522	// ServiceEndpointRoleStatefulPrimary Indicates that the service endpoint is of a primary replica of a
2523	// stateful service. The value is 2.
2524	ServiceEndpointRoleStatefulPrimary ServiceEndpointRole = "StatefulPrimary"
2525	// ServiceEndpointRoleStatefulSecondary Indicates that the service endpoint is of a secondary replica of a
2526	// stateful service. The value is 3.
2527	ServiceEndpointRoleStatefulSecondary ServiceEndpointRole = "StatefulSecondary"
2528	// ServiceEndpointRoleStateless Indicates that the service endpoint is of a stateless service. The value is
2529	// 1.
2530	ServiceEndpointRoleStateless ServiceEndpointRole = "Stateless"
2531)
2532
2533// PossibleServiceEndpointRoleValues returns an array of possible values for the ServiceEndpointRole const type.
2534func PossibleServiceEndpointRoleValues() []ServiceEndpointRole {
2535	return []ServiceEndpointRole{ServiceEndpointRoleInvalid, ServiceEndpointRoleStatefulPrimary, ServiceEndpointRoleStatefulSecondary, ServiceEndpointRoleStateless}
2536}
2537
2538// ServiceKind enumerates the values for service kind.
2539type ServiceKind string
2540
2541const (
2542	// ServiceKindInvalid Indicates the service kind is invalid. All Service Fabric enumerations have the
2543	// invalid type. The value is zero.
2544	ServiceKindInvalid ServiceKind = "Invalid"
2545	// ServiceKindStateful Uses Service Fabric to make its state or part of its state highly available and
2546	// reliable. The value is 2.
2547	ServiceKindStateful ServiceKind = "Stateful"
2548	// ServiceKindStateless Does not use Service Fabric to make its state highly available or reliable. The
2549	// value is 1.
2550	ServiceKindStateless ServiceKind = "Stateless"
2551)
2552
2553// PossibleServiceKindValues returns an array of possible values for the ServiceKind const type.
2554func PossibleServiceKindValues() []ServiceKind {
2555	return []ServiceKind{ServiceKindInvalid, ServiceKindStateful, ServiceKindStateless}
2556}
2557
2558// ServiceKindBasicDeployedServiceReplicaDetailInfo enumerates the values for service kind basic deployed
2559// service replica detail info.
2560type ServiceKindBasicDeployedServiceReplicaDetailInfo string
2561
2562const (
2563	// ServiceKindDeployedServiceReplicaDetailInfo ...
2564	ServiceKindDeployedServiceReplicaDetailInfo ServiceKindBasicDeployedServiceReplicaDetailInfo = "DeployedServiceReplicaDetailInfo"
2565	// ServiceKindStateful1 ...
2566	ServiceKindStateful1 ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateful"
2567	// ServiceKindStateless1 ...
2568	ServiceKindStateless1 ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateless"
2569)
2570
2571// PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues returns an array of possible values for the ServiceKindBasicDeployedServiceReplicaDetailInfo const type.
2572func PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues() []ServiceKindBasicDeployedServiceReplicaDetailInfo {
2573	return []ServiceKindBasicDeployedServiceReplicaDetailInfo{ServiceKindDeployedServiceReplicaDetailInfo, ServiceKindStateful1, ServiceKindStateless1}
2574}
2575
2576// ServiceKindBasicDeployedServiceReplicaInfo enumerates the values for service kind basic deployed service
2577// replica info.
2578type ServiceKindBasicDeployedServiceReplicaInfo string
2579
2580const (
2581	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo ...
2582	ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo ServiceKindBasicDeployedServiceReplicaInfo = "DeployedServiceReplicaInfo"
2583	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful ...
2584	ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful ServiceKindBasicDeployedServiceReplicaInfo = "Stateful"
2585	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless ...
2586	ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless ServiceKindBasicDeployedServiceReplicaInfo = "Stateless"
2587)
2588
2589// PossibleServiceKindBasicDeployedServiceReplicaInfoValues returns an array of possible values for the ServiceKindBasicDeployedServiceReplicaInfo const type.
2590func PossibleServiceKindBasicDeployedServiceReplicaInfoValues() []ServiceKindBasicDeployedServiceReplicaInfo {
2591	return []ServiceKindBasicDeployedServiceReplicaInfo{ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo, ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful, ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless}
2592}
2593
2594// ServiceKindBasicReplicaHealth enumerates the values for service kind basic replica health.
2595type ServiceKindBasicReplicaHealth string
2596
2597const (
2598	// ServiceKindBasicReplicaHealthServiceKindReplicaHealth ...
2599	ServiceKindBasicReplicaHealthServiceKindReplicaHealth ServiceKindBasicReplicaHealth = "ReplicaHealth"
2600	// ServiceKindBasicReplicaHealthServiceKindStateful ...
2601	ServiceKindBasicReplicaHealthServiceKindStateful ServiceKindBasicReplicaHealth = "Stateful"
2602	// ServiceKindBasicReplicaHealthServiceKindStateless ...
2603	ServiceKindBasicReplicaHealthServiceKindStateless ServiceKindBasicReplicaHealth = "Stateless"
2604)
2605
2606// PossibleServiceKindBasicReplicaHealthValues returns an array of possible values for the ServiceKindBasicReplicaHealth const type.
2607func PossibleServiceKindBasicReplicaHealthValues() []ServiceKindBasicReplicaHealth {
2608	return []ServiceKindBasicReplicaHealth{ServiceKindBasicReplicaHealthServiceKindReplicaHealth, ServiceKindBasicReplicaHealthServiceKindStateful, ServiceKindBasicReplicaHealthServiceKindStateless}
2609}
2610
2611// ServiceKindBasicReplicaHealthState enumerates the values for service kind basic replica health state.
2612type ServiceKindBasicReplicaHealthState string
2613
2614const (
2615	// ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ...
2616	ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ServiceKindBasicReplicaHealthState = "ReplicaHealthState"
2617	// ServiceKindBasicReplicaHealthStateServiceKindStateful ...
2618	ServiceKindBasicReplicaHealthStateServiceKindStateful ServiceKindBasicReplicaHealthState = "Stateful"
2619	// ServiceKindBasicReplicaHealthStateServiceKindStateless ...
2620	ServiceKindBasicReplicaHealthStateServiceKindStateless ServiceKindBasicReplicaHealthState = "Stateless"
2621)
2622
2623// PossibleServiceKindBasicReplicaHealthStateValues returns an array of possible values for the ServiceKindBasicReplicaHealthState const type.
2624func PossibleServiceKindBasicReplicaHealthStateValues() []ServiceKindBasicReplicaHealthState {
2625	return []ServiceKindBasicReplicaHealthState{ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState, ServiceKindBasicReplicaHealthStateServiceKindStateful, ServiceKindBasicReplicaHealthStateServiceKindStateless}
2626}
2627
2628// ServiceKindBasicReplicaInfo enumerates the values for service kind basic replica info.
2629type ServiceKindBasicReplicaInfo string
2630
2631const (
2632	// ServiceKindBasicReplicaInfoServiceKindReplicaInfo ...
2633	ServiceKindBasicReplicaInfoServiceKindReplicaInfo ServiceKindBasicReplicaInfo = "ReplicaInfo"
2634	// ServiceKindBasicReplicaInfoServiceKindStateful ...
2635	ServiceKindBasicReplicaInfoServiceKindStateful ServiceKindBasicReplicaInfo = "Stateful"
2636	// ServiceKindBasicReplicaInfoServiceKindStateless ...
2637	ServiceKindBasicReplicaInfoServiceKindStateless ServiceKindBasicReplicaInfo = "Stateless"
2638)
2639
2640// PossibleServiceKindBasicReplicaInfoValues returns an array of possible values for the ServiceKindBasicReplicaInfo const type.
2641func PossibleServiceKindBasicReplicaInfoValues() []ServiceKindBasicReplicaInfo {
2642	return []ServiceKindBasicReplicaInfo{ServiceKindBasicReplicaInfoServiceKindReplicaInfo, ServiceKindBasicReplicaInfoServiceKindStateful, ServiceKindBasicReplicaInfoServiceKindStateless}
2643}
2644
2645// ServiceKindBasicServiceDescription enumerates the values for service kind basic service description.
2646type ServiceKindBasicServiceDescription string
2647
2648const (
2649	// ServiceKindBasicServiceDescriptionServiceKindServiceDescription ...
2650	ServiceKindBasicServiceDescriptionServiceKindServiceDescription ServiceKindBasicServiceDescription = "ServiceDescription"
2651	// ServiceKindBasicServiceDescriptionServiceKindStateful ...
2652	ServiceKindBasicServiceDescriptionServiceKindStateful ServiceKindBasicServiceDescription = "Stateful"
2653	// ServiceKindBasicServiceDescriptionServiceKindStateless ...
2654	ServiceKindBasicServiceDescriptionServiceKindStateless ServiceKindBasicServiceDescription = "Stateless"
2655)
2656
2657// PossibleServiceKindBasicServiceDescriptionValues returns an array of possible values for the ServiceKindBasicServiceDescription const type.
2658func PossibleServiceKindBasicServiceDescriptionValues() []ServiceKindBasicServiceDescription {
2659	return []ServiceKindBasicServiceDescription{ServiceKindBasicServiceDescriptionServiceKindServiceDescription, ServiceKindBasicServiceDescriptionServiceKindStateful, ServiceKindBasicServiceDescriptionServiceKindStateless}
2660}
2661
2662// ServiceKindBasicServiceInfo enumerates the values for service kind basic service info.
2663type ServiceKindBasicServiceInfo string
2664
2665const (
2666	// ServiceKindBasicServiceInfoServiceKindServiceInfo ...
2667	ServiceKindBasicServiceInfoServiceKindServiceInfo ServiceKindBasicServiceInfo = "ServiceInfo"
2668	// ServiceKindBasicServiceInfoServiceKindStateful ...
2669	ServiceKindBasicServiceInfoServiceKindStateful ServiceKindBasicServiceInfo = "Stateful"
2670	// ServiceKindBasicServiceInfoServiceKindStateless ...
2671	ServiceKindBasicServiceInfoServiceKindStateless ServiceKindBasicServiceInfo = "Stateless"
2672)
2673
2674// PossibleServiceKindBasicServiceInfoValues returns an array of possible values for the ServiceKindBasicServiceInfo const type.
2675func PossibleServiceKindBasicServiceInfoValues() []ServiceKindBasicServiceInfo {
2676	return []ServiceKindBasicServiceInfo{ServiceKindBasicServiceInfoServiceKindServiceInfo, ServiceKindBasicServiceInfoServiceKindStateful, ServiceKindBasicServiceInfoServiceKindStateless}
2677}
2678
2679// ServiceKindBasicServicePartitionInfo enumerates the values for service kind basic service partition info.
2680type ServiceKindBasicServicePartitionInfo string
2681
2682const (
2683	// ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ...
2684	ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ServiceKindBasicServicePartitionInfo = "ServicePartitionInfo"
2685	// ServiceKindBasicServicePartitionInfoServiceKindStateful ...
2686	ServiceKindBasicServicePartitionInfoServiceKindStateful ServiceKindBasicServicePartitionInfo = "Stateful"
2687	// ServiceKindBasicServicePartitionInfoServiceKindStateless ...
2688	ServiceKindBasicServicePartitionInfoServiceKindStateless ServiceKindBasicServicePartitionInfo = "Stateless"
2689)
2690
2691// PossibleServiceKindBasicServicePartitionInfoValues returns an array of possible values for the ServiceKindBasicServicePartitionInfo const type.
2692func PossibleServiceKindBasicServicePartitionInfoValues() []ServiceKindBasicServicePartitionInfo {
2693	return []ServiceKindBasicServicePartitionInfo{ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo, ServiceKindBasicServicePartitionInfoServiceKindStateful, ServiceKindBasicServicePartitionInfoServiceKindStateless}
2694}
2695
2696// ServiceKindBasicServiceUpdateDescription enumerates the values for service kind basic service update
2697// description.
2698type ServiceKindBasicServiceUpdateDescription string
2699
2700const (
2701	// ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ...
2702	ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ServiceKindBasicServiceUpdateDescription = "ServiceUpdateDescription"
2703	// ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ...
2704	ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ServiceKindBasicServiceUpdateDescription = "Stateful"
2705	// ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ...
2706	ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ServiceKindBasicServiceUpdateDescription = "Stateless"
2707)
2708
2709// PossibleServiceKindBasicServiceUpdateDescriptionValues returns an array of possible values for the ServiceKindBasicServiceUpdateDescription const type.
2710func PossibleServiceKindBasicServiceUpdateDescriptionValues() []ServiceKindBasicServiceUpdateDescription {
2711	return []ServiceKindBasicServiceUpdateDescription{ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription, ServiceKindBasicServiceUpdateDescriptionServiceKindStateful, ServiceKindBasicServiceUpdateDescriptionServiceKindStateless}
2712}
2713
2714// ServiceLoadMetricWeight enumerates the values for service load metric weight.
2715type ServiceLoadMetricWeight string
2716
2717const (
2718	// ServiceLoadMetricWeightHigh Specifies the metric weight of the service load as High. The value is 3.
2719	ServiceLoadMetricWeightHigh ServiceLoadMetricWeight = "High"
2720	// ServiceLoadMetricWeightLow Specifies the metric weight of the service load as Low. The value is 1.
2721	ServiceLoadMetricWeightLow ServiceLoadMetricWeight = "Low"
2722	// ServiceLoadMetricWeightMedium Specifies the metric weight of the service load as Medium. The value is 2.
2723	ServiceLoadMetricWeightMedium ServiceLoadMetricWeight = "Medium"
2724	// ServiceLoadMetricWeightZero Disables resource balancing for this metric. This value is zero.
2725	ServiceLoadMetricWeightZero ServiceLoadMetricWeight = "Zero"
2726)
2727
2728// PossibleServiceLoadMetricWeightValues returns an array of possible values for the ServiceLoadMetricWeight const type.
2729func PossibleServiceLoadMetricWeightValues() []ServiceLoadMetricWeight {
2730	return []ServiceLoadMetricWeight{ServiceLoadMetricWeightHigh, ServiceLoadMetricWeightLow, ServiceLoadMetricWeightMedium, ServiceLoadMetricWeightZero}
2731}
2732
2733// ServiceOperationName enumerates the values for service operation name.
2734type ServiceOperationName string
2735
2736const (
2737	// ServiceOperationNameAbort The service replica or instance is being aborted.
2738	ServiceOperationNameAbort ServiceOperationName = "Abort"
2739	// ServiceOperationNameChangeRole The service replica is changing roles.
2740	ServiceOperationNameChangeRole ServiceOperationName = "ChangeRole"
2741	// ServiceOperationNameClose The service replica or instance is being closed.
2742	ServiceOperationNameClose ServiceOperationName = "Close"
2743	// ServiceOperationNameNone The service replica or instance is not going through any life-cycle changes.
2744	ServiceOperationNameNone ServiceOperationName = "None"
2745	// ServiceOperationNameOpen The service replica or instance is being opened.
2746	ServiceOperationNameOpen ServiceOperationName = "Open"
2747	// ServiceOperationNameUnknown Reserved for future use.
2748	ServiceOperationNameUnknown ServiceOperationName = "Unknown"
2749)
2750
2751// PossibleServiceOperationNameValues returns an array of possible values for the ServiceOperationName const type.
2752func PossibleServiceOperationNameValues() []ServiceOperationName {
2753	return []ServiceOperationName{ServiceOperationNameAbort, ServiceOperationNameChangeRole, ServiceOperationNameClose, ServiceOperationNameNone, ServiceOperationNameOpen, ServiceOperationNameUnknown}
2754}
2755
2756// ServicePackageActivationMode enumerates the values for service package activation mode.
2757type ServicePackageActivationMode string
2758
2759const (
2760	// ExclusiveProcess With this activation mode, each replica or instance of service, on a given node, will
2761	// have its own dedicated activation of service package on a node. The value is 1.
2762	ExclusiveProcess ServicePackageActivationMode = "ExclusiveProcess"
2763	// SharedProcess This is the default activation mode. With this activation mode, replicas or instances from
2764	// different partition(s) of service, on a given node, will share same activation of service package on a
2765	// node. The value is zero.
2766	SharedProcess ServicePackageActivationMode = "SharedProcess"
2767)
2768
2769// PossibleServicePackageActivationModeValues returns an array of possible values for the ServicePackageActivationMode const type.
2770func PossibleServicePackageActivationModeValues() []ServicePackageActivationMode {
2771	return []ServicePackageActivationMode{ExclusiveProcess, SharedProcess}
2772}
2773
2774// ServicePartitionKind enumerates the values for service partition kind.
2775type ServicePartitionKind string
2776
2777const (
2778	// ServicePartitionKindInt64Range Indicates that the partition is based on Int64 key ranges, and
2779	// UniformInt64RangePartitionSchemeDescription was specified while creating the service. The value is 2.
2780	ServicePartitionKindInt64Range ServicePartitionKind = "Int64Range"
2781	// ServicePartitionKindInvalid Indicates the partition kind is invalid. All Service Fabric enumerations
2782	// have the invalid type. The value is zero.
2783	ServicePartitionKindInvalid ServicePartitionKind = "Invalid"
2784	// ServicePartitionKindNamed Indicates that the partition is based on string names, and
2785	// NamedPartitionInformation  was specified while creating the service. The value is 3.
2786	ServicePartitionKindNamed ServicePartitionKind = "Named"
2787	// ServicePartitionKindSingleton Indicates that there is only one partition, and
2788	// SingletonPartitionSchemeDescription was specified while creating the service. The value is 1.
2789	ServicePartitionKindSingleton ServicePartitionKind = "Singleton"
2790)
2791
2792// PossibleServicePartitionKindValues returns an array of possible values for the ServicePartitionKind const type.
2793func PossibleServicePartitionKindValues() []ServicePartitionKind {
2794	return []ServicePartitionKind{ServicePartitionKindInt64Range, ServicePartitionKindInvalid, ServicePartitionKindNamed, ServicePartitionKindSingleton}
2795}
2796
2797// ServicePartitionKindBasicPartitionInformation enumerates the values for service partition kind basic
2798// partition information.
2799type ServicePartitionKindBasicPartitionInformation string
2800
2801const (
2802	// ServicePartitionKindInt64Range1 ...
2803	ServicePartitionKindInt64Range1 ServicePartitionKindBasicPartitionInformation = "Int64Range"
2804	// ServicePartitionKindNamed1 ...
2805	ServicePartitionKindNamed1 ServicePartitionKindBasicPartitionInformation = "Named"
2806	// ServicePartitionKindPartitionInformation ...
2807	ServicePartitionKindPartitionInformation ServicePartitionKindBasicPartitionInformation = "PartitionInformation"
2808	// ServicePartitionKindSingleton1 ...
2809	ServicePartitionKindSingleton1 ServicePartitionKindBasicPartitionInformation = "Singleton"
2810)
2811
2812// PossibleServicePartitionKindBasicPartitionInformationValues returns an array of possible values for the ServicePartitionKindBasicPartitionInformation const type.
2813func PossibleServicePartitionKindBasicPartitionInformationValues() []ServicePartitionKindBasicPartitionInformation {
2814	return []ServicePartitionKindBasicPartitionInformation{ServicePartitionKindInt64Range1, ServicePartitionKindNamed1, ServicePartitionKindPartitionInformation, ServicePartitionKindSingleton1}
2815}
2816
2817// ServicePartitionStatus enumerates the values for service partition status.
2818type ServicePartitionStatus string
2819
2820const (
2821	// ServicePartitionStatusDeleting Indicates that the partition is being deleted. The value is 5.
2822	ServicePartitionStatusDeleting ServicePartitionStatus = "Deleting"
2823	// ServicePartitionStatusInQuorumLoss Indicates that the partition is in quorum loss. This means that
2824	// number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for
2825	// this partition. The value is 3.
2826	ServicePartitionStatusInQuorumLoss ServicePartitionStatus = "InQuorumLoss"
2827	// ServicePartitionStatusInvalid Indicates the partition status is invalid. All Service Fabric enumerations
2828	// have the invalid type. The value is zero.
2829	ServicePartitionStatusInvalid ServicePartitionStatus = "Invalid"
2830	// ServicePartitionStatusNotReady Indicates that the partition is not ready. This status is returned when
2831	// none of the other states apply. The value is 2.
2832	ServicePartitionStatusNotReady ServicePartitionStatus = "NotReady"
2833	// ServicePartitionStatusReady Indicates that the partition is ready. This means that for a stateless
2834	// service partition there is at least one instance that is up and for a stateful service partition the
2835	// number of ready replicas is greater than or equal to the MinReplicaSetSize. The value is 1.
2836	ServicePartitionStatusReady ServicePartitionStatus = "Ready"
2837	// ServicePartitionStatusReconfiguring Indicates that the partition is undergoing reconfiguration of its
2838	// replica sets. This can happen due to failover, upgrade, load balancing or addition or removal of
2839	// replicas from the replica set. The value is 4.
2840	ServicePartitionStatusReconfiguring ServicePartitionStatus = "Reconfiguring"
2841)
2842
2843// PossibleServicePartitionStatusValues returns an array of possible values for the ServicePartitionStatus const type.
2844func PossibleServicePartitionStatusValues() []ServicePartitionStatus {
2845	return []ServicePartitionStatus{ServicePartitionStatusDeleting, ServicePartitionStatusInQuorumLoss, ServicePartitionStatusInvalid, ServicePartitionStatusNotReady, ServicePartitionStatusReady, ServicePartitionStatusReconfiguring}
2846}
2847
2848// ServicePlacementPolicyType enumerates the values for service placement policy type.
2849type ServicePlacementPolicyType string
2850
2851const (
2852	// ServicePlacementPolicyTypeInvalid Indicates the type of the placement policy is invalid. All Service
2853	// Fabric enumerations have the invalid type. The value is zero.
2854	ServicePlacementPolicyTypeInvalid ServicePlacementPolicyType = "Invalid"
2855	// ServicePlacementPolicyTypeInvalidDomain Indicates that the ServicePlacementPolicyDescription is of type
2856	// ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade
2857	// domain cannot be used for placement of this service. The value is 1.
2858	ServicePlacementPolicyTypeInvalidDomain ServicePlacementPolicyType = "InvalidDomain"
2859	// ServicePlacementPolicyTypeNonPartiallyPlaceService Indicates that the ServicePlacementPolicyDescription
2860	// is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible
2861	// all replicas of a particular partition of the service should be placed atomically. The value is 5.
2862	ServicePlacementPolicyTypeNonPartiallyPlaceService ServicePlacementPolicyType = "NonPartiallyPlaceService"
2863	// ServicePlacementPolicyTypePreferredPrimaryDomain Indicates that the ServicePlacementPolicyDescription is
2864	// of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the
2865	// Primary replica for the partitions of the service should be located in a particular domain as an
2866	// optimization. The value is 3.
2867	ServicePlacementPolicyTypePreferredPrimaryDomain ServicePlacementPolicyType = "PreferredPrimaryDomain"
2868	// ServicePlacementPolicyTypeRequiredDomain Indicates that the ServicePlacementPolicyDescription is of type
2869	// ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service
2870	// must be placed in a specific domain. The value is 2.
2871	ServicePlacementPolicyTypeRequiredDomain ServicePlacementPolicyType = "RequiredDomain"
2872	// ServicePlacementPolicyTypeRequiredDomainDistribution Indicates that the
2873	// ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription,
2874	// indicating that the system will disallow placement of any two replicas from the same partition in the
2875	// same domain at any time. The value is 4.
2876	ServicePlacementPolicyTypeRequiredDomainDistribution ServicePlacementPolicyType = "RequiredDomainDistribution"
2877)
2878
2879// PossibleServicePlacementPolicyTypeValues returns an array of possible values for the ServicePlacementPolicyType const type.
2880func PossibleServicePlacementPolicyTypeValues() []ServicePlacementPolicyType {
2881	return []ServicePlacementPolicyType{ServicePlacementPolicyTypeInvalid, ServicePlacementPolicyTypeInvalidDomain, ServicePlacementPolicyTypeNonPartiallyPlaceService, ServicePlacementPolicyTypePreferredPrimaryDomain, ServicePlacementPolicyTypeRequiredDomain, ServicePlacementPolicyTypeRequiredDomainDistribution}
2882}
2883
2884// ServiceStatus enumerates the values for service status.
2885type ServiceStatus string
2886
2887const (
2888	// ServiceStatusActive Indicates the service status is active. The value is 1.
2889	ServiceStatusActive ServiceStatus = "Active"
2890	// ServiceStatusCreating Indicates the service is being created. The value is 4.
2891	ServiceStatusCreating ServiceStatus = "Creating"
2892	// ServiceStatusDeleting Indicates the service is being deleted. The value is 3.
2893	ServiceStatusDeleting ServiceStatus = "Deleting"
2894	// ServiceStatusFailed Indicates creation or deletion was terminated due to persistent failures. Another
2895	// create/delete request can be accepted. The value is 5.
2896	ServiceStatusFailed ServiceStatus = "Failed"
2897	// ServiceStatusUnknown Indicates the service status is unknown. The value is zero.
2898	ServiceStatusUnknown ServiceStatus = "Unknown"
2899	// ServiceStatusUpgrading Indicates the service is upgrading. The value is 2.
2900	ServiceStatusUpgrading ServiceStatus = "Upgrading"
2901)
2902
2903// PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
2904func PossibleServiceStatusValues() []ServiceStatus {
2905	return []ServiceStatus{ServiceStatusActive, ServiceStatusCreating, ServiceStatusDeleting, ServiceStatusFailed, ServiceStatusUnknown, ServiceStatusUpgrading}
2906}
2907
2908// ServiceTypeRegistrationStatus enumerates the values for service type registration status.
2909type ServiceTypeRegistrationStatus string
2910
2911const (
2912	// ServiceTypeRegistrationStatusDisabled Indicates that the service type is disabled on this node. A type
2913	// gets disabled when there are too many failures of the code package hosting the service type. If the
2914	// service type is disabled, new replicas of that service type will not be placed on the node until it is
2915	// enabled again. The service type is enabled again after the process hosting it comes up and re-registers
2916	// the type or a preconfigured time interval has passed. The value is 1.
2917	ServiceTypeRegistrationStatusDisabled ServiceTypeRegistrationStatus = "Disabled"
2918	// ServiceTypeRegistrationStatusEnabled Indicates that the service type is enabled on this node. Replicas
2919	// of this service type can be placed on this node when the code package registers the service type. The
2920	// value is 2.
2921	ServiceTypeRegistrationStatusEnabled ServiceTypeRegistrationStatus = "Enabled"
2922	// ServiceTypeRegistrationStatusInvalid Indicates the registration status is invalid. All Service Fabric
2923	// enumerations have the invalid type. The value is zero.
2924	ServiceTypeRegistrationStatusInvalid ServiceTypeRegistrationStatus = "Invalid"
2925	// ServiceTypeRegistrationStatusRegistered Indicates that the service type is enabled and registered on the
2926	// node by a code package. Replicas of this service type can now be placed on this node. The value is 3.
2927	ServiceTypeRegistrationStatusRegistered ServiceTypeRegistrationStatus = "Registered"
2928)
2929
2930// PossibleServiceTypeRegistrationStatusValues returns an array of possible values for the ServiceTypeRegistrationStatus const type.
2931func PossibleServiceTypeRegistrationStatusValues() []ServiceTypeRegistrationStatus {
2932	return []ServiceTypeRegistrationStatus{ServiceTypeRegistrationStatusDisabled, ServiceTypeRegistrationStatusEnabled, ServiceTypeRegistrationStatusInvalid, ServiceTypeRegistrationStatusRegistered}
2933}
2934
2935// State enumerates the values for state.
2936type State string
2937
2938const (
2939	// StateApproved Indicates that the repair task has been approved by the Repair Manager and is safe to
2940	// execute.
2941	StateApproved State = "Approved"
2942	// StateClaimed Indicates that the repair task has been claimed by a repair executor.
2943	StateClaimed State = "Claimed"
2944	// StateCompleted Indicates that the repair task has completed, and no further state changes will occur.
2945	StateCompleted State = "Completed"
2946	// StateCreated Indicates that the repair task has been created.
2947	StateCreated State = "Created"
2948	// StateExecuting Indicates that execution of the repair task is in progress.
2949	StateExecuting State = "Executing"
2950	// StateInvalid Indicates that the repair task state is invalid. All Service Fabric enumerations have the
2951	// invalid value.
2952	StateInvalid State = "Invalid"
2953	// StatePreparing Indicates that the Repair Manager is preparing the system to handle the impact of the
2954	// repair task, usually by taking resources offline gracefully.
2955	StatePreparing State = "Preparing"
2956	// StateRestoring Indicates that the Repair Manager is restoring the system to its pre-repair state,
2957	// usually by bringing resources back online.
2958	StateRestoring State = "Restoring"
2959)
2960
2961// PossibleStateValues returns an array of possible values for the State const type.
2962func PossibleStateValues() []State {
2963	return []State{StateApproved, StateClaimed, StateCompleted, StateCreated, StateExecuting, StateInvalid, StatePreparing, StateRestoring}
2964}
2965
2966// StorageKind enumerates the values for storage kind.
2967type StorageKind string
2968
2969const (
2970	// StorageKindAzureBlobStore ...
2971	StorageKindAzureBlobStore StorageKind = "AzureBlobStore"
2972	// StorageKindBackupStorageDescription ...
2973	StorageKindBackupStorageDescription StorageKind = "BackupStorageDescription"
2974	// StorageKindFileShare ...
2975	StorageKindFileShare StorageKind = "FileShare"
2976)
2977
2978// PossibleStorageKindValues returns an array of possible values for the StorageKind const type.
2979func PossibleStorageKindValues() []StorageKind {
2980	return []StorageKind{StorageKindAzureBlobStore, StorageKindBackupStorageDescription, StorageKindFileShare}
2981}
2982
2983// Type enumerates the values for type.
2984type Type string
2985
2986const (
2987	// TypeInvalidDomain ...
2988	TypeInvalidDomain Type = "InvalidDomain"
2989	// TypeNonPartiallyPlaceService ...
2990	TypeNonPartiallyPlaceService Type = "NonPartiallyPlaceService"
2991	// TypePreferredPrimaryDomain ...
2992	TypePreferredPrimaryDomain Type = "PreferredPrimaryDomain"
2993	// TypeRequiredDomain ...
2994	TypeRequiredDomain Type = "RequiredDomain"
2995	// TypeRequiredDomainDistribution ...
2996	TypeRequiredDomainDistribution Type = "RequiredDomainDistribution"
2997	// TypeServicePlacementPolicyDescription ...
2998	TypeServicePlacementPolicyDescription Type = "ServicePlacementPolicyDescription"
2999)
3000
3001// PossibleTypeValues returns an array of possible values for the Type const type.
3002func PossibleTypeValues() []Type {
3003	return []Type{TypeInvalidDomain, TypeNonPartiallyPlaceService, TypePreferredPrimaryDomain, TypeRequiredDomain, TypeRequiredDomainDistribution, TypeServicePlacementPolicyDescription}
3004}
3005
3006// UpgradeDomainState enumerates the values for upgrade domain state.
3007type UpgradeDomainState string
3008
3009const (
3010	// UpgradeDomainStateCompleted The upgrade domain has completed upgrade. The value is 3
3011	UpgradeDomainStateCompleted UpgradeDomainState = "Completed"
3012	// UpgradeDomainStateInProgress The upgrade domain is being upgraded but not complete yet. The value is 2
3013	UpgradeDomainStateInProgress UpgradeDomainState = "InProgress"
3014	// UpgradeDomainStateInvalid Indicates the upgrade domain state is invalid. All Service Fabric enumerations
3015	// have the invalid type. The value is zero.
3016	UpgradeDomainStateInvalid UpgradeDomainState = "Invalid"
3017	// UpgradeDomainStatePending The upgrade domain has not started upgrading yet. The value is 1
3018	UpgradeDomainStatePending UpgradeDomainState = "Pending"
3019)
3020
3021// PossibleUpgradeDomainStateValues returns an array of possible values for the UpgradeDomainState const type.
3022func PossibleUpgradeDomainStateValues() []UpgradeDomainState {
3023	return []UpgradeDomainState{UpgradeDomainStateCompleted, UpgradeDomainStateInProgress, UpgradeDomainStateInvalid, UpgradeDomainStatePending}
3024}
3025
3026// UpgradeKind enumerates the values for upgrade kind.
3027type UpgradeKind string
3028
3029const (
3030	// UpgradeKindInvalid Indicates the upgrade kind is invalid. All Service Fabric enumerations have the
3031	// invalid type. The value is zero.
3032	UpgradeKindInvalid UpgradeKind = "Invalid"
3033	// UpgradeKindRolling The upgrade progresses one upgrade domain at a time. The value is 1
3034	UpgradeKindRolling UpgradeKind = "Rolling"
3035)
3036
3037// PossibleUpgradeKindValues returns an array of possible values for the UpgradeKind const type.
3038func PossibleUpgradeKindValues() []UpgradeKind {
3039	return []UpgradeKind{UpgradeKindInvalid, UpgradeKindRolling}
3040}
3041
3042// UpgradeMode enumerates the values for upgrade mode.
3043type UpgradeMode string
3044
3045const (
3046	// UpgradeModeInvalid Indicates the upgrade mode is invalid. All Service Fabric enumerations have the
3047	// invalid type. The value is zero.
3048	UpgradeModeInvalid UpgradeMode = "Invalid"
3049	// UpgradeModeMonitored The upgrade will stop after completing each upgrade domain and automatically
3050	// monitor health before proceeding. The value is 3
3051	UpgradeModeMonitored UpgradeMode = "Monitored"
3052	// UpgradeModeUnmonitoredAuto The upgrade will proceed automatically without performing any health
3053	// monitoring. The value is 1
3054	UpgradeModeUnmonitoredAuto UpgradeMode = "UnmonitoredAuto"
3055	// UpgradeModeUnmonitoredManual The upgrade will stop after completing each upgrade domain, giving the
3056	// opportunity to manually monitor health before proceeding. The value is 2
3057	UpgradeModeUnmonitoredManual UpgradeMode = "UnmonitoredManual"
3058)
3059
3060// PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
3061func PossibleUpgradeModeValues() []UpgradeMode {
3062	return []UpgradeMode{UpgradeModeInvalid, UpgradeModeMonitored, UpgradeModeUnmonitoredAuto, UpgradeModeUnmonitoredManual}
3063}
3064
3065// UpgradeState enumerates the values for upgrade state.
3066type UpgradeState string
3067
3068const (
3069	// UpgradeStateFailed The upgrade has failed and is unable to execute FailureAction. The value is 6
3070	UpgradeStateFailed UpgradeState = "Failed"
3071	// UpgradeStateInvalid Indicates the upgrade state is invalid. All Service Fabric enumerations have the
3072	// invalid type. The value is zero.
3073	UpgradeStateInvalid UpgradeState = "Invalid"
3074	// UpgradeStateRollingBackCompleted The upgrade has finished rolling back. The value is 2
3075	UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted"
3076	// UpgradeStateRollingBackInProgress The upgrade is rolling back to the previous version but is not
3077	// complete yet. The value is 1
3078	UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress"
3079	// UpgradeStateRollingForwardCompleted The upgrade has finished rolling forward. The value is 5
3080	UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted"
3081	// UpgradeStateRollingForwardInProgress The upgrade is rolling forward to the target version but is not
3082	// complete yet. The value is 4
3083	UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress"
3084	// UpgradeStateRollingForwardPending The current upgrade domain has finished upgrading. The overall upgrade
3085	// is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in
3086	// Monitored mode. The value is 3
3087	UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending"
3088)
3089
3090// PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.
3091func PossibleUpgradeStateValues() []UpgradeState {
3092	return []UpgradeState{UpgradeStateFailed, UpgradeStateInvalid, UpgradeStateRollingBackCompleted, UpgradeStateRollingBackInProgress, UpgradeStateRollingForwardCompleted, UpgradeStateRollingForwardInProgress, UpgradeStateRollingForwardPending}
3093}
3094
3095// UpgradeType enumerates the values for upgrade type.
3096type UpgradeType string
3097
3098const (
3099	// UpgradeTypeInvalid Indicates the upgrade kind is invalid. All Service Fabric enumerations have the
3100	// invalid type. The value is zero.
3101	UpgradeTypeInvalid UpgradeType = "Invalid"
3102	// UpgradeTypeRolling The upgrade progresses one upgrade domain at a time. The value is 1.
3103	UpgradeTypeRolling UpgradeType = "Rolling"
3104	// UpgradeTypeRollingForceRestart The upgrade gets restarted by force. The value is 2.
3105	UpgradeTypeRollingForceRestart UpgradeType = "Rolling_ForceRestart"
3106)
3107
3108// PossibleUpgradeTypeValues returns an array of possible values for the UpgradeType const type.
3109func PossibleUpgradeTypeValues() []UpgradeType {
3110	return []UpgradeType{UpgradeTypeInvalid, UpgradeTypeRolling, UpgradeTypeRollingForceRestart}
3111}
3112