@azure/arm-storage-profile-2020-09-01-hybrid 1.1.1 → 2.0.1-alpha.20220315.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 +21 -0
- package/LICENSE +21 -0
- package/README.md +80 -80
- package/dist/index.js +5576 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1772 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +185 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +84 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1591 -1449
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +30 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +242 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.js +278 -0
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
- package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/managementPolicies.js +126 -0
- package/dist-esm/src/operations/managementPolicies.js.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +74 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +222 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +53 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +26 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +87 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/storageAccounts.d.ts +228 -0
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/storageAccounts.js +722 -0
- package/dist-esm/src/operations/storageAccounts.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +28 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +93 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +18 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +196 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +27 -0
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
- package/dist-esm/src/storageManagementClient.js +60 -0
- package/dist-esm/src/storageManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +74 -23
- package/review/arm-storage-profile-2020-09-01-hybrid.api.md +1396 -0
- package/rollup.config.js +115 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1411 -2087
- package/src/models/mappers.ts +1470 -1320
- package/src/models/parameters.ts +186 -76
- package/src/operations/blobInventoryPolicies.ts +282 -0
- package/src/operations/encryptionScopes.ts +238 -295
- package/src/operations/index.ts +4 -5
- package/src/operations/managementPolicies.ts +108 -182
- package/src/operations/objectReplicationPoliciesOperations.ts +186 -234
- package/src/operations/operations.ts +66 -45
- package/src/operations/privateEndpointConnections.ts +182 -221
- package/src/operations/privateLinkResources.ts +43 -67
- package/src/operations/skus.ts +64 -48
- package/src/operations/storageAccounts.ts +759 -838
- package/src/operations/usages.ts +78 -52
- package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
- package/src/operationsInterfaces/encryptionScopes.ts +102 -0
- package/src/operationsInterfaces/index.ts +18 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +91 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/storageAccounts.ts +319 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/storageManagementClient.ts +104 -51
- package/tsconfig.json +14 -6
- package/types/arm-storage-profile-2020-09-01-hybrid.d.ts +2508 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storage-profile-2020-09-01-hybrid.js +0 -5027
- package/dist/arm-storage-profile-2020-09-01-hybrid.js.map +0 -1
- package/dist/arm-storage-profile-2020-09-01-hybrid.min.js +0 -1
- package/dist/arm-storage-profile-2020-09-01-hybrid.min.js.map +0 -1
- package/esm/models/encryptionScopesMappers.d.ts +0 -2
- package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
- package/esm/models/encryptionScopesMappers.js +0 -9
- package/esm/models/encryptionScopesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -2493
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/managementPoliciesMappers.d.ts +0 -2
- package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/managementPoliciesMappers.js +0 -9
- package/esm/models/managementPoliciesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -79
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
- package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -176
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js +0 -9
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/encryptionScopes.d.ts +0 -196
- package/esm/operations/encryptionScopes.d.ts.map +0 -1
- package/esm/operations/encryptionScopes.js +0 -197
- package/esm/operations/encryptionScopes.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementPolicies.d.ts +0 -109
- package/esm/operations/managementPolicies.d.ts.map +0 -1
- package/esm/operations/managementPolicies.js +0 -130
- package/esm/operations/managementPolicies.js.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +0 -162
- package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -154
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -162
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -43
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -58
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -28
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -54
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/storageAccounts.d.ts +0 -436
- package/esm/operations/storageAccounts.d.ts.map +0 -1
- package/esm/operations/storageAccounts.js +0 -611
- package/esm/operations/storageAccounts.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -32
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -56
- package/esm/operations/usages.js.map +0 -1
- package/esm/storageManagementClient.d.ts +0 -32
- package/esm/storageManagementClient.d.ts.map +0 -1
- package/esm/storageManagementClient.js +0 -46
- package/esm/storageManagementClient.js.map +0 -1
- package/esm/storageManagementClientContext.d.ts +0 -22
- package/esm/storageManagementClientContext.d.ts.map +0 -1
- package/esm/storageManagementClientContext.js +0 -61
- package/esm/storageManagementClientContext.js.map +0 -1
- package/src/models/encryptionScopesMappers.ts +0 -59
- package/src/models/managementPoliciesMappers.ts +0 -57
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -58
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/privateEndpointConnectionsMappers.ts +0 -59
- package/src/models/privateLinkResourcesMappers.ts +0 -58
- package/src/models/skusMappers.ts +0 -15
- package/src/models/storageAccountsMappers.ts +0 -69
- package/src/models/usagesMappers.ts +0 -14
- package/src/storageManagementClientContext.ts +0 -68
|
@@ -1,79 +1,129 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { EncryptionScopes } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
EncryptionScope,
|
|
17
|
+
EncryptionScopesListNextOptionalParams,
|
|
18
|
+
EncryptionScopesListOptionalParams,
|
|
19
|
+
EncryptionScopesPutOptionalParams,
|
|
20
|
+
EncryptionScopesPutResponse,
|
|
21
|
+
EncryptionScopesPatchOptionalParams,
|
|
22
|
+
EncryptionScopesPatchResponse,
|
|
23
|
+
EncryptionScopesGetOptionalParams,
|
|
24
|
+
EncryptionScopesGetResponse,
|
|
25
|
+
EncryptionScopesListResponse,
|
|
26
|
+
EncryptionScopesListNextResponse
|
|
27
|
+
} from "../models";
|
|
16
28
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
/// <reference lib="esnext.asynciterable" />
|
|
30
|
+
/** Class containing EncryptionScopes operations. */
|
|
31
|
+
export class EncryptionScopesImpl implements EncryptionScopes {
|
|
32
|
+
private readonly client: StorageManagementClient;
|
|
20
33
|
|
|
21
34
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
35
|
+
* Initialize a new instance of the class EncryptionScopes class.
|
|
36
|
+
* @param client Reference to the service client
|
|
24
37
|
*/
|
|
25
|
-
constructor(client:
|
|
38
|
+
constructor(client: StorageManagementClient) {
|
|
26
39
|
this.client = client;
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
34
|
-
* is case insensitive.
|
|
35
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
36
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
37
|
-
* letters only.
|
|
38
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
39
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
40
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
41
|
-
* followed by a letter or number.
|
|
42
|
-
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
43
|
-
* @param [options] The optional parameters
|
|
44
|
-
* @returns Promise<Models.EncryptionScopesPutResponse>
|
|
45
|
-
*/
|
|
46
|
-
put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPutResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
49
|
-
* is case insensitive.
|
|
43
|
+
* Lists all the encryption scopes available under the specified storage account.
|
|
44
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
45
|
+
* case insensitive.
|
|
50
46
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @param
|
|
54
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
55
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
56
|
-
* followed by a letter or number.
|
|
57
|
-
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
58
|
-
* @param callback The callback
|
|
47
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
48
|
+
* only.
|
|
49
|
+
* @param options The options parameters.
|
|
59
50
|
*/
|
|
60
|
-
|
|
51
|
+
public list(
|
|
52
|
+
resourceGroupName: string,
|
|
53
|
+
accountName: string,
|
|
54
|
+
options?: EncryptionScopesListOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<EncryptionScope> {
|
|
56
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: () => {
|
|
65
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private async *listPagingPage(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
accountName: string,
|
|
73
|
+
options?: EncryptionScopesListOptionalParams
|
|
74
|
+
): AsyncIterableIterator<EncryptionScope[]> {
|
|
75
|
+
let result = await this._list(resourceGroupName, accountName, options);
|
|
76
|
+
yield result.value || [];
|
|
77
|
+
let continuationToken = result.nextLink;
|
|
78
|
+
while (continuationToken) {
|
|
79
|
+
result = await this._listNext(
|
|
80
|
+
resourceGroupName,
|
|
81
|
+
accountName,
|
|
82
|
+
continuationToken,
|
|
83
|
+
options
|
|
84
|
+
);
|
|
85
|
+
continuationToken = result.nextLink;
|
|
86
|
+
yield result.value || [];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private async *listPagingAll(
|
|
91
|
+
resourceGroupName: string,
|
|
92
|
+
accountName: string,
|
|
93
|
+
options?: EncryptionScopesListOptionalParams
|
|
94
|
+
): AsyncIterableIterator<EncryptionScope> {
|
|
95
|
+
for await (const page of this.listPagingPage(
|
|
96
|
+
resourceGroupName,
|
|
97
|
+
accountName,
|
|
98
|
+
options
|
|
99
|
+
)) {
|
|
100
|
+
yield* page;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
61
104
|
/**
|
|
62
|
-
*
|
|
63
|
-
* is
|
|
105
|
+
* Synchronously creates or updates an encryption scope under the specified storage account. If an
|
|
106
|
+
* encryption scope is already created and a subsequent request is issued with different properties,
|
|
107
|
+
* the encryption scope properties will be updated per the specified request.
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
109
|
+
* case insensitive.
|
|
64
110
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
111
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
112
|
+
* only.
|
|
113
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
114
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
115
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
116
|
+
* letter or number.
|
|
71
117
|
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
72
|
-
* @param options The
|
|
73
|
-
* @param callback The callback
|
|
118
|
+
* @param options The options parameters.
|
|
74
119
|
*/
|
|
75
|
-
put(
|
|
76
|
-
|
|
120
|
+
put(
|
|
121
|
+
resourceGroupName: string,
|
|
122
|
+
accountName: string,
|
|
123
|
+
encryptionScopeName: string,
|
|
124
|
+
encryptionScope: EncryptionScope,
|
|
125
|
+
options?: EncryptionScopesPutOptionalParams
|
|
126
|
+
): Promise<EncryptionScopesPutResponse> {
|
|
77
127
|
return this.client.sendOperationRequest(
|
|
78
128
|
{
|
|
79
129
|
resourceGroupName,
|
|
@@ -82,57 +132,32 @@ export class EncryptionScopes {
|
|
|
82
132
|
encryptionScope,
|
|
83
133
|
options
|
|
84
134
|
},
|
|
85
|
-
putOperationSpec
|
|
86
|
-
|
|
135
|
+
putOperationSpec
|
|
136
|
+
);
|
|
87
137
|
}
|
|
88
138
|
|
|
89
139
|
/**
|
|
90
|
-
* Update encryption scope properties as specified in the request body. Update fails if the
|
|
91
|
-
*
|
|
92
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
93
|
-
*
|
|
94
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
95
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
96
|
-
* letters only.
|
|
97
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
98
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
99
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
100
|
-
* followed by a letter or number.
|
|
101
|
-
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
102
|
-
* @param [options] The optional parameters
|
|
103
|
-
* @returns Promise<Models.EncryptionScopesPatchResponse>
|
|
104
|
-
*/
|
|
105
|
-
patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPatchResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
108
|
-
* is case insensitive.
|
|
109
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
110
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
111
|
-
* letters only.
|
|
112
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
113
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
114
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
115
|
-
* followed by a letter or number.
|
|
116
|
-
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
117
|
-
* @param callback The callback
|
|
118
|
-
*/
|
|
119
|
-
patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
|
|
120
|
-
/**
|
|
121
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
122
|
-
* is case insensitive.
|
|
140
|
+
* Update encryption scope properties as specified in the request body. Update fails if the specified
|
|
141
|
+
* encryption scope does not already exist.
|
|
142
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
143
|
+
* case insensitive.
|
|
123
144
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
145
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
146
|
+
* only.
|
|
147
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
148
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
149
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
150
|
+
* letter or number.
|
|
130
151
|
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
131
|
-
* @param options The
|
|
132
|
-
* @param callback The callback
|
|
152
|
+
* @param options The options parameters.
|
|
133
153
|
*/
|
|
134
|
-
patch(
|
|
135
|
-
|
|
154
|
+
patch(
|
|
155
|
+
resourceGroupName: string,
|
|
156
|
+
accountName: string,
|
|
157
|
+
encryptionScopeName: string,
|
|
158
|
+
encryptionScope: EncryptionScope,
|
|
159
|
+
options?: EncryptionScopesPatchOptionalParams
|
|
160
|
+
): Promise<EncryptionScopesPatchResponse> {
|
|
136
161
|
return this.client.sendOperationRequest(
|
|
137
162
|
{
|
|
138
163
|
resourceGroupName,
|
|
@@ -141,158 +166,84 @@ export class EncryptionScopes {
|
|
|
141
166
|
encryptionScope,
|
|
142
167
|
options
|
|
143
168
|
},
|
|
144
|
-
patchOperationSpec
|
|
145
|
-
|
|
169
|
+
patchOperationSpec
|
|
170
|
+
);
|
|
146
171
|
}
|
|
147
172
|
|
|
148
173
|
/**
|
|
149
174
|
* Returns the properties for the specified encryption scope.
|
|
150
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
151
|
-
*
|
|
152
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
153
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
154
|
-
* letters only.
|
|
155
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
156
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
157
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
158
|
-
* followed by a letter or number.
|
|
159
|
-
* @param [options] The optional parameters
|
|
160
|
-
* @returns Promise<Models.EncryptionScopesGetResponse>
|
|
161
|
-
*/
|
|
162
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesGetResponse>;
|
|
163
|
-
/**
|
|
164
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
165
|
-
* is case insensitive.
|
|
175
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
176
|
+
* case insensitive.
|
|
166
177
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* @param
|
|
178
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
179
|
+
* only.
|
|
180
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
181
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
182
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
183
|
+
* letter or number.
|
|
184
|
+
* @param options The options parameters.
|
|
174
185
|
*/
|
|
175
|
-
get(
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
* letters only.
|
|
182
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
183
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
184
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
185
|
-
* followed by a letter or number.
|
|
186
|
-
* @param options The optional parameters
|
|
187
|
-
* @param callback The callback
|
|
188
|
-
*/
|
|
189
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
|
|
190
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EncryptionScope>, callback?: msRest.ServiceCallback<Models.EncryptionScope>): Promise<Models.EncryptionScopesGetResponse> {
|
|
186
|
+
get(
|
|
187
|
+
resourceGroupName: string,
|
|
188
|
+
accountName: string,
|
|
189
|
+
encryptionScopeName: string,
|
|
190
|
+
options?: EncryptionScopesGetOptionalParams
|
|
191
|
+
): Promise<EncryptionScopesGetResponse> {
|
|
191
192
|
return this.client.sendOperationRequest(
|
|
192
|
-
{
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
encryptionScopeName,
|
|
196
|
-
options
|
|
197
|
-
},
|
|
198
|
-
getOperationSpec,
|
|
199
|
-
callback) as Promise<Models.EncryptionScopesGetResponse>;
|
|
193
|
+
{ resourceGroupName, accountName, encryptionScopeName, options },
|
|
194
|
+
getOperationSpec
|
|
195
|
+
);
|
|
200
196
|
}
|
|
201
197
|
|
|
202
198
|
/**
|
|
203
199
|
* Lists all the encryption scopes available under the specified storage account.
|
|
204
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
205
|
-
*
|
|
206
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
207
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
208
|
-
* letters only.
|
|
209
|
-
* @param [options] The optional parameters
|
|
210
|
-
* @returns Promise<Models.EncryptionScopesListResponse>
|
|
211
|
-
*/
|
|
212
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesListResponse>;
|
|
213
|
-
/**
|
|
214
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
215
|
-
* is case insensitive.
|
|
200
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
201
|
+
* case insensitive.
|
|
216
202
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* @param
|
|
203
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
204
|
+
* only.
|
|
205
|
+
* @param options The options parameters.
|
|
220
206
|
*/
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
227
|
-
* letters only.
|
|
228
|
-
* @param options The optional parameters
|
|
229
|
-
* @param callback The callback
|
|
230
|
-
*/
|
|
231
|
-
list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
|
|
232
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EncryptionScopeListResult>, callback?: msRest.ServiceCallback<Models.EncryptionScopeListResult>): Promise<Models.EncryptionScopesListResponse> {
|
|
207
|
+
private _list(
|
|
208
|
+
resourceGroupName: string,
|
|
209
|
+
accountName: string,
|
|
210
|
+
options?: EncryptionScopesListOptionalParams
|
|
211
|
+
): Promise<EncryptionScopesListResponse> {
|
|
233
212
|
return this.client.sendOperationRequest(
|
|
234
|
-
{
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
options
|
|
238
|
-
},
|
|
239
|
-
listOperationSpec,
|
|
240
|
-
callback) as Promise<Models.EncryptionScopesListResponse>;
|
|
213
|
+
{ resourceGroupName, accountName, options },
|
|
214
|
+
listOperationSpec
|
|
215
|
+
);
|
|
241
216
|
}
|
|
242
217
|
|
|
243
218
|
/**
|
|
244
|
-
*
|
|
245
|
-
* @param
|
|
246
|
-
*
|
|
247
|
-
* @
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
* @param
|
|
252
|
-
* @param callback The callback
|
|
253
|
-
*/
|
|
254
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
|
|
255
|
-
/**
|
|
256
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
257
|
-
* @param options The optional parameters
|
|
258
|
-
* @param callback The callback
|
|
219
|
+
* ListNext
|
|
220
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
221
|
+
* case insensitive.
|
|
222
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
223
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
224
|
+
* only.
|
|
225
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
226
|
+
* @param options The options parameters.
|
|
259
227
|
*/
|
|
260
|
-
|
|
261
|
-
|
|
228
|
+
private _listNext(
|
|
229
|
+
resourceGroupName: string,
|
|
230
|
+
accountName: string,
|
|
231
|
+
nextLink: string,
|
|
232
|
+
options?: EncryptionScopesListNextOptionalParams
|
|
233
|
+
): Promise<EncryptionScopesListNextResponse> {
|
|
262
234
|
return this.client.sendOperationRequest(
|
|
263
|
-
{
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
},
|
|
267
|
-
listNextOperationSpec,
|
|
268
|
-
callback) as Promise<Models.EncryptionScopesListNextResponse>;
|
|
235
|
+
{ resourceGroupName, accountName, nextLink, options },
|
|
236
|
+
listNextOperationSpec
|
|
237
|
+
);
|
|
269
238
|
}
|
|
270
239
|
}
|
|
271
|
-
|
|
272
240
|
// Operation Specifications
|
|
273
|
-
const serializer =
|
|
274
|
-
|
|
241
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
242
|
+
|
|
243
|
+
const putOperationSpec: coreClient.OperationSpec = {
|
|
244
|
+
path:
|
|
245
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
275
246
|
httpMethod: "PUT",
|
|
276
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
277
|
-
urlParameters: [
|
|
278
|
-
Parameters.resourceGroupName,
|
|
279
|
-
Parameters.accountName,
|
|
280
|
-
Parameters.subscriptionId,
|
|
281
|
-
Parameters.encryptionScopeName
|
|
282
|
-
],
|
|
283
|
-
queryParameters: [
|
|
284
|
-
Parameters.apiVersion
|
|
285
|
-
],
|
|
286
|
-
headerParameters: [
|
|
287
|
-
Parameters.acceptLanguage
|
|
288
|
-
],
|
|
289
|
-
requestBody: {
|
|
290
|
-
parameterPath: "encryptionScope",
|
|
291
|
-
mapper: {
|
|
292
|
-
...Mappers.EncryptionScope,
|
|
293
|
-
required: true
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
247
|
responses: {
|
|
297
248
|
200: {
|
|
298
249
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -304,31 +255,23 @@ const putOperationSpec: msRest.OperationSpec = {
|
|
|
304
255
|
bodyMapper: Mappers.ErrorResponse
|
|
305
256
|
}
|
|
306
257
|
},
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
const patchOperationSpec: msRest.OperationSpec = {
|
|
311
|
-
httpMethod: "PATCH",
|
|
312
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
258
|
+
requestBody: Parameters.encryptionScope,
|
|
259
|
+
queryParameters: [Parameters.apiVersion],
|
|
313
260
|
urlParameters: [
|
|
314
|
-
Parameters
|
|
315
|
-
Parameters.accountName,
|
|
261
|
+
Parameters.$host,
|
|
316
262
|
Parameters.subscriptionId,
|
|
263
|
+
Parameters.resourceGroupName,
|
|
264
|
+
Parameters.accountName1,
|
|
317
265
|
Parameters.encryptionScopeName
|
|
318
266
|
],
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
mapper: {
|
|
328
|
-
...Mappers.EncryptionScope,
|
|
329
|
-
required: true
|
|
330
|
-
}
|
|
331
|
-
},
|
|
267
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
268
|
+
mediaType: "json",
|
|
269
|
+
serializer
|
|
270
|
+
};
|
|
271
|
+
const patchOperationSpec: coreClient.OperationSpec = {
|
|
272
|
+
path:
|
|
273
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
274
|
+
httpMethod: "PATCH",
|
|
332
275
|
responses: {
|
|
333
276
|
200: {
|
|
334
277
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -337,24 +280,23 @@ const patchOperationSpec: msRest.OperationSpec = {
|
|
|
337
280
|
bodyMapper: Mappers.ErrorResponse
|
|
338
281
|
}
|
|
339
282
|
},
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
344
|
-
httpMethod: "GET",
|
|
345
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
283
|
+
requestBody: Parameters.encryptionScope,
|
|
284
|
+
queryParameters: [Parameters.apiVersion],
|
|
346
285
|
urlParameters: [
|
|
347
|
-
Parameters
|
|
348
|
-
Parameters.accountName,
|
|
286
|
+
Parameters.$host,
|
|
349
287
|
Parameters.subscriptionId,
|
|
288
|
+
Parameters.resourceGroupName,
|
|
289
|
+
Parameters.accountName1,
|
|
350
290
|
Parameters.encryptionScopeName
|
|
351
291
|
],
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
292
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
293
|
+
mediaType: "json",
|
|
294
|
+
serializer
|
|
295
|
+
};
|
|
296
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
297
|
+
path:
|
|
298
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
299
|
+
httpMethod: "GET",
|
|
358
300
|
responses: {
|
|
359
301
|
200: {
|
|
360
302
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -363,51 +305,52 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
363
305
|
bodyMapper: Mappers.ErrorResponse
|
|
364
306
|
}
|
|
365
307
|
},
|
|
366
|
-
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
370
|
-
httpMethod: "GET",
|
|
371
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
308
|
+
queryParameters: [Parameters.apiVersion],
|
|
372
309
|
urlParameters: [
|
|
310
|
+
Parameters.$host,
|
|
311
|
+
Parameters.subscriptionId,
|
|
373
312
|
Parameters.resourceGroupName,
|
|
374
|
-
Parameters.
|
|
375
|
-
Parameters.
|
|
376
|
-
],
|
|
377
|
-
queryParameters: [
|
|
378
|
-
Parameters.apiVersion
|
|
379
|
-
],
|
|
380
|
-
headerParameters: [
|
|
381
|
-
Parameters.acceptLanguage
|
|
313
|
+
Parameters.accountName1,
|
|
314
|
+
Parameters.encryptionScopeName
|
|
382
315
|
],
|
|
316
|
+
headerParameters: [Parameters.accept],
|
|
317
|
+
serializer
|
|
318
|
+
};
|
|
319
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
320
|
+
path:
|
|
321
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
322
|
+
httpMethod: "GET",
|
|
383
323
|
responses: {
|
|
384
324
|
200: {
|
|
385
325
|
bodyMapper: Mappers.EncryptionScopeListResult
|
|
386
|
-
},
|
|
387
|
-
default: {
|
|
388
|
-
bodyMapper: Mappers.CloudError
|
|
389
326
|
}
|
|
390
327
|
},
|
|
328
|
+
queryParameters: [Parameters.apiVersion],
|
|
329
|
+
urlParameters: [
|
|
330
|
+
Parameters.$host,
|
|
331
|
+
Parameters.subscriptionId,
|
|
332
|
+
Parameters.resourceGroupName,
|
|
333
|
+
Parameters.accountName1
|
|
334
|
+
],
|
|
335
|
+
headerParameters: [Parameters.accept],
|
|
391
336
|
serializer
|
|
392
337
|
};
|
|
393
|
-
|
|
394
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
395
|
-
httpMethod: "GET",
|
|
396
|
-
baseUrl: "https://management.azure.com",
|
|
338
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
397
339
|
path: "{nextLink}",
|
|
398
|
-
|
|
399
|
-
Parameters.nextPageLink
|
|
400
|
-
],
|
|
401
|
-
headerParameters: [
|
|
402
|
-
Parameters.acceptLanguage
|
|
403
|
-
],
|
|
340
|
+
httpMethod: "GET",
|
|
404
341
|
responses: {
|
|
405
342
|
200: {
|
|
406
343
|
bodyMapper: Mappers.EncryptionScopeListResult
|
|
407
|
-
},
|
|
408
|
-
default: {
|
|
409
|
-
bodyMapper: Mappers.CloudError
|
|
410
344
|
}
|
|
411
345
|
},
|
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
|
347
|
+
urlParameters: [
|
|
348
|
+
Parameters.$host,
|
|
349
|
+
Parameters.subscriptionId,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.accountName1,
|
|
352
|
+
Parameters.nextLink
|
|
353
|
+
],
|
|
354
|
+
headerParameters: [Parameters.accept],
|
|
412
355
|
serializer
|
|
413
356
|
};
|
package/src/operations/index.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
9
|
export * from "./operations";
|
|
@@ -13,6 +11,7 @@ export * from "./skus";
|
|
|
13
11
|
export * from "./storageAccounts";
|
|
14
12
|
export * from "./usages";
|
|
15
13
|
export * from "./managementPolicies";
|
|
14
|
+
export * from "./blobInventoryPolicies";
|
|
16
15
|
export * from "./privateEndpointConnections";
|
|
17
16
|
export * from "./privateLinkResources";
|
|
18
17
|
export * from "./objectReplicationPoliciesOperations";
|