@azure/arm-storagesync 9.1.1-alpha.20250618.1 → 9.1.1-alpha.20250717.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1557 +1,1557 @@
1
- ## API Report File for "@azure/arm-storagesync"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
- import { PollerLike } from '@azure/core-lro';
11
- import { PollOperationState } from '@azure/core-lro';
12
-
13
- // @public
14
- export interface BackupRequest {
15
- azureFileShare?: string;
16
- }
17
-
18
- // @public
19
- export type ChangeDetectionMode = string;
20
-
21
- // @public
22
- export interface CheckNameAvailabilityParameters {
23
- name: string;
24
- type: "Microsoft.StorageSync/storageSyncServices";
25
- }
26
-
27
- // @public
28
- export interface CheckNameAvailabilityResult {
29
- readonly message?: string;
30
- readonly nameAvailable?: boolean;
31
- readonly reason?: NameAvailabilityReason;
32
- }
33
-
34
- // @public
35
- export interface CloudEndpoint extends ProxyResource {
36
- azureFileShareName?: string;
37
- readonly backupEnabled?: string;
38
- readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
39
- friendlyName?: string;
40
- lastOperationName?: string;
41
- lastWorkflowId?: string;
42
- partnershipId?: string;
43
- provisioningState?: string;
44
- storageAccountResourceId?: string;
45
- storageAccountTenantId?: string;
46
- }
47
-
48
- // @public
49
- export interface CloudEndpointArray {
50
- value?: CloudEndpoint[];
51
- }
52
-
53
- // @public
54
- export interface CloudEndpointChangeEnumerationActivity {
55
- readonly deletesProgressPercent?: number;
56
- readonly lastUpdatedTimestamp?: Date;
57
- readonly minutesRemaining?: number;
58
- readonly operationState?: CloudEndpointChangeEnumerationActivityState;
59
- readonly processedDirectoriesCount?: number;
60
- readonly processedFilesCount?: number;
61
- readonly progressPercent?: number;
62
- readonly startedTimestamp?: Date;
63
- readonly statusCode?: number;
64
- readonly totalCountsState?: CloudEndpointChangeEnumerationTotalCountsState;
65
- readonly totalDirectoriesCount?: number;
66
- readonly totalFilesCount?: number;
67
- readonly totalSizeBytes?: number;
68
- }
69
-
70
- // @public
71
- export type CloudEndpointChangeEnumerationActivityState = string;
72
-
73
- // @public
74
- export interface CloudEndpointChangeEnumerationStatus {
75
- readonly activity?: CloudEndpointChangeEnumerationActivity;
76
- readonly lastEnumerationStatus?: CloudEndpointLastChangeEnumerationStatus;
77
- readonly lastUpdatedTimestamp?: Date;
78
- }
79
-
80
- // @public
81
- export type CloudEndpointChangeEnumerationTotalCountsState = string;
82
-
83
- // @public
84
- export interface CloudEndpointCreateParameters extends ProxyResource {
85
- azureFileShareName?: string;
86
- friendlyName?: string;
87
- storageAccountResourceId?: string;
88
- storageAccountTenantId?: string;
89
- }
90
-
91
- // @public
92
- export interface CloudEndpointLastChangeEnumerationStatus {
93
- readonly completedTimestamp?: Date;
94
- readonly namespaceDirectoriesCount?: number;
95
- readonly namespaceFilesCount?: number;
96
- readonly namespaceSizeBytes?: number;
97
- readonly nextRunTimestamp?: Date;
98
- readonly startedTimestamp?: Date;
99
- }
100
-
101
- // @public
102
- export interface CloudEndpoints {
103
- beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsCreateResponse>, CloudEndpointsCreateResponse>>;
104
- beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<CloudEndpointsCreateResponse>;
105
- beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsDeleteResponse>, CloudEndpointsDeleteResponse>>;
106
- beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<CloudEndpointsDeleteResponse>;
107
- beginPostBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPostBackupResponse>, CloudEndpointsPostBackupResponse>>;
108
- beginPostBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<CloudEndpointsPostBackupResponse>;
109
- beginPostRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
110
- beginPostRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<void>;
111
- beginPreBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPreBackupResponse>, CloudEndpointsPreBackupResponse>>;
112
- beginPreBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<CloudEndpointsPreBackupResponse>;
113
- beginPreRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
114
- beginPreRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<void>;
115
- beginTriggerChangeDetection(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
116
- beginTriggerChangeDetectionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<void>;
117
- get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsGetOptionalParams): Promise<CloudEndpointsGetResponse>;
118
- listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: CloudEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<CloudEndpoint>;
119
- restoreheartbeat(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsRestoreheartbeatOptionalParams): Promise<CloudEndpointsRestoreheartbeatResponse>;
120
- }
121
-
122
- // @public
123
- export interface CloudEndpointsCreateHeaders {
124
- xMsCorrelationRequestId?: string;
125
- xMsRequestId?: string;
126
- }
127
-
128
- // @public
129
- export interface CloudEndpointsCreateOptionalParams extends coreClient.OperationOptions {
130
- resumeFrom?: string;
131
- updateIntervalInMs?: number;
132
- }
133
-
134
- // @public
135
- export type CloudEndpointsCreateResponse = CloudEndpointsCreateHeaders & CloudEndpoint;
136
-
137
- // @public
138
- export interface CloudEndpointsDeleteHeaders {
139
- xMsCorrelationRequestId?: string;
140
- xMsRequestId?: string;
141
- }
142
-
143
- // @public
144
- export interface CloudEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
145
- resumeFrom?: string;
146
- updateIntervalInMs?: number;
147
- }
148
-
149
- // @public
150
- export type CloudEndpointsDeleteResponse = CloudEndpointsDeleteHeaders;
151
-
152
- // @public
153
- export interface CloudEndpointsGetHeaders {
154
- xMsCorrelationRequestId?: string;
155
- xMsRequestId?: string;
156
- }
157
-
158
- // @public
159
- export interface CloudEndpointsGetOptionalParams extends coreClient.OperationOptions {
160
- }
161
-
162
- // @public
163
- export type CloudEndpointsGetResponse = CloudEndpointsGetHeaders & CloudEndpoint;
164
-
165
- // @public
166
- export interface CloudEndpointsListBySyncGroupHeaders {
167
- xMsCorrelationRequestId?: string;
168
- xMsRequestId?: string;
169
- }
170
-
171
- // @public
172
- export interface CloudEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
173
- }
174
-
175
- // @public
176
- export type CloudEndpointsListBySyncGroupResponse = CloudEndpointsListBySyncGroupHeaders & CloudEndpointArray;
177
-
178
- // @public
179
- export interface CloudEndpointsPostBackupHeaders {
180
- location?: string;
181
- xMsCorrelationRequestId?: string;
182
- xMsRequestId?: string;
183
- }
184
-
185
- // @public
186
- export interface CloudEndpointsPostBackupOptionalParams extends coreClient.OperationOptions {
187
- resumeFrom?: string;
188
- updateIntervalInMs?: number;
189
- }
190
-
191
- // @public
192
- export type CloudEndpointsPostBackupResponse = CloudEndpointsPostBackupHeaders & PostBackupResponse;
193
-
194
- // @public
195
- export interface CloudEndpointsPostRestoreHeaders {
196
- location?: string;
197
- xMsCorrelationRequestId?: string;
198
- xMsRequestId?: string;
199
- }
200
-
201
- // @public
202
- export interface CloudEndpointsPostRestoreOptionalParams extends coreClient.OperationOptions {
203
- resumeFrom?: string;
204
- updateIntervalInMs?: number;
205
- }
206
-
207
- // @public
208
- export interface CloudEndpointsPreBackupHeaders {
209
- location?: string;
210
- xMsCorrelationRequestId?: string;
211
- xMsRequestId?: string;
212
- }
213
-
214
- // @public
215
- export interface CloudEndpointsPreBackupOptionalParams extends coreClient.OperationOptions {
216
- resumeFrom?: string;
217
- updateIntervalInMs?: number;
218
- }
219
-
220
- // @public
221
- export type CloudEndpointsPreBackupResponse = CloudEndpointsPreBackupHeaders;
222
-
223
- // @public
224
- export interface CloudEndpointsPreRestoreHeaders {
225
- location?: string;
226
- xMsCorrelationRequestId?: string;
227
- xMsRequestId?: string;
228
- }
229
-
230
- // @public
231
- export interface CloudEndpointsPreRestoreOptionalParams extends coreClient.OperationOptions {
232
- resumeFrom?: string;
233
- updateIntervalInMs?: number;
234
- }
235
-
236
- // @public
237
- export interface CloudEndpointsRestoreheartbeatHeaders {
238
- xMsCorrelationRequestId?: string;
239
- xMsRequestId?: string;
240
- }
241
-
242
- // @public
243
- export interface CloudEndpointsRestoreheartbeatOptionalParams extends coreClient.OperationOptions {
244
- }
245
-
246
- // @public
247
- export type CloudEndpointsRestoreheartbeatResponse = CloudEndpointsRestoreheartbeatHeaders;
248
-
249
- // @public
250
- export interface CloudEndpointsTriggerChangeDetectionHeaders {
251
- location?: string;
252
- xMsCorrelationRequestId?: string;
253
- xMsRequestId?: string;
254
- }
255
-
256
- // @public
257
- export interface CloudEndpointsTriggerChangeDetectionOptionalParams extends coreClient.OperationOptions {
258
- resumeFrom?: string;
259
- updateIntervalInMs?: number;
260
- }
261
-
262
- // @public
263
- export interface CloudTieringCachePerformance {
264
- readonly cacheHitBytes?: number;
265
- readonly cacheHitBytesPercent?: number;
266
- readonly cacheMissBytes?: number;
267
- readonly lastUpdatedTimestamp?: Date;
268
- }
269
-
270
- // @public
271
- export interface CloudTieringDatePolicyStatus {
272
- readonly lastUpdatedTimestamp?: Date;
273
- readonly tieredFilesMostRecentAccessTimestamp?: Date;
274
- }
275
-
276
- // @public
277
- export interface CloudTieringFilesNotTiering {
278
- readonly errors?: FilesNotTieringError[];
279
- readonly lastUpdatedTimestamp?: Date;
280
- readonly totalFileCount?: number;
281
- }
282
-
283
- // @public
284
- export interface CloudTieringSpaceSavings {
285
- readonly cachedSizeBytes?: number;
286
- readonly lastUpdatedTimestamp?: Date;
287
- readonly spaceSavingsBytes?: number;
288
- readonly spaceSavingsPercent?: number;
289
- readonly totalSizeCloudBytes?: number;
290
- readonly volumeSizeBytes?: number;
291
- }
292
-
293
- // @public
294
- export interface CloudTieringVolumeFreeSpacePolicyStatus {
295
- readonly currentVolumeFreeSpacePercent?: number;
296
- readonly effectiveVolumeFreeSpacePolicy?: number;
297
- readonly lastUpdatedTimestamp?: Date;
298
- }
299
-
300
- // @public
301
- export type FeatureStatus = string;
302
-
303
- // @public
304
- export interface FilesNotTieringError {
305
- readonly errorCode?: number;
306
- readonly fileCount?: number;
307
- }
308
-
309
- // @public
310
- export function getContinuationToken(page: unknown): string | undefined;
311
-
312
- // @public
313
- export type IncomingTrafficPolicy = string;
314
-
315
- // @public
316
- export type InitialDownloadPolicy = string;
317
-
318
- // @public
319
- export type InitialUploadPolicy = string;
320
-
321
- // @public
322
- export enum KnownChangeDetectionMode {
323
- Default = "Default",
324
- Recursive = "Recursive"
325
- }
326
-
327
- // @public
328
- export enum KnownCloudEndpointChangeEnumerationActivityState {
329
- EnumerationInProgress = "EnumerationInProgress",
330
- InitialEnumerationInProgress = "InitialEnumerationInProgress"
331
- }
332
-
333
- // @public
334
- export enum KnownCloudEndpointChangeEnumerationTotalCountsState {
335
- Calculating = "Calculating",
336
- Final = "Final"
337
- }
338
-
339
- // @public
340
- export enum KnownFeatureStatus {
341
- Off = "off",
342
- On = "on"
343
- }
344
-
345
- // @public
346
- export enum KnownIncomingTrafficPolicy {
347
- AllowAllTraffic = "AllowAllTraffic",
348
- AllowVirtualNetworksOnly = "AllowVirtualNetworksOnly"
349
- }
350
-
351
- // @public
352
- export enum KnownInitialDownloadPolicy {
353
- AvoidTieredFiles = "AvoidTieredFiles",
354
- NamespaceOnly = "NamespaceOnly",
355
- NamespaceThenModifiedFiles = "NamespaceThenModifiedFiles"
356
- }
357
-
358
- // @public
359
- export enum KnownInitialUploadPolicy {
360
- Merge = "Merge",
361
- ServerAuthoritative = "ServerAuthoritative"
362
- }
363
-
364
- // @public
365
- export enum KnownLocalCacheMode {
366
- DownloadNewAndModifiedFiles = "DownloadNewAndModifiedFiles",
367
- UpdateLocallyCachedFiles = "UpdateLocallyCachedFiles"
368
- }
369
-
370
- // @public
371
- export enum KnownOperationDirection {
372
- Cancel = "cancel",
373
- Do = "do",
374
- Undo = "undo"
375
- }
376
-
377
- // @public
378
- export enum KnownPrivateEndpointConnectionProvisioningState {
379
- Creating = "Creating",
380
- Deleting = "Deleting",
381
- Failed = "Failed",
382
- Succeeded = "Succeeded"
383
- }
384
-
385
- // @public
386
- export enum KnownPrivateEndpointServiceConnectionStatus {
387
- Approved = "Approved",
388
- Pending = "Pending",
389
- Rejected = "Rejected"
390
- }
391
-
392
- // @public
393
- export enum KnownProgressType {
394
- Download = "download",
395
- Initialize = "initialize",
396
- None = "none",
397
- Recall = "recall",
398
- Upload = "upload"
399
- }
400
-
401
- // @public
402
- export enum KnownReason {
403
- Deleted = "Deleted",
404
- Registered = "Registered",
405
- Suspended = "Suspended",
406
- Unregistered = "Unregistered",
407
- Warned = "Warned"
408
- }
409
-
410
- // @public
411
- export enum KnownRegisteredServerAgentVersionStatus {
412
- Blocked = "Blocked",
413
- Expired = "Expired",
414
- NearExpiry = "NearExpiry",
415
- Ok = "Ok"
416
- }
417
-
418
- // @public
419
- export enum KnownServerEndpointHealthState {
420
- Error = "Error",
421
- Healthy = "Healthy",
422
- Unavailable = "Unavailable"
423
- }
424
-
425
- // @public
426
- export enum KnownServerEndpointOfflineDataTransferState {
427
- Complete = "Complete",
428
- InProgress = "InProgress",
429
- NotRunning = "NotRunning",
430
- Stopping = "Stopping"
431
- }
432
-
433
- // @public
434
- export enum KnownServerEndpointSyncActivityState {
435
- Download = "Download",
436
- Upload = "Upload",
437
- UploadAndDownload = "UploadAndDownload"
438
- }
439
-
440
- // @public
441
- export enum KnownServerEndpointSyncMode {
442
- InitialFullDownload = "InitialFullDownload",
443
- InitialUpload = "InitialUpload",
444
- NamespaceDownload = "NamespaceDownload",
445
- Regular = "Regular",
446
- SnapshotUpload = "SnapshotUpload"
447
- }
448
-
449
- // @public
450
- export enum KnownWorkflowStatus {
451
- Aborted = "aborted",
452
- Active = "active",
453
- Expired = "expired",
454
- Failed = "failed",
455
- Succeeded = "succeeded"
456
- }
457
-
458
- // @public
459
- export type LocalCacheMode = string;
460
-
461
- // @public
462
- export interface LocationOperationStatus {
463
- readonly endTime?: Date;
464
- readonly error?: StorageSyncApiError;
465
- readonly id?: string;
466
- readonly name?: string;
467
- readonly percentComplete?: number;
468
- readonly startTime?: Date;
469
- readonly status?: string;
470
- }
471
-
472
- // @public
473
- export interface LocationOperationStatusOptionalParams extends coreClient.OperationOptions {
474
- }
475
-
476
- // @public
477
- export type LocationOperationStatusResponse = MicrosoftStorageSyncLocationOperationStatusHeaders & LocationOperationStatus;
478
-
479
- // @public (undocumented)
480
- export class MicrosoftStorageSync extends coreClient.ServiceClient {
481
- // (undocumented)
482
- $host: string;
483
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftStorageSyncOptionalParams);
484
- // (undocumented)
485
- apiVersion: string;
486
- // (undocumented)
487
- cloudEndpoints: CloudEndpoints;
488
- locationOperationStatus(locationName: string, operationId: string, options?: LocationOperationStatusOptionalParams): Promise<LocationOperationStatusResponse>;
489
- // (undocumented)
490
- operations: Operations;
491
- // (undocumented)
492
- operationStatusOperations: OperationStatusOperations;
493
- // (undocumented)
494
- privateEndpointConnections: PrivateEndpointConnections;
495
- // (undocumented)
496
- privateLinkResources: PrivateLinkResources;
497
- // (undocumented)
498
- registeredServers: RegisteredServers;
499
- // (undocumented)
500
- serverEndpoints: ServerEndpoints;
501
- // (undocumented)
502
- storageSyncServices: StorageSyncServices;
503
- // (undocumented)
504
- subscriptionId: string;
505
- // (undocumented)
506
- syncGroups: SyncGroups;
507
- // (undocumented)
508
- workflows: Workflows;
509
- }
510
-
511
- // @public
512
- export interface MicrosoftStorageSyncLocationOperationStatusHeaders {
513
- xMsCorrelationRequestId?: string;
514
- xMsRequestId?: string;
515
- }
516
-
517
- // @public
518
- export interface MicrosoftStorageSyncOptionalParams extends coreClient.ServiceClientOptions {
519
- $host?: string;
520
- apiVersion?: string;
521
- endpoint?: string;
522
- }
523
-
524
- // @public
525
- export type NameAvailabilityReason = "Invalid" | "AlreadyExists";
526
-
527
- // @public
528
- export type OperationDirection = string;
529
-
530
- // @public
531
- export interface OperationDisplayInfo {
532
- description?: string;
533
- operation?: string;
534
- provider?: string;
535
- resource?: string;
536
- }
537
-
538
- // @public
539
- export interface OperationDisplayResource {
540
- description?: string;
541
- operation?: string;
542
- provider?: string;
543
- resource?: string;
544
- }
545
-
546
- // @public
547
- export interface OperationEntity {
548
- display?: OperationDisplayInfo;
549
- name?: string;
550
- origin?: string;
551
- properties?: OperationProperties;
552
- }
553
-
554
- // @public
555
- export interface OperationEntityListResult {
556
- nextLink?: string;
557
- value?: OperationEntity[];
558
- }
559
-
560
- // @public
561
- export interface OperationProperties {
562
- serviceSpecification?: OperationResourceServiceSpecification;
563
- }
564
-
565
- // @public
566
- export interface OperationResourceMetricSpecification {
567
- aggregationType?: string;
568
- dimensions?: OperationResourceMetricSpecificationDimension[];
569
- displayDescription?: string;
570
- displayName?: string;
571
- fillGapWithZero?: boolean;
572
- name?: string;
573
- unit?: string;
574
- }
575
-
576
- // @public
577
- export interface OperationResourceMetricSpecificationDimension {
578
- displayName?: string;
579
- name?: string;
580
- toBeExportedForShoebox?: boolean;
581
- }
582
-
583
- // @public
584
- export interface OperationResourceServiceSpecification {
585
- metricSpecifications?: OperationResourceMetricSpecification[];
586
- }
587
-
588
- // @public
589
- export interface Operations {
590
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
591
- }
592
-
593
- // @public
594
- export interface OperationsListHeaders {
595
- xMsCorrelationRequestId?: string;
596
- xMsRequestId?: string;
597
- }
598
-
599
- // @public
600
- export interface OperationsListNextHeaders {
601
- xMsCorrelationRequestId?: string;
602
- xMsRequestId?: string;
603
- }
604
-
605
- // @public
606
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
607
- }
608
-
609
- // @public
610
- export type OperationsListNextResponse = OperationsListNextHeaders & OperationEntityListResult;
611
-
612
- // @public
613
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
614
- }
615
-
616
- // @public
617
- export type OperationsListResponse = OperationsListHeaders & OperationEntityListResult;
618
-
619
- // @public
620
- export interface OperationStatus {
621
- readonly endTime?: Date;
622
- readonly error?: StorageSyncApiError;
623
- readonly name?: string;
624
- readonly startTime?: Date;
625
- readonly status?: string;
626
- }
627
-
628
- // @public
629
- export interface OperationStatusGetHeaders {
630
- xMsCorrelationRequestId?: string;
631
- xMsRequestId?: string;
632
- }
633
-
634
- // @public
635
- export interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {
636
- }
637
-
638
- // @public
639
- export type OperationStatusGetResponse = OperationStatusGetHeaders & OperationStatus;
640
-
641
- // @public
642
- export interface OperationStatusOperations {
643
- get(resourceGroupName: string, locationName: string, workflowId: string, operationId: string, options?: OperationStatusGetOptionalParams): Promise<OperationStatusGetResponse>;
644
- }
645
-
646
- // @public
647
- export interface PostBackupResponse {
648
- readonly cloudEndpointName?: string;
649
- }
650
-
651
- // @public
652
- export interface PostRestoreRequest {
653
- azureFileShareUri?: string;
654
- failedFileList?: string;
655
- partition?: string;
656
- replicaGroup?: string;
657
- requestId?: string;
658
- restoreFileSpec?: RestoreFileSpec[];
659
- sourceAzureFileShareUri?: string;
660
- status?: string;
661
- }
662
-
663
- // @public
664
- export interface PreRestoreRequest {
665
- azureFileShareUri?: string;
666
- backupMetadataPropertyBag?: string;
667
- partition?: string;
668
- pauseWaitForSyncDrainTimePeriodInSeconds?: number;
669
- replicaGroup?: string;
670
- requestId?: string;
671
- restoreFileSpec?: RestoreFileSpec[];
672
- sourceAzureFileShareUri?: string;
673
- status?: string;
674
- }
675
-
676
- // @public
677
- export interface PrivateEndpoint {
678
- readonly id?: string;
679
- }
680
-
681
- // @public
682
- export interface PrivateEndpointConnection extends Resource {
683
- privateEndpoint?: PrivateEndpoint;
684
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
685
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
686
- }
687
-
688
- // @public
689
- export interface PrivateEndpointConnectionListResult {
690
- value?: PrivateEndpointConnection[];
691
- }
692
-
693
- // @public
694
- export type PrivateEndpointConnectionProvisioningState = string;
695
-
696
- // @public
697
- export interface PrivateEndpointConnections {
698
- beginCreate(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
699
- beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
700
- beginDelete(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
701
- beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
702
- get(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
703
- listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
704
- }
705
-
706
- // @public
707
- export interface PrivateEndpointConnectionsCreateHeaders {
708
- azureAsyncOperation?: string;
709
- location?: string;
710
- retryAfter?: string;
711
- xMsCorrelationRequestId?: string;
712
- xMsRequestId?: string;
713
- }
714
-
715
- // @public
716
- export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
717
- resumeFrom?: string;
718
- updateIntervalInMs?: number;
719
- }
720
-
721
- // @public
722
- export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
723
-
724
- // @public
725
- export interface PrivateEndpointConnectionsDeleteHeaders {
726
- azureAsyncOperation?: string;
727
- location?: string;
728
- retryAfter?: string;
729
- xMsCorrelationRequestId?: string;
730
- xMsRequestId?: string;
731
- }
732
-
733
- // @public
734
- export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
735
- resumeFrom?: string;
736
- updateIntervalInMs?: number;
737
- }
738
-
739
- // @public
740
- export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
741
- }
742
-
743
- // @public
744
- export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
745
-
746
- // @public
747
- export interface PrivateEndpointConnectionsListByStorageSyncServiceHeaders {
748
- xMsCorrelationRequestId?: string;
749
- xMsRequestId?: string;
750
- }
751
-
752
- // @public
753
- export interface PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
754
- }
755
-
756
- // @public
757
- export type PrivateEndpointConnectionsListByStorageSyncServiceResponse = PrivateEndpointConnectionsListByStorageSyncServiceHeaders & PrivateEndpointConnectionListResult;
758
-
759
- // @public
760
- export type PrivateEndpointServiceConnectionStatus = string;
761
-
762
- // @public
763
- export interface PrivateLinkResource extends Resource {
764
- readonly groupId?: string;
765
- readonly requiredMembers?: string[];
766
- requiredZoneNames?: string[];
767
- }
768
-
769
- // @public
770
- export interface PrivateLinkResourceListResult {
771
- value?: PrivateLinkResource[];
772
- }
773
-
774
- // @public
775
- export interface PrivateLinkResources {
776
- listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateLinkResourcesListByStorageSyncServiceOptionalParams): Promise<PrivateLinkResourcesListByStorageSyncServiceResponse>;
777
- }
778
-
779
- // @public
780
- export interface PrivateLinkResourcesListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
781
- }
782
-
783
- // @public
784
- export type PrivateLinkResourcesListByStorageSyncServiceResponse = PrivateLinkResourceListResult;
785
-
786
- // @public
787
- export interface PrivateLinkServiceConnectionState {
788
- actionsRequired?: string;
789
- description?: string;
790
- status?: PrivateEndpointServiceConnectionStatus;
791
- }
792
-
793
- // @public
794
- export type ProgressType = string;
795
-
796
- // @public
797
- export interface ProxyResource extends Resource {
798
- }
799
-
800
- // @public
801
- export type Reason = string;
802
-
803
- // @public
804
- export interface RecallActionParameters {
805
- pattern?: string;
806
- recallPath?: string;
807
- }
808
-
809
- // @public
810
- export interface RegisteredServer extends ProxyResource {
811
- agentVersion?: string;
812
- readonly agentVersionExpirationDate?: Date;
813
- readonly agentVersionStatus?: RegisteredServerAgentVersionStatus;
814
- clusterId?: string;
815
- clusterName?: string;
816
- discoveryEndpointUri?: string;
817
- friendlyName?: string;
818
- lastHeartBeat?: string;
819
- lastOperationName?: string;
820
- lastWorkflowId?: string;
821
- managementEndpointUri?: string;
822
- monitoringConfiguration?: string;
823
- monitoringEndpointUri?: string;
824
- provisioningState?: string;
825
- resourceLocation?: string;
826
- serverCertificate?: string;
827
- serverId?: string;
828
- serverManagementErrorCode?: number;
829
- readonly serverName?: string;
830
- serverOSVersion?: string;
831
- serverRole?: string;
832
- serviceLocation?: string;
833
- storageSyncServiceUid?: string;
834
- }
835
-
836
- // @public
837
- export type RegisteredServerAgentVersionStatus = string;
838
-
839
- // @public
840
- export interface RegisteredServerArray {
841
- value?: RegisteredServer[];
842
- }
843
-
844
- // @public
845
- export interface RegisteredServerCreateParameters extends ProxyResource {
846
- agentVersion?: string;
847
- clusterId?: string;
848
- clusterName?: string;
849
- friendlyName?: string;
850
- lastHeartBeat?: string;
851
- serverCertificate?: string;
852
- serverId?: string;
853
- serverOSVersion?: string;
854
- serverRole?: string;
855
- }
856
-
857
- // @public
858
- export interface RegisteredServers {
859
- beginCreate(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersCreateResponse>, RegisteredServersCreateResponse>>;
860
- beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<RegisteredServersCreateResponse>;
861
- beginDelete(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersDeleteResponse>, RegisteredServersDeleteResponse>>;
862
- beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<RegisteredServersDeleteResponse>;
863
- beginTriggerRollover(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersTriggerRolloverResponse>, RegisteredServersTriggerRolloverResponse>>;
864
- beginTriggerRolloverAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<RegisteredServersTriggerRolloverResponse>;
865
- get(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersGetOptionalParams): Promise<RegisteredServersGetResponse>;
866
- listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: RegisteredServersListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<RegisteredServer>;
867
- }
868
-
869
- // @public
870
- export interface RegisteredServersCreateHeaders {
871
- xMsCorrelationRequestId?: string;
872
- xMsRequestId?: string;
873
- }
874
-
875
- // @public
876
- export interface RegisteredServersCreateOptionalParams extends coreClient.OperationOptions {
877
- resumeFrom?: string;
878
- updateIntervalInMs?: number;
879
- }
880
-
881
- // @public
882
- export type RegisteredServersCreateResponse = RegisteredServersCreateHeaders & RegisteredServer;
883
-
884
- // @public
885
- export interface RegisteredServersDeleteHeaders {
886
- xMsCorrelationRequestId?: string;
887
- xMsRequestId?: string;
888
- }
889
-
890
- // @public
891
- export interface RegisteredServersDeleteOptionalParams extends coreClient.OperationOptions {
892
- resumeFrom?: string;
893
- updateIntervalInMs?: number;
894
- }
895
-
896
- // @public
897
- export type RegisteredServersDeleteResponse = RegisteredServersDeleteHeaders;
898
-
899
- // @public
900
- export interface RegisteredServersGetHeaders {
901
- xMsCorrelationRequestId?: string;
902
- xMsRequestId?: string;
903
- }
904
-
905
- // @public
906
- export interface RegisteredServersGetOptionalParams extends coreClient.OperationOptions {
907
- }
908
-
909
- // @public
910
- export type RegisteredServersGetResponse = RegisteredServersGetHeaders & RegisteredServer;
911
-
912
- // @public
913
- export interface RegisteredServersListByStorageSyncServiceHeaders {
914
- xMsCorrelationRequestId?: string;
915
- xMsRequestId?: string;
916
- }
917
-
918
- // @public
919
- export interface RegisteredServersListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
920
- }
921
-
922
- // @public
923
- export type RegisteredServersListByStorageSyncServiceResponse = RegisteredServersListByStorageSyncServiceHeaders & RegisteredServerArray;
924
-
925
- // @public
926
- export interface RegisteredServersTriggerRolloverHeaders {
927
- xMsCorrelationRequestId?: string;
928
- xMsRequestId?: string;
929
- }
930
-
931
- // @public
932
- export interface RegisteredServersTriggerRolloverOptionalParams extends coreClient.OperationOptions {
933
- resumeFrom?: string;
934
- updateIntervalInMs?: number;
935
- }
936
-
937
- // @public
938
- export type RegisteredServersTriggerRolloverResponse = RegisteredServersTriggerRolloverHeaders;
939
-
940
- // @public
941
- export interface Resource {
942
- readonly id?: string;
943
- readonly name?: string;
944
- readonly type?: string;
945
- }
946
-
947
- // @public
948
- export interface ResourcesMoveInfo {
949
- resources?: string[];
950
- targetResourceGroup?: string;
951
- }
952
-
953
- // @public
954
- export interface RestoreFileSpec {
955
- isdir?: boolean;
956
- path?: string;
957
- }
958
-
959
- // @public
960
- export interface ServerEndpoint extends ProxyResource {
961
- cloudTiering?: FeatureStatus;
962
- readonly cloudTieringStatus?: ServerEndpointCloudTieringStatus;
963
- friendlyName?: string;
964
- initialDownloadPolicy?: InitialDownloadPolicy;
965
- initialUploadPolicy?: InitialUploadPolicy;
966
- readonly lastOperationName?: string;
967
- readonly lastWorkflowId?: string;
968
- localCacheMode?: LocalCacheMode;
969
- offlineDataTransfer?: FeatureStatus;
970
- offlineDataTransferShareName?: string;
971
- readonly offlineDataTransferStorageAccountResourceId?: string;
972
- readonly offlineDataTransferStorageAccountTenantId?: string;
973
- readonly provisioningState?: string;
974
- readonly recallStatus?: ServerEndpointRecallStatus;
975
- serverLocalPath?: string;
976
- readonly serverName?: string;
977
- serverResourceId?: string;
978
- readonly syncStatus?: ServerEndpointSyncStatus;
979
- tierFilesOlderThanDays?: number;
980
- volumeFreeSpacePercent?: number;
981
- }
982
-
983
- // @public
984
- export interface ServerEndpointArray {
985
- value?: ServerEndpoint[];
986
- }
987
-
988
- // @public
989
- export interface ServerEndpointBackgroundDataDownloadActivity {
990
- readonly downloadedBytes?: number;
991
- readonly percentProgress?: number;
992
- readonly startedTimestamp?: Date;
993
- readonly timestamp?: Date;
994
- }
995
-
996
- // @public
997
- export interface ServerEndpointCloudTieringStatus {
998
- readonly cachePerformance?: CloudTieringCachePerformance;
999
- readonly datePolicyStatus?: CloudTieringDatePolicyStatus;
1000
- readonly filesNotTiering?: CloudTieringFilesNotTiering;
1001
- readonly health?: ServerEndpointHealthState;
1002
- readonly healthLastUpdatedTimestamp?: Date;
1003
- readonly lastCloudTieringResult?: number;
1004
- readonly lastSuccessTimestamp?: Date;
1005
- readonly lastUpdatedTimestamp?: Date;
1006
- readonly spaceSavings?: CloudTieringSpaceSavings;
1007
- readonly volumeFreeSpacePolicyStatus?: CloudTieringVolumeFreeSpacePolicyStatus;
1008
- }
1009
-
1010
- // @public
1011
- export interface ServerEndpointCreateParameters extends ProxyResource {
1012
- cloudTiering?: FeatureStatus;
1013
- friendlyName?: string;
1014
- initialDownloadPolicy?: InitialDownloadPolicy;
1015
- initialUploadPolicy?: InitialUploadPolicy;
1016
- localCacheMode?: LocalCacheMode;
1017
- offlineDataTransfer?: FeatureStatus;
1018
- offlineDataTransferShareName?: string;
1019
- serverLocalPath?: string;
1020
- serverResourceId?: string;
1021
- tierFilesOlderThanDays?: number;
1022
- volumeFreeSpacePercent?: number;
1023
- }
1024
-
1025
- // @public
1026
- export interface ServerEndpointFilesNotSyncingError {
1027
- readonly errorCode?: number;
1028
- readonly persistentCount?: number;
1029
- readonly transientCount?: number;
1030
- }
1031
-
1032
- // @public
1033
- export type ServerEndpointHealthState = string;
1034
-
1035
- // @public
1036
- export type ServerEndpointOfflineDataTransferState = string;
1037
-
1038
- // @public
1039
- export interface ServerEndpointRecallError {
1040
- readonly count?: number;
1041
- readonly errorCode?: number;
1042
- }
1043
-
1044
- // @public
1045
- export interface ServerEndpointRecallStatus {
1046
- readonly lastUpdatedTimestamp?: Date;
1047
- readonly recallErrors?: ServerEndpointRecallError[];
1048
- readonly totalRecallErrorsCount?: number;
1049
- }
1050
-
1051
- // @public
1052
- export interface ServerEndpoints {
1053
- beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsCreateResponse>, ServerEndpointsCreateResponse>>;
1054
- beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<ServerEndpointsCreateResponse>;
1055
- beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsDeleteResponse>, ServerEndpointsDeleteResponse>>;
1056
- beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<ServerEndpointsDeleteResponse>;
1057
- beginRecallAction(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsRecallActionResponse>, ServerEndpointsRecallActionResponse>>;
1058
- beginRecallActionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<ServerEndpointsRecallActionResponse>;
1059
- beginUpdate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsUpdateResponse>, ServerEndpointsUpdateResponse>>;
1060
- beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<ServerEndpointsUpdateResponse>;
1061
- get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsGetOptionalParams): Promise<ServerEndpointsGetResponse>;
1062
- listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: ServerEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<ServerEndpoint>;
1063
- }
1064
-
1065
- // @public
1066
- export interface ServerEndpointsCreateHeaders {
1067
- xMsCorrelationRequestId?: string;
1068
- xMsRequestId?: string;
1069
- }
1070
-
1071
- // @public
1072
- export interface ServerEndpointsCreateOptionalParams extends coreClient.OperationOptions {
1073
- resumeFrom?: string;
1074
- updateIntervalInMs?: number;
1075
- }
1076
-
1077
- // @public
1078
- export type ServerEndpointsCreateResponse = ServerEndpointsCreateHeaders & ServerEndpoint;
1079
-
1080
- // @public
1081
- export interface ServerEndpointsDeleteHeaders {
1082
- xMsCorrelationRequestId?: string;
1083
- xMsRequestId?: string;
1084
- }
1085
-
1086
- // @public
1087
- export interface ServerEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
1088
- resumeFrom?: string;
1089
- updateIntervalInMs?: number;
1090
- }
1091
-
1092
- // @public
1093
- export type ServerEndpointsDeleteResponse = ServerEndpointsDeleteHeaders;
1094
-
1095
- // @public
1096
- export interface ServerEndpointsGetHeaders {
1097
- xMsCorrelationRequestId?: string;
1098
- xMsRequestId?: string;
1099
- }
1100
-
1101
- // @public
1102
- export interface ServerEndpointsGetOptionalParams extends coreClient.OperationOptions {
1103
- }
1104
-
1105
- // @public
1106
- export type ServerEndpointsGetResponse = ServerEndpointsGetHeaders & ServerEndpoint;
1107
-
1108
- // @public
1109
- export interface ServerEndpointsListBySyncGroupHeaders {
1110
- location?: string;
1111
- xMsCorrelationRequestId?: string;
1112
- xMsRequestId?: string;
1113
- }
1114
-
1115
- // @public
1116
- export interface ServerEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
1117
- }
1118
-
1119
- // @public
1120
- export type ServerEndpointsListBySyncGroupResponse = ServerEndpointsListBySyncGroupHeaders & ServerEndpointArray;
1121
-
1122
- // @public
1123
- export interface ServerEndpointsRecallActionHeaders {
1124
- xMsCorrelationRequestId?: string;
1125
- xMsRequestId?: string;
1126
- }
1127
-
1128
- // @public
1129
- export interface ServerEndpointsRecallActionOptionalParams extends coreClient.OperationOptions {
1130
- resumeFrom?: string;
1131
- updateIntervalInMs?: number;
1132
- }
1133
-
1134
- // @public
1135
- export type ServerEndpointsRecallActionResponse = ServerEndpointsRecallActionHeaders;
1136
-
1137
- // @public
1138
- export interface ServerEndpointsUpdateHeaders {
1139
- xMsCorrelationRequestId?: string;
1140
- xMsRequestId?: string;
1141
- }
1142
-
1143
- // @public
1144
- export interface ServerEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
1145
- parameters?: ServerEndpointUpdateParameters;
1146
- resumeFrom?: string;
1147
- updateIntervalInMs?: number;
1148
- }
1149
-
1150
- // @public
1151
- export type ServerEndpointsUpdateResponse = ServerEndpointsUpdateHeaders & ServerEndpoint;
1152
-
1153
- // @public
1154
- export type ServerEndpointSyncActivityState = string;
1155
-
1156
- // @public
1157
- export interface ServerEndpointSyncActivityStatus {
1158
- readonly appliedBytes?: number;
1159
- readonly appliedItemCount?: number;
1160
- readonly perItemErrorCount?: number;
1161
- readonly sessionMinutesRemaining?: number;
1162
- readonly syncMode?: ServerEndpointSyncMode;
1163
- readonly timestamp?: Date;
1164
- readonly totalBytes?: number;
1165
- readonly totalItemCount?: number;
1166
- }
1167
-
1168
- // @public
1169
- export type ServerEndpointSyncMode = string;
1170
-
1171
- // @public
1172
- export interface ServerEndpointSyncSessionStatus {
1173
- readonly filesNotSyncingErrors?: ServerEndpointFilesNotSyncingError[];
1174
- readonly lastSyncMode?: ServerEndpointSyncMode;
1175
- readonly lastSyncPerItemErrorCount?: number;
1176
- readonly lastSyncResult?: number;
1177
- readonly lastSyncSuccessTimestamp?: Date;
1178
- readonly lastSyncTimestamp?: Date;
1179
- readonly persistentFilesNotSyncingCount?: number;
1180
- readonly transientFilesNotSyncingCount?: number;
1181
- }
1182
-
1183
- // @public
1184
- export interface ServerEndpointSyncStatus {
1185
- readonly backgroundDataDownloadActivity?: ServerEndpointBackgroundDataDownloadActivity;
1186
- readonly combinedHealth?: ServerEndpointHealthState;
1187
- readonly downloadActivity?: ServerEndpointSyncActivityStatus;
1188
- readonly downloadHealth?: ServerEndpointHealthState;
1189
- readonly downloadStatus?: ServerEndpointSyncSessionStatus;
1190
- readonly lastUpdatedTimestamp?: Date;
1191
- readonly offlineDataTransferStatus?: ServerEndpointOfflineDataTransferState;
1192
- readonly syncActivity?: ServerEndpointSyncActivityState;
1193
- readonly totalPersistentFilesNotSyncingCount?: number;
1194
- readonly uploadActivity?: ServerEndpointSyncActivityStatus;
1195
- readonly uploadHealth?: ServerEndpointHealthState;
1196
- readonly uploadStatus?: ServerEndpointSyncSessionStatus;
1197
- }
1198
-
1199
- // @public
1200
- export interface ServerEndpointUpdateParameters {
1201
- cloudTiering?: FeatureStatus;
1202
- localCacheMode?: LocalCacheMode;
1203
- offlineDataTransfer?: FeatureStatus;
1204
- offlineDataTransferShareName?: string;
1205
- tierFilesOlderThanDays?: number;
1206
- volumeFreeSpacePercent?: number;
1207
- }
1208
-
1209
- // @public
1210
- export interface StorageSyncApiError {
1211
- code?: string;
1212
- details?: StorageSyncErrorDetails;
1213
- innerError?: StorageSyncInnerErrorDetails;
1214
- message?: string;
1215
- target?: string;
1216
- }
1217
-
1218
- // @public
1219
- export interface StorageSyncError {
1220
- error?: StorageSyncApiError;
1221
- innererror?: StorageSyncApiError;
1222
- }
1223
-
1224
- // @public
1225
- export interface StorageSyncErrorDetails {
1226
- code?: string;
1227
- exceptionType?: string;
1228
- hashedMessage?: string;
1229
- httpErrorCode?: string;
1230
- httpMethod?: string;
1231
- message?: string;
1232
- requestUri?: string;
1233
- target?: string;
1234
- }
1235
-
1236
- // @public
1237
- export interface StorageSyncInnerErrorDetails {
1238
- callStack?: string;
1239
- innerException?: string;
1240
- innerExceptionCallStack?: string;
1241
- message?: string;
1242
- }
1243
-
1244
- // @public
1245
- export interface StorageSyncService extends TrackedResource {
1246
- incomingTrafficPolicy?: IncomingTrafficPolicy;
1247
- readonly lastOperationName?: string;
1248
- readonly lastWorkflowId?: string;
1249
- readonly privateEndpointConnections?: PrivateEndpointConnection[];
1250
- readonly provisioningState?: string;
1251
- readonly storageSyncServiceStatus?: number;
1252
- readonly storageSyncServiceUid?: string;
1253
- }
1254
-
1255
- // @public
1256
- export interface StorageSyncServiceArray {
1257
- value?: StorageSyncService[];
1258
- }
1259
-
1260
- // @public
1261
- export interface StorageSyncServiceCreateParameters {
1262
- incomingTrafficPolicy?: IncomingTrafficPolicy;
1263
- location: string;
1264
- tags?: {
1265
- [propertyName: string]: string;
1266
- };
1267
- }
1268
-
1269
- // @public
1270
- export interface StorageSyncServices {
1271
- beginCreate(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesCreateResponse>, StorageSyncServicesCreateResponse>>;
1272
- beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<StorageSyncServicesCreateResponse>;
1273
- beginDelete(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesDeleteResponse>, StorageSyncServicesDeleteResponse>>;
1274
- beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<StorageSyncServicesDeleteResponse>;
1275
- beginUpdate(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesUpdateResponse>, StorageSyncServicesUpdateResponse>>;
1276
- beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<StorageSyncServicesUpdateResponse>;
1277
- checkNameAvailability(locationName: string, parameters: CheckNameAvailabilityParameters, options?: StorageSyncServicesCheckNameAvailabilityOptionalParams): Promise<StorageSyncServicesCheckNameAvailabilityResponse>;
1278
- get(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesGetOptionalParams): Promise<StorageSyncServicesGetResponse>;
1279
- listByResourceGroup(resourceGroupName: string, options?: StorageSyncServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
1280
- listBySubscription(options?: StorageSyncServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
1281
- }
1282
-
1283
- // @public
1284
- export interface StorageSyncServicesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1285
- }
1286
-
1287
- // @public
1288
- export type StorageSyncServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1289
-
1290
- // @public
1291
- export interface StorageSyncServicesCreateHeaders {
1292
- azureAsyncOperation?: string;
1293
- location?: string;
1294
- retryAfter?: string;
1295
- xMsCorrelationRequestId?: string;
1296
- xMsRequestId?: string;
1297
- }
1298
-
1299
- // @public
1300
- export interface StorageSyncServicesCreateOptionalParams extends coreClient.OperationOptions {
1301
- resumeFrom?: string;
1302
- updateIntervalInMs?: number;
1303
- }
1304
-
1305
- // @public
1306
- export type StorageSyncServicesCreateResponse = StorageSyncService;
1307
-
1308
- // @public
1309
- export interface StorageSyncServicesDeleteHeaders {
1310
- xMsCorrelationRequestId?: string;
1311
- xMsRequestId?: string;
1312
- }
1313
-
1314
- // @public
1315
- export interface StorageSyncServicesDeleteOptionalParams extends coreClient.OperationOptions {
1316
- resumeFrom?: string;
1317
- updateIntervalInMs?: number;
1318
- }
1319
-
1320
- // @public
1321
- export type StorageSyncServicesDeleteResponse = StorageSyncServicesDeleteHeaders;
1322
-
1323
- // @public
1324
- export interface StorageSyncServicesGetHeaders {
1325
- xMsCorrelationRequestId?: string;
1326
- xMsRequestId?: string;
1327
- }
1328
-
1329
- // @public
1330
- export interface StorageSyncServicesGetOptionalParams extends coreClient.OperationOptions {
1331
- }
1332
-
1333
- // @public
1334
- export type StorageSyncServicesGetResponse = StorageSyncServicesGetHeaders & StorageSyncService;
1335
-
1336
- // @public
1337
- export interface StorageSyncServicesListByResourceGroupHeaders {
1338
- xMsCorrelationRequestId?: string;
1339
- xMsRequestId?: string;
1340
- }
1341
-
1342
- // @public
1343
- export interface StorageSyncServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1344
- }
1345
-
1346
- // @public
1347
- export type StorageSyncServicesListByResourceGroupResponse = StorageSyncServicesListByResourceGroupHeaders & StorageSyncServiceArray;
1348
-
1349
- // @public
1350
- export interface StorageSyncServicesListBySubscriptionHeaders {
1351
- xMsCorrelationRequestId?: string;
1352
- xMsRequestId?: string;
1353
- }
1354
-
1355
- // @public
1356
- export interface StorageSyncServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1357
- }
1358
-
1359
- // @public
1360
- export type StorageSyncServicesListBySubscriptionResponse = StorageSyncServicesListBySubscriptionHeaders & StorageSyncServiceArray;
1361
-
1362
- // @public
1363
- export interface StorageSyncServicesUpdateHeaders {
1364
- xMsCorrelationRequestId?: string;
1365
- xMsRequestId?: string;
1366
- }
1367
-
1368
- // @public
1369
- export interface StorageSyncServicesUpdateOptionalParams extends coreClient.OperationOptions {
1370
- parameters?: StorageSyncServiceUpdateParameters;
1371
- resumeFrom?: string;
1372
- updateIntervalInMs?: number;
1373
- }
1374
-
1375
- // @public
1376
- export type StorageSyncServicesUpdateResponse = StorageSyncServicesUpdateHeaders & StorageSyncService;
1377
-
1378
- // @public
1379
- export interface StorageSyncServiceUpdateParameters {
1380
- incomingTrafficPolicy?: IncomingTrafficPolicy;
1381
- tags?: {
1382
- [propertyName: string]: string;
1383
- };
1384
- }
1385
-
1386
- // @public
1387
- export interface SubscriptionState {
1388
- readonly istransitioning?: boolean;
1389
- properties?: Record<string, unknown>;
1390
- state?: Reason;
1391
- }
1392
-
1393
- // @public
1394
- export interface SyncGroup extends ProxyResource {
1395
- readonly syncGroupStatus?: string;
1396
- readonly uniqueId?: string;
1397
- }
1398
-
1399
- // @public
1400
- export interface SyncGroupArray {
1401
- value?: SyncGroup[];
1402
- }
1403
-
1404
- // @public
1405
- export interface SyncGroupCreateParameters extends ProxyResource {
1406
- properties?: Record<string, unknown>;
1407
- }
1408
-
1409
- // @public
1410
- export interface SyncGroups {
1411
- create(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, parameters: SyncGroupCreateParameters, options?: SyncGroupsCreateOptionalParams): Promise<SyncGroupsCreateResponse>;
1412
- delete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsDeleteOptionalParams): Promise<SyncGroupsDeleteResponse>;
1413
- get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsGetOptionalParams): Promise<SyncGroupsGetResponse>;
1414
- listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: SyncGroupsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<SyncGroup>;
1415
- }
1416
-
1417
- // @public
1418
- export interface SyncGroupsCreateHeaders {
1419
- xMsCorrelationRequestId?: string;
1420
- xMsRequestId?: string;
1421
- }
1422
-
1423
- // @public
1424
- export interface SyncGroupsCreateOptionalParams extends coreClient.OperationOptions {
1425
- }
1426
-
1427
- // @public
1428
- export type SyncGroupsCreateResponse = SyncGroupsCreateHeaders & SyncGroup;
1429
-
1430
- // @public
1431
- export interface SyncGroupsDeleteHeaders {
1432
- xMsCorrelationRequestId?: string;
1433
- xMsRequestId?: string;
1434
- }
1435
-
1436
- // @public
1437
- export interface SyncGroupsDeleteOptionalParams extends coreClient.OperationOptions {
1438
- }
1439
-
1440
- // @public
1441
- export type SyncGroupsDeleteResponse = SyncGroupsDeleteHeaders;
1442
-
1443
- // @public
1444
- export interface SyncGroupsGetHeaders {
1445
- xMsCorrelationRequestId?: string;
1446
- xMsRequestId?: string;
1447
- }
1448
-
1449
- // @public
1450
- export interface SyncGroupsGetOptionalParams extends coreClient.OperationOptions {
1451
- }
1452
-
1453
- // @public
1454
- export type SyncGroupsGetResponse = SyncGroupsGetHeaders & SyncGroup;
1455
-
1456
- // @public
1457
- export interface SyncGroupsListByStorageSyncServiceHeaders {
1458
- xMsCorrelationRequestId?: string;
1459
- xMsRequestId?: string;
1460
- }
1461
-
1462
- // @public
1463
- export interface SyncGroupsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1464
- }
1465
-
1466
- // @public
1467
- export type SyncGroupsListByStorageSyncServiceResponse = SyncGroupsListByStorageSyncServiceHeaders & SyncGroupArray;
1468
-
1469
- // @public
1470
- export interface TrackedResource extends Resource {
1471
- location: string;
1472
- tags?: {
1473
- [propertyName: string]: string;
1474
- };
1475
- }
1476
-
1477
- // @public
1478
- export interface TriggerChangeDetectionParameters {
1479
- changeDetectionMode?: ChangeDetectionMode;
1480
- directoryPath?: string;
1481
- paths?: string[];
1482
- }
1483
-
1484
- // @public
1485
- export interface TriggerRolloverRequest {
1486
- serverCertificate?: string;
1487
- }
1488
-
1489
- // @public
1490
- export interface Workflow extends ProxyResource {
1491
- readonly commandName?: string;
1492
- readonly createdTimestamp?: Date;
1493
- lastOperationId?: string;
1494
- readonly lastStatusTimestamp?: Date;
1495
- lastStepName?: string;
1496
- operation?: OperationDirection;
1497
- status?: WorkflowStatus;
1498
- steps?: string;
1499
- }
1500
-
1501
- // @public
1502
- export interface WorkflowArray {
1503
- value?: Workflow[];
1504
- }
1505
-
1506
- // @public
1507
- export interface Workflows {
1508
- abort(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsAbortOptionalParams): Promise<WorkflowsAbortResponse>;
1509
- get(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsGetOptionalParams): Promise<WorkflowsGetResponse>;
1510
- listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: WorkflowsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<Workflow>;
1511
- }
1512
-
1513
- // @public
1514
- export interface WorkflowsAbortHeaders {
1515
- xMsCorrelationRequestId?: string;
1516
- xMsRequestId?: string;
1517
- }
1518
-
1519
- // @public
1520
- export interface WorkflowsAbortOptionalParams extends coreClient.OperationOptions {
1521
- }
1522
-
1523
- // @public
1524
- export type WorkflowsAbortResponse = WorkflowsAbortHeaders;
1525
-
1526
- // @public
1527
- export interface WorkflowsGetHeaders {
1528
- xMsCorrelationRequestId?: string;
1529
- xMsRequestId?: string;
1530
- }
1531
-
1532
- // @public
1533
- export interface WorkflowsGetOptionalParams extends coreClient.OperationOptions {
1534
- }
1535
-
1536
- // @public
1537
- export type WorkflowsGetResponse = WorkflowsGetHeaders & Workflow;
1538
-
1539
- // @public
1540
- export interface WorkflowsListByStorageSyncServiceHeaders {
1541
- xMsCorrelationRequestId?: string;
1542
- xMsRequestId?: string;
1543
- }
1544
-
1545
- // @public
1546
- export interface WorkflowsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1547
- }
1548
-
1549
- // @public
1550
- export type WorkflowsListByStorageSyncServiceResponse = WorkflowsListByStorageSyncServiceHeaders & WorkflowArray;
1551
-
1552
- // @public
1553
- export type WorkflowStatus = string;
1554
-
1555
- // (No @packageDocumentation comment for this package)
1556
-
1557
- ```
1
+ ## API Report File for "@azure/arm-storagesync"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+ import { PollerLike } from '@azure/core-lro';
11
+ import { PollOperationState } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export interface BackupRequest {
15
+ azureFileShare?: string;
16
+ }
17
+
18
+ // @public
19
+ export type ChangeDetectionMode = string;
20
+
21
+ // @public
22
+ export interface CheckNameAvailabilityParameters {
23
+ name: string;
24
+ type: "Microsoft.StorageSync/storageSyncServices";
25
+ }
26
+
27
+ // @public
28
+ export interface CheckNameAvailabilityResult {
29
+ readonly message?: string;
30
+ readonly nameAvailable?: boolean;
31
+ readonly reason?: NameAvailabilityReason;
32
+ }
33
+
34
+ // @public
35
+ export interface CloudEndpoint extends ProxyResource {
36
+ azureFileShareName?: string;
37
+ readonly backupEnabled?: string;
38
+ readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
39
+ friendlyName?: string;
40
+ lastOperationName?: string;
41
+ lastWorkflowId?: string;
42
+ partnershipId?: string;
43
+ provisioningState?: string;
44
+ storageAccountResourceId?: string;
45
+ storageAccountTenantId?: string;
46
+ }
47
+
48
+ // @public
49
+ export interface CloudEndpointArray {
50
+ value?: CloudEndpoint[];
51
+ }
52
+
53
+ // @public
54
+ export interface CloudEndpointChangeEnumerationActivity {
55
+ readonly deletesProgressPercent?: number;
56
+ readonly lastUpdatedTimestamp?: Date;
57
+ readonly minutesRemaining?: number;
58
+ readonly operationState?: CloudEndpointChangeEnumerationActivityState;
59
+ readonly processedDirectoriesCount?: number;
60
+ readonly processedFilesCount?: number;
61
+ readonly progressPercent?: number;
62
+ readonly startedTimestamp?: Date;
63
+ readonly statusCode?: number;
64
+ readonly totalCountsState?: CloudEndpointChangeEnumerationTotalCountsState;
65
+ readonly totalDirectoriesCount?: number;
66
+ readonly totalFilesCount?: number;
67
+ readonly totalSizeBytes?: number;
68
+ }
69
+
70
+ // @public
71
+ export type CloudEndpointChangeEnumerationActivityState = string;
72
+
73
+ // @public
74
+ export interface CloudEndpointChangeEnumerationStatus {
75
+ readonly activity?: CloudEndpointChangeEnumerationActivity;
76
+ readonly lastEnumerationStatus?: CloudEndpointLastChangeEnumerationStatus;
77
+ readonly lastUpdatedTimestamp?: Date;
78
+ }
79
+
80
+ // @public
81
+ export type CloudEndpointChangeEnumerationTotalCountsState = string;
82
+
83
+ // @public
84
+ export interface CloudEndpointCreateParameters extends ProxyResource {
85
+ azureFileShareName?: string;
86
+ friendlyName?: string;
87
+ storageAccountResourceId?: string;
88
+ storageAccountTenantId?: string;
89
+ }
90
+
91
+ // @public
92
+ export interface CloudEndpointLastChangeEnumerationStatus {
93
+ readonly completedTimestamp?: Date;
94
+ readonly namespaceDirectoriesCount?: number;
95
+ readonly namespaceFilesCount?: number;
96
+ readonly namespaceSizeBytes?: number;
97
+ readonly nextRunTimestamp?: Date;
98
+ readonly startedTimestamp?: Date;
99
+ }
100
+
101
+ // @public
102
+ export interface CloudEndpoints {
103
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsCreateResponse>, CloudEndpointsCreateResponse>>;
104
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<CloudEndpointsCreateResponse>;
105
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsDeleteResponse>, CloudEndpointsDeleteResponse>>;
106
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<CloudEndpointsDeleteResponse>;
107
+ beginPostBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPostBackupResponse>, CloudEndpointsPostBackupResponse>>;
108
+ beginPostBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<CloudEndpointsPostBackupResponse>;
109
+ beginPostRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
110
+ beginPostRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<void>;
111
+ beginPreBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPreBackupResponse>, CloudEndpointsPreBackupResponse>>;
112
+ beginPreBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<CloudEndpointsPreBackupResponse>;
113
+ beginPreRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
114
+ beginPreRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<void>;
115
+ beginTriggerChangeDetection(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
116
+ beginTriggerChangeDetectionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<void>;
117
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsGetOptionalParams): Promise<CloudEndpointsGetResponse>;
118
+ listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: CloudEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<CloudEndpoint>;
119
+ restoreheartbeat(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsRestoreheartbeatOptionalParams): Promise<CloudEndpointsRestoreheartbeatResponse>;
120
+ }
121
+
122
+ // @public
123
+ export interface CloudEndpointsCreateHeaders {
124
+ xMsCorrelationRequestId?: string;
125
+ xMsRequestId?: string;
126
+ }
127
+
128
+ // @public
129
+ export interface CloudEndpointsCreateOptionalParams extends coreClient.OperationOptions {
130
+ resumeFrom?: string;
131
+ updateIntervalInMs?: number;
132
+ }
133
+
134
+ // @public
135
+ export type CloudEndpointsCreateResponse = CloudEndpointsCreateHeaders & CloudEndpoint;
136
+
137
+ // @public
138
+ export interface CloudEndpointsDeleteHeaders {
139
+ xMsCorrelationRequestId?: string;
140
+ xMsRequestId?: string;
141
+ }
142
+
143
+ // @public
144
+ export interface CloudEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
145
+ resumeFrom?: string;
146
+ updateIntervalInMs?: number;
147
+ }
148
+
149
+ // @public
150
+ export type CloudEndpointsDeleteResponse = CloudEndpointsDeleteHeaders;
151
+
152
+ // @public
153
+ export interface CloudEndpointsGetHeaders {
154
+ xMsCorrelationRequestId?: string;
155
+ xMsRequestId?: string;
156
+ }
157
+
158
+ // @public
159
+ export interface CloudEndpointsGetOptionalParams extends coreClient.OperationOptions {
160
+ }
161
+
162
+ // @public
163
+ export type CloudEndpointsGetResponse = CloudEndpointsGetHeaders & CloudEndpoint;
164
+
165
+ // @public
166
+ export interface CloudEndpointsListBySyncGroupHeaders {
167
+ xMsCorrelationRequestId?: string;
168
+ xMsRequestId?: string;
169
+ }
170
+
171
+ // @public
172
+ export interface CloudEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
173
+ }
174
+
175
+ // @public
176
+ export type CloudEndpointsListBySyncGroupResponse = CloudEndpointsListBySyncGroupHeaders & CloudEndpointArray;
177
+
178
+ // @public
179
+ export interface CloudEndpointsPostBackupHeaders {
180
+ location?: string;
181
+ xMsCorrelationRequestId?: string;
182
+ xMsRequestId?: string;
183
+ }
184
+
185
+ // @public
186
+ export interface CloudEndpointsPostBackupOptionalParams extends coreClient.OperationOptions {
187
+ resumeFrom?: string;
188
+ updateIntervalInMs?: number;
189
+ }
190
+
191
+ // @public
192
+ export type CloudEndpointsPostBackupResponse = CloudEndpointsPostBackupHeaders & PostBackupResponse;
193
+
194
+ // @public
195
+ export interface CloudEndpointsPostRestoreHeaders {
196
+ location?: string;
197
+ xMsCorrelationRequestId?: string;
198
+ xMsRequestId?: string;
199
+ }
200
+
201
+ // @public
202
+ export interface CloudEndpointsPostRestoreOptionalParams extends coreClient.OperationOptions {
203
+ resumeFrom?: string;
204
+ updateIntervalInMs?: number;
205
+ }
206
+
207
+ // @public
208
+ export interface CloudEndpointsPreBackupHeaders {
209
+ location?: string;
210
+ xMsCorrelationRequestId?: string;
211
+ xMsRequestId?: string;
212
+ }
213
+
214
+ // @public
215
+ export interface CloudEndpointsPreBackupOptionalParams extends coreClient.OperationOptions {
216
+ resumeFrom?: string;
217
+ updateIntervalInMs?: number;
218
+ }
219
+
220
+ // @public
221
+ export type CloudEndpointsPreBackupResponse = CloudEndpointsPreBackupHeaders;
222
+
223
+ // @public
224
+ export interface CloudEndpointsPreRestoreHeaders {
225
+ location?: string;
226
+ xMsCorrelationRequestId?: string;
227
+ xMsRequestId?: string;
228
+ }
229
+
230
+ // @public
231
+ export interface CloudEndpointsPreRestoreOptionalParams extends coreClient.OperationOptions {
232
+ resumeFrom?: string;
233
+ updateIntervalInMs?: number;
234
+ }
235
+
236
+ // @public
237
+ export interface CloudEndpointsRestoreheartbeatHeaders {
238
+ xMsCorrelationRequestId?: string;
239
+ xMsRequestId?: string;
240
+ }
241
+
242
+ // @public
243
+ export interface CloudEndpointsRestoreheartbeatOptionalParams extends coreClient.OperationOptions {
244
+ }
245
+
246
+ // @public
247
+ export type CloudEndpointsRestoreheartbeatResponse = CloudEndpointsRestoreheartbeatHeaders;
248
+
249
+ // @public
250
+ export interface CloudEndpointsTriggerChangeDetectionHeaders {
251
+ location?: string;
252
+ xMsCorrelationRequestId?: string;
253
+ xMsRequestId?: string;
254
+ }
255
+
256
+ // @public
257
+ export interface CloudEndpointsTriggerChangeDetectionOptionalParams extends coreClient.OperationOptions {
258
+ resumeFrom?: string;
259
+ updateIntervalInMs?: number;
260
+ }
261
+
262
+ // @public
263
+ export interface CloudTieringCachePerformance {
264
+ readonly cacheHitBytes?: number;
265
+ readonly cacheHitBytesPercent?: number;
266
+ readonly cacheMissBytes?: number;
267
+ readonly lastUpdatedTimestamp?: Date;
268
+ }
269
+
270
+ // @public
271
+ export interface CloudTieringDatePolicyStatus {
272
+ readonly lastUpdatedTimestamp?: Date;
273
+ readonly tieredFilesMostRecentAccessTimestamp?: Date;
274
+ }
275
+
276
+ // @public
277
+ export interface CloudTieringFilesNotTiering {
278
+ readonly errors?: FilesNotTieringError[];
279
+ readonly lastUpdatedTimestamp?: Date;
280
+ readonly totalFileCount?: number;
281
+ }
282
+
283
+ // @public
284
+ export interface CloudTieringSpaceSavings {
285
+ readonly cachedSizeBytes?: number;
286
+ readonly lastUpdatedTimestamp?: Date;
287
+ readonly spaceSavingsBytes?: number;
288
+ readonly spaceSavingsPercent?: number;
289
+ readonly totalSizeCloudBytes?: number;
290
+ readonly volumeSizeBytes?: number;
291
+ }
292
+
293
+ // @public
294
+ export interface CloudTieringVolumeFreeSpacePolicyStatus {
295
+ readonly currentVolumeFreeSpacePercent?: number;
296
+ readonly effectiveVolumeFreeSpacePolicy?: number;
297
+ readonly lastUpdatedTimestamp?: Date;
298
+ }
299
+
300
+ // @public
301
+ export type FeatureStatus = string;
302
+
303
+ // @public
304
+ export interface FilesNotTieringError {
305
+ readonly errorCode?: number;
306
+ readonly fileCount?: number;
307
+ }
308
+
309
+ // @public
310
+ export function getContinuationToken(page: unknown): string | undefined;
311
+
312
+ // @public
313
+ export type IncomingTrafficPolicy = string;
314
+
315
+ // @public
316
+ export type InitialDownloadPolicy = string;
317
+
318
+ // @public
319
+ export type InitialUploadPolicy = string;
320
+
321
+ // @public
322
+ export enum KnownChangeDetectionMode {
323
+ Default = "Default",
324
+ Recursive = "Recursive"
325
+ }
326
+
327
+ // @public
328
+ export enum KnownCloudEndpointChangeEnumerationActivityState {
329
+ EnumerationInProgress = "EnumerationInProgress",
330
+ InitialEnumerationInProgress = "InitialEnumerationInProgress"
331
+ }
332
+
333
+ // @public
334
+ export enum KnownCloudEndpointChangeEnumerationTotalCountsState {
335
+ Calculating = "Calculating",
336
+ Final = "Final"
337
+ }
338
+
339
+ // @public
340
+ export enum KnownFeatureStatus {
341
+ Off = "off",
342
+ On = "on"
343
+ }
344
+
345
+ // @public
346
+ export enum KnownIncomingTrafficPolicy {
347
+ AllowAllTraffic = "AllowAllTraffic",
348
+ AllowVirtualNetworksOnly = "AllowVirtualNetworksOnly"
349
+ }
350
+
351
+ // @public
352
+ export enum KnownInitialDownloadPolicy {
353
+ AvoidTieredFiles = "AvoidTieredFiles",
354
+ NamespaceOnly = "NamespaceOnly",
355
+ NamespaceThenModifiedFiles = "NamespaceThenModifiedFiles"
356
+ }
357
+
358
+ // @public
359
+ export enum KnownInitialUploadPolicy {
360
+ Merge = "Merge",
361
+ ServerAuthoritative = "ServerAuthoritative"
362
+ }
363
+
364
+ // @public
365
+ export enum KnownLocalCacheMode {
366
+ DownloadNewAndModifiedFiles = "DownloadNewAndModifiedFiles",
367
+ UpdateLocallyCachedFiles = "UpdateLocallyCachedFiles"
368
+ }
369
+
370
+ // @public
371
+ export enum KnownOperationDirection {
372
+ Cancel = "cancel",
373
+ Do = "do",
374
+ Undo = "undo"
375
+ }
376
+
377
+ // @public
378
+ export enum KnownPrivateEndpointConnectionProvisioningState {
379
+ Creating = "Creating",
380
+ Deleting = "Deleting",
381
+ Failed = "Failed",
382
+ Succeeded = "Succeeded"
383
+ }
384
+
385
+ // @public
386
+ export enum KnownPrivateEndpointServiceConnectionStatus {
387
+ Approved = "Approved",
388
+ Pending = "Pending",
389
+ Rejected = "Rejected"
390
+ }
391
+
392
+ // @public
393
+ export enum KnownProgressType {
394
+ Download = "download",
395
+ Initialize = "initialize",
396
+ None = "none",
397
+ Recall = "recall",
398
+ Upload = "upload"
399
+ }
400
+
401
+ // @public
402
+ export enum KnownReason {
403
+ Deleted = "Deleted",
404
+ Registered = "Registered",
405
+ Suspended = "Suspended",
406
+ Unregistered = "Unregistered",
407
+ Warned = "Warned"
408
+ }
409
+
410
+ // @public
411
+ export enum KnownRegisteredServerAgentVersionStatus {
412
+ Blocked = "Blocked",
413
+ Expired = "Expired",
414
+ NearExpiry = "NearExpiry",
415
+ Ok = "Ok"
416
+ }
417
+
418
+ // @public
419
+ export enum KnownServerEndpointHealthState {
420
+ Error = "Error",
421
+ Healthy = "Healthy",
422
+ Unavailable = "Unavailable"
423
+ }
424
+
425
+ // @public
426
+ export enum KnownServerEndpointOfflineDataTransferState {
427
+ Complete = "Complete",
428
+ InProgress = "InProgress",
429
+ NotRunning = "NotRunning",
430
+ Stopping = "Stopping"
431
+ }
432
+
433
+ // @public
434
+ export enum KnownServerEndpointSyncActivityState {
435
+ Download = "Download",
436
+ Upload = "Upload",
437
+ UploadAndDownload = "UploadAndDownload"
438
+ }
439
+
440
+ // @public
441
+ export enum KnownServerEndpointSyncMode {
442
+ InitialFullDownload = "InitialFullDownload",
443
+ InitialUpload = "InitialUpload",
444
+ NamespaceDownload = "NamespaceDownload",
445
+ Regular = "Regular",
446
+ SnapshotUpload = "SnapshotUpload"
447
+ }
448
+
449
+ // @public
450
+ export enum KnownWorkflowStatus {
451
+ Aborted = "aborted",
452
+ Active = "active",
453
+ Expired = "expired",
454
+ Failed = "failed",
455
+ Succeeded = "succeeded"
456
+ }
457
+
458
+ // @public
459
+ export type LocalCacheMode = string;
460
+
461
+ // @public
462
+ export interface LocationOperationStatus {
463
+ readonly endTime?: Date;
464
+ readonly error?: StorageSyncApiError;
465
+ readonly id?: string;
466
+ readonly name?: string;
467
+ readonly percentComplete?: number;
468
+ readonly startTime?: Date;
469
+ readonly status?: string;
470
+ }
471
+
472
+ // @public
473
+ export interface LocationOperationStatusOptionalParams extends coreClient.OperationOptions {
474
+ }
475
+
476
+ // @public
477
+ export type LocationOperationStatusResponse = MicrosoftStorageSyncLocationOperationStatusHeaders & LocationOperationStatus;
478
+
479
+ // @public (undocumented)
480
+ export class MicrosoftStorageSync extends coreClient.ServiceClient {
481
+ // (undocumented)
482
+ $host: string;
483
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftStorageSyncOptionalParams);
484
+ // (undocumented)
485
+ apiVersion: string;
486
+ // (undocumented)
487
+ cloudEndpoints: CloudEndpoints;
488
+ locationOperationStatus(locationName: string, operationId: string, options?: LocationOperationStatusOptionalParams): Promise<LocationOperationStatusResponse>;
489
+ // (undocumented)
490
+ operations: Operations;
491
+ // (undocumented)
492
+ operationStatusOperations: OperationStatusOperations;
493
+ // (undocumented)
494
+ privateEndpointConnections: PrivateEndpointConnections;
495
+ // (undocumented)
496
+ privateLinkResources: PrivateLinkResources;
497
+ // (undocumented)
498
+ registeredServers: RegisteredServers;
499
+ // (undocumented)
500
+ serverEndpoints: ServerEndpoints;
501
+ // (undocumented)
502
+ storageSyncServices: StorageSyncServices;
503
+ // (undocumented)
504
+ subscriptionId: string;
505
+ // (undocumented)
506
+ syncGroups: SyncGroups;
507
+ // (undocumented)
508
+ workflows: Workflows;
509
+ }
510
+
511
+ // @public
512
+ export interface MicrosoftStorageSyncLocationOperationStatusHeaders {
513
+ xMsCorrelationRequestId?: string;
514
+ xMsRequestId?: string;
515
+ }
516
+
517
+ // @public
518
+ export interface MicrosoftStorageSyncOptionalParams extends coreClient.ServiceClientOptions {
519
+ $host?: string;
520
+ apiVersion?: string;
521
+ endpoint?: string;
522
+ }
523
+
524
+ // @public
525
+ export type NameAvailabilityReason = "Invalid" | "AlreadyExists";
526
+
527
+ // @public
528
+ export type OperationDirection = string;
529
+
530
+ // @public
531
+ export interface OperationDisplayInfo {
532
+ description?: string;
533
+ operation?: string;
534
+ provider?: string;
535
+ resource?: string;
536
+ }
537
+
538
+ // @public
539
+ export interface OperationDisplayResource {
540
+ description?: string;
541
+ operation?: string;
542
+ provider?: string;
543
+ resource?: string;
544
+ }
545
+
546
+ // @public
547
+ export interface OperationEntity {
548
+ display?: OperationDisplayInfo;
549
+ name?: string;
550
+ origin?: string;
551
+ properties?: OperationProperties;
552
+ }
553
+
554
+ // @public
555
+ export interface OperationEntityListResult {
556
+ nextLink?: string;
557
+ value?: OperationEntity[];
558
+ }
559
+
560
+ // @public
561
+ export interface OperationProperties {
562
+ serviceSpecification?: OperationResourceServiceSpecification;
563
+ }
564
+
565
+ // @public
566
+ export interface OperationResourceMetricSpecification {
567
+ aggregationType?: string;
568
+ dimensions?: OperationResourceMetricSpecificationDimension[];
569
+ displayDescription?: string;
570
+ displayName?: string;
571
+ fillGapWithZero?: boolean;
572
+ name?: string;
573
+ unit?: string;
574
+ }
575
+
576
+ // @public
577
+ export interface OperationResourceMetricSpecificationDimension {
578
+ displayName?: string;
579
+ name?: string;
580
+ toBeExportedForShoebox?: boolean;
581
+ }
582
+
583
+ // @public
584
+ export interface OperationResourceServiceSpecification {
585
+ metricSpecifications?: OperationResourceMetricSpecification[];
586
+ }
587
+
588
+ // @public
589
+ export interface Operations {
590
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
591
+ }
592
+
593
+ // @public
594
+ export interface OperationsListHeaders {
595
+ xMsCorrelationRequestId?: string;
596
+ xMsRequestId?: string;
597
+ }
598
+
599
+ // @public
600
+ export interface OperationsListNextHeaders {
601
+ xMsCorrelationRequestId?: string;
602
+ xMsRequestId?: string;
603
+ }
604
+
605
+ // @public
606
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
607
+ }
608
+
609
+ // @public
610
+ export type OperationsListNextResponse = OperationsListNextHeaders & OperationEntityListResult;
611
+
612
+ // @public
613
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
614
+ }
615
+
616
+ // @public
617
+ export type OperationsListResponse = OperationsListHeaders & OperationEntityListResult;
618
+
619
+ // @public
620
+ export interface OperationStatus {
621
+ readonly endTime?: Date;
622
+ readonly error?: StorageSyncApiError;
623
+ readonly name?: string;
624
+ readonly startTime?: Date;
625
+ readonly status?: string;
626
+ }
627
+
628
+ // @public
629
+ export interface OperationStatusGetHeaders {
630
+ xMsCorrelationRequestId?: string;
631
+ xMsRequestId?: string;
632
+ }
633
+
634
+ // @public
635
+ export interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {
636
+ }
637
+
638
+ // @public
639
+ export type OperationStatusGetResponse = OperationStatusGetHeaders & OperationStatus;
640
+
641
+ // @public
642
+ export interface OperationStatusOperations {
643
+ get(resourceGroupName: string, locationName: string, workflowId: string, operationId: string, options?: OperationStatusGetOptionalParams): Promise<OperationStatusGetResponse>;
644
+ }
645
+
646
+ // @public
647
+ export interface PostBackupResponse {
648
+ readonly cloudEndpointName?: string;
649
+ }
650
+
651
+ // @public
652
+ export interface PostRestoreRequest {
653
+ azureFileShareUri?: string;
654
+ failedFileList?: string;
655
+ partition?: string;
656
+ replicaGroup?: string;
657
+ requestId?: string;
658
+ restoreFileSpec?: RestoreFileSpec[];
659
+ sourceAzureFileShareUri?: string;
660
+ status?: string;
661
+ }
662
+
663
+ // @public
664
+ export interface PreRestoreRequest {
665
+ azureFileShareUri?: string;
666
+ backupMetadataPropertyBag?: string;
667
+ partition?: string;
668
+ pauseWaitForSyncDrainTimePeriodInSeconds?: number;
669
+ replicaGroup?: string;
670
+ requestId?: string;
671
+ restoreFileSpec?: RestoreFileSpec[];
672
+ sourceAzureFileShareUri?: string;
673
+ status?: string;
674
+ }
675
+
676
+ // @public
677
+ export interface PrivateEndpoint {
678
+ readonly id?: string;
679
+ }
680
+
681
+ // @public
682
+ export interface PrivateEndpointConnection extends Resource {
683
+ privateEndpoint?: PrivateEndpoint;
684
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
685
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
686
+ }
687
+
688
+ // @public
689
+ export interface PrivateEndpointConnectionListResult {
690
+ value?: PrivateEndpointConnection[];
691
+ }
692
+
693
+ // @public
694
+ export type PrivateEndpointConnectionProvisioningState = string;
695
+
696
+ // @public
697
+ export interface PrivateEndpointConnections {
698
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
699
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
700
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
701
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
702
+ get(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
703
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
704
+ }
705
+
706
+ // @public
707
+ export interface PrivateEndpointConnectionsCreateHeaders {
708
+ azureAsyncOperation?: string;
709
+ location?: string;
710
+ retryAfter?: string;
711
+ xMsCorrelationRequestId?: string;
712
+ xMsRequestId?: string;
713
+ }
714
+
715
+ // @public
716
+ export interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
717
+ resumeFrom?: string;
718
+ updateIntervalInMs?: number;
719
+ }
720
+
721
+ // @public
722
+ export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
723
+
724
+ // @public
725
+ export interface PrivateEndpointConnectionsDeleteHeaders {
726
+ azureAsyncOperation?: string;
727
+ location?: string;
728
+ retryAfter?: string;
729
+ xMsCorrelationRequestId?: string;
730
+ xMsRequestId?: string;
731
+ }
732
+
733
+ // @public
734
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
735
+ resumeFrom?: string;
736
+ updateIntervalInMs?: number;
737
+ }
738
+
739
+ // @public
740
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
741
+ }
742
+
743
+ // @public
744
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
745
+
746
+ // @public
747
+ export interface PrivateEndpointConnectionsListByStorageSyncServiceHeaders {
748
+ xMsCorrelationRequestId?: string;
749
+ xMsRequestId?: string;
750
+ }
751
+
752
+ // @public
753
+ export interface PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
754
+ }
755
+
756
+ // @public
757
+ export type PrivateEndpointConnectionsListByStorageSyncServiceResponse = PrivateEndpointConnectionsListByStorageSyncServiceHeaders & PrivateEndpointConnectionListResult;
758
+
759
+ // @public
760
+ export type PrivateEndpointServiceConnectionStatus = string;
761
+
762
+ // @public
763
+ export interface PrivateLinkResource extends Resource {
764
+ readonly groupId?: string;
765
+ readonly requiredMembers?: string[];
766
+ requiredZoneNames?: string[];
767
+ }
768
+
769
+ // @public
770
+ export interface PrivateLinkResourceListResult {
771
+ value?: PrivateLinkResource[];
772
+ }
773
+
774
+ // @public
775
+ export interface PrivateLinkResources {
776
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateLinkResourcesListByStorageSyncServiceOptionalParams): Promise<PrivateLinkResourcesListByStorageSyncServiceResponse>;
777
+ }
778
+
779
+ // @public
780
+ export interface PrivateLinkResourcesListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
781
+ }
782
+
783
+ // @public
784
+ export type PrivateLinkResourcesListByStorageSyncServiceResponse = PrivateLinkResourceListResult;
785
+
786
+ // @public
787
+ export interface PrivateLinkServiceConnectionState {
788
+ actionsRequired?: string;
789
+ description?: string;
790
+ status?: PrivateEndpointServiceConnectionStatus;
791
+ }
792
+
793
+ // @public
794
+ export type ProgressType = string;
795
+
796
+ // @public
797
+ export interface ProxyResource extends Resource {
798
+ }
799
+
800
+ // @public
801
+ export type Reason = string;
802
+
803
+ // @public
804
+ export interface RecallActionParameters {
805
+ pattern?: string;
806
+ recallPath?: string;
807
+ }
808
+
809
+ // @public
810
+ export interface RegisteredServer extends ProxyResource {
811
+ agentVersion?: string;
812
+ readonly agentVersionExpirationDate?: Date;
813
+ readonly agentVersionStatus?: RegisteredServerAgentVersionStatus;
814
+ clusterId?: string;
815
+ clusterName?: string;
816
+ discoveryEndpointUri?: string;
817
+ friendlyName?: string;
818
+ lastHeartBeat?: string;
819
+ lastOperationName?: string;
820
+ lastWorkflowId?: string;
821
+ managementEndpointUri?: string;
822
+ monitoringConfiguration?: string;
823
+ monitoringEndpointUri?: string;
824
+ provisioningState?: string;
825
+ resourceLocation?: string;
826
+ serverCertificate?: string;
827
+ serverId?: string;
828
+ serverManagementErrorCode?: number;
829
+ readonly serverName?: string;
830
+ serverOSVersion?: string;
831
+ serverRole?: string;
832
+ serviceLocation?: string;
833
+ storageSyncServiceUid?: string;
834
+ }
835
+
836
+ // @public
837
+ export type RegisteredServerAgentVersionStatus = string;
838
+
839
+ // @public
840
+ export interface RegisteredServerArray {
841
+ value?: RegisteredServer[];
842
+ }
843
+
844
+ // @public
845
+ export interface RegisteredServerCreateParameters extends ProxyResource {
846
+ agentVersion?: string;
847
+ clusterId?: string;
848
+ clusterName?: string;
849
+ friendlyName?: string;
850
+ lastHeartBeat?: string;
851
+ serverCertificate?: string;
852
+ serverId?: string;
853
+ serverOSVersion?: string;
854
+ serverRole?: string;
855
+ }
856
+
857
+ // @public
858
+ export interface RegisteredServers {
859
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersCreateResponse>, RegisteredServersCreateResponse>>;
860
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<RegisteredServersCreateResponse>;
861
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersDeleteResponse>, RegisteredServersDeleteResponse>>;
862
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<RegisteredServersDeleteResponse>;
863
+ beginTriggerRollover(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersTriggerRolloverResponse>, RegisteredServersTriggerRolloverResponse>>;
864
+ beginTriggerRolloverAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<RegisteredServersTriggerRolloverResponse>;
865
+ get(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersGetOptionalParams): Promise<RegisteredServersGetResponse>;
866
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: RegisteredServersListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<RegisteredServer>;
867
+ }
868
+
869
+ // @public
870
+ export interface RegisteredServersCreateHeaders {
871
+ xMsCorrelationRequestId?: string;
872
+ xMsRequestId?: string;
873
+ }
874
+
875
+ // @public
876
+ export interface RegisteredServersCreateOptionalParams extends coreClient.OperationOptions {
877
+ resumeFrom?: string;
878
+ updateIntervalInMs?: number;
879
+ }
880
+
881
+ // @public
882
+ export type RegisteredServersCreateResponse = RegisteredServersCreateHeaders & RegisteredServer;
883
+
884
+ // @public
885
+ export interface RegisteredServersDeleteHeaders {
886
+ xMsCorrelationRequestId?: string;
887
+ xMsRequestId?: string;
888
+ }
889
+
890
+ // @public
891
+ export interface RegisteredServersDeleteOptionalParams extends coreClient.OperationOptions {
892
+ resumeFrom?: string;
893
+ updateIntervalInMs?: number;
894
+ }
895
+
896
+ // @public
897
+ export type RegisteredServersDeleteResponse = RegisteredServersDeleteHeaders;
898
+
899
+ // @public
900
+ export interface RegisteredServersGetHeaders {
901
+ xMsCorrelationRequestId?: string;
902
+ xMsRequestId?: string;
903
+ }
904
+
905
+ // @public
906
+ export interface RegisteredServersGetOptionalParams extends coreClient.OperationOptions {
907
+ }
908
+
909
+ // @public
910
+ export type RegisteredServersGetResponse = RegisteredServersGetHeaders & RegisteredServer;
911
+
912
+ // @public
913
+ export interface RegisteredServersListByStorageSyncServiceHeaders {
914
+ xMsCorrelationRequestId?: string;
915
+ xMsRequestId?: string;
916
+ }
917
+
918
+ // @public
919
+ export interface RegisteredServersListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
920
+ }
921
+
922
+ // @public
923
+ export type RegisteredServersListByStorageSyncServiceResponse = RegisteredServersListByStorageSyncServiceHeaders & RegisteredServerArray;
924
+
925
+ // @public
926
+ export interface RegisteredServersTriggerRolloverHeaders {
927
+ xMsCorrelationRequestId?: string;
928
+ xMsRequestId?: string;
929
+ }
930
+
931
+ // @public
932
+ export interface RegisteredServersTriggerRolloverOptionalParams extends coreClient.OperationOptions {
933
+ resumeFrom?: string;
934
+ updateIntervalInMs?: number;
935
+ }
936
+
937
+ // @public
938
+ export type RegisteredServersTriggerRolloverResponse = RegisteredServersTriggerRolloverHeaders;
939
+
940
+ // @public
941
+ export interface Resource {
942
+ readonly id?: string;
943
+ readonly name?: string;
944
+ readonly type?: string;
945
+ }
946
+
947
+ // @public
948
+ export interface ResourcesMoveInfo {
949
+ resources?: string[];
950
+ targetResourceGroup?: string;
951
+ }
952
+
953
+ // @public
954
+ export interface RestoreFileSpec {
955
+ isdir?: boolean;
956
+ path?: string;
957
+ }
958
+
959
+ // @public
960
+ export interface ServerEndpoint extends ProxyResource {
961
+ cloudTiering?: FeatureStatus;
962
+ readonly cloudTieringStatus?: ServerEndpointCloudTieringStatus;
963
+ friendlyName?: string;
964
+ initialDownloadPolicy?: InitialDownloadPolicy;
965
+ initialUploadPolicy?: InitialUploadPolicy;
966
+ readonly lastOperationName?: string;
967
+ readonly lastWorkflowId?: string;
968
+ localCacheMode?: LocalCacheMode;
969
+ offlineDataTransfer?: FeatureStatus;
970
+ offlineDataTransferShareName?: string;
971
+ readonly offlineDataTransferStorageAccountResourceId?: string;
972
+ readonly offlineDataTransferStorageAccountTenantId?: string;
973
+ readonly provisioningState?: string;
974
+ readonly recallStatus?: ServerEndpointRecallStatus;
975
+ serverLocalPath?: string;
976
+ readonly serverName?: string;
977
+ serverResourceId?: string;
978
+ readonly syncStatus?: ServerEndpointSyncStatus;
979
+ tierFilesOlderThanDays?: number;
980
+ volumeFreeSpacePercent?: number;
981
+ }
982
+
983
+ // @public
984
+ export interface ServerEndpointArray {
985
+ value?: ServerEndpoint[];
986
+ }
987
+
988
+ // @public
989
+ export interface ServerEndpointBackgroundDataDownloadActivity {
990
+ readonly downloadedBytes?: number;
991
+ readonly percentProgress?: number;
992
+ readonly startedTimestamp?: Date;
993
+ readonly timestamp?: Date;
994
+ }
995
+
996
+ // @public
997
+ export interface ServerEndpointCloudTieringStatus {
998
+ readonly cachePerformance?: CloudTieringCachePerformance;
999
+ readonly datePolicyStatus?: CloudTieringDatePolicyStatus;
1000
+ readonly filesNotTiering?: CloudTieringFilesNotTiering;
1001
+ readonly health?: ServerEndpointHealthState;
1002
+ readonly healthLastUpdatedTimestamp?: Date;
1003
+ readonly lastCloudTieringResult?: number;
1004
+ readonly lastSuccessTimestamp?: Date;
1005
+ readonly lastUpdatedTimestamp?: Date;
1006
+ readonly spaceSavings?: CloudTieringSpaceSavings;
1007
+ readonly volumeFreeSpacePolicyStatus?: CloudTieringVolumeFreeSpacePolicyStatus;
1008
+ }
1009
+
1010
+ // @public
1011
+ export interface ServerEndpointCreateParameters extends ProxyResource {
1012
+ cloudTiering?: FeatureStatus;
1013
+ friendlyName?: string;
1014
+ initialDownloadPolicy?: InitialDownloadPolicy;
1015
+ initialUploadPolicy?: InitialUploadPolicy;
1016
+ localCacheMode?: LocalCacheMode;
1017
+ offlineDataTransfer?: FeatureStatus;
1018
+ offlineDataTransferShareName?: string;
1019
+ serverLocalPath?: string;
1020
+ serverResourceId?: string;
1021
+ tierFilesOlderThanDays?: number;
1022
+ volumeFreeSpacePercent?: number;
1023
+ }
1024
+
1025
+ // @public
1026
+ export interface ServerEndpointFilesNotSyncingError {
1027
+ readonly errorCode?: number;
1028
+ readonly persistentCount?: number;
1029
+ readonly transientCount?: number;
1030
+ }
1031
+
1032
+ // @public
1033
+ export type ServerEndpointHealthState = string;
1034
+
1035
+ // @public
1036
+ export type ServerEndpointOfflineDataTransferState = string;
1037
+
1038
+ // @public
1039
+ export interface ServerEndpointRecallError {
1040
+ readonly count?: number;
1041
+ readonly errorCode?: number;
1042
+ }
1043
+
1044
+ // @public
1045
+ export interface ServerEndpointRecallStatus {
1046
+ readonly lastUpdatedTimestamp?: Date;
1047
+ readonly recallErrors?: ServerEndpointRecallError[];
1048
+ readonly totalRecallErrorsCount?: number;
1049
+ }
1050
+
1051
+ // @public
1052
+ export interface ServerEndpoints {
1053
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsCreateResponse>, ServerEndpointsCreateResponse>>;
1054
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<ServerEndpointsCreateResponse>;
1055
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsDeleteResponse>, ServerEndpointsDeleteResponse>>;
1056
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<ServerEndpointsDeleteResponse>;
1057
+ beginRecallAction(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsRecallActionResponse>, ServerEndpointsRecallActionResponse>>;
1058
+ beginRecallActionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<ServerEndpointsRecallActionResponse>;
1059
+ beginUpdate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsUpdateResponse>, ServerEndpointsUpdateResponse>>;
1060
+ beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<ServerEndpointsUpdateResponse>;
1061
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsGetOptionalParams): Promise<ServerEndpointsGetResponse>;
1062
+ listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: ServerEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<ServerEndpoint>;
1063
+ }
1064
+
1065
+ // @public
1066
+ export interface ServerEndpointsCreateHeaders {
1067
+ xMsCorrelationRequestId?: string;
1068
+ xMsRequestId?: string;
1069
+ }
1070
+
1071
+ // @public
1072
+ export interface ServerEndpointsCreateOptionalParams extends coreClient.OperationOptions {
1073
+ resumeFrom?: string;
1074
+ updateIntervalInMs?: number;
1075
+ }
1076
+
1077
+ // @public
1078
+ export type ServerEndpointsCreateResponse = ServerEndpointsCreateHeaders & ServerEndpoint;
1079
+
1080
+ // @public
1081
+ export interface ServerEndpointsDeleteHeaders {
1082
+ xMsCorrelationRequestId?: string;
1083
+ xMsRequestId?: string;
1084
+ }
1085
+
1086
+ // @public
1087
+ export interface ServerEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
1088
+ resumeFrom?: string;
1089
+ updateIntervalInMs?: number;
1090
+ }
1091
+
1092
+ // @public
1093
+ export type ServerEndpointsDeleteResponse = ServerEndpointsDeleteHeaders;
1094
+
1095
+ // @public
1096
+ export interface ServerEndpointsGetHeaders {
1097
+ xMsCorrelationRequestId?: string;
1098
+ xMsRequestId?: string;
1099
+ }
1100
+
1101
+ // @public
1102
+ export interface ServerEndpointsGetOptionalParams extends coreClient.OperationOptions {
1103
+ }
1104
+
1105
+ // @public
1106
+ export type ServerEndpointsGetResponse = ServerEndpointsGetHeaders & ServerEndpoint;
1107
+
1108
+ // @public
1109
+ export interface ServerEndpointsListBySyncGroupHeaders {
1110
+ location?: string;
1111
+ xMsCorrelationRequestId?: string;
1112
+ xMsRequestId?: string;
1113
+ }
1114
+
1115
+ // @public
1116
+ export interface ServerEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
1117
+ }
1118
+
1119
+ // @public
1120
+ export type ServerEndpointsListBySyncGroupResponse = ServerEndpointsListBySyncGroupHeaders & ServerEndpointArray;
1121
+
1122
+ // @public
1123
+ export interface ServerEndpointsRecallActionHeaders {
1124
+ xMsCorrelationRequestId?: string;
1125
+ xMsRequestId?: string;
1126
+ }
1127
+
1128
+ // @public
1129
+ export interface ServerEndpointsRecallActionOptionalParams extends coreClient.OperationOptions {
1130
+ resumeFrom?: string;
1131
+ updateIntervalInMs?: number;
1132
+ }
1133
+
1134
+ // @public
1135
+ export type ServerEndpointsRecallActionResponse = ServerEndpointsRecallActionHeaders;
1136
+
1137
+ // @public
1138
+ export interface ServerEndpointsUpdateHeaders {
1139
+ xMsCorrelationRequestId?: string;
1140
+ xMsRequestId?: string;
1141
+ }
1142
+
1143
+ // @public
1144
+ export interface ServerEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
1145
+ parameters?: ServerEndpointUpdateParameters;
1146
+ resumeFrom?: string;
1147
+ updateIntervalInMs?: number;
1148
+ }
1149
+
1150
+ // @public
1151
+ export type ServerEndpointsUpdateResponse = ServerEndpointsUpdateHeaders & ServerEndpoint;
1152
+
1153
+ // @public
1154
+ export type ServerEndpointSyncActivityState = string;
1155
+
1156
+ // @public
1157
+ export interface ServerEndpointSyncActivityStatus {
1158
+ readonly appliedBytes?: number;
1159
+ readonly appliedItemCount?: number;
1160
+ readonly perItemErrorCount?: number;
1161
+ readonly sessionMinutesRemaining?: number;
1162
+ readonly syncMode?: ServerEndpointSyncMode;
1163
+ readonly timestamp?: Date;
1164
+ readonly totalBytes?: number;
1165
+ readonly totalItemCount?: number;
1166
+ }
1167
+
1168
+ // @public
1169
+ export type ServerEndpointSyncMode = string;
1170
+
1171
+ // @public
1172
+ export interface ServerEndpointSyncSessionStatus {
1173
+ readonly filesNotSyncingErrors?: ServerEndpointFilesNotSyncingError[];
1174
+ readonly lastSyncMode?: ServerEndpointSyncMode;
1175
+ readonly lastSyncPerItemErrorCount?: number;
1176
+ readonly lastSyncResult?: number;
1177
+ readonly lastSyncSuccessTimestamp?: Date;
1178
+ readonly lastSyncTimestamp?: Date;
1179
+ readonly persistentFilesNotSyncingCount?: number;
1180
+ readonly transientFilesNotSyncingCount?: number;
1181
+ }
1182
+
1183
+ // @public
1184
+ export interface ServerEndpointSyncStatus {
1185
+ readonly backgroundDataDownloadActivity?: ServerEndpointBackgroundDataDownloadActivity;
1186
+ readonly combinedHealth?: ServerEndpointHealthState;
1187
+ readonly downloadActivity?: ServerEndpointSyncActivityStatus;
1188
+ readonly downloadHealth?: ServerEndpointHealthState;
1189
+ readonly downloadStatus?: ServerEndpointSyncSessionStatus;
1190
+ readonly lastUpdatedTimestamp?: Date;
1191
+ readonly offlineDataTransferStatus?: ServerEndpointOfflineDataTransferState;
1192
+ readonly syncActivity?: ServerEndpointSyncActivityState;
1193
+ readonly totalPersistentFilesNotSyncingCount?: number;
1194
+ readonly uploadActivity?: ServerEndpointSyncActivityStatus;
1195
+ readonly uploadHealth?: ServerEndpointHealthState;
1196
+ readonly uploadStatus?: ServerEndpointSyncSessionStatus;
1197
+ }
1198
+
1199
+ // @public
1200
+ export interface ServerEndpointUpdateParameters {
1201
+ cloudTiering?: FeatureStatus;
1202
+ localCacheMode?: LocalCacheMode;
1203
+ offlineDataTransfer?: FeatureStatus;
1204
+ offlineDataTransferShareName?: string;
1205
+ tierFilesOlderThanDays?: number;
1206
+ volumeFreeSpacePercent?: number;
1207
+ }
1208
+
1209
+ // @public
1210
+ export interface StorageSyncApiError {
1211
+ code?: string;
1212
+ details?: StorageSyncErrorDetails;
1213
+ innerError?: StorageSyncInnerErrorDetails;
1214
+ message?: string;
1215
+ target?: string;
1216
+ }
1217
+
1218
+ // @public
1219
+ export interface StorageSyncError {
1220
+ error?: StorageSyncApiError;
1221
+ innererror?: StorageSyncApiError;
1222
+ }
1223
+
1224
+ // @public
1225
+ export interface StorageSyncErrorDetails {
1226
+ code?: string;
1227
+ exceptionType?: string;
1228
+ hashedMessage?: string;
1229
+ httpErrorCode?: string;
1230
+ httpMethod?: string;
1231
+ message?: string;
1232
+ requestUri?: string;
1233
+ target?: string;
1234
+ }
1235
+
1236
+ // @public
1237
+ export interface StorageSyncInnerErrorDetails {
1238
+ callStack?: string;
1239
+ innerException?: string;
1240
+ innerExceptionCallStack?: string;
1241
+ message?: string;
1242
+ }
1243
+
1244
+ // @public
1245
+ export interface StorageSyncService extends TrackedResource {
1246
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
1247
+ readonly lastOperationName?: string;
1248
+ readonly lastWorkflowId?: string;
1249
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
1250
+ readonly provisioningState?: string;
1251
+ readonly storageSyncServiceStatus?: number;
1252
+ readonly storageSyncServiceUid?: string;
1253
+ }
1254
+
1255
+ // @public
1256
+ export interface StorageSyncServiceArray {
1257
+ value?: StorageSyncService[];
1258
+ }
1259
+
1260
+ // @public
1261
+ export interface StorageSyncServiceCreateParameters {
1262
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
1263
+ location: string;
1264
+ tags?: {
1265
+ [propertyName: string]: string;
1266
+ };
1267
+ }
1268
+
1269
+ // @public
1270
+ export interface StorageSyncServices {
1271
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesCreateResponse>, StorageSyncServicesCreateResponse>>;
1272
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<StorageSyncServicesCreateResponse>;
1273
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesDeleteResponse>, StorageSyncServicesDeleteResponse>>;
1274
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<StorageSyncServicesDeleteResponse>;
1275
+ beginUpdate(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesUpdateResponse>, StorageSyncServicesUpdateResponse>>;
1276
+ beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<StorageSyncServicesUpdateResponse>;
1277
+ checkNameAvailability(locationName: string, parameters: CheckNameAvailabilityParameters, options?: StorageSyncServicesCheckNameAvailabilityOptionalParams): Promise<StorageSyncServicesCheckNameAvailabilityResponse>;
1278
+ get(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesGetOptionalParams): Promise<StorageSyncServicesGetResponse>;
1279
+ listByResourceGroup(resourceGroupName: string, options?: StorageSyncServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
1280
+ listBySubscription(options?: StorageSyncServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
1281
+ }
1282
+
1283
+ // @public
1284
+ export interface StorageSyncServicesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1285
+ }
1286
+
1287
+ // @public
1288
+ export type StorageSyncServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
1289
+
1290
+ // @public
1291
+ export interface StorageSyncServicesCreateHeaders {
1292
+ azureAsyncOperation?: string;
1293
+ location?: string;
1294
+ retryAfter?: string;
1295
+ xMsCorrelationRequestId?: string;
1296
+ xMsRequestId?: string;
1297
+ }
1298
+
1299
+ // @public
1300
+ export interface StorageSyncServicesCreateOptionalParams extends coreClient.OperationOptions {
1301
+ resumeFrom?: string;
1302
+ updateIntervalInMs?: number;
1303
+ }
1304
+
1305
+ // @public
1306
+ export type StorageSyncServicesCreateResponse = StorageSyncService;
1307
+
1308
+ // @public
1309
+ export interface StorageSyncServicesDeleteHeaders {
1310
+ xMsCorrelationRequestId?: string;
1311
+ xMsRequestId?: string;
1312
+ }
1313
+
1314
+ // @public
1315
+ export interface StorageSyncServicesDeleteOptionalParams extends coreClient.OperationOptions {
1316
+ resumeFrom?: string;
1317
+ updateIntervalInMs?: number;
1318
+ }
1319
+
1320
+ // @public
1321
+ export type StorageSyncServicesDeleteResponse = StorageSyncServicesDeleteHeaders;
1322
+
1323
+ // @public
1324
+ export interface StorageSyncServicesGetHeaders {
1325
+ xMsCorrelationRequestId?: string;
1326
+ xMsRequestId?: string;
1327
+ }
1328
+
1329
+ // @public
1330
+ export interface StorageSyncServicesGetOptionalParams extends coreClient.OperationOptions {
1331
+ }
1332
+
1333
+ // @public
1334
+ export type StorageSyncServicesGetResponse = StorageSyncServicesGetHeaders & StorageSyncService;
1335
+
1336
+ // @public
1337
+ export interface StorageSyncServicesListByResourceGroupHeaders {
1338
+ xMsCorrelationRequestId?: string;
1339
+ xMsRequestId?: string;
1340
+ }
1341
+
1342
+ // @public
1343
+ export interface StorageSyncServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1344
+ }
1345
+
1346
+ // @public
1347
+ export type StorageSyncServicesListByResourceGroupResponse = StorageSyncServicesListByResourceGroupHeaders & StorageSyncServiceArray;
1348
+
1349
+ // @public
1350
+ export interface StorageSyncServicesListBySubscriptionHeaders {
1351
+ xMsCorrelationRequestId?: string;
1352
+ xMsRequestId?: string;
1353
+ }
1354
+
1355
+ // @public
1356
+ export interface StorageSyncServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1357
+ }
1358
+
1359
+ // @public
1360
+ export type StorageSyncServicesListBySubscriptionResponse = StorageSyncServicesListBySubscriptionHeaders & StorageSyncServiceArray;
1361
+
1362
+ // @public
1363
+ export interface StorageSyncServicesUpdateHeaders {
1364
+ xMsCorrelationRequestId?: string;
1365
+ xMsRequestId?: string;
1366
+ }
1367
+
1368
+ // @public
1369
+ export interface StorageSyncServicesUpdateOptionalParams extends coreClient.OperationOptions {
1370
+ parameters?: StorageSyncServiceUpdateParameters;
1371
+ resumeFrom?: string;
1372
+ updateIntervalInMs?: number;
1373
+ }
1374
+
1375
+ // @public
1376
+ export type StorageSyncServicesUpdateResponse = StorageSyncServicesUpdateHeaders & StorageSyncService;
1377
+
1378
+ // @public
1379
+ export interface StorageSyncServiceUpdateParameters {
1380
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
1381
+ tags?: {
1382
+ [propertyName: string]: string;
1383
+ };
1384
+ }
1385
+
1386
+ // @public
1387
+ export interface SubscriptionState {
1388
+ readonly istransitioning?: boolean;
1389
+ properties?: Record<string, unknown>;
1390
+ state?: Reason;
1391
+ }
1392
+
1393
+ // @public
1394
+ export interface SyncGroup extends ProxyResource {
1395
+ readonly syncGroupStatus?: string;
1396
+ readonly uniqueId?: string;
1397
+ }
1398
+
1399
+ // @public
1400
+ export interface SyncGroupArray {
1401
+ value?: SyncGroup[];
1402
+ }
1403
+
1404
+ // @public
1405
+ export interface SyncGroupCreateParameters extends ProxyResource {
1406
+ properties?: Record<string, unknown>;
1407
+ }
1408
+
1409
+ // @public
1410
+ export interface SyncGroups {
1411
+ create(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, parameters: SyncGroupCreateParameters, options?: SyncGroupsCreateOptionalParams): Promise<SyncGroupsCreateResponse>;
1412
+ delete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsDeleteOptionalParams): Promise<SyncGroupsDeleteResponse>;
1413
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsGetOptionalParams): Promise<SyncGroupsGetResponse>;
1414
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: SyncGroupsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<SyncGroup>;
1415
+ }
1416
+
1417
+ // @public
1418
+ export interface SyncGroupsCreateHeaders {
1419
+ xMsCorrelationRequestId?: string;
1420
+ xMsRequestId?: string;
1421
+ }
1422
+
1423
+ // @public
1424
+ export interface SyncGroupsCreateOptionalParams extends coreClient.OperationOptions {
1425
+ }
1426
+
1427
+ // @public
1428
+ export type SyncGroupsCreateResponse = SyncGroupsCreateHeaders & SyncGroup;
1429
+
1430
+ // @public
1431
+ export interface SyncGroupsDeleteHeaders {
1432
+ xMsCorrelationRequestId?: string;
1433
+ xMsRequestId?: string;
1434
+ }
1435
+
1436
+ // @public
1437
+ export interface SyncGroupsDeleteOptionalParams extends coreClient.OperationOptions {
1438
+ }
1439
+
1440
+ // @public
1441
+ export type SyncGroupsDeleteResponse = SyncGroupsDeleteHeaders;
1442
+
1443
+ // @public
1444
+ export interface SyncGroupsGetHeaders {
1445
+ xMsCorrelationRequestId?: string;
1446
+ xMsRequestId?: string;
1447
+ }
1448
+
1449
+ // @public
1450
+ export interface SyncGroupsGetOptionalParams extends coreClient.OperationOptions {
1451
+ }
1452
+
1453
+ // @public
1454
+ export type SyncGroupsGetResponse = SyncGroupsGetHeaders & SyncGroup;
1455
+
1456
+ // @public
1457
+ export interface SyncGroupsListByStorageSyncServiceHeaders {
1458
+ xMsCorrelationRequestId?: string;
1459
+ xMsRequestId?: string;
1460
+ }
1461
+
1462
+ // @public
1463
+ export interface SyncGroupsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1464
+ }
1465
+
1466
+ // @public
1467
+ export type SyncGroupsListByStorageSyncServiceResponse = SyncGroupsListByStorageSyncServiceHeaders & SyncGroupArray;
1468
+
1469
+ // @public
1470
+ export interface TrackedResource extends Resource {
1471
+ location: string;
1472
+ tags?: {
1473
+ [propertyName: string]: string;
1474
+ };
1475
+ }
1476
+
1477
+ // @public
1478
+ export interface TriggerChangeDetectionParameters {
1479
+ changeDetectionMode?: ChangeDetectionMode;
1480
+ directoryPath?: string;
1481
+ paths?: string[];
1482
+ }
1483
+
1484
+ // @public
1485
+ export interface TriggerRolloverRequest {
1486
+ serverCertificate?: string;
1487
+ }
1488
+
1489
+ // @public
1490
+ export interface Workflow extends ProxyResource {
1491
+ readonly commandName?: string;
1492
+ readonly createdTimestamp?: Date;
1493
+ lastOperationId?: string;
1494
+ readonly lastStatusTimestamp?: Date;
1495
+ lastStepName?: string;
1496
+ operation?: OperationDirection;
1497
+ status?: WorkflowStatus;
1498
+ steps?: string;
1499
+ }
1500
+
1501
+ // @public
1502
+ export interface WorkflowArray {
1503
+ value?: Workflow[];
1504
+ }
1505
+
1506
+ // @public
1507
+ export interface Workflows {
1508
+ abort(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsAbortOptionalParams): Promise<WorkflowsAbortResponse>;
1509
+ get(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsGetOptionalParams): Promise<WorkflowsGetResponse>;
1510
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: WorkflowsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<Workflow>;
1511
+ }
1512
+
1513
+ // @public
1514
+ export interface WorkflowsAbortHeaders {
1515
+ xMsCorrelationRequestId?: string;
1516
+ xMsRequestId?: string;
1517
+ }
1518
+
1519
+ // @public
1520
+ export interface WorkflowsAbortOptionalParams extends coreClient.OperationOptions {
1521
+ }
1522
+
1523
+ // @public
1524
+ export type WorkflowsAbortResponse = WorkflowsAbortHeaders;
1525
+
1526
+ // @public
1527
+ export interface WorkflowsGetHeaders {
1528
+ xMsCorrelationRequestId?: string;
1529
+ xMsRequestId?: string;
1530
+ }
1531
+
1532
+ // @public
1533
+ export interface WorkflowsGetOptionalParams extends coreClient.OperationOptions {
1534
+ }
1535
+
1536
+ // @public
1537
+ export type WorkflowsGetResponse = WorkflowsGetHeaders & Workflow;
1538
+
1539
+ // @public
1540
+ export interface WorkflowsListByStorageSyncServiceHeaders {
1541
+ xMsCorrelationRequestId?: string;
1542
+ xMsRequestId?: string;
1543
+ }
1544
+
1545
+ // @public
1546
+ export interface WorkflowsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1547
+ }
1548
+
1549
+ // @public
1550
+ export type WorkflowsListByStorageSyncServiceResponse = WorkflowsListByStorageSyncServiceHeaders & WorkflowArray;
1551
+
1552
+ // @public
1553
+ export type WorkflowStatus = string;
1554
+
1555
+ // (No @packageDocumentation comment for this package)
1556
+
1557
+ ```