@azure/arm-storage 18.0.1-alpha.20221128.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
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
|
|
15
15
|
*
|
|
16
16
|
* @summary Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
|
|
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/BlobContainersClearLegalHold.json
|
|
18
18
|
*/
|
|
19
19
|
function clearLegalHoldContainers() {
|
|
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 or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
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/BlobContainersPutImmutabilityPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function createOrUpdateImmutabilityPolicy() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -40,7 +40,7 @@ createOrUpdateImmutabilityPolicy().catch(console.error);
|
|
|
40
40
|
* This sample demonstrates how to Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
41
41
|
*
|
|
42
42
|
* @summary Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.
|
|
43
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
43
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json
|
|
44
44
|
*/
|
|
45
45
|
function createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll() {
|
|
46
46
|
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 container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
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/BlobContainersPutDefaultEncryptionScope.json
|
|
18
18
|
*/
|
|
19
19
|
function putContainerWithDefaultEncryptionScope() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -37,7 +37,7 @@ putContainerWithDefaultEncryptionScope().catch(console.error);
|
|
|
37
37
|
* This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
38
38
|
*
|
|
39
39
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
40
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
40
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobContainersPutObjectLevelWorm.json
|
|
41
41
|
*/
|
|
42
42
|
function putContainerWithObjectLevelWorm() {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -59,7 +59,7 @@ putContainerWithObjectLevelWorm().catch(console.error);
|
|
|
59
59
|
* This sample demonstrates how to Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
60
60
|
*
|
|
61
61
|
* @summary Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.
|
|
62
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
62
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobContainersPut.json
|
|
63
63
|
*/
|
|
64
64
|
function putContainers() {
|
|
65
65
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.
|
|
15
15
|
*
|
|
16
16
|
* @summary Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.
|
|
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/BlobContainersDeleteImmutabilityPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteImmutabilityPolicy() {
|
|
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 Deletes specified container under its account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes specified container under its 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/BlobContainersDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteContainers() {
|
|
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 Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
|
|
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/BlobContainersExtendImmutabilityPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function extendImmutabilityPolicy() {
|
|
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 existing immutability policy along with the corresponding ETag in response headers and body.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
|
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/BlobContainersGetImmutabilityPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function getImmutabilityPolicy() {
|
|
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 properties of a specified container.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets properties of a specified container.
|
|
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/BlobContainersGetWithAllowProtectedAppendWritesAll.json
|
|
18
18
|
*/
|
|
19
19
|
function getBlobContainersGetWithAllowProtectedAppendWritesAll() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ getBlobContainersGetWithAllowProtectedAppendWritesAll().catch(console.error);
|
|
|
33
33
|
* This sample demonstrates how to Gets properties of a specified container.
|
|
34
34
|
*
|
|
35
35
|
* @summary Gets properties of a specified container.
|
|
36
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
36
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobContainersGet.json
|
|
37
37
|
*/
|
|
38
38
|
function getContainers() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
15
15
|
*
|
|
16
16
|
* @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
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/BlobContainersLease_Acquire.json
|
|
18
18
|
*/
|
|
19
19
|
function acquireALeaseOnAContainer() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -41,7 +41,7 @@ acquireALeaseOnAContainer().catch(console.error);
|
|
|
41
41
|
* This sample demonstrates how to The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
42
42
|
*
|
|
43
43
|
* @summary The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
44
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
44
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobContainersLease_Break.json
|
|
45
45
|
*/
|
|
46
46
|
function breakALeaseOnAContainer() {
|
|
47
47
|
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 all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
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/BlobContainersList.json
|
|
18
18
|
*/
|
|
19
19
|
function listContainers() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -46,7 +46,7 @@ listContainers().catch(console.error);
|
|
|
46
46
|
* This sample demonstrates how to Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
47
47
|
*
|
|
48
48
|
* @summary Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
|
|
49
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
49
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/DeletedBlobContainersList.json
|
|
50
50
|
*/
|
|
51
51
|
function listDeletedContainers() {
|
|
52
52
|
var e_2, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
|
|
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/BlobContainersLockImmutabilityPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function lockImmutabilityPolicy() {
|
|
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 This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
|
|
15
15
|
*
|
|
16
16
|
* @summary This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
|
|
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/ObjectLevelWormContainerMigration.json
|
|
18
18
|
*/
|
|
19
19
|
function versionLevelWormContainerMigration() {
|
|
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 legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
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/BlobContainersSetLegalHold.json
|
|
18
18
|
*/
|
|
19
19
|
function setLegalHoldContainers() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ setLegalHoldContainers().catch(console.error);
|
|
|
34
34
|
* This sample demonstrates how to Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
35
35
|
*
|
|
36
36
|
* @summary Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.
|
|
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/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json
|
|
38
38
|
*/
|
|
39
39
|
function setLegalHoldContainersWithAllowProtectedAppendWritesAll() {
|
|
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 Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.
|
|
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/BlobContainersPatch.json
|
|
18
18
|
*/
|
|
19
19
|
function updateContainers() {
|
|
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 blob inventory policy to the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets the blob inventory policy 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/StorageAccountSetBlobInventoryPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountSetBlobInventoryPolicy() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -93,7 +93,7 @@ storageAccountSetBlobInventoryPolicy().catch(console.error);
|
|
|
93
93
|
* This sample demonstrates how to Sets the blob inventory policy to the specified storage account.
|
|
94
94
|
*
|
|
95
95
|
* @summary Sets the blob inventory policy to the specified storage account.
|
|
96
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
96
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json
|
|
97
97
|
*/
|
|
98
98
|
function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount() {
|
|
99
99
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -190,7 +190,7 @@ storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount().cat
|
|
|
190
190
|
* This sample demonstrates how to Sets the blob inventory policy to the specified storage account.
|
|
191
191
|
*
|
|
192
192
|
* @summary Sets the blob inventory policy to the specified storage account.
|
|
193
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
193
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json
|
|
194
194
|
*/
|
|
195
195
|
function storageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount() {
|
|
196
196
|
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 blob inventory policy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes the blob inventory 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/StorageAccountDeleteBlobInventoryPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountDeleteBlobInventoryPolicy() {
|
|
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 blob inventory policy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the blob inventory 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/StorageAccountGetBlobInventoryPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetBlobInventoryPolicy() {
|
|
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 blob inventory policy associated with the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the blob inventory 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/StorageAccountListBlobInventoryPolicy.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetBlobInventoryPolicy() {
|
|
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 Blob 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 Blob 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/BlobServicesGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getBlobServices() {
|
|
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 blob services of storage account. It returns a collection of one object named default.
|
|
15
15
|
*
|
|
16
16
|
* @summary List blob services of storage account. It returns a collection of one object named default.
|
|
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/BlobServicesList.json
|
|
18
18
|
*/
|
|
19
19
|
function listBlobServices() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Sets the properties of a storage account’s Blob 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 Blob 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/BlobServicesPutAllowPermanentDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function blobServicesPutAllowPermanentDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -40,7 +40,7 @@ blobServicesPutAllowPermanentDelete().catch(console.error);
|
|
|
40
40
|
* This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
41
41
|
*
|
|
42
42
|
* @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
43
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
43
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json
|
|
44
44
|
*/
|
|
45
45
|
function blobServicesPutLastAccessTimeBasedTracking() {
|
|
46
46
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -66,7 +66,7 @@ blobServicesPutLastAccessTimeBasedTracking().catch(console.error);
|
|
|
66
66
|
* This sample demonstrates how to Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
67
67
|
*
|
|
68
68
|
* @summary Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
69
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
69
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/BlobServicesPut.json
|
|
70
70
|
*/
|
|
71
71
|
function putBlobServices() {
|
|
72
72
|
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 properties of specified deleted account resource.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of specified deleted account resource.
|
|
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/DeletedAccountGet.json
|
|
18
18
|
*/
|
|
19
19
|
function deletedAccountGet() {
|
|
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 deleted accounts under the subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists deleted accounts under the 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/DeletedAccountList.json
|
|
18
18
|
*/
|
|
19
19
|
function deletedAccountList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Returns the properties for the specified encryption scope.
|
|
15
15
|
*
|
|
16
16
|
* @summary Returns the properties for the specified encryption scope.
|
|
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/StorageAccountGetEncryptionScope.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountGetEncryptionScope() {
|
|
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 all the encryption scopes available under the specified storage account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all the encryption scopes available 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/StorageAccountEncryptionScopeList.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountEncryptionScopeList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.
|
|
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/StorageAccountPatchEncryptionScope.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountPatchEncryptionScope() {
|
|
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 Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
|
|
15
15
|
*
|
|
16
16
|
* @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
|
|
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/StorageAccountPutEncryptionScope.json
|
|
18
18
|
*/
|
|
19
19
|
function storageAccountPutEncryptionScope() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ storageAccountPutEncryptionScope().catch(console.error);
|
|
|
34
34
|
* This sample demonstrates how to Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
|
|
35
35
|
*
|
|
36
36
|
* @summary Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.
|
|
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/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json
|
|
38
38
|
*/
|
|
39
39
|
function storageAccountPutEncryptionScopeWithInfrastructureEncryption() {
|
|
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 Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets the properties of file services in storage accounts, including 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/FileServicesGet.json
|
|
18
18
|
*/
|
|
19
19
|
function getFileServices() {
|
|
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 file services in storage accounts
|
|
15
15
|
*
|
|
16
16
|
* @summary List all file services in storage accounts
|
|
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/FileServicesList.json
|
|
18
18
|
*/
|
|
19
19
|
function listFileServices() {
|
|
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 file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
15
15
|
*
|
|
16
16
|
* @summary Sets the properties of file services in storage accounts, including 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/FileServicesPut.json
|
|
18
18
|
*/
|
|
19
19
|
function putFileServices() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -70,7 +70,7 @@ putFileServices().catch(console.error);
|
|
|
70
70
|
* This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
71
71
|
*
|
|
72
72
|
* @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
73
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
73
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileServicesPut_EnableSMBMultichannel.json
|
|
74
74
|
*/
|
|
75
75
|
function putFileServicesEnableSmbMultichannel() {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -91,7 +91,7 @@ putFileServicesEnableSmbMultichannel().catch(console.error);
|
|
|
91
91
|
* This sample demonstrates how to Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
92
92
|
*
|
|
93
93
|
* @summary Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.
|
|
94
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
94
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileServicesPut_EnableSecureSmbFeatures.json
|
|
95
95
|
*/
|
|
96
96
|
function putFileServicesEnableSecureSmbFeatures() {
|
|
97
97
|
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 share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
15
15
|
*
|
|
16
16
|
* @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
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/FileSharesPut_NFS.json
|
|
18
18
|
*/
|
|
19
19
|
function createNfsShares() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ createNfsShares().catch(console.error);
|
|
|
34
34
|
* This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
35
35
|
*
|
|
36
36
|
* @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
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/FileSharesPut.json
|
|
38
38
|
*/
|
|
39
39
|
function putShares() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -54,7 +54,7 @@ putShares().catch(console.error);
|
|
|
54
54
|
* This sample demonstrates how to Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
55
55
|
*
|
|
56
56
|
* @summary Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.
|
|
57
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
57
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileSharesPut_AccessTier.json
|
|
58
58
|
*/
|
|
59
59
|
function putSharesWithAccessTier() {
|
|
60
60
|
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 specified share under its account.
|
|
15
15
|
*
|
|
16
16
|
* @summary Deletes specified share under its 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/FileSharesDelete.json
|
|
18
18
|
*/
|
|
19
19
|
function deleteShares() {
|
|
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 properties of a specified share.
|
|
15
15
|
*
|
|
16
16
|
* @summary Gets properties of a specified share.
|
|
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/FileSharesGet_Stats.json
|
|
18
18
|
*/
|
|
19
19
|
function getShareStats() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -35,7 +35,7 @@ getShareStats().catch(console.error);
|
|
|
35
35
|
* This sample demonstrates how to Gets properties of a specified share.
|
|
36
36
|
*
|
|
37
37
|
* @summary Gets properties of a specified share.
|
|
38
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
38
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileSharesGet.json
|
|
39
39
|
*/
|
|
40
40
|
function getShares() {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
15
15
|
*
|
|
16
16
|
* @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
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/FileSharesLease_Acquire.json
|
|
18
18
|
*/
|
|
19
19
|
function acquireALeaseOnAShare() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -41,7 +41,7 @@ acquireALeaseOnAShare().catch(console.error);
|
|
|
41
41
|
* This sample demonstrates how to The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
42
42
|
*
|
|
43
43
|
* @summary The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.
|
|
44
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
44
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileSharesLease_Break.json
|
|
45
45
|
*/
|
|
46
46
|
function breakALeaseOnAShare() {
|
|
47
47
|
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 all shares.
|
|
15
15
|
*
|
|
16
16
|
* @summary Lists all shares.
|
|
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/DeletedFileSharesList.json
|
|
18
18
|
*/
|
|
19
19
|
function listDeletedShares() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -48,7 +48,7 @@ listDeletedShares().catch(console.error);
|
|
|
48
48
|
* This sample demonstrates how to Lists all shares.
|
|
49
49
|
*
|
|
50
50
|
* @summary Lists all shares.
|
|
51
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
51
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileShareSnapshotsList.json
|
|
52
52
|
*/
|
|
53
53
|
function listShareSnapshots() {
|
|
54
54
|
var e_2, _a;
|
|
@@ -82,7 +82,7 @@ listShareSnapshots().catch(console.error);
|
|
|
82
82
|
* This sample demonstrates how to Lists all shares.
|
|
83
83
|
*
|
|
84
84
|
* @summary Lists all shares.
|
|
85
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
85
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileSharesList.json
|
|
86
86
|
*/
|
|
87
87
|
function listShares() {
|
|
88
88
|
var e_3, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Restore a file share within a valid retention days if share soft delete is enabled
|
|
15
15
|
*
|
|
16
16
|
* @summary Restore a file share within a valid retention days if share soft delete is enabled
|
|
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/FileSharesRestore.json
|
|
18
18
|
*/
|
|
19
19
|
function restoreShares() {
|
|
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 Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
|
|
15
15
|
*
|
|
16
16
|
* @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
|
|
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/FileShareAclsPatch.json
|
|
18
18
|
*/
|
|
19
19
|
function updateShareAcls() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -45,7 +45,7 @@ updateShareAcls().catch(console.error);
|
|
|
45
45
|
* This sample demonstrates how to Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
|
|
46
46
|
*
|
|
47
47
|
* @summary Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.
|
|
48
|
-
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-
|
|
48
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/FileSharesPatch.json
|
|
49
49
|
*/
|
|
50
50
|
function updateShares() {
|
|
51
51
|
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 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/2022-
|
|
17
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-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/2022-
|
|
47
|
+
* x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2022-09-01/examples/LocalUserUpdate.json
|
|
48
48
|
*/
|
|
49
49
|
function updateLocalUser() {
|
|
50
50
|
return __awaiter(this, void 0, void 0, function* () {
|