@azure/arm-storagesync 9.0.2-alpha.20221213.1 → 9.1.0

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.
Files changed (66) hide show
  1. package/CHANGELOG.md +19 -10
  2. package/README.md +7 -7
  3. package/dist/index.js +225 -59
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/serverEndpointsCreateSample.js +1 -1
  8. package/dist-esm/samples-dev/serverEndpointsCreateSample.js.map +1 -1
  9. package/dist-esm/src/index.d.ts +1 -0
  10. package/dist-esm/src/index.d.ts.map +1 -1
  11. package/dist-esm/src/index.js +1 -0
  12. package/dist-esm/src/index.js.map +1 -1
  13. package/dist-esm/src/microsoftStorageSync.d.ts +2 -0
  14. package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -1
  15. package/dist-esm/src/microsoftStorageSync.js +49 -18
  16. package/dist-esm/src/microsoftStorageSync.js.map +1 -1
  17. package/dist-esm/src/models/index.d.ts +89 -27
  18. package/dist-esm/src/models/index.d.ts.map +1 -1
  19. package/dist-esm/src/models/index.js +61 -0
  20. package/dist-esm/src/models/index.js.map +1 -1
  21. package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -1
  22. package/dist-esm/src/operations/cloudEndpoints.js +8 -4
  23. package/dist-esm/src/operations/cloudEndpoints.js.map +1 -1
  24. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  25. package/dist-esm/src/operations/operations.js +19 -8
  26. package/dist-esm/src/operations/operations.js.map +1 -1
  27. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
  28. package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
  29. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
  30. package/dist-esm/src/operations/registeredServers.d.ts.map +1 -1
  31. package/dist-esm/src/operations/registeredServers.js +8 -4
  32. package/dist-esm/src/operations/registeredServers.js.map +1 -1
  33. package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -1
  34. package/dist-esm/src/operations/serverEndpoints.js +8 -4
  35. package/dist-esm/src/operations/serverEndpoints.js.map +1 -1
  36. package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -1
  37. package/dist-esm/src/operations/storageSyncServices.js +16 -8
  38. package/dist-esm/src/operations/storageSyncServices.js.map +1 -1
  39. package/dist-esm/src/operations/syncGroups.d.ts.map +1 -1
  40. package/dist-esm/src/operations/syncGroups.js +8 -4
  41. package/dist-esm/src/operations/syncGroups.js.map +1 -1
  42. package/dist-esm/src/operations/workflows.d.ts.map +1 -1
  43. package/dist-esm/src/operations/workflows.js +8 -4
  44. package/dist-esm/src/operations/workflows.js.map +1 -1
  45. package/dist-esm/src/pagingHelper.d.ts +13 -0
  46. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  47. package/dist-esm/src/pagingHelper.js +32 -0
  48. package/dist-esm/src/pagingHelper.js.map +1 -0
  49. package/dist-esm/test/sampleTest.js +11 -13
  50. package/dist-esm/test/sampleTest.js.map +1 -1
  51. package/package.json +13 -9
  52. package/review/arm-storagesync.api.md +89 -146
  53. package/src/index.ts +1 -0
  54. package/src/microsoftStorageSync.ts +60 -20
  55. package/src/models/index.ts +88 -27
  56. package/src/operations/cloudEndpoints.ts +12 -6
  57. package/src/operations/operations.ts +21 -9
  58. package/src/operations/privateEndpointConnections.ts +13 -7
  59. package/src/operations/registeredServers.ts +11 -5
  60. package/src/operations/serverEndpoints.ts +12 -6
  61. package/src/operations/storageSyncServices.ts +26 -12
  62. package/src/operations/syncGroups.ts +11 -5
  63. package/src/operations/workflows.ts +11 -5
  64. package/src/pagingHelper.ts +39 -0
  65. package/types/arm-storagesync.d.ts +100 -27
  66. package/types/tsdoc-metadata.json +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MicrosoftStorageSync.",
