1package storagesync
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// ChangeDetectionMode enumerates the values for change detection mode.
10type ChangeDetectionMode string
11
12const (
13	// Default ...
14	Default ChangeDetectionMode = "Default"
15	// Recursive ...
16	Recursive ChangeDetectionMode = "Recursive"
17)
18
19// PossibleChangeDetectionModeValues returns an array of possible values for the ChangeDetectionMode const type.
20func PossibleChangeDetectionModeValues() []ChangeDetectionMode {
21	return []ChangeDetectionMode{Default, Recursive}
22}
23
24// FeatureStatus enumerates the values for feature status.
25type FeatureStatus string
26
27const (
28	// Off ...
29	Off FeatureStatus = "off"
30	// On ...
31	On FeatureStatus = "on"
32)
33
34// PossibleFeatureStatusValues returns an array of possible values for the FeatureStatus const type.
35func PossibleFeatureStatusValues() []FeatureStatus {
36	return []FeatureStatus{Off, On}
37}
38
39// IncomingTrafficPolicy enumerates the values for incoming traffic policy.
40type IncomingTrafficPolicy string
41
42const (
43	// AllowAllTraffic ...
44	AllowAllTraffic IncomingTrafficPolicy = "AllowAllTraffic"
45	// AllowVirtualNetworksOnly ...
46	AllowVirtualNetworksOnly IncomingTrafficPolicy = "AllowVirtualNetworksOnly"
47)
48
49// PossibleIncomingTrafficPolicyValues returns an array of possible values for the IncomingTrafficPolicy const type.
50func PossibleIncomingTrafficPolicyValues() []IncomingTrafficPolicy {
51	return []IncomingTrafficPolicy{AllowAllTraffic, AllowVirtualNetworksOnly}
52}
53
54// InitialDownloadPolicy enumerates the values for initial download policy.
55type InitialDownloadPolicy string
56
57const (
58	// AvoidTieredFiles ...
59	AvoidTieredFiles InitialDownloadPolicy = "AvoidTieredFiles"
60	// NamespaceOnly ...
61	NamespaceOnly InitialDownloadPolicy = "NamespaceOnly"
62	// NamespaceThenModifiedFiles ...
63	NamespaceThenModifiedFiles InitialDownloadPolicy = "NamespaceThenModifiedFiles"
64)
65
66// PossibleInitialDownloadPolicyValues returns an array of possible values for the InitialDownloadPolicy const type.
67func PossibleInitialDownloadPolicyValues() []InitialDownloadPolicy {
68	return []InitialDownloadPolicy{AvoidTieredFiles, NamespaceOnly, NamespaceThenModifiedFiles}
69}
70
71// LocalCacheMode enumerates the values for local cache mode.
72type LocalCacheMode string
73
74const (
75	// DownloadNewAndModifiedFiles ...
76	DownloadNewAndModifiedFiles LocalCacheMode = "DownloadNewAndModifiedFiles"
77	// UpdateLocallyCachedFiles ...
78	UpdateLocallyCachedFiles LocalCacheMode = "UpdateLocallyCachedFiles"
79)
80
81// PossibleLocalCacheModeValues returns an array of possible values for the LocalCacheMode const type.
82func PossibleLocalCacheModeValues() []LocalCacheMode {
83	return []LocalCacheMode{DownloadNewAndModifiedFiles, UpdateLocallyCachedFiles}
84}
85
86// NameAvailabilityReason enumerates the values for name availability reason.
87type NameAvailabilityReason string
88
89const (
90	// AlreadyExists ...
91	AlreadyExists NameAvailabilityReason = "AlreadyExists"
92	// Invalid ...
93	Invalid NameAvailabilityReason = "Invalid"
94)
95
96// PossibleNameAvailabilityReasonValues returns an array of possible values for the NameAvailabilityReason const type.
97func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason {
98	return []NameAvailabilityReason{AlreadyExists, Invalid}
99}
100
101// OperationDirection enumerates the values for operation direction.
102type OperationDirection string
103
104const (
105	// Cancel ...
106	Cancel OperationDirection = "cancel"
107	// Do ...
108	Do OperationDirection = "do"
109	// Undo ...
110	Undo OperationDirection = "undo"
111)
112
113// PossibleOperationDirectionValues returns an array of possible values for the OperationDirection const type.
114func PossibleOperationDirectionValues() []OperationDirection {
115	return []OperationDirection{Cancel, Do, Undo}
116}
117
118// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection
119// provisioning state.
120type PrivateEndpointConnectionProvisioningState string
121
122const (
123	// Creating ...
124	Creating PrivateEndpointConnectionProvisioningState = "Creating"
125	// Deleting ...
126	Deleting PrivateEndpointConnectionProvisioningState = "Deleting"
127	// Failed ...
128	Failed PrivateEndpointConnectionProvisioningState = "Failed"
129	// Succeeded ...
130	Succeeded PrivateEndpointConnectionProvisioningState = "Succeeded"
131)
132
133// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
134func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
135	return []PrivateEndpointConnectionProvisioningState{Creating, Deleting, Failed, Succeeded}
136}
137
138// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
139type PrivateEndpointServiceConnectionStatus string
140
141const (
142	// Approved ...
143	Approved PrivateEndpointServiceConnectionStatus = "Approved"
144	// Pending ...
145	Pending PrivateEndpointServiceConnectionStatus = "Pending"
146	// Rejected ...
147	Rejected PrivateEndpointServiceConnectionStatus = "Rejected"
148)
149
150// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
151func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
152	return []PrivateEndpointServiceConnectionStatus{Approved, Pending, Rejected}
153}
154
155// ProgressType enumerates the values for progress type.
156type ProgressType string
157
158const (
159	// Download ...
160	Download ProgressType = "download"
161	// Initialize ...
162	Initialize ProgressType = "initialize"
163	// None ...
164	None ProgressType = "none"
165	// Recall ...
166	Recall ProgressType = "recall"
167	// Upload ...
168	Upload ProgressType = "upload"
169)
170
171// PossibleProgressTypeValues returns an array of possible values for the ProgressType const type.
172func PossibleProgressTypeValues() []ProgressType {
173	return []ProgressType{Download, Initialize, None, Recall, Upload}
174}
175
176// Reason enumerates the values for reason.
177type Reason string
178
179const (
180	// Deleted ...
181	Deleted Reason = "Deleted"
182	// Registered ...
183	Registered Reason = "Registered"
184	// Suspended ...
185	Suspended Reason = "Suspended"
186	// Unregistered ...
187	Unregistered Reason = "Unregistered"
188	// Warned ...
189	Warned Reason = "Warned"
190)
191
192// PossibleReasonValues returns an array of possible values for the Reason const type.
193func PossibleReasonValues() []Reason {
194	return []Reason{Deleted, Registered, Suspended, Unregistered, Warned}
195}
196
197// ServerEndpointCloudTieringHealthState enumerates the values for server endpoint cloud tiering health state.
198type ServerEndpointCloudTieringHealthState string
199
200const (
201	// ServerEndpointCloudTieringHealthStateError ...
202	ServerEndpointCloudTieringHealthStateError ServerEndpointCloudTieringHealthState = "Error"
203	// ServerEndpointCloudTieringHealthStateHealthy ...
204	ServerEndpointCloudTieringHealthStateHealthy ServerEndpointCloudTieringHealthState = "Healthy"
205)
206
207// PossibleServerEndpointCloudTieringHealthStateValues returns an array of possible values for the ServerEndpointCloudTieringHealthState const type.
208func PossibleServerEndpointCloudTieringHealthStateValues() []ServerEndpointCloudTieringHealthState {
209	return []ServerEndpointCloudTieringHealthState{ServerEndpointCloudTieringHealthStateError, ServerEndpointCloudTieringHealthStateHealthy}
210}
211
212// ServerEndpointOfflineDataTransferState enumerates the values for server endpoint offline data transfer
213// state.
214type ServerEndpointOfflineDataTransferState string
215
216const (
217	// Complete ...
218	Complete ServerEndpointOfflineDataTransferState = "Complete"
219	// InProgress ...
220	InProgress ServerEndpointOfflineDataTransferState = "InProgress"
221	// NotRunning ...
222	NotRunning ServerEndpointOfflineDataTransferState = "NotRunning"
223	// Stopping ...
224	Stopping ServerEndpointOfflineDataTransferState = "Stopping"
225)
226
227// PossibleServerEndpointOfflineDataTransferStateValues returns an array of possible values for the ServerEndpointOfflineDataTransferState const type.
228func PossibleServerEndpointOfflineDataTransferStateValues() []ServerEndpointOfflineDataTransferState {
229	return []ServerEndpointOfflineDataTransferState{Complete, InProgress, NotRunning, Stopping}
230}
231
232// ServerEndpointSyncActivityState enumerates the values for server endpoint sync activity state.
233type ServerEndpointSyncActivityState string
234
235const (
236	// ServerEndpointSyncActivityStateDownload ...
237	ServerEndpointSyncActivityStateDownload ServerEndpointSyncActivityState = "Download"
238	// ServerEndpointSyncActivityStateUpload ...
239	ServerEndpointSyncActivityStateUpload ServerEndpointSyncActivityState = "Upload"
240	// ServerEndpointSyncActivityStateUploadAndDownload ...
241	ServerEndpointSyncActivityStateUploadAndDownload ServerEndpointSyncActivityState = "UploadAndDownload"
242)
243
244// PossibleServerEndpointSyncActivityStateValues returns an array of possible values for the ServerEndpointSyncActivityState const type.
245func PossibleServerEndpointSyncActivityStateValues() []ServerEndpointSyncActivityState {
246	return []ServerEndpointSyncActivityState{ServerEndpointSyncActivityStateDownload, ServerEndpointSyncActivityStateUpload, ServerEndpointSyncActivityStateUploadAndDownload}
247}
248
249// ServerEndpointSyncHealthState enumerates the values for server endpoint sync health state.
250type ServerEndpointSyncHealthState string
251
252const (
253	// ServerEndpointSyncHealthStateError ...
254	ServerEndpointSyncHealthStateError ServerEndpointSyncHealthState = "Error"
255	// ServerEndpointSyncHealthStateHealthy ...
256	ServerEndpointSyncHealthStateHealthy ServerEndpointSyncHealthState = "Healthy"
257	// ServerEndpointSyncHealthStateNoActivity ...
258	ServerEndpointSyncHealthStateNoActivity ServerEndpointSyncHealthState = "NoActivity"
259	// ServerEndpointSyncHealthStateSyncBlockedForChangeDetectionPostRestore ...
260	ServerEndpointSyncHealthStateSyncBlockedForChangeDetectionPostRestore ServerEndpointSyncHealthState = "SyncBlockedForChangeDetectionPostRestore"
261	// ServerEndpointSyncHealthStateSyncBlockedForRestore ...
262	ServerEndpointSyncHealthStateSyncBlockedForRestore ServerEndpointSyncHealthState = "SyncBlockedForRestore"
263)
264
265// PossibleServerEndpointSyncHealthStateValues returns an array of possible values for the ServerEndpointSyncHealthState const type.
266func PossibleServerEndpointSyncHealthStateValues() []ServerEndpointSyncHealthState {
267	return []ServerEndpointSyncHealthState{ServerEndpointSyncHealthStateError, ServerEndpointSyncHealthStateHealthy, ServerEndpointSyncHealthStateNoActivity, ServerEndpointSyncHealthStateSyncBlockedForChangeDetectionPostRestore, ServerEndpointSyncHealthStateSyncBlockedForRestore}
268}
269
270// WorkflowStatus enumerates the values for workflow status.
271type WorkflowStatus string
272
273const (
274	// WorkflowStatusAborted ...
275	WorkflowStatusAborted WorkflowStatus = "aborted"
276	// WorkflowStatusActive ...
277	WorkflowStatusActive WorkflowStatus = "active"
278	// WorkflowStatusExpired ...
279	WorkflowStatusExpired WorkflowStatus = "expired"
280	// WorkflowStatusFailed ...
281	WorkflowStatusFailed WorkflowStatus = "failed"
282	// WorkflowStatusSucceeded ...
283	WorkflowStatusSucceeded WorkflowStatus = "succeeded"
284)
285
286// PossibleWorkflowStatusValues returns an array of possible values for the WorkflowStatus const type.
287func PossibleWorkflowStatusValues() []WorkflowStatus {
288	return []WorkflowStatus{WorkflowStatusAborted, WorkflowStatusActive, WorkflowStatusExpired, WorkflowStatusFailed, WorkflowStatusSucceeded}
289}
290