@azure/arm-storage 18.0.1-alpha.20221101.1 → 18.1.0-alpha.20221130.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -10
- package/dist/index.js +388 -129
- 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 +99 -6
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +1 -1
- 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 +21 -3
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +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/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +61 -18
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +10 -0
- 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 +42 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -3
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +46 -13
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/blobContainers.js +23 -11
- package/dist-esm/src/operations/blobContainers.js.map +1 -1
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/blobInventoryPolicies.js +8 -4
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -1
- package/dist-esm/src/operations/blobServices.d.ts.map +1 -1
- package/dist-esm/src/operations/blobServices.js +8 -4
- package/dist-esm/src/operations/blobServices.js.map +1 -1
- package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/deletedAccounts.js +19 -7
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -1
- package/dist-esm/src/operations/encryptionScopes.js +31 -9
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -1
- package/dist-esm/src/operations/fileShares.d.ts.map +1 -1
- package/dist-esm/src/operations/fileShares.js +22 -10
- package/dist-esm/src/operations/fileShares.js.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/localUsersOperations.js +8 -4
- package/dist-esm/src/operations/localUsersOperations.js.map +1 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +8 -4
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +8 -4
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/queue.d.ts.map +1 -1
- package/dist-esm/src/operations/queue.js +23 -11
- package/dist-esm/src/operations/queue.js.map +1 -1
- package/dist-esm/src/operations/skus.d.ts.map +1 -1
- package/dist-esm/src/operations/skus.js +8 -4
- package/dist-esm/src/operations/skus.js.map +1 -1
- package/dist-esm/src/operations/storageAccounts.d.ts +20 -6
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/storageAccounts.js +58 -21
- package/dist-esm/src/operations/storageAccounts.js.map +1 -1
- package/dist-esm/src/operations/tableOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/tableOperations.js +19 -7
- package/dist-esm/src/operations/tableOperations.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts.map +1 -1
- package/dist-esm/src/operations/usages.js +8 -4
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +20 -6
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageManagementClient.js +5 -8
- package/dist-esm/src/storageManagementClient.js.map +1 -1
- package/package.json +4 -3
- package/review/arm-storage.api.md +25 -0
- package/src/index.ts +1 -0
- package/src/models/index.ts +67 -20
- package/src/models/mappers.ts +42 -0
- package/src/models/parameters.ts +50 -14
- package/src/operations/blobContainers.ts +30 -12
- package/src/operations/blobInventoryPolicies.ts +17 -7
- package/src/operations/blobServices.ts +15 -5
- package/src/operations/deletedAccounts.ts +21 -8
- package/src/operations/encryptionScopes.ts +39 -11
- package/src/operations/fileShares.ts +29 -11
- package/src/operations/localUsersOperations.ts +15 -5
- package/src/operations/objectReplicationPoliciesOperations.ts +15 -5
- package/src/operations/operations.ts +10 -5
- package/src/operations/privateEndpointConnections.ts +15 -5
- package/src/operations/queue.ts +31 -13
- package/src/operations/skus.ts +10 -5
- package/src/operations/storageAccounts.ts +67 -24
- package/src/operations/tableOperations.ts +27 -9
- package/src/operations/usages.ts +10 -5
- package/src/operationsInterfaces/storageAccounts.ts +20 -6
- package/src/pagingHelper.ts +39 -0
- package/src/storageManagementClient.ts +6 -7
- package/types/arm-storage.d.ts +92 -24
- package/types/tsdoc-metadata.json +1 -1
|
@@ -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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountSetManagementPolicies() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -80,7 +80,59 @@ 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/2022-
|
|
83
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicyColdTierActions.json
|
|
84
|
+
*/
|
|
85
|
+
function storageAccountSetManagementPolicyColdTierActions() {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const subscriptionId = "{subscription-id}";
|
|
88
|
+
const resourceGroupName = "res7687";
|
|
89
|
+
const accountName = "sto9699";
|
|
90
|
+
const managementPolicyName = "default";
|
|
91
|
+
const properties = {
|
|
92
|
+
policy: {
|
|
93
|
+
rules: [
|
|
94
|
+
{
|
|
95
|
+
name: "olcmtest1",
|
|
96
|
+
type: "Lifecycle",
|
|
97
|
+
definition: {
|
|
98
|
+
actions: {
|
|
99
|
+
baseBlob: {
|
|
100
|
+
delete: { daysAfterModificationGreaterThan: 1000 },
|
|
101
|
+
tierToArchive: { daysAfterModificationGreaterThan: 90 },
|
|
102
|
+
tierToCold: { daysAfterModificationGreaterThan: 30 },
|
|
103
|
+
tierToCool: { daysAfterModificationGreaterThan: 30 }
|
|
104
|
+
},
|
|
105
|
+
snapshot: {
|
|
106
|
+
delete: { daysAfterCreationGreaterThan: 30 },
|
|
107
|
+
tierToCold: { daysAfterCreationGreaterThan: 30 }
|
|
108
|
+
},
|
|
109
|
+
version: {
|
|
110
|
+
delete: { daysAfterCreationGreaterThan: 30 },
|
|
111
|
+
tierToCold: { daysAfterCreationGreaterThan: 30 }
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
filters: {
|
|
115
|
+
blobTypes: ["blockBlob"],
|
|
116
|
+
prefixMatch: ["olcmtestcontainer1"]
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
enabled: true
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
const credential = new DefaultAzureCredential();
|
|
125
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
126
|
+
const result = yield client.managementPolicies.createOrUpdate(resourceGroupName, accountName, managementPolicyName, properties);
|
|
127
|
+
console.log(result);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
storageAccountSetManagementPolicyColdTierActions().catch(console.error);
|
|
131
|
+
/**
|
|
132
|
+
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
133
|
+
*
|
|
134
|
+
* @summary Sets the managementpolicy to the specified storage account.
|
|
135
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json
|
|
84
136
|
*/
|
|
85
137
|
function storageAccountSetManagementPolicyForBlockAndAppendBlobs() {
|
|
86
138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -121,7 +173,48 @@ storageAccountSetManagementPolicyForBlockAndAppendBlobs().catch(console.error);
|
|
|
121
173
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
122
174
|
*
|
|
123
175
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
124
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
176
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicyHotTierActions.json
|
|
177
|
+
*/
|
|
178
|
+
function storageAccountSetManagementPolicyHotTierActions() {
|
|
179
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
180
|
+
const subscriptionId = "{subscription-id}";
|
|
181
|
+
const resourceGroupName = "res7687";
|
|
182
|
+
const accountName = "sto9699";
|
|
183
|
+
const managementPolicyName = "default";
|
|
184
|
+
const properties = {
|
|
185
|
+
policy: {
|
|
186
|
+
rules: [
|
|
187
|
+
{
|
|
188
|
+
name: "olcmtest1",
|
|
189
|
+
type: "Lifecycle",
|
|
190
|
+
definition: {
|
|
191
|
+
actions: {
|
|
192
|
+
baseBlob: { tierToHot: { daysAfterModificationGreaterThan: 30 } },
|
|
193
|
+
snapshot: { tierToHot: { daysAfterCreationGreaterThan: 30 } },
|
|
194
|
+
version: { tierToHot: { daysAfterCreationGreaterThan: 30 } }
|
|
195
|
+
},
|
|
196
|
+
filters: {
|
|
197
|
+
blobTypes: ["blockBlob"],
|
|
198
|
+
prefixMatch: ["olcmtestcontainer1"]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
enabled: true
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
const credential = new DefaultAzureCredential();
|
|
207
|
+
const client = new StorageManagementClient(credential, subscriptionId);
|
|
208
|
+
const result = yield client.managementPolicies.createOrUpdate(resourceGroupName, accountName, managementPolicyName, properties);
|
|
209
|
+
console.log(result);
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
storageAccountSetManagementPolicyHotTierActions().catch(console.error);
|
|
213
|
+
/**
|
|
214
|
+
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
215
|
+
*
|
|
216
|
+
* @summary Sets the managementpolicy to the specified storage account.
|
|
217
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json
|
|
125
218
|
*/
|
|
126
219
|
function storageAccountSetManagementPolicyWithSnapshotAndVersion() {
|
|
127
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -174,7 +267,7 @@ storageAccountSetManagementPolicyWithSnapshotAndVersion().catch(console.error);
|
|
|
174
267
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
175
268
|
*
|
|
176
269
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
177
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
270
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json
|
|
178
271
|
*/
|
|
179
272
|
function storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions() {
|
|
180
273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -217,7 +310,7 @@ storageAccountSetManagementPolicyBaseBlobDaysAfterCreationActions().catch(consol
|
|
|
217
310
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
218
311
|
*
|
|
219
312
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
220
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
313
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json
|
|
221
314
|
*/
|
|
222
315
|
function storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions() {
|
|
223
316
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -262,7 +355,7 @@ storageAccountSetManagementPolicyLastAccessTimeBasedBlobActions().catch(console.
|
|
|
262
355
|
* This sample demonstrates how to Sets the managementpolicy to the specified storage account.
|
|
263
356
|
*
|
|
264
357
|
* @summary Sets the managementpolicy to the specified storage account.
|
|
265
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
358
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json
|
|
266
359
|
*/
|
|
267
360
|
function storageAccountSetManagementPolicyLastTierChangeTimeActions() {
|
|
268
361
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managementPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/managementPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAoB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAA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O,EAAE,IAAI;qBACd;iBACF;aACF;SACF,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,kBAAkB,CAAC,cAAc,CAC3D,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0DAA0D,EAAE,CAAC,KAAK,CAChE,OAAO,CAAC,KAAK,CACd,CAAC"}
|
|
1
|
+
{"version":3,"file":"managementPoliciesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/managementPoliciesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAoB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,WAAW,GAAG,SAAS,CAAC;QAC9B,MAAM,oBAAoB,GAAG,SAAS,CAAC;QACvC,MAAM,UAAU,GAAqB;YACnC,MAAM,EAAE;gBACN,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,WAAW;wBACjB,UAAU,EAAE;4BACV,OAAO,EAAE;gCACP,QAAQ,EAAE;oCACR,MAAM,EAAE,EAAE,gCAAgC,EAAE,IAAI,EAAE;oCAClD,aAAa,EAAE,EAAE,gCAAgC,EAAE,EAAE,EAAE;oCACvD,UAAU,EAAE,EAAE,gCAAgC,EAAE,EAAE,EAAE;iCACrD;gCACD,Q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O,CAAC,KAAK,CACd,CAAC"}
|
|
@@ -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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
47
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
81
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
113
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
37
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountCheckNameAvailability.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountCheckNameAvailability() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|