@azure/arm-storage 17.2.2-alpha.20220616.1 → 18.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 +39 -10
- package/dist/index.js +198 -39
- 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 +1 -1
- package/dist-esm/samples-dev/blobContainersCreateOrUpdateImmutabilityPolicySample.js +2 -2
- package/dist-esm/samples-dev/blobContainersCreateSample.js +3 -3
- package/dist-esm/samples-dev/blobContainersDeleteImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersExtendImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersGetImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersGetSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersLeaseSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersListSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersLockImmutabilityPolicySample.js +1 -1
- package/dist-esm/samples-dev/blobContainersObjectLevelWormSample.js +1 -1
- package/dist-esm/samples-dev/blobContainersSetLegalHoldSample.js +2 -2
- package/dist-esm/samples-dev/blobContainersUpdateSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesListSample.js +1 -1
- package/dist-esm/samples-dev/blobServicesSetServicePropertiesSample.js +3 -3
- package/dist-esm/samples-dev/deletedAccountsGetSample.js +1 -1
- package/dist-esm/samples-dev/deletedAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js +1 -1
- package/dist-esm/samples-dev/encryptionScopesPutSample.js +2 -2
- package/dist-esm/samples-dev/fileServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesListSample.js +1 -1
- package/dist-esm/samples-dev/fileServicesSetServicePropertiesSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesCreateSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/fileSharesGetSample.js +2 -2
- package/dist-esm/samples-dev/fileSharesLeaseSample.js +2 -2
- package/dist-esm/samples-dev/fileSharesListSample.js +3 -3
- package/dist-esm/samples-dev/fileSharesRestoreSample.js +1 -1
- package/dist-esm/samples-dev/fileSharesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/localUsersCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/localUsersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/localUsersGetSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListKeysSample.js +1 -1
- package/dist-esm/samples-dev/localUsersListSample.js +1 -1
- package/dist-esm/samples-dev/localUsersRegeneratePasswordSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +1 -1
- package/dist-esm/samples-dev/queueCreateSample.js +2 -2
- package/dist-esm/samples-dev/queueDeleteSample.js +1 -1
- package/dist-esm/samples-dev/queueGetSample.js +1 -1
- package/dist-esm/samples-dev/queueListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesListSample.js +1 -1
- package/dist-esm/samples-dev/queueServicesSetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/queueUpdateSample.js +1 -1
- package/dist-esm/samples-dev/skusListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsAbortHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.js +12 -12
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +4 -4
- package/dist-esm/samples-dev/storageAccountsHierarchicalNamespaceMigrationSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +1 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +8 -8
- package/dist-esm/samples-dev/tableCreateSample.js +2 -2
- package/dist-esm/samples-dev/tableDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tableGetSample.js +1 -1
- package/dist-esm/samples-dev/tableListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesGetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesListSample.js +1 -1
- package/dist-esm/samples-dev/tableServicesSetServicePropertiesSample.js +1 -1
- package/dist-esm/samples-dev/tableUpdateSample.js +2 -2
- package/dist-esm/samples-dev/usagesListByLocationSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +229 -68
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +177 -18
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +0 -5
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageManagementClient.js +20 -15
- package/dist-esm/src/storageManagementClient.js.map +1 -1
- package/dist-esm/test/storage_examples.js.map +1 -1
- package/package.json +6 -7
- package/review/arm-storage.api.md +185 -321
- package/src/models/index.ts +228 -68
- package/src/models/mappers.ts +0 -5
- package/src/models/parameters.ts +1 -1
- package/src/storageManagementClient.ts +25 -18
- package/types/arm-storage.d.ts +259 -98
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Create or update the properties of a local user associated with the storage account
|
|
15
15
|
*
|
|
16
16
|
* @summary Create or update the properties of a local user associated with the storage account
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserCreate.json
|
|
18
18
|
*/
|
|
19
19
|
function createLocalUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,7 @@ createLocalUser().catch(console.error);
|
|
|
44
44
|
* This sample demonstrates how to Create or update the properties of a local user associated with the storage account
|
|
45
45
|
*
|
|
46
46
|
* @summary Create or update the properties of a local user associated with the storage account
|
|
47
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
47
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserUpdate.json
|
|
48
48
|
*/
|
|
49
49
|
function updateLocalUser() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the local user associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the local user associated with the specified storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteLocalUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the local user of the storage account by username.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the local user of the storage account by username.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getLocalUser() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List SSH authorized keys and shared key of the local user.
|
|
15
15
|
*
|
|
16
16
|
* @summary List SSH authorized keys and shared key of the local user.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserListKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function listLocalUserKeys() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List the local users associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary List the local users associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUsersList.json
|
|
18
18
|
*/
|
|
19
19
|
function listLocalUsers() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Regenerate the local user SSH password.
|
|
15
15
|
*
|
|
16
16
|
* @summary Regenerate the local user SSH password.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/LocalUserRegeneratePassword.json
|
|
18
18
|
*/
|
|
19
19
|
function regenerateLocalUserPassword() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountSetManagementPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -80,7 +80,7 @@ storageAccountSetManagementPolicies().catch(console.error);
|
|
|
80
80
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
81
81
|
*
|
|
82
82
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
83
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
83
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json
|
|
84
84
|
*/
|
|
85
85
|
function storageAccountSetManagementPolicyForBlockAndAppendBlobs() {
|
|
86
86
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -121,7 +121,7 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error);
|
|
|
121
121
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
122
122
|
*
|
|
123
123
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
124
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
124
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json
|
|
125
125
|
*/
|
|
126
126
|
function storageAccountSetManagementPolicyWithSnapshotAndVersion() {
|
|
127
127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -174,7 +174,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error);
|
|
|
174
174
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
175
175
|
*
|
|
176
176
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
177
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
177
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json
|
|
178
178
|
*/
|
|
179
179
|
function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() {
|
|
180
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +217,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch(consol
|
|
|
217
217
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
218
218
|
*
|
|
219
219
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
220
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
220
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json
|
|
221
221
|
*/
|
|
222
222
|
function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() {
|
|
223
223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +262,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch(console.
|
|
|
262
262
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
263
263
|
*
|
|
264
264
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
265
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
265
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json
|
|
266
266
|
*/
|
|
267
267
|
function storageAccountSetManagementPolicyLastTierChangeTimeActions() {
|
|
268
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the managementpolicy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the managementpolicy associated with the specified storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteManagementPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountDeleteManagementPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the managementpolicy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the managementpolicy associated with the specified storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetManagementPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetManagementPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Create or update the object replication policy of the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountCreateObjectReplicationPolicyOnDestination() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -44,7 +44,7 @@ storageAccountCreateObjectReplicationPolicyOnDestination().catch(console.error);
|
|
|
44
44
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
45
45
|
*
|
|
46
46
|
* @summary Create or update the object replication policy of the storage account.
|
|
47
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
47
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json
|
|
48
48
|
*/
|
|
49
49
|
function storageAccountCreateObjectReplicationPolicyOnSource() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -78,7 +78,7 @@ storageAccountCreateObjectReplicationPolicyOnSource().catch(console.error);
|
|
|
78
78
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
79
79
|
*
|
|
80
80
|
* @summary Create or update the object replication policy of the storage account.
|
|
81
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
81
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json
|
|
82
82
|
*/
|
|
83
83
|
function storageAccountUpdateObjectReplicationPolicyOnDestination() {
|
|
84
84
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -110,7 +110,7 @@ storageAccountUpdateObjectReplicationPolicyOnDestination().catch(console.error);
|
|
|
110
110
|
* This sample demonstrates how to Create or update the object replication policy of the storage account.
|
|
111
111
|
*
|
|
112
112
|
* @summary Create or update the object replication policy of the storage account.
|
|
113
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
113
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json
|
|
114
114
|
*/
|
|
115
115
|
function storageAccountUpdateObjectReplicationPolicyOnSource() {
|
|
116
116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the object replication policy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the object replication policy associated with the specified storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeleteObjectReplicationPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountDeleteObjectReplicationPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the object replication policy of the storage account by policy ID.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the object replication policy of the storage account by policy ID.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetObjectReplicationPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetObjectReplicationPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List the object replication policies associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary List the object replication policies associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListObjectReplicationPolicies.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountListObjectReplicationPolicies() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists all of the available Storage Rest API operations.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all of the available Storage Rest API operations.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/OperationsList.json
|
|
18
18
|
*/
|
|
19
19
|
function operationsList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the specified private endpoint connection associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDeletePrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountDeletePrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the specified private endpoint connection associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the specified private endpoint connection associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetPrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the private endpoint connections associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the private endpoint connections associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateEndpointConnections.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountListPrivateEndpointConnections() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update the state of specified private endpoint connection associated with the storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update the state of specified private endpoint connection associated with the storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountPutPrivateEndpointConnection.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountPutPrivateEndpointConnection() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the private link resources that need to be created for a storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the private link resources that need to be created for a storage account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountListPrivateLinkResources.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountListPrivateLinkResources() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new queue with the specified queue name, under the specified account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPut.json
|
|
18
18
|
*/
|
|
19
19
|
function queueOperationPut() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ queueOperationPut().catch(console.error);
|
|
|
34
34
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
35
35
|
*
|
|
36
36
|
* @summary Creates a new queue with the specified queue name, under the specified account.
|
|
37
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
37
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPutWithMetadata.json
|
|
38
38
|
*/
|
|
39
39
|
function queueOperationPutWithMetadata() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function queueOperationDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the queue with the specified queue name, under the specified account if it exists.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the queue with the specified queue name, under the specified account if it exists.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationGet.json
|
|
18
18
|
*/
|
|
19
19
|
function queueOperationGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets a list of all the queues under the specified storage account
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets a list of all the queues under the specified storage account
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationList.json
|
|
18
18
|
*/
|
|
19
19
|
function queueOperationList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesGet.json
|
|
18
18
|
*/
|
|
19
19
|
function queueServicesGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all queue services for the storage account
|
|
15
15
|
*
|
|
16
16
|
* @summary List all queue services for the storage account
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesList.json
|
|
18
18
|
*/
|
|
19
19
|
function queueServicesList() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueServicesPut.json
|
|
18
18
|
*/
|
|
19
19
|
function queueServicesPut() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Creates a new queue with the specified queue name, under the specified account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new queue with the specified queue name, under the specified account.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/QueueOperationPatch.json
|
|
18
18
|
*/
|
|
19
19
|
function queueOperationPatch() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/SKUList.json
|
|
18
18
|
*/
|
|
19
19
|
function skuList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Abort live Migration of storage account to enable Hns
|
|
15
15
|
*
|
|
16
16
|
* @summary Abort live Migration of storage account to enable Hns
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountAbortHierarchicalNamespaceMigration() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Checks that the storage account name is valid and is not already in use.
|
|
15
15
|
*
|
|
16
16
|
* @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/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCheckNameAvailability.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountCheckNameAvailability() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* 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
15
|
*
|
|
16
16
|
* @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/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/NfsV3AccountCreate.json
|
|
18
18
|
*/
|
|
19
19
|
function nfsV3AccountCreate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -50,7 +50,7 @@ nfsV3AccountCreate().catch(console.error);
|
|
|
50
50
|
* 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
51
|
*
|
|
52
52
|
* @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/
|
|
53
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreate.json
|
|
54
54
|
*/
|
|
55
55
|
function storageAccountCreate() {
|
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -96,7 +96,7 @@ storageAccountCreate().catch(console.error);
|
|
|
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/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json
|
|
100
100
|
*/
|
|
101
101
|
function storageAccountCreateAllowedCopyScopeToAad() {
|
|
102
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -140,7 +140,7 @@ storageAccountCreateAllowedCopyScopeToAad().catch(console.error);
|
|
|
140
140
|
* 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
141
|
*
|
|
142
142
|
* @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/
|
|
143
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json
|
|
144
144
|
*/
|
|
145
145
|
function storageAccountCreateAllowedCopyScopeToPrivateLink() {
|
|
146
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -184,7 +184,7 @@ storageAccountCreateAllowedCopyScopeToPrivateLink().catch(console.error);
|
|
|
184
184
|
* 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
185
|
*
|
|
186
186
|
* @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/
|
|
187
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json
|
|
188
188
|
*/
|
|
189
189
|
function storageAccountCreateDisallowPublicNetworkAccess() {
|
|
190
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -229,7 +229,7 @@ storageAccountCreateDisallowPublicNetworkAccess().catch(console.error);
|
|
|
229
229
|
* 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
230
|
*
|
|
231
231
|
* @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/
|
|
232
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json
|
|
233
233
|
*/
|
|
234
234
|
function storageAccountCreateDnsEndpointTypeToAzureDnsZone() {
|
|
235
235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +276,7 @@ storageAccountCreateDnsEndpointTypeToAzureDnsZone().catch(console.error);
|
|
|
276
276
|
* 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
277
|
*
|
|
278
278
|
* @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/
|
|
279
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json
|
|
280
280
|
*/
|
|
281
281
|
function storageAccountCreateDnsEndpointTypeToStandard() {
|
|
282
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -323,7 +323,7 @@ storageAccountCreateDnsEndpointTypeToStandard().catch(console.error);
|
|
|
323
323
|
* 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
324
|
*
|
|
325
325
|
* @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/
|
|
326
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json
|
|
327
327
|
*/
|
|
328
328
|
function storageAccountCreateEnablePublicNetworkAccess() {
|
|
329
329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -368,7 +368,7 @@ storageAccountCreateEnablePublicNetworkAccess().catch(console.error);
|
|
|
368
368
|
* 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
369
|
*
|
|
370
370
|
* @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/
|
|
371
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json
|
|
372
372
|
*/
|
|
373
373
|
function storageAccountCreatePremiumBlockBlobStorage() {
|
|
374
374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -402,7 +402,7 @@ storageAccountCreatePremiumBlockBlobStorage().catch(console.error);
|
|
|
402
402
|
* 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
403
|
*
|
|
404
404
|
* @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/
|
|
405
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json
|
|
406
406
|
*/
|
|
407
407
|
function storageAccountCreateUserAssignedEncryptionIdentityWithCmk() {
|
|
408
408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -446,7 +446,7 @@ storageAccountCreateUserAssignedEncryptionIdentityWithCmk().catch(console.error)
|
|
|
446
446
|
* 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
447
|
*
|
|
448
448
|
* @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/
|
|
449
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json
|
|
450
450
|
*/
|
|
451
451
|
function storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId() {
|
|
452
452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -491,7 +491,7 @@ storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId().catch(co
|
|
|
491
491
|
* 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
492
|
*
|
|
493
493
|
* @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/
|
|
494
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountCreateWithImmutabilityPolicy.json
|
|
495
495
|
*/
|
|
496
496
|
function storageAccountCreateWithImmutabilityPolicy() {
|
|
497
497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Deletes a storage account in Microsoft Azure.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes a storage account in Microsoft Azure.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
|
|
15
15
|
*
|
|
16
16
|
* @summary Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountFailover.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountFailover() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetAsyncSkuConversionStatus.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetAsyncSkuConversionStatus() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -32,7 +32,7 @@ storageAccountGetAsyncSkuConversionStatus().catch(console.error);
|
|
|
32
32
|
* This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
33
33
|
*
|
|
34
34
|
* @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
35
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
35
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetProperties.json
|
|
36
36
|
*/
|
|
37
37
|
function storageAccountGetProperties() {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -50,7 +50,7 @@ storageAccountGetProperties().catch(console.error);
|
|
|
50
50
|
* This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
51
51
|
*
|
|
52
52
|
* @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
53
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
53
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKEnabled.json
|
|
54
54
|
*/
|
|
55
55
|
function storageAccountGetPropertiesCmkEnabled() {
|
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -68,7 +68,7 @@ storageAccountGetPropertiesCmkEnabled().catch(console.error);
|
|
|
68
68
|
* This sample demonstrates how to Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
69
69
|
*
|
|
70
70
|
* @summary Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
71
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
71
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json
|
|
72
72
|
*/
|
|
73
73
|
function storageAccountGetPropertiesCmkVersionExpirationTime() {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Live Migration of storage account to enable Hns
|
|
15
15
|
*
|
|
16
16
|
* @summary Live Migration of storage account to enable Hns
|
|
17
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/examples/StorageAccountHierarchicalNamespaceMigration.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountHierarchicalNamespaceMigration() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|