@azure/arm-storage 18.1.1-alpha.20230810.1 → 18.2.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 +90 -57
- package/LICENSE +1 -1
- package/dist/index.js +519 -102
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js +11 -4
- package/dist-esm/samples-dev/blobContainersClearLegalHoldSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +15 -8
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersCreateSample.js +19 -12
- package/dist-esm/samples-dev/blobContainersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +12 -5
- package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersDeleteSample.js +11 -4
- package/dist-esm/samples-dev/blobContainersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +12 -5
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +11 -4
- package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersGetSample.js +15 -8
- package/dist-esm/samples-dev/blobContainersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersLeaseSample.js +15 -8
- package/dist-esm/samples-dev/blobContainersLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersListSample.js +15 -8
- package/dist-esm/samples-dev/blobContainersListSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +12 -5
- package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +11 -4
- package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +15 -8
- package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js.map +1 -1
- package/dist-esm/samples-dev/blobContainersUpdateSample.js +11 -4
- package/dist-esm/samples-dev/blobContainersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +20 -13
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +11 -4
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +11 -4
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/blobServicesListSample.js +11 -4
- package/dist-esm/samples-dev/blobServicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +19 -12
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/deletedAccountsGetSample.js +10 -3
- package/dist-esm/samples-dev/deletedAccountsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/deletedAccountsListSample.js +10 -3
- package/dist-esm/samples-dev/deletedAccountsListSample.js.map +1 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +12 -5
- package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.js +12 -5
- package/dist-esm/samples-dev/encryptionScopesListSample.js.map +1 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js +12 -5
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js.map +1 -1
- package/dist-esm/samples-dev/encryptionScopesPutSample.js +17 -10
- package/dist-esm/samples-dev/encryptionScopesPutSample.js.map +1 -1
- package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/fileServicesListSample.js +11 -4
- package/dist-esm/samples-dev/fileServicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +19 -12
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesCreateSample.js +19 -12
- package/dist-esm/samples-dev/fileSharesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/fileSharesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesGetSample.js +15 -8
- package/dist-esm/samples-dev/fileSharesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesLeaseSample.js +15 -8
- package/dist-esm/samples-dev/fileSharesLeaseSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesListSample.js +19 -12
- package/dist-esm/samples-dev/fileSharesListSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesRestoreSample.js +11 -4
- package/dist-esm/samples-dev/fileSharesRestoreSample.js.map +1 -1
- package/dist-esm/samples-dev/fileSharesUpdateSample.js +15 -8
- package/dist-esm/samples-dev/fileSharesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +15 -8
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersDeleteSample.js +11 -4
- package/dist-esm/samples-dev/localUsersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersGetSample.js +11 -4
- package/dist-esm/samples-dev/localUsersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersListKeysSample.js +11 -4
- package/dist-esm/samples-dev/localUsersListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersListSample.js +11 -4
- package/dist-esm/samples-dev/localUsersListSample.js.map +1 -1
- package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +11 -4
- package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js.map +1 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +39 -32
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.js +11 -4
- package/dist-esm/samples-dev/managementPoliciesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +23 -16
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +11 -4
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +11 -4
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +11 -4
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +11 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +11 -4
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js.map +1 -1
- package/dist-esm/samples-dev/queueCreateSample.js +15 -8
- package/dist-esm/samples-dev/queueCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/queueDeleteSample.js +11 -4
- package/dist-esm/samples-dev/queueDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/queueGetSample.js +11 -4
- package/dist-esm/samples-dev/queueGetSample.js.map +1 -1
- package/dist-esm/samples-dev/queueListSample.js +11 -4
- package/dist-esm/samples-dev/queueListSample.js.map +1 -1
- package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/queueServicesListSample.js +11 -4
- package/dist-esm/samples-dev/queueServicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/queueUpdateSample.js +11 -4
- package/dist-esm/samples-dev/queueUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.js +10 -3
- package/dist-esm/samples-dev/skusListSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +10 -3
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.js +55 -48
- package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js +39 -0
- package/dist-esm/samples-dev/storageAccountsCustomerInitiatedMigrationSample.js.map +1 -0
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js +15 -8
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.d.ts +2 -0
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js +58 -0
- package/dist-esm/samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.js.map +1 -0
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +63 -16
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListSample.js +10 -3
- package/dist-esm/samples-dev/storageAccountsListSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +15 -8
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +11 -4
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js.map +1 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +39 -32
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/tableCreateSample.js +15 -8
- package/dist-esm/samples-dev/tableCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/tableDeleteSample.js +11 -4
- package/dist-esm/samples-dev/tableDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/tableGetSample.js +11 -4
- package/dist-esm/samples-dev/tableGetSample.js.map +1 -1
- package/dist-esm/samples-dev/tableListSample.js +11 -4
- package/dist-esm/samples-dev/tableListSample.js.map +1 -1
- package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/tableServicesListSample.js +11 -4
- package/dist-esm/samples-dev/tableServicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +11 -4
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js.map +1 -1
- package/dist-esm/samples-dev/tableUpdateSample.js +15 -8
- package/dist-esm/samples-dev/tableUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +10 -3
- package/dist-esm/samples-dev/usagesListByLocationSample.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +213 -30
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +44 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +220 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +9 -6
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +39 -10
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/blobContainers.d.ts +2 -2
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/blobContainers.js +14 -16
- package/dist-esm/src/operations/blobContainers.js.map +1 -1
- package/dist-esm/src/operations/blobServices.js +1 -1
- package/dist-esm/src/operations/deletedAccounts.js +0 -1
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.js +0 -6
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
- package/dist-esm/src/operations/fileServices.js +1 -1
- package/dist-esm/src/operations/fileShares.js +1 -7
- package/dist-esm/src/operations/fileShares.js.map +1 -1
- package/dist-esm/src/operations/queue.js +0 -5
- package/dist-esm/src/operations/queue.js.map +1 -1
- package/dist-esm/src/operations/queueServices.js +1 -1
- package/dist-esm/src/operations/storageAccounts.d.ts +46 -7
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/storageAccounts.js +177 -30
- package/dist-esm/src/operations/storageAccounts.js.map +1 -1
- package/dist-esm/src/operations/tableOperations.js +2 -3
- package/dist-esm/src/operations/tableOperations.js.map +1 -1
- package/dist-esm/src/operations/tableServices.js +1 -1
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +47 -8
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/src/storageManagementClient.js +2 -2
- package/package.json +7 -6
- package/review/arm-storage.api.md +115 -20
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +235 -38
- package/src/models/mappers.ts +228 -0
- package/src/models/parameters.ts +42 -9
- package/src/operations/blobContainers.ts +19 -21
- package/src/operations/blobServices.ts +1 -1
- package/src/operations/deletedAccounts.ts +0 -1
- package/src/operations/encryptionScopes.ts +0 -6
- package/src/operations/fileServices.ts +1 -1
- package/src/operations/fileShares.ts +1 -7
- package/src/operations/queue.ts +0 -5
- package/src/operations/queueServices.ts +1 -1
- package/src/operations/storageAccounts.ts +240 -57
- package/src/operations/tableOperations.ts +2 -3
- package/src/operations/tableServices.ts +1 -1
- package/src/operationsInterfaces/blobContainers.ts +2 -2
- package/src/operationsInterfaces/storageAccounts.ts +68 -9
- package/src/pagingHelper.ts +4 -4
- package/src/storageManagementClient.ts +2 -2
- package/types/arm-storage.d.ts +282 -43
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skusListSample.js","sourceRoot":"","sources":["../../samples-dev/skusListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"skusListSample.js","sourceRoot":"","sources":["../../samples-dev/skusListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,OAAO;;;QACpB,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAlB,cAAkB;gBAAlB,WAAkB;;oBAA9B,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,OAAO,EAAE,CAAC;IACZ,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Abort live Migration of storage account to enable Hns
|
|
15
17
|
*
|
|
16
18
|
* @summary Abort live Migration of storage account to enable Hns
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json
|
|
18
20
|
*/
|
|
19
21
|
function storageAccountAbortHierarchicalNamespaceMigration() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "{subscription-id}";
|
|
22
|
-
const resourceGroupName = "res4228";
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
24
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
23
25
|
const accountName = "sto2434";
|
|
24
26
|
const credential = new DefaultAzureCredential();
|
|
25
27
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -27,5 +29,10 @@ function storageAccountAbortHierarchicalNamespaceMigration() {
|
|
|
27
29
|
console.log(result);
|
|
28
30
|
});
|
|
29
31
|
}
|
|
30
|
-
|
|
32
|
+
function main() {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
storageAccountAbortHierarchicalNamespaceMigration();
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
main().catch(console.error);
|
|
31
38
|
//# sourceMappingURL=storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map
|
package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsAbortHierarchicalNamespaceMigrationSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"storageAccountsAbortHierarchicalNamespaceMigrationSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,iDAAiD;;QAC9D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,+CAA+C,CACzF,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,iDAAiD,EAAE,CAAC;IACtD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,15 +10,17 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Checks that the storage account name is valid and is not already in use.
|
|
15
17
|
*
|
|
16
18
|
* @summary Checks that the storage account name is valid and is not already in use.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCheckNameAvailability.json
|
|
18
20
|
*/
|
|
19
21
|
function storageAccountCheckNameAvailability() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "{subscription-id}";
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
22
24
|
const accountName = {
|
|
23
25
|
name: "sto3363",
|
|
24
26
|
type: "Microsoft.Storage/storageAccounts"
|
|
@@ -29,5 +31,10 @@ function storageAccountCheckNameAvailability() {
|
|
|
29
31
|
console.log(result);
|
|
30
32
|
});
|
|
31
33
|
}
|
|
32
|
-
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
storageAccountCheckNameAvailability();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
33
40
|
//# sourceMappingURL=storageAccountsCheckNameAvailabilitySample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"storageAccountsCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,WAAW,GAAkD;YACjE,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,mCAAmC;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,qBAAqB,CAC/D,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mCAAmC,EAAE,CAAC;IACxC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
15
17
|
*
|
|
16
18
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/NfsV3AccountCreate.json
|
|
18
20
|
*/
|
|
19
21
|
function nfsV3AccountCreate() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "{subscription-id}";
|
|
22
|
-
const resourceGroupName = "res9101";
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
24
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
23
25
|
const accountName = "sto4445";
|
|
24
26
|
const parameters = {
|
|
25
27
|
isHnsEnabled: true,
|
|
@@ -45,17 +47,16 @@ function nfsV3AccountCreate() {
|
|
|
45
47
|
console.log(result);
|
|
46
48
|
});
|
|
47
49
|
}
|
|
48
|
-
nfsV3AccountCreate().catch(console.error);
|
|
49
50
|
/**
|
|
50
51
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
51
52
|
*
|
|
52
53
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
53
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
54
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreate.json
|
|
54
55
|
*/
|
|
55
56
|
function storageAccountCreate() {
|
|
56
57
|
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
-
const subscriptionId = "{subscription-id}";
|
|
58
|
-
const resourceGroupName = "res9101";
|
|
58
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
59
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
59
60
|
const accountName = "sto4445";
|
|
60
61
|
const parameters = {
|
|
61
62
|
allowBlobPublicAccess: false,
|
|
@@ -91,17 +92,16 @@ function storageAccountCreate() {
|
|
|
91
92
|
console.log(result);
|
|
92
93
|
});
|
|
93
94
|
}
|
|
94
|
-
storageAccountCreate().catch(console.error);
|
|
95
95
|
/**
|
|
96
96
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
97
97
|
*
|
|
98
98
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
99
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
99
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json
|
|
100
100
|
*/
|
|
101
101
|
function storageAccountCreateAllowedCopyScopeToAad() {
|
|
102
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
-
const subscriptionId = "{subscription-id}";
|
|
104
|
-
const resourceGroupName = "res9101";
|
|
103
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
104
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
105
105
|
const accountName = "sto4445";
|
|
106
106
|
const parameters = {
|
|
107
107
|
allowBlobPublicAccess: false,
|
|
@@ -135,17 +135,16 @@ function storageAccountCreateAllowedCopyScopeToAad() {
|
|
|
135
135
|
console.log(result);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
storageAccountCreateAllowedCopyScopeToAad().catch(console.error);
|
|
139
138
|
/**
|
|
140
139
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
141
140
|
*
|
|
142
141
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
143
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
142
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json
|
|
144
143
|
*/
|
|
145
144
|
function storageAccountCreateAllowedCopyScopeToPrivateLink() {
|
|
146
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
const subscriptionId = "{subscription-id}";
|
|
148
|
-
const resourceGroupName = "res9101";
|
|
146
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
147
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
149
148
|
const accountName = "sto4445";
|
|
150
149
|
const parameters = {
|
|
151
150
|
allowBlobPublicAccess: false,
|
|
@@ -179,17 +178,16 @@ function storageAccountCreateAllowedCopyScopeToPrivateLink() {
|
|
|
179
178
|
console.log(result);
|
|
180
179
|
});
|
|
181
180
|
}
|
|
182
|
-
storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error);
|
|
183
181
|
/**
|
|
184
182
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
185
183
|
*
|
|
186
184
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
187
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
185
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json
|
|
188
186
|
*/
|
|
189
187
|
function storageAccountCreateDisallowPublicNetworkAccess() {
|
|
190
188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
191
|
-
const subscriptionId = "{subscription-id}";
|
|
192
|
-
const resourceGroupName = "res9101";
|
|
189
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
190
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
193
191
|
const accountName = "sto4445";
|
|
194
192
|
const parameters = {
|
|
195
193
|
allowBlobPublicAccess: false,
|
|
@@ -224,17 +222,16 @@ function storageAccountCreateDisallowPublicNetworkAccess() {
|
|
|
224
222
|
console.log(result);
|
|
225
223
|
});
|
|
226
224
|
}
|
|
227
|
-
storageAccountCreateDisallowPublicNetworkAccess().catch(console.error);
|
|
228
225
|
/**
|
|
229
226
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
230
227
|
*
|
|
231
228
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
232
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
229
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json
|
|
233
230
|
*/
|
|
234
231
|
function storageAccountCreateDnsEndpointTypeToAzureDnsZone() {
|
|
235
232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
236
|
-
const subscriptionId = "{subscription-id}";
|
|
237
|
-
const resourceGroupName = "res9101";
|
|
233
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
234
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
238
235
|
const accountName = "sto4445";
|
|
239
236
|
const parameters = {
|
|
240
237
|
allowBlobPublicAccess: false,
|
|
@@ -271,17 +268,16 @@ function storageAccountCreateDnsEndpointTypeToAzureDnsZone() {
|
|
|
271
268
|
console.log(result);
|
|
272
269
|
});
|
|
273
270
|
}
|
|
274
|
-
storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error);
|
|
275
271
|
/**
|
|
276
272
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
277
273
|
*
|
|
278
274
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
279
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
275
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json
|
|
280
276
|
*/
|
|
281
277
|
function storageAccountCreateDnsEndpointTypeToStandard() {
|
|
282
278
|
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
-
const subscriptionId = "{subscription-id}";
|
|
284
|
-
const resourceGroupName = "res9101";
|
|
279
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
280
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
285
281
|
const accountName = "sto4445";
|
|
286
282
|
const parameters = {
|
|
287
283
|
allowBlobPublicAccess: false,
|
|
@@ -318,17 +314,16 @@ function storageAccountCreateDnsEndpointTypeToStandard() {
|
|
|
318
314
|
console.log(result);
|
|
319
315
|
});
|
|
320
316
|
}
|
|
321
|
-
storageAccountCreateDnsEndpointTypeToStandard().catch(console.error);
|
|
322
317
|
/**
|
|
323
318
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
324
319
|
*
|
|
325
320
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
326
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
321
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json
|
|
327
322
|
*/
|
|
328
323
|
function storageAccountCreateEnablePublicNetworkAccess() {
|
|
329
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
-
const subscriptionId = "{subscription-id}";
|
|
331
|
-
const resourceGroupName = "res9101";
|
|
325
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
326
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
332
327
|
const accountName = "sto4445";
|
|
333
328
|
const parameters = {
|
|
334
329
|
allowBlobPublicAccess: false,
|
|
@@ -363,17 +358,16 @@ function storageAccountCreateEnablePublicNetworkAccess() {
|
|
|
363
358
|
console.log(result);
|
|
364
359
|
});
|
|
365
360
|
}
|
|
366
|
-
storageAccountCreateEnablePublicNetworkAccess().catch(console.error);
|
|
367
361
|
/**
|
|
368
362
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
369
363
|
*
|
|
370
364
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
371
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
365
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json
|
|
372
366
|
*/
|
|
373
367
|
function storageAccountCreatePremiumBlockBlobStorage() {
|
|
374
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
375
|
-
const subscriptionId = "{subscription-id}";
|
|
376
|
-
const resourceGroupName = "res9101";
|
|
369
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
370
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
377
371
|
const accountName = "sto4445";
|
|
378
372
|
const parameters = {
|
|
379
373
|
allowSharedKeyAccess: true,
|
|
@@ -397,17 +391,16 @@ function storageAccountCreatePremiumBlockBlobStorage() {
|
|
|
397
391
|
console.log(result);
|
|
398
392
|
});
|
|
399
393
|
}
|
|
400
|
-
storageAccountCreatePremiumBlockBlobStorage().catch(console.error);
|
|
401
394
|
/**
|
|
402
395
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
403
396
|
*
|
|
404
397
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
405
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
398
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json
|
|
406
399
|
*/
|
|
407
400
|
function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() {
|
|
408
401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
409
|
-
const subscriptionId = "{subscription-id}";
|
|
410
|
-
const resourceGroupName = "res9101";
|
|
402
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
403
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
411
404
|
const accountName = "sto4445";
|
|
412
405
|
const parameters = {
|
|
413
406
|
encryption: {
|
|
@@ -441,17 +434,16 @@ function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() {
|
|
|
441
434
|
console.log(result);
|
|
442
435
|
});
|
|
443
436
|
}
|
|
444
|
-
storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch(console.error);
|
|
445
437
|
/**
|
|
446
438
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
447
439
|
*
|
|
448
440
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
449
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
441
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json
|
|
450
442
|
*/
|
|
451
443
|
function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() {
|
|
452
444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
453
|
-
const subscriptionId = "{subscription-id}";
|
|
454
|
-
const resourceGroupName = "res131918";
|
|
445
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
446
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res131918";
|
|
455
447
|
const accountName = "sto131918";
|
|
456
448
|
const parameters = {
|
|
457
449
|
encryption: {
|
|
@@ -486,17 +478,16 @@ function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId()
|
|
|
486
478
|
console.log(result);
|
|
487
479
|
});
|
|
488
480
|
}
|
|
489
|
-
storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch(console.error);
|
|
490
481
|
/**
|
|
491
482
|
* This sample demonstrates how to Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
492
483
|
*
|
|
493
484
|
* @summary Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
|
|
494
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
485
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountCreateWithImmutabilityPolicy.json
|
|
495
486
|
*/
|
|
496
487
|
function storageAccountCreateWithImmutabilityPolicy() {
|
|
497
488
|
return __awaiter(this, void 0, void 0, function* () {
|
|
498
|
-
const subscriptionId = "{subscription-id}";
|
|
499
|
-
const resourceGroupName = "res9101";
|
|
489
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
490
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res9101";
|
|
500
491
|
const accountName = "sto4445";
|
|
501
492
|
const parameters = {
|
|
502
493
|
extendedLocation: { name: "losangeles001", type: "EdgeZone" },
|
|
@@ -518,5 +509,21 @@ function storageAccountCreateWithImmutabilityPolicy() {
|
|
|
518
509
|
console.log(result);
|
|
519
510
|
});
|
|
520
511
|
}
|
|
521
|
-
|
|
512
|
+
function main() {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
nfsV3AccountCreate();
|
|
515
|
+
storageAccountCreate();
|
|
516
|
+
storageAccountCreateAllowedCopyScopeToAad();
|
|
517
|
+
storageAccountCreateAllowedCopyScopeToPrivateLink();
|
|
518
|
+
storageAccountCreateDisallowPublicNetworkAccess();
|
|
519
|
+
storageAccountCreateDnsEndpointTypeToAzureDnsZone();
|
|
520
|
+
storageAccountCreateDnsEndpointTypeToStandard();
|
|
521
|
+
storageAccountCreateEnablePublicNetworkAccess();
|
|
522
|
+
storageAccountCreatePremiumBlockBlobStorage();
|
|
523
|
+
storageAccountCreateUserAssignedEncryptionIdentityWithCmk();
|
|
524
|
+
storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId();
|
|
525
|
+
storageAccountCreateWithImmutabilityPolicy();
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
main().catch(console.error);
|
|
522
529
|
//# sourceMappingURL=storageAccountsCreateSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAAG,mBAAmB,CAAC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sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"storageAccountsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE,IAAI;YACjB,IAAI,EAAE,kBAAkB;YACxB,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE;gBACd,MAAM,EAAE,eAAe;gBACvB,aAAa,EAAE,OAAO;gBACtB,OAAO,EAAE,EAAE;gBACX,mBAAmB,EAAE;oBACnB;wBACE,wBAAwB,EACtB,6HAA6H;qBAChI;iBACF;aACF;YACD,GAAG,EAAE,E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ACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;QACrB,oBAAoB,EAAE,CAAC;QACvB,yCAAyC,EAAE,CAAC;QAC5C,iDAAiD,EAAE,CAAC;QACpD,+CAA+C,EAAE,CAAC;QAClD,iDAAiD,EAAE,CAAC;QACpD,6CAA6C,EAAE,CAAC;QAChD,6CAA6C,EAAE,CAAC;QAChD,2CAA2C,EAAE,CAAC;QAC9C,yDAAyD,EAAE,CAAC;QAC5D,qEAAqE,EAAE,CAAC;QACxE,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageAccountsCustomerInitiatedMigrationSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageAccountsCustomerInitiatedMigrationSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
|
|
17
|
+
*
|
|
18
|
+
* @summary Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountPostMigration.json
|
|
20
|
+
*/
|
|
21
|
+
function storageAccountPostMigration() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
24
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "resource-group-name";
|
|
25
|
+
const accountName = "accountname";
|
|
26
|
+
const parameters = { targetSkuName: "Standard_ZRS" };
|
|
27
|
+
const credential = new DefaultAzureCredential();
|
|
28
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
29
|
+
const result = yield client.storageAccounts.beginCustomerInitiatedMigrationAndWait(resourceGroupName, accountName, parameters);
|
|
30
|
+
console.log(result);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function main() {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
storageAccountPostMigration();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
main().catch(console.error);
|
|
39
|
+
//# sourceMappingURL=storageAccountsCustomerInitiatedMigrationSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageAccountsCustomerInitiatedMigrationSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsCustomerInitiatedMigrationSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,qBAAqB,CAAC;QACjE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,UAAU,GAA4B,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;QAC9E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,sCAAsC,CAChF,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to Deletes a storage account in Microsoft Azure.
|
|
15
17
|
*
|
|
16
18
|
* @summary Deletes a storage account in Microsoft Azure.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountDelete.json
|
|
18
20
|
*/
|
|
19
21
|
function storageAccountDelete() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "{subscription-id}";
|
|
22
|
-
const resourceGroupName = "res4228";
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
24
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
23
25
|
const accountName = "sto2434";
|
|
24
26
|
const credential = new DefaultAzureCredential();
|
|
25
27
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -27,5 +29,10 @@ function storageAccountDelete() {
|
|
|
27
29
|
console.log(result);
|
|
28
30
|
});
|
|
29
31
|
}
|
|
30
|
-
|
|
32
|
+
function main() {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
storageAccountDelete();
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
main().catch(console.error);
|
|
31
38
|
//# sourceMappingURL=storageAccountsDeleteSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"storageAccountsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,MAAM,CAChD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -10,16 +10,18 @@ import { __awaiter } from "tslib";
|
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
11
|
import { StorageManagementClient } from "@azure/arm-storage";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
13
15
|
/**
|
|
14
16
|
* This sample demonstrates how to A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
15
17
|
*
|
|
16
18
|
* @summary A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
19
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountFailover.json
|
|
18
20
|
*/
|
|
19
21
|
function storageAccountFailover() {
|
|
20
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
const subscriptionId = "{subscription-id}";
|
|
22
|
-
const resourceGroupName = "res4228";
|
|
23
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
24
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
23
25
|
const accountName = "sto2434";
|
|
24
26
|
const credential = new DefaultAzureCredential();
|
|
25
27
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -27,17 +29,16 @@ function storageAccountFailover() {
|
|
|
27
29
|
console.log(result);
|
|
28
30
|
});
|
|
29
31
|
}
|
|
30
|
-
storageAccountFailover().catch(console.error);
|
|
31
32
|
/**
|
|
32
33
|
* This sample demonstrates how to A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
33
34
|
*
|
|
34
35
|
* @summary A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
35
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
36
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2023-01-01/examples/StorageAccountFailoverPlanned.json
|
|
36
37
|
*/
|
|
37
38
|
function storageAccountFailoverPlanned() {
|
|
38
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
-
const subscriptionId = "{subscription-id}";
|
|
40
|
-
const resourceGroupName = "res4228";
|
|
40
|
+
const subscriptionId = process.env["STORAGE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
41
|
+
const resourceGroupName = process.env["STORAGE_RESOURCE_GROUP"] || "res4228";
|
|
41
42
|
const accountName = "sto2434";
|
|
42
43
|
const credential = new DefaultAzureCredential();
|
|
43
44
|
const client = new StorageManagementClient(credential, subscriptionId);
|
|
@@ -45,5 +46,11 @@ function storageAccountFailoverPlanned() {
|
|
|
45
46
|
console.log(result);
|
|
46
47
|
});
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
+
function main() {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
storageAccountFailover();
|
|
52
|
+
storageAccountFailoverPlanned();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
main().catch(console.error);
|
|
49
56
|
//# sourceMappingURL=storageAccountsFailoverSample.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccountsFailoverSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsFailoverSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"storageAccountsFailoverSample.js","sourceRoot":"","sources":["../../samples-dev/storageAccountsFailoverSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAC9D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,mBAAmB,CAAC;QAChE,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,IAAI,SAAS,CAAC;QAC7E,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,oBAAoB,CAC9D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sBAAsB,EAAE,CAAC;QACzB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storageAccountsGetCustomerInitiatedMigrationSample.d.ts","sourceRoot":"","sources":["../../samples-dev/storageAccountsGetCustomerInitiatedMigrationSample.ts"],"names":[],"mappings":""}
|