6
- "version": "9.0.2-alpha.20221213.1",
6
+ "version": "9.1.0",
7
7
  "engines": {
8
8
  "node": ">=14.0.0"
9
9
  },
@@ -11,7 +11,7 @@
11
11
  "@azure/core-lro": "^2.2.0",
12
12
  "@azure/abort-controller": "^1.0.0",
13
13
  "@azure/core-paging": "^1.2.0",
14
- "@azure/core-client": "^1.5.0",
14
+ "@azure/core-client": "^1.6.1",
15
15
  "@azure/core-auth": "^1.3.0",
16
16
  "@azure/core-rest-pipeline": "^1.8.0",
17
17
  "tslib": "^2.2.0"
@@ -36,13 +36,18 @@
36
36
  "mkdirp": "^1.0.4",
37
37
  "rollup": "^2.66.1",
38
38
  "rollup-plugin-sourcemaps": "^0.6.3",
39
- "typescript": "~4.2.0",
39
+ "typescript": "~4.8.0",
40
40
  "uglify-js": "^3.4.9",
41
41
  "rimraf": "^3.0.0",
42
42
  "@azure/identity": "^2.0.1",
43
- "@azure-tools/test-recorder": "^1.0.0",
43
+ "@azure-tools/test-recorder": "^2.0.0",
44
+ "@azure-tools/test-credential": "^1.0.0",
44
45
  "mocha": "^7.1.1",
45
- "cross-env": "^7.0.2"
46
+ "@types/chai": "^4.2.8",
47
+ "chai": "^4.2.0",
48
+ "cross-env": "^7.0.2",
49
+ "@types/node": "^14.0.0",
50
+ "@azure/dev-tool": "^1.0.0"
46
51
  },
47
52
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagesync/arm-storagesync",
48
53
  "repository": {
@@ -93,9 +98,8 @@
93
98
  "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
94
99
  "unit-test:browser": "echo skipped",
95
100
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
96
- "integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
97
- "integration-test:browser": "echo skipped",
98
- "docs": "echo skipped"
101
+ "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
102
+ "integration-test:browser": "echo skipped"
99
103
  },
100
104
  "sideEffects": false,
101
105
  "//metadata": {
@@ -115,4 +119,4 @@
115
119
  "disableDocsMs": true,
116
120
  "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-storagesync?view=azure-node-preview"
117
121
  }
118
- }
122
+ }
@@ -32,18 +32,18 @@ export interface CheckNameAvailabilityResult {
32
32
  }
33
33
 
34
34
  // @public
35
- export type CloudEndpoint = ProxyResource & {
36
- storageAccountResourceId?: string;
35
+ export interface CloudEndpoint extends ProxyResource {
37
36
  azureFileShareName?: string;
38
- storageAccountTenantId?: string;
39
- partnershipId?: string;
40
- friendlyName?: string;
41
37
  readonly backupEnabled?: string;
42
- provisioningState?: string;
43
- lastWorkflowId?: string;
44
- lastOperationName?: string;
45
38
  readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
46
- };
39
+ friendlyName?: string;
40
+ lastOperationName?: string;
41
+ lastWorkflowId?: string;
42
+ partnershipId?: string;
43
+ provisioningState?: string;
44
+ storageAccountResourceId?: string;
45
+ storageAccountTenantId?: string;
46
+ }
47
47
 
48
48
  // @public
