@azure/arm-storagesync 7.0.0 → 9.0.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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -96
- package/dist/index.js +7404 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsCreate.js +39 -0
- package/dist-esm/samples-dev/cloudEndpointsCreate.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsDelete.js +33 -0
- package/dist-esm/samples-dev/cloudEndpointsDelete.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsGet.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsGet.js +33 -0
- package/dist-esm/samples-dev/cloudEndpointsGet.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js +46 -0
- package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.js +36 -0
- package/dist-esm/samples-dev/cloudEndpointsPostBackup.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.js +44 -0
- package/dist-esm/samples-dev/cloudEndpointsPostRestore.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.js +36 -0
- package/dist-esm/samples-dev/cloudEndpointsPreBackup.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.js +42 -0
- package/dist-esm/samples-dev/cloudEndpointsPreRestore.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js +33 -0
- package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts +2 -0
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts.map +1 -0
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js +37 -0
- package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js.map +1 -0
- package/dist-esm/samples-dev/operationsList.d.ts +2 -0
- package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsList.js +43 -0
- package/dist-esm/samples-dev/operationsList.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGet.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesList.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesList.js +31 -0
- package/dist-esm/samples-dev/privateLinkResourcesList.js.map +1 -0
- package/dist-esm/samples-dev/registeredServersCreate.d.ts +2 -0
- package/dist-esm/samples-dev/registeredServersCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/registeredServersCreate.js +40 -0
- package/dist-esm/samples-dev/registeredServersCreate.js.map +1 -0
- package/dist-esm/samples-dev/registeredServersDelete.d.ts +2 -0
- package/dist-esm/samples-dev/registeredServersDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/registeredServersDelete.js +32 -0
- package/dist-esm/samples-dev/registeredServersDelete.js.map +1 -0
- package/dist-esm/samples-dev/registeredServersGet.d.ts +2 -0
- package/dist-esm/samples-dev/registeredServersGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/registeredServersGet.js +32 -0
- package/dist-esm/samples-dev/registeredServersGet.js.map +1 -0
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts +2 -0
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts.map +1 -0
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js +45 -0
- package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js.map +1 -0
- package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts +2 -0
- package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts.map +1 -0
- package/dist-esm/samples-dev/registeredServersTriggerRollover.js +35 -0
- package/dist-esm/samples-dev/registeredServersTriggerRollover.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsCreate.js +45 -0
- package/dist-esm/samples-dev/serverEndpointsCreate.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsDelete.js +33 -0
- package/dist-esm/samples-dev/serverEndpointsDelete.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsGet.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsGet.js +33 -0
- package/dist-esm/samples-dev/serverEndpointsGet.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js +46 -0
- package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsRecallAction.js +34 -0
- package/dist-esm/samples-dev/serverEndpointsRecallAction.js.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/serverEndpointsUpdate.js +41 -0
- package/dist-esm/samples-dev/serverEndpointsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js +34 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js +34 -0
- package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesCreate.js +36 -0
- package/dist-esm/samples-dev/storageSyncServicesCreate.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesDelete.js +31 -0
- package/dist-esm/samples-dev/storageSyncServicesDelete.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesGet.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesGet.js +31 -0
- package/dist-esm/samples-dev/storageSyncServicesGet.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js +43 -0
- package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageSyncServicesUpdate.js +36 -0
- package/dist-esm/samples-dev/storageSyncServicesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/syncGroupsCreate.d.ts +2 -0
- package/dist-esm/samples-dev/syncGroupsCreate.d.ts.map +1 -0
- package/dist-esm/samples-dev/syncGroupsCreate.js +33 -0
- package/dist-esm/samples-dev/syncGroupsCreate.js.map +1 -0
- package/dist-esm/samples-dev/syncGroupsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/syncGroupsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/syncGroupsDelete.js +32 -0
- package/dist-esm/samples-dev/syncGroupsDelete.js.map +1 -0
- package/dist-esm/samples-dev/syncGroupsGet.d.ts +2 -0
- package/dist-esm/samples-dev/syncGroupsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/syncGroupsGet.js +32 -0
- package/dist-esm/samples-dev/syncGroupsGet.js.map +1 -0
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts +2 -0
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts.map +1 -0
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js +45 -0
- package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js.map +1 -0
- package/dist-esm/samples-dev/workflowsAbort.d.ts +2 -0
- package/dist-esm/samples-dev/workflowsAbort.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowsAbort.js +32 -0
- package/dist-esm/samples-dev/workflowsAbort.js.map +1 -0
- package/dist-esm/samples-dev/workflowsGet.d.ts +2 -0
- package/dist-esm/samples-dev/workflowsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowsGet.js +31 -0
- package/dist-esm/samples-dev/workflowsGet.js.map +1 -0
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts +2 -0
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts.map +1 -0
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.js +45 -0
- package/dist-esm/samples-dev/workflowsListByStorageSyncService.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/microsoftStorageSync.d.ts +34 -0
- package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -0
- package/dist-esm/src/microsoftStorageSync.js +95 -0
- package/dist-esm/src/microsoftStorageSync.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2205 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +145 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +114 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2357 -1046
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +33 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +241 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/cloudEndpoints.d.ts +75 -106
- package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudEndpoints.js +839 -0
- package/dist-esm/src/operations/cloudEndpoints.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +18 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operationStatusOperations.d.ts +22 -0
- package/dist-esm/src/operations/operationStatusOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/operationStatusOperations.js +58 -0
- package/dist-esm/src/operations/operationStatusOperations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +122 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +83 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +320 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +21 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +51 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/registeredServers.d.ts +91 -0
- package/dist-esm/src/operations/registeredServers.d.ts.map +1 -0
- package/dist-esm/src/operations/registeredServers.js +405 -0
- package/dist-esm/src/operations/registeredServers.js.map +1 -0
- package/dist-esm/src/operations/serverEndpoints.d.ts +118 -0
- package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/serverEndpoints.js +530 -0
- package/dist-esm/src/operations/serverEndpoints.js.map +1 -0
- package/dist-esm/src/operations/storageSyncServices.d.ts +99 -0
- package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -0
- package/dist-esm/src/operations/storageSyncServices.js +471 -0
- package/dist-esm/src/operations/storageSyncServices.js.map +1 -0
- package/dist-esm/src/operations/syncGroups.d.ts +55 -0
- package/dist-esm/src/operations/syncGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/syncGroups.js +208 -0
- package/dist-esm/src/operations/syncGroups.js.map +1 -0
- package/dist-esm/src/operations/workflows.d.ts +46 -0
- package/dist-esm/src/operations/workflows.d.ts.map +1 -0
- package/dist-esm/src/operations/workflows.js +165 -0
- package/dist-esm/src/operations/workflows.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts +173 -0
- package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationStatusOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +66 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registeredServers.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/registeredServers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registeredServers.js +9 -0
- package/dist-esm/src/operationsInterfaces/registeredServers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts +100 -0
- package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serverEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/serverEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts +76 -0
- package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageSyncServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageSyncServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/syncGroups.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/syncGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/syncGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/syncGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/workflows.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/workflows.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/workflows.js +9 -0
- package/dist-esm/src/operationsInterfaces/workflows.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +79 -34
- package/review/arm-storagesync.api.md +1614 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/microsoftStorageSync.ts +164 -0
- package/src/models/index.ts +2483 -0
- package/{lib → src}/models/mappers.ts +2459 -1083
- package/src/models/parameters.ts +293 -0
- package/src/operations/cloudEndpoints.ts +1229 -0
- package/{lib → src}/operations/index.ts +6 -5
- package/src/operations/operationStatusOperations.ts +80 -0
- package/src/operations/operations.ts +139 -0
- package/src/operations/privateEndpointConnections.ts +451 -0
- package/src/operations/privateLinkResources.ts +70 -0
- package/src/operations/registeredServers.ts +587 -0
- package/src/operations/serverEndpoints.ts +775 -0
- package/src/operations/storageSyncServices.ts +637 -0
- package/src/operations/syncGroups.ts +282 -0
- package/src/operations/workflows.ts +225 -0
- package/src/operationsInterfaces/cloudEndpoints.ts +338 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
- package/src/operationsInterfaces/operationStatusOperations.ts +31 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +119 -0
- package/src/operationsInterfaces/privateLinkResources.ts +28 -0
- package/src/operationsInterfaces/registeredServers.ts +154 -0
- package/src/operationsInterfaces/serverEndpoints.ts +207 -0
- package/src/operationsInterfaces/storageSyncServices.ts +155 -0
- package/src/operationsInterfaces/syncGroups.ts +77 -0
- package/src/operationsInterfaces/workflows.ts +59 -0
- package/tsconfig.json +6 -5
- package/types/arm-storagesync.d.ts +3047 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storagesync.js +0 -4821
- package/dist/arm-storagesync.js.map +0 -1
- package/dist/arm-storagesync.min.js +0 -1
- package/dist/arm-storagesync.min.js.map +0 -1
- package/esm/models/cloudEndpointsMappers.d.ts +0 -2
- package/esm/models/cloudEndpointsMappers.d.ts.map +0 -1
- package/esm/models/cloudEndpointsMappers.js +0 -9
- package/esm/models/cloudEndpointsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2307
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -82
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -14
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -142
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/registeredServersMappers.d.ts +0 -2
- package/esm/models/registeredServersMappers.d.ts.map +0 -1
- package/esm/models/registeredServersMappers.js +0 -9
- package/esm/models/registeredServersMappers.js.map +0 -1
- package/esm/models/serverEndpointsMappers.d.ts +0 -2
- package/esm/models/serverEndpointsMappers.d.ts.map +0 -1
- package/esm/models/serverEndpointsMappers.js +0 -9
- package/esm/models/serverEndpointsMappers.js.map +0 -1
- package/esm/models/storageSyncServicesMappers.d.ts +0 -2
- package/esm/models/storageSyncServicesMappers.d.ts.map +0 -1
- package/esm/models/storageSyncServicesMappers.js +0 -9
- package/esm/models/storageSyncServicesMappers.js.map +0 -1
- package/esm/models/syncGroupsMappers.d.ts +0 -2
- package/esm/models/syncGroupsMappers.d.ts.map +0 -1
- package/esm/models/syncGroupsMappers.js +0 -9
- package/esm/models/syncGroupsMappers.js.map +0 -1
- package/esm/models/workflowsMappers.d.ts +0 -2
- package/esm/models/workflowsMappers.d.ts.map +0 -1
- package/esm/models/workflowsMappers.js +0 -9
- package/esm/models/workflowsMappers.js.map +0 -1
- package/esm/operations/cloudEndpoints.d.ts.map +0 -1
- package/esm/operations/cloudEndpoints.js +0 -533
- package/esm/operations/cloudEndpoints.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/registeredServers.d.ts +0 -117
- package/esm/operations/registeredServers.d.ts.map +0 -1
- package/esm/operations/registeredServers.js +0 -280
- package/esm/operations/registeredServers.js.map +0 -1
- package/esm/operations/serverEndpoints.d.ts +0 -149
- package/esm/operations/serverEndpoints.d.ts.map +0 -1
- package/esm/operations/serverEndpoints.js +0 -361
- package/esm/operations/serverEndpoints.js.map +0 -1
- package/esm/operations/storageSyncServices.d.ts +0 -154
- package/esm/operations/storageSyncServices.d.ts.map +0 -1
- package/esm/operations/storageSyncServices.js +0 -261
- package/esm/operations/storageSyncServices.js.map +0 -1
- package/esm/operations/syncGroups.d.ts +0 -109
- package/esm/operations/syncGroups.d.ts.map +0 -1
- package/esm/operations/syncGroups.js +0 -169
- package/esm/operations/syncGroups.js.map +0 -1
- package/esm/operations/workflows.d.ts +0 -82
- package/esm/operations/workflows.d.ts.map +0 -1
- package/esm/operations/workflows.js +0 -126
- package/esm/operations/workflows.js.map +0 -1
- package/esm/storageSyncManagementClient.d.ts +0 -24
- package/esm/storageSyncManagementClient.d.ts.map +0 -1
- package/esm/storageSyncManagementClient.js +0 -39
- package/esm/storageSyncManagementClient.js.map +0 -1
- package/esm/storageSyncManagementClientContext.d.ts +0 -16
- package/esm/storageSyncManagementClientContext.d.ts.map +0 -1
- package/esm/storageSyncManagementClientContext.js +0 -56
- package/esm/storageSyncManagementClientContext.js.map +0 -1
- package/lib/models/cloudEndpointsMappers.ts +0 -47
- package/lib/models/index.ts +0 -2485
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -144
- package/lib/models/registeredServersMappers.ts +0 -39
- package/lib/models/serverEndpointsMappers.ts +0 -41
- package/lib/models/storageSyncServicesMappers.ts +0 -43
- package/lib/models/syncGroupsMappers.ts +0 -37
- package/lib/models/workflowsMappers.ts +0 -36
- package/lib/operations/cloudEndpoints.ts +0 -680
- package/lib/operations/operations.ts +0 -125
- package/lib/operations/registeredServers.ts +0 -362
- package/lib/operations/serverEndpoints.ts +0 -455
- package/lib/operations/storageSyncServices.ts +0 -445
- package/lib/operations/syncGroups.ts +0 -290
- package/lib/operations/workflows.ts +0 -213
- package/lib/storageSyncManagementClient.ts +0 -54
- package/lib/storageSyncManagementClientContext.ts +0 -62
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serverEndpointsRecallAction.d.ts","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Recall a server endpoint.
|
13
|
+
*
|
14
|
+
* @summary Recall a server endpoint.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Recall.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function serverEndpointsRecallAction() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const syncGroupName = "SampleSyncGroup_1";
|
25
|
+
const serverEndpointName = "SampleServerEndpoint_1";
|
26
|
+
const parameters = { pattern: "", recallPath: "" };
|
27
|
+
const credential = new DefaultAzureCredential();
|
28
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
29
|
+
const result = yield client.serverEndpoints.beginRecallActionAndWait(resourceGroupName, storageSyncServiceName, syncGroupName, serverEndpointName, parameters);
|
30
|
+
console.log(result);
|
31
|
+
});
|
32
|
+
}
|
33
|
+
serverEndpointsRecallAction().catch(console.error);
|
34
|
+
//# sourceMappingURL=serverEndpointsRecallAction.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serverEndpointsRecallAction.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAA2B,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,wBAAwB,CAClE,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serverEndpointsUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Patch a given ServerEndpoint.
|
13
|
+
*
|
14
|
+
* @summary Patch a given ServerEndpoint.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function serverEndpointsUpdate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const syncGroupName = "SampleSyncGroup_1";
|
25
|
+
const serverEndpointName = "SampleServerEndpoint_1";
|
26
|
+
const parameters = {
|
27
|
+
cloudTiering: "off",
|
28
|
+
localCacheMode: "UpdateLocallyCachedFiles",
|
29
|
+
offlineDataTransfer: "off",
|
30
|
+
tierFilesOlderThanDays: 0,
|
31
|
+
volumeFreeSpacePercent: 100
|
32
|
+
};
|
33
|
+
const options = { parameters: parameters };
|
34
|
+
const credential = new DefaultAzureCredential();
|
35
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
36
|
+
const result = yield client.serverEndpoints.beginUpdateAndWait(resourceGroupName, storageSyncServiceName, syncGroupName, serverEndpointName, options);
|
37
|
+
console.log(result);
|
38
|
+
});
|
39
|
+
}
|
40
|
+
serverEndpointsUpdate().catch(console.error);
|
41
|
+
//# sourceMappingURL=serverEndpointsUpdate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serverEndpointsUpdate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,KAAK;YAC1B,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Check the give namespace name availability.
|
13
|
+
*
|
14
|
+
* @summary Check the give namespace name availability.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServiceCheckNameAvailabilityAlreadyExists() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c";
|
22
|
+
const locationName = "westus";
|
23
|
+
const parameters = {
|
24
|
+
name: "newstoragesyncservicename",
|
25
|
+
type: "Microsoft.StorageSync/storageSyncServices"
|
26
|
+
};
|
27
|
+
const credential = new DefaultAzureCredential();
|
28
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
29
|
+
const result = yield client.storageSyncServices.checkNameAvailability(locationName, parameters);
|
30
|
+
console.log(result);
|
31
|
+
});
|
32
|
+
}
|
33
|
+
storageSyncServiceCheckNameAvailabilityAlreadyExists().catch(console.error);
|
34
|
+
//# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oDAAoD;;QACjE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CACnE,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oDAAoD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Check the give namespace name availability.
|
13
|
+
*
|
14
|
+
* @summary Check the give namespace name availability.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServiceCheckNameAvailabilityAvailable() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c";
|
22
|
+
const locationName = "westus";
|
23
|
+
const parameters = {
|
24
|
+
name: "newstoragesyncservicename",
|
25
|
+
type: "Microsoft.StorageSync/storageSyncServices"
|
26
|
+
};
|
27
|
+
const credential = new DefaultAzureCredential();
|
28
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
29
|
+
const result = yield client.storageSyncServices.checkNameAvailability(locationName, parameters);
|
30
|
+
console.log(result);
|
31
|
+
});
|
32
|
+
}
|
33
|
+
storageSyncServiceCheckNameAvailabilityAvailable().catch(console.error);
|
34
|
+
//# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAvailable.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gDAAgD;;QAC7D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CACnE,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gDAAgD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Create a new StorageSyncService.
|
13
|
+
*
|
14
|
+
* @summary Create a new StorageSyncService.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Create.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesCreate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const parameters = {
|
25
|
+
incomingTrafficPolicy: "AllowAllTraffic",
|
26
|
+
location: "WestUS",
|
27
|
+
tags: {}
|
28
|
+
};
|
29
|
+
const credential = new DefaultAzureCredential();
|
30
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
31
|
+
const result = yield client.storageSyncServices.beginCreateAndWait(resourceGroupName, storageSyncServiceName, parameters);
|
32
|
+
console.log(result);
|
33
|
+
});
|
34
|
+
}
|
35
|
+
storageSyncServicesCreate().catch(console.error);
|
36
|
+
//# sourceMappingURL=storageSyncServicesCreate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesCreate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAuC;YACrD,qBAAqB,EAAE,iBAAiB;YACxC,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesDelete.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Delete a given StorageSyncService.
|
13
|
+
*
|
14
|
+
* @summary Delete a given StorageSyncService.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Delete.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesDelete() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
26
|
+
const result = yield client.storageSyncServices.beginDeleteAndWait(resourceGroupName, storageSyncServiceName);
|
27
|
+
console.log(result);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
storageSyncServicesDelete().catch(console.error);
|
31
|
+
//# sourceMappingURL=storageSyncServicesDelete.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesDelete.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesGet.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesGet.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Get a given StorageSyncService.
|
13
|
+
*
|
14
|
+
* @summary Get a given StorageSyncService.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Get.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesGet() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
26
|
+
const result = yield client.storageSyncServices.get(resourceGroupName, storageSyncServiceName);
|
27
|
+
console.log(result);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
storageSyncServicesGet().catch(console.error);
|
31
|
+
//# sourceMappingURL=storageSyncServicesGet.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesGet.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,GAAG,CACjD,iBAAiB,EACjB,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesListByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListByResourceGroup.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Get a StorageSyncService list by Resource group name.
|
13
|
+
*
|
14
|
+
* @summary Get a StorageSyncService list by Resource group name.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesListByResourceGroup() {
|
20
|
+
var e_1, _a;
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
22
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
23
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
26
|
+
const resArray = new Array();
|
27
|
+
try {
|
28
|
+
for (var _b = __asyncValues(client.storageSyncServices.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
29
|
+
let item = _c.value;
|
30
|
+
resArray.push(item);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
|
+
finally {
|
35
|
+
try {
|
36
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
37
|
+
}
|
38
|
+
finally { if (e_1) throw e_1.error; }
|
39
|
+
}
|
40
|
+
console.log(resArray);
|
41
|
+
});
|
42
|
+
}
|
43
|
+
storageSyncServicesListByResourceGroup().catch(console.error);
|
44
|
+
//# sourceMappingURL=storageSyncServicesListByResourceGroup.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesListByResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sCAAsC;;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,CACnE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesListBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListBySubscription.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Get a StorageSyncService list by subscription.
|
13
|
+
*
|
14
|
+
* @summary Get a StorageSyncService list by subscription.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListBySubscription.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesListBySubscription() {
|
20
|
+
var e_1, _a;
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
22
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
23
|
+
const credential = new DefaultAzureCredential();
|
24
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
25
|
+
const resArray = new Array();
|
26
|
+
try {
|
27
|
+
for (var _b = __asyncValues(client.storageSyncServices.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
|
28
|
+
let item = _c.value;
|
29
|
+
resArray.push(item);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
|
+
finally {
|
34
|
+
try {
|
35
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
36
|
+
}
|
37
|
+
finally { if (e_1) throw e_1.error; }
|
38
|
+
}
|
39
|
+
console.log(resArray);
|
40
|
+
});
|
41
|
+
}
|
42
|
+
storageSyncServicesListBySubscription().catch(console.error);
|
43
|
+
//# sourceMappingURL=storageSyncServicesListBySubscription.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesListBySubscription.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qCAAqC;;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA3D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesUpdate.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Patch a given StorageSyncService.
|
13
|
+
*
|
14
|
+
* @summary Patch a given StorageSyncService.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Update.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function storageSyncServicesUpdate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const parameters = {
|
25
|
+
incomingTrafficPolicy: "AllowAllTraffic",
|
26
|
+
tags: { dept: "IT", environment: "Test" }
|
27
|
+
};
|
28
|
+
const options = { parameters: parameters };
|
29
|
+
const credential = new DefaultAzureCredential();
|
30
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
31
|
+
const result = yield client.storageSyncServices.beginUpdateAndWait(resourceGroupName, storageSyncServiceName, options);
|
32
|
+
console.log(result);
|
33
|
+
});
|
34
|
+
}
|
35
|
+
storageSyncServicesUpdate().catch(console.error);
|
36
|
+
//# sourceMappingURL=storageSyncServicesUpdate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"storageSyncServicesUpdate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAuC;YACrD,qBAAqB,EAAE,iBAAiB;YACxC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE;SAC1C,CAAC;QACF,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"syncGroupsCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsCreate.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Create a new SyncGroup.
|
13
|
+
*
|
14
|
+
* @summary Create a new SyncGroup.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Create.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function syncGroupsCreate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const syncGroupName = "SampleSyncGroup_1";
|
25
|
+
const parameters = { properties: {} };
|
26
|
+
const credential = new DefaultAzureCredential();
|
27
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
28
|
+
const result = yield client.syncGroups.create(resourceGroupName, storageSyncServiceName, syncGroupName, parameters);
|
29
|
+
console.log(result);
|
30
|
+
});
|
31
|
+
}
|
32
|
+
syncGroupsCreate().catch(console.error);
|
33
|
+
//# sourceMappingURL=syncGroupsCreate.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"syncGroupsCreate.js","sourceRoot":"","sources":["../../samples-dev/syncGroupsCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAA8B,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QACjE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"syncGroupsDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsDelete.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
/**
|
12
|
+
* This sample demonstrates how to Delete a given SyncGroup.
|
13
|
+
*
|
14
|
+
* @summary Delete a given SyncGroup.
|
15
|
+
* x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Delete.json
|
16
|
+
*/
|
17
|
+
import { MicrosoftStorageSync } from "@azure/arm-storagesync";
|
18
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
+
function syncGroupsDelete() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
|
22
|
+
const resourceGroupName = "SampleResourceGroup_1";
|
23
|
+
const storageSyncServiceName = "SampleStorageSyncService_1";
|
24
|
+
const syncGroupName = "SampleSyncGroup_1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new MicrosoftStorageSync(credential, subscriptionId);
|
27
|
+
const result = yield client.syncGroups.delete(resourceGroupName, storageSyncServiceName, syncGroupName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
syncGroupsDelete().catch(console.error);
|
32
|
+
//# sourceMappingURL=syncGroupsDelete.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"syncGroupsDelete.js","sourceRoot":"","sources":["../../samples-dev/syncGroupsDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"syncGroupsGet.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsGet.ts"],"names":[],"mappings":""}
|