49
49
  export interface CloudEndpointArray {
@@ -81,12 +81,12 @@ export interface CloudEndpointChangeEnumerationStatus {
81
81
  export type CloudEndpointChangeEnumerationTotalCountsState = string;
82
82
 
83
83
  // @public
84
- export type CloudEndpointCreateParameters = ProxyResource & {
85
- storageAccountResourceId?: string;
84
+ export interface CloudEndpointCreateParameters extends ProxyResource {
86
85
  azureFileShareName?: string;
87
- storageAccountTenantId?: string;
88
86
  friendlyName?: string;
89
- };
87
+ storageAccountResourceId?: string;
88
+ storageAccountTenantId?: string;
89
+ }
90
90
 
91
91
  // @public
92
92
  export interface CloudEndpointLastChangeEnumerationStatus {
@@ -306,6 +306,9 @@ export interface FilesNotTieringError {
306
306
  readonly fileCount?: number;
307
307
  }
308
308
 
309
+ // @public
310
+ export function getContinuationToken(page: unknown): string | undefined;
311
+
309
312
  // @public
310
313
  export type IncomingTrafficPolicy = string;
311
314
 
@@ -317,199 +320,138 @@ export type InitialUploadPolicy = string;
317
320
 
318
321
  // @public
319
322
  export enum KnownChangeDetectionMode {
320
- // (undocumented)
321
323
  Default = "Default",
322
- // (undocumented)
323
324
  Recursive = "Recursive"
324
325
  }
325
326
 
326
327
  // @public
327
328
  export enum KnownCloudEndpointChangeEnumerationActivityState {
328
- // (undocumented)
329
329
  EnumerationInProgress = "EnumerationInProgress",
330
- // (undocumented)
331
330
  InitialEnumerationInProgress = "InitialEnumerationInProgress"
332
331
  }
333
332
 
334
333
  // @public
335
334
  export enum KnownCloudEndpointChangeEnumerationTotalCountsState {
336
- // (undocumented)
337
335
  Calculating = "Calculating",
338
- // (undocumented)
339
336
  Final = "Final"
340
337
  }
341
338
 
342
339
  // @public
343
340
  export enum KnownFeatureStatus {
344
- // (undocumented)
345
341
  Off = "off",
346
- // (undocumented)
347
342
  On = "on"
348
343
  }
349
344
 
350
345
  // @public
351
346
  export enum KnownIncomingTrafficPolicy {
352
- // (undocumented)
353
347
  AllowAllTraffic = "AllowAllTraffic",
354
- // (undocumented)
355
348
  AllowVirtualNetworksOnly = "AllowVirtualNetworksOnly"
356
349
  }
357
350
 
358
351
  // @public
359
352
  export enum KnownInitialDownloadPolicy {
360
- // (undocumented)
361
353
  AvoidTieredFiles = "AvoidTieredFiles",
362
- // (undocumented)
363
354
  NamespaceOnly = "NamespaceOnly",
364
- // (undocumented)
365
355
  NamespaceThenModifiedFiles = "NamespaceThenModifiedFiles"
366
356
  }
367
357
 
368
358
  // @public
369
359
  export enum KnownInitialUploadPolicy {
370
- // (undocumented)
371
360
  Merge = "Merge",
372
- // (undocumented)
373
361
  ServerAuthoritative = "ServerAuthoritative"
374
362
  }
375
363
 
376
364
  // @public
377
365
  export enum KnownLocalCacheMode {
378
- // (undocumented)
379
366
  DownloadNewAndModifiedFiles = "DownloadNewAndModifiedFiles",
380
- // (undocumented)
381
367
  UpdateLocallyCachedFiles = "UpdateLocallyCachedFiles"
382
368
  }
383
369
 
384
370
  // @public
385
371
  export enum KnownOperationDirection {
386
- // (undocumented)
387
372
  Cancel = "cancel",
388
- // (undocumented)
389
373
  Do = "do",
390
- // (undocumented)
391
374
  Undo = "undo"
392
375
  }
393
376
 
394
377
  // @public
395
378
  export enum KnownPrivateEndpointConnectionProvisioningState {
396
- // (undocumented)
397
379
  Creating = "Creating",
398
- // (undocumented)
399
380
  Deleting = "Deleting",
400
- // (undocumented)
401
381
  Failed = "Failed",
402
- // (undocumented)
403
382
  Succeeded = "Succeeded"
404
383
  }
405
384
 
406
385
  // @public
407
386
  export enum KnownPrivateEndpointServiceConnectionStatus {
408
- // (undocumented)
409
387
  Approved = "Approved",
410
- // (undocumented)
411
388
  Pending = "Pending",
412
- // (undocumented)
413
389
  Rejected = "Rejected"
414
390
  }
415
391
 
416
392
  // @public
417
393
  export enum KnownProgressType {
418
- // (undocumented)
419
394
  Download = "download",
420
- // (undocumented)
421
395
  Initialize = "initialize",
422
- // (undocumented)
423
396
  None = "none",
424
- // (undocumented)
425
397
  Recall = "recall",
426
- // (undocumented)
427
398
  Upload = "upload"
428
399
  }
429
400
 
430
401
  // @public
431
402
  export enum KnownReason {
432
- // (undocumented)
433
403
  Deleted = "Deleted",
434
- // (undocumented)
435
404
  Registered = "Registered",
436
- // (undocumented)
437
405
  Suspended = "Suspended",
438
- // (undocumented)
439
406
  Unregistered = "Unregistered",
440
- // (undocumented)
441
407
  Warned = "Warned"
442
408
  }
443
409
 
444
410
  // @public
445
411
  export enum KnownRegisteredServerAgentVersionStatus {
446
- // (undocumented)
447
412
  Blocked = "Blocked",
448
- // (undocumented)
449
413
  Expired = "Expired",
450
- // (undocumented)
451
414
  NearExpiry = "NearExpiry",
452
- // (undocumented)
453
415
  Ok = "Ok"
454
416
  }
455
417
 
456
418
  // @public
457
419
  export enum KnownServerEndpointHealthState {
458
- // (undocumented)
459
420
  Error = "Error",
460
- // (undocumented)
461
421
  Healthy = "Healthy",
462
- // (undocumented)
463
422
  Unavailable = "Unavailable"
464
423
  }
465
424
 
466
425
  // @public
467
426
  export enum KnownServerEndpointOfflineDataTransferState {
468
- // (undocumented)
469
427
  Complete = "Complete",
470
- // (undocumented)
471
428
  InProgress = "InProgress",
472
- // (undocumented)
473
429
  NotRunning = "NotRunning",
474
- // (undocumented)
475
430
  Stopping = "Stopping"
476
431
  }
477
432
 
478
433
  // @public
479
434
  export enum KnownServerEndpointSyncActivityState {
480
- // (undocumented)
481
435
  Download = "Download",
482
- // (undocumented)
483
436
  Upload = "Upload",
484
- // (undocumented)
485
437
  UploadAndDownload = "UploadAndDownload"
486
438
  }
487
439
 
488
440
  // @public
489
441
  export enum KnownServerEndpointSyncMode {
490
- // (undocumented)
491
442
  InitialFullDownload = "InitialFullDownload",
492
- // (undocumented)
493
443
  InitialUpload = "InitialUpload",
494
- // (undocumented)
495
444
  NamespaceDownload = "NamespaceDownload",
496
- // (undocumented)
497
445
  Regular = "Regular",
498
- // (undocumented)
499
446
  SnapshotUpload = "SnapshotUpload"
500
447
  }
501
448
 
502
449
  // @public
503
450
  export enum KnownWorkflowStatus {
504
- // (undocumented)
505
451
  Aborted = "aborted",
506
- // (undocumented)
507
452
  Active = "active",
508
- // (undocumented)
509
453
  Expired = "expired",
510
- // (undocumented)
511
454
  Failed = "failed",
512
- // (undocumented)
513
455
  Succeeded = "succeeded"
514
456
  }
515
457
 
@@ -737,11 +679,11 @@ export interface PrivateEndpoint {
737
679
  }
738
680
 
739
681
  // @public
740
- export type PrivateEndpointConnection = Resource & {
682
+ export interface PrivateEndpointConnection extends Resource {
741
683
  privateEndpoint?: PrivateEndpoint;
742
684
  privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
743
685
  readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
744
- };
686
+ }
745
687
 
746
688
  // @public
747
689
  export interface PrivateEndpointConnectionListResult {
@@ -818,11 +760,11 @@ export type PrivateEndpointConnectionsListByStorageSyncServiceResponse = Private
818
760
  export type PrivateEndpointServiceConnectionStatus = string;
819
761
 
820
762
  // @public
821
- export type PrivateLinkResource = Resource & {
763
+ export interface PrivateLinkResource extends Resource {
822
764
  readonly groupId?: string;
823
765
  readonly requiredMembers?: string[];
824
766
  requiredZoneNames?: string[];
825
- };
767
+ }
826
768
 
827
769
  // @public
828
770
  export interface PrivateLinkResourceListResult {
@@ -852,7 +794,8 @@ export interface PrivateLinkServiceConnectionState {
852
794
  export type ProgressType = string;
853
795
 
854
796
  // @public
855
- export type ProxyResource = Resource & {};
797
+ export interface ProxyResource extends Resource {
798
+ }
856
799
 
857
800
  // @public
858
801
  export type Reason = string;
@@ -864,31 +807,31 @@ export interface RecallActionParameters {
864
807
  }
865
808
 
866
809
  // @public
867
- export type RegisteredServer = ProxyResource & {
868
- serverCertificate?: string;
810
+ export interface RegisteredServer extends ProxyResource {
869
811
  agentVersion?: string;
870
- readonly agentVersionStatus?: RegisteredServerAgentVersionStatus;
871
812
  readonly agentVersionExpirationDate?: Date;
872
- serverOSVersion?: string;
873
- serverManagementErrorCode?: number;
874
- lastHeartBeat?: string;
875
- provisioningState?: string;
876
- serverRole?: string;
813
+ readonly agentVersionStatus?: RegisteredServerAgentVersionStatus;
877
814
  clusterId?: string;
878
815
  clusterName?: string;
879
- serverId?: string;
880
- storageSyncServiceUid?: string;
881
- lastWorkflowId?: string;
882
- lastOperationName?: string;
883
816
  discoveryEndpointUri?: string;
884
- resourceLocation?: string;
885
- serviceLocation?: string;
886
817
  friendlyName?: string;
818
+ lastHeartBeat?: string;
819
+ lastOperationName?: string;
820
+ lastWorkflowId?: string;
887
821
  managementEndpointUri?: string;
888
- monitoringEndpointUri?: string;
889
822
  monitoringConfiguration?: string;
823
+ monitoringEndpointUri?: string;
824
+ provisioningState?: string;
825
+ resourceLocation?: string;
826
+ serverCertificate?: string;
827
+ serverId?: string;
828
+ serverManagementErrorCode?: number;
890
829
  readonly serverName?: string;
891
- };
830
+ serverOSVersion?: string;
831
+ serverRole?: string;
832
+ serviceLocation?: string;
833
+ storageSyncServiceUid?: string;
834
+ }
892
835
 
893
836
  // @public
894
837
  export type RegisteredServerAgentVersionStatus = string;
@@ -899,17 +842,17 @@ export interface RegisteredServerArray {
899
842
  }
900
843
 
901
844
  // @public
902
- export type RegisteredServerCreateParameters = ProxyResource & {
903
- serverCertificate?: string;
845
+ export interface RegisteredServerCreateParameters extends ProxyResource {
904
846
  agentVersion?: string;
905
- serverOSVersion?: string;
906
- lastHeartBeat?: string;
907
- serverRole?: string;
908
847
  clusterId?: string;
909
848
  clusterName?: string;
910
- serverId?: string;
911
849
  friendlyName?: string;
912
- };
850
+ lastHeartBeat?: string;
851
+ serverCertificate?: string;
852
+ serverId?: string;
853
+ serverOSVersion?: string;
854
+ serverRole?: string;
855
+ }
913
856
 
914
857
  // @public
915
858
  export interface RegisteredServers {
@@ -1014,28 +957,28 @@ export interface RestoreFileSpec {
1014
957
  }
1015
958
 
1016
959
  // @public
1017
- export type ServerEndpoint = ProxyResource & {
1018
- serverLocalPath?: string;
960
+ export interface ServerEndpoint extends ProxyResource {
1019
961
  cloudTiering?: FeatureStatus;
1020
- volumeFreeSpacePercent?: number;
1021
- tierFilesOlderThanDays?: number;
962
+ readonly cloudTieringStatus?: ServerEndpointCloudTieringStatus;
1022
963
  friendlyName?: string;
1023
- serverResourceId?: string;
1024
- readonly provisioningState?: string;
1025
- readonly lastWorkflowId?: string;
964
+ initialDownloadPolicy?: InitialDownloadPolicy;
965
+ initialUploadPolicy?: InitialUploadPolicy;
1026
966
  readonly lastOperationName?: string;
1027
- readonly syncStatus?: ServerEndpointSyncStatus;
967
+ readonly lastWorkflowId?: string;
968
+ localCacheMode?: LocalCacheMode;
1028
969
  offlineDataTransfer?: FeatureStatus;
970
+ offlineDataTransferShareName?: string;
1029
971
  readonly offlineDataTransferStorageAccountResourceId?: string;
1030
972
  readonly offlineDataTransferStorageAccountTenantId?: string;
1031
- offlineDataTransferShareName?: string;
1032
- readonly cloudTieringStatus?: ServerEndpointCloudTieringStatus;
973
+ readonly provisioningState?: string;
1033
974
  readonly recallStatus?: ServerEndpointRecallStatus;
1034
- initialDownloadPolicy?: InitialDownloadPolicy;
1035
- localCacheMode?: LocalCacheMode;
1036
- initialUploadPolicy?: InitialUploadPolicy;
975
+ serverLocalPath?: string;
1037
976
  readonly serverName?: string;
1038
- };
977
+ serverResourceId?: string;
978
+ readonly syncStatus?: ServerEndpointSyncStatus;
979
+ tierFilesOlderThanDays?: number;
980
+ volumeFreeSpacePercent?: number;
981
+ }
1039
982
 
1040
983
  // @public
1041
984
  export interface ServerEndpointArray {
@@ -1065,19 +1008,19 @@ export interface ServerEndpointCloudTieringStatus {
1065
1008
  }
1066
1009
 
1067
1010
  // @public
1068
- export type ServerEndpointCreateParameters = ProxyResource & {
1069
- serverLocalPath?: string;
1011
+ export interface ServerEndpointCreateParameters extends ProxyResource {
1070
1012
  cloudTiering?: FeatureStatus;
1071
- volumeFreeSpacePercent?: number;
1072
- tierFilesOlderThanDays?: number;
1073
1013
  friendlyName?: string;
1074
- serverResourceId?: string;
1075
- offlineDataTransfer?: FeatureStatus;
1076
- offlineDataTransferShareName?: string;
1077
1014
  initialDownloadPolicy?: InitialDownloadPolicy;
1078
- localCacheMode?: LocalCacheMode;
1079
1015
  initialUploadPolicy?: InitialUploadPolicy;
1080
- };
1016
+ localCacheMode?: LocalCacheMode;
1017
+ offlineDataTransfer?: FeatureStatus;
1018
+ offlineDataTransferShareName?: string;
1019
+ serverLocalPath?: string;
1020
+ serverResourceId?: string;
1021
+ tierFilesOlderThanDays?: number;
1022
+ volumeFreeSpacePercent?: number;
1023
+ }
1081
1024
 
1082
1025
  // @public
1083
1026
  export interface ServerEndpointFilesNotSyncingError {
@@ -1299,15 +1242,15 @@ export interface StorageSyncInnerErrorDetails {
1299
1242
  }
1300
1243
 
1301
1244
  // @public
1302
- export type StorageSyncService = TrackedResource & {
1245
+ export interface StorageSyncService extends TrackedResource {
1303
1246
  incomingTrafficPolicy?: IncomingTrafficPolicy;
1304
- readonly storageSyncServiceStatus?: number;
1305
- readonly storageSyncServiceUid?: string;
1306
- readonly provisioningState?: string;
1307
- readonly lastWorkflowId?: string;
1308
1247
  readonly lastOperationName?: string;
1248
+ readonly lastWorkflowId?: string;
1309
1249
  readonly privateEndpointConnections?: PrivateEndpointConnection[];
1310
- };
1250
+ readonly provisioningState?: string;
1251
+ readonly storageSyncServiceStatus?: number;
1252
+ readonly storageSyncServiceUid?: string;
1253
+ }
1311
1254
 
1312
1255
  // @public
1313
1256
  export interface StorageSyncServiceArray {
@@ -1448,10 +1391,10 @@ export interface SubscriptionState {
1448
1391
  }
1449
1392
 
1450
1393
  // @public
1451
- export type SyncGroup = ProxyResource & {
1452
- readonly uniqueId?: string;
1394
+ export interface SyncGroup extends ProxyResource {
1453
1395
  readonly syncGroupStatus?: string;
1454
- };
1396
+ readonly uniqueId?: string;
1397
+ }
1455
1398
 
1456
1399
  // @public
1457
1400
  export interface SyncGroupArray {
@@ -1459,9 +1402,9 @@ export interface SyncGroupArray {
1459
1402
  }
1460
1403
 
1461
1404
  // @public
1462
- export type SyncGroupCreateParameters = ProxyResource & {
1405
+ export interface SyncGroupCreateParameters extends ProxyResource {
1463
1406
  properties?: Record<string, unknown>;
1464
- };
1407
+ }
1465
1408
 
1466
1409
  // @public
1467
1410
  export interface SyncGroups {
@@ -1524,12 +1467,12 @@ export interface SyncGroupsListByStorageSyncServiceOptionalParams extends coreCl
1524
1467
  export type SyncGroupsListByStorageSyncServiceResponse = SyncGroupsListByStorageSyncServiceHeaders & SyncGroupArray;
1525
1468
 
1526
1469
  // @public
1527
- export type TrackedResource = Resource & {
1470
+ export interface TrackedResource extends Resource {
1471
+ location: string;
1528
1472
  tags?: {
1529
1473
  [propertyName: string]: string;
1530
1474
  };
1531
- location: string;
1532
- };
1475
+ }
1533
1476
 
1534
1477
  // @public
1535
1478
  export interface TriggerChangeDetectionParameters {
@@ -1544,16 +1487,16 @@ export interface TriggerRolloverRequest {
1544
1487
  }
1545
1488
 
1546
1489
  // @public
1547
- export type Workflow = ProxyResource & {
1548
- lastStepName?: string;
1549
- status?: WorkflowStatus;
1550
- operation?: OperationDirection;
1551
- steps?: string;
1552
- lastOperationId?: string;
1490
+ export interface Workflow extends ProxyResource {
1553
1491
  readonly commandName?: string;
1554
1492
  readonly createdTimestamp?: Date;
1493
+ lastOperationId?: string;
1555
1494
  readonly lastStatusTimestamp?: Date;
1556
- };
1495
+ lastStepName?: string;
1496
+ operation?: OperationDirection;
1497
+ status?: WorkflowStatus;
1498
+ steps?: string;
1499
+ }
1557
1500
 
1558
1501
  // @public
1559
1502
  export interface WorkflowArray {
package/src/index.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  /// <reference lib="esnext.asynciterable" />
10
+ export { getContinuationToken } from "./pagingHelper";
10
11
  export * from "./models";
11
12
  export { MicrosoftStorageSync } from "./microsoftStorageSync";
12
13
  export * from "./operationsInterfaces";