@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,611 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
import { __assign } from "tslib";
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Mappers from "../models/storageAccountsMappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
/** Class representing a StorageAccounts. */
|
|
15
|
-
var StorageAccounts = /** @class */ (function () {
|
|
16
|
-
/**
|
|
17
|
-
* Create a StorageAccounts.
|
|
18
|
-
* @param {StorageManagementClientContext} client Reference to the service client.
|
|
19
|
-
*/
|
|
20
|
-
function StorageAccounts(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
}
|
|
23
|
-
StorageAccounts.prototype.checkNameAvailability = function (name, options, callback) {
|
|
24
|
-
return this.client.sendOperationRequest({
|
|
25
|
-
name: name,
|
|
26
|
-
options: options
|
|
27
|
-
}, checkNameAvailabilityOperationSpec, callback);
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Asynchronously creates a new storage account with the specified parameters. If an account is
|
|
31
|
-
* already created and a subsequent create request is issued with different properties, the account
|
|
32
|
-
* properties will be updated. If an account is already created and a subsequent create or update
|
|
33
|
-
* request is issued with the exact same set of properties, the request will succeed.
|
|
34
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
35
|
-
* is case insensitive.
|
|
36
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
37
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
38
|
-
* letters only.
|
|
39
|
-
* @param parameters The parameters to provide for the created account.
|
|
40
|
-
* @param [options] The optional parameters
|
|
41
|
-
* @returns Promise<Models.StorageAccountsCreateResponse>
|
|
42
|
-
*/
|
|
43
|
-
StorageAccounts.prototype.create = function (resourceGroupName, accountName, parameters, options) {
|
|
44
|
-
return this.beginCreate(resourceGroupName, accountName, parameters, options)
|
|
45
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
46
|
-
};
|
|
47
|
-
StorageAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
|
|
48
|
-
return this.client.sendOperationRequest({
|
|
49
|
-
resourceGroupName: resourceGroupName,
|
|
50
|
-
accountName: accountName,
|
|
51
|
-
options: options
|
|
52
|
-
}, deleteMethodOperationSpec, callback);
|
|
53
|
-
};
|
|
54
|
-
StorageAccounts.prototype.getProperties = function (resourceGroupName, accountName, options, callback) {
|
|
55
|
-
return this.client.sendOperationRequest({
|
|
56
|
-
resourceGroupName: resourceGroupName,
|
|
57
|
-
accountName: accountName,
|
|
58
|
-
options: options
|
|
59
|
-
}, getPropertiesOperationSpec, callback);
|
|
60
|
-
};
|
|
61
|
-
StorageAccounts.prototype.update = function (resourceGroupName, accountName, parameters, options, callback) {
|
|
62
|
-
return this.client.sendOperationRequest({
|
|
63
|
-
resourceGroupName: resourceGroupName,
|
|
64
|
-
accountName: accountName,
|
|
65
|
-
parameters: parameters,
|
|
66
|
-
options: options
|
|
67
|
-
}, updateOperationSpec, callback);
|
|
68
|
-
};
|
|
69
|
-
StorageAccounts.prototype.list = function (options, callback) {
|
|
70
|
-
return this.client.sendOperationRequest({
|
|
71
|
-
options: options
|
|
72
|
-
}, listOperationSpec, callback);
|
|
73
|
-
};
|
|
74
|
-
StorageAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
75
|
-
return this.client.sendOperationRequest({
|
|
76
|
-
resourceGroupName: resourceGroupName,
|
|
77
|
-
options: options
|
|
78
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
79
|
-
};
|
|
80
|
-
StorageAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
|
|
81
|
-
return this.client.sendOperationRequest({
|
|
82
|
-
resourceGroupName: resourceGroupName,
|
|
83
|
-
accountName: accountName,
|
|
84
|
-
options: options
|
|
85
|
-
}, listKeysOperationSpec, callback);
|
|
86
|
-
};
|
|
87
|
-
StorageAccounts.prototype.regenerateKey = function (resourceGroupName, accountName, keyName, options, callback) {
|
|
88
|
-
return this.client.sendOperationRequest({
|
|
89
|
-
resourceGroupName: resourceGroupName,
|
|
90
|
-
accountName: accountName,
|
|
91
|
-
keyName: keyName,
|
|
92
|
-
options: options
|
|
93
|
-
}, regenerateKeyOperationSpec, callback);
|
|
94
|
-
};
|
|
95
|
-
StorageAccounts.prototype.listAccountSAS = function (resourceGroupName, accountName, parameters, options, callback) {
|
|
96
|
-
return this.client.sendOperationRequest({
|
|
97
|
-
resourceGroupName: resourceGroupName,
|
|
98
|
-
accountName: accountName,
|
|
99
|
-
parameters: parameters,
|
|
100
|
-
options: options
|
|
101
|
-
}, listAccountSASOperationSpec, callback);
|
|
102
|
-
};
|
|
103
|
-
StorageAccounts.prototype.listServiceSAS = function (resourceGroupName, accountName, parameters, options, callback) {
|
|
104
|
-
return this.client.sendOperationRequest({
|
|
105
|
-
resourceGroupName: resourceGroupName,
|
|
106
|
-
accountName: accountName,
|
|
107
|
-
parameters: parameters,
|
|
108
|
-
options: options
|
|
109
|
-
}, listServiceSASOperationSpec, callback);
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Failover request can be triggered for a storage account in case of availability issues. The
|
|
113
|
-
* failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
|
|
114
|
-
* accounts. The secondary cluster will become primary after failover.
|
|
115
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
116
|
-
* is case insensitive.
|
|
117
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
118
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
119
|
-
* letters only.
|
|
120
|
-
* @param [options] The optional parameters
|
|
121
|
-
* @returns Promise<msRest.RestResponse>
|
|
122
|
-
*/
|
|
123
|
-
StorageAccounts.prototype.failover = function (resourceGroupName, accountName, options) {
|
|
124
|
-
return this.beginFailover(resourceGroupName, accountName, options)
|
|
125
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Restore blobs in the specified blob ranges
|
|
129
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
130
|
-
* is case insensitive.
|
|
131
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
132
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
133
|
-
* letters only.
|
|
134
|
-
* @param timeToRestore Restore blob to the specified time.
|
|
135
|
-
* @param blobRanges Blob ranges to restore.
|
|
136
|
-
* @param [options] The optional parameters
|
|
137
|
-
* @returns Promise<Models.StorageAccountsRestoreBlobRangesResponse>
|
|
138
|
-
*/
|
|
139
|
-
StorageAccounts.prototype.restoreBlobRanges = function (resourceGroupName, accountName, timeToRestore, blobRanges, options) {
|
|
140
|
-
return this.beginRestoreBlobRanges(resourceGroupName, accountName, timeToRestore, blobRanges, options)
|
|
141
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
142
|
-
};
|
|
143
|
-
StorageAccounts.prototype.revokeUserDelegationKeys = function (resourceGroupName, accountName, options, callback) {
|
|
144
|
-
return this.client.sendOperationRequest({
|
|
145
|
-
resourceGroupName: resourceGroupName,
|
|
146
|
-
accountName: accountName,
|
|
147
|
-
options: options
|
|
148
|
-
}, revokeUserDelegationKeysOperationSpec, callback);
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* Asynchronously creates a new storage account with the specified parameters. If an account is
|
|
152
|
-
* already created and a subsequent create request is issued with different properties, the account
|
|
153
|
-
* properties will be updated. If an account is already created and a subsequent create or update
|
|
154
|
-
* request is issued with the exact same set of properties, the request will succeed.
|
|
155
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
156
|
-
* is case insensitive.
|
|
157
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
158
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
159
|
-
* letters only.
|
|
160
|
-
* @param parameters The parameters to provide for the created account.
|
|
161
|
-
* @param [options] The optional parameters
|
|
162
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
163
|
-
*/
|
|
164
|
-
StorageAccounts.prototype.beginCreate = function (resourceGroupName, accountName, parameters, options) {
|
|
165
|
-
return this.client.sendLRORequest({
|
|
166
|
-
resourceGroupName: resourceGroupName,
|
|
167
|
-
accountName: accountName,
|
|
168
|
-
parameters: parameters,
|
|
169
|
-
options: options
|
|
170
|
-
}, beginCreateOperationSpec, options);
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* Failover request can be triggered for a storage account in case of availability issues. The
|
|
174
|
-
* failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS
|
|
175
|
-
* accounts. The secondary cluster will become primary after failover.
|
|
176
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
177
|
-
* is case insensitive.
|
|
178
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
179
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
180
|
-
* letters only.
|
|
181
|
-
* @param [options] The optional parameters
|
|
182
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
183
|
-
*/
|
|
184
|
-
StorageAccounts.prototype.beginFailover = function (resourceGroupName, accountName, options) {
|
|
185
|
-
return this.client.sendLRORequest({
|
|
186
|
-
resourceGroupName: resourceGroupName,
|
|
187
|
-
accountName: accountName,
|
|
188
|
-
options: options
|
|
189
|
-
}, beginFailoverOperationSpec, options);
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* Restore blobs in the specified blob ranges
|
|
193
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
194
|
-
* is case insensitive.
|
|
195
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
196
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
197
|
-
* letters only.
|
|
198
|
-
* @param timeToRestore Restore blob to the specified time.
|
|
199
|
-
* @param blobRanges Blob ranges to restore.
|
|
200
|
-
* @param [options] The optional parameters
|
|
201
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
202
|
-
*/
|
|
203
|
-
StorageAccounts.prototype.beginRestoreBlobRanges = function (resourceGroupName, accountName, timeToRestore, blobRanges, options) {
|
|
204
|
-
return this.client.sendLRORequest({
|
|
205
|
-
resourceGroupName: resourceGroupName,
|
|
206
|
-
accountName: accountName,
|
|
207
|
-
timeToRestore: timeToRestore,
|
|
208
|
-
blobRanges: blobRanges,
|
|
209
|
-
options: options
|
|
210
|
-
}, beginRestoreBlobRangesOperationSpec, options);
|
|
211
|
-
};
|
|
212
|
-
StorageAccounts.prototype.listNext = function (nextPageLink, options, callback) {
|
|
213
|
-
return this.client.sendOperationRequest({
|
|
214
|
-
nextPageLink: nextPageLink,
|
|
215
|
-
options: options
|
|
216
|
-
}, listNextOperationSpec, callback);
|
|
217
|
-
};
|
|
218
|
-
return StorageAccounts;
|
|
219
|
-
}());
|
|
220
|
-
export { StorageAccounts };
|
|
221
|
-
// Operation Specifications
|
|
222
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
223
|
-
var checkNameAvailabilityOperationSpec = {
|
|
224
|
-
httpMethod: "POST",
|
|
225
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability",
|
|
226
|
-
urlParameters: [
|
|
227
|
-
Parameters.subscriptionId
|
|
228
|
-
],
|
|
229
|
-
queryParameters: [
|
|
230
|
-
Parameters.apiVersion
|
|
231
|
-
],
|
|
232
|
-
headerParameters: [
|
|
233
|
-
Parameters.acceptLanguage
|
|
234
|
-
],
|
|
235
|
-
requestBody: {
|
|
236
|
-
parameterPath: {
|
|
237
|
-
name: "name"
|
|
238
|
-
},
|
|
239
|
-
mapper: __assign(__assign({}, Mappers.StorageAccountCheckNameAvailabilityParameters), { required: true })
|
|
240
|
-
},
|
|
241
|
-
responses: {
|
|
242
|
-
200: {
|
|
243
|
-
bodyMapper: Mappers.CheckNameAvailabilityResult
|
|
244
|
-
},
|
|
245
|
-
default: {
|
|
246
|
-
bodyMapper: Mappers.CloudError
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
serializer: serializer
|
|
250
|
-
};
|
|
251
|
-
var deleteMethodOperationSpec = {
|
|
252
|
-
httpMethod: "DELETE",
|
|
253
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
254
|
-
urlParameters: [
|
|
255
|
-
Parameters.resourceGroupName,
|
|
256
|
-
Parameters.accountName,
|
|
257
|
-
Parameters.subscriptionId
|
|
258
|
-
],
|
|
259
|
-
queryParameters: [
|
|
260
|
-
Parameters.apiVersion
|
|
261
|
-
],
|
|
262
|
-
headerParameters: [
|
|
263
|
-
Parameters.acceptLanguage
|
|
264
|
-
],
|
|
265
|
-
responses: {
|
|
266
|
-
200: {},
|
|
267
|
-
204: {},
|
|
268
|
-
default: {
|
|
269
|
-
bodyMapper: Mappers.CloudError
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
serializer: serializer
|
|
273
|
-
};
|
|
274
|
-
var getPropertiesOperationSpec = {
|
|
275
|
-
httpMethod: "GET",
|
|
276
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
277
|
-
urlParameters: [
|
|
278
|
-
Parameters.resourceGroupName,
|
|
279
|
-
Parameters.accountName,
|
|
280
|
-
Parameters.subscriptionId
|
|
281
|
-
],
|
|
282
|
-
queryParameters: [
|
|
283
|
-
Parameters.apiVersion,
|
|
284
|
-
Parameters.expand0
|
|
285
|
-
],
|
|
286
|
-
headerParameters: [
|
|
287
|
-
Parameters.acceptLanguage
|
|
288
|
-
],
|
|
289
|
-
responses: {
|
|
290
|
-
200: {
|
|
291
|
-
bodyMapper: Mappers.StorageAccount
|
|
292
|
-
},
|
|
293
|
-
default: {
|
|
294
|
-
bodyMapper: Mappers.CloudError
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
serializer: serializer
|
|
298
|
-
};
|
|
299
|
-
var updateOperationSpec = {
|
|
300
|
-
httpMethod: "PATCH",
|
|
301
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
302
|
-
urlParameters: [
|
|
303
|
-
Parameters.resourceGroupName,
|
|
304
|
-
Parameters.accountName,
|
|
305
|
-
Parameters.subscriptionId
|
|
306
|
-
],
|
|
307
|
-
queryParameters: [
|
|
308
|
-
Parameters.apiVersion
|
|
309
|
-
],
|
|
310
|
-
headerParameters: [
|
|
311
|
-
Parameters.acceptLanguage
|
|
312
|
-
],
|
|
313
|
-
requestBody: {
|
|
314
|
-
parameterPath: "parameters",
|
|
315
|
-
mapper: __assign(__assign({}, Mappers.StorageAccountUpdateParameters), { required: true })
|
|
316
|
-
},
|
|
317
|
-
responses: {
|
|
318
|
-
200: {
|
|
319
|
-
bodyMapper: Mappers.StorageAccount
|
|
320
|
-
},
|
|
321
|
-
default: {
|
|
322
|
-
bodyMapper: Mappers.CloudError
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
serializer: serializer
|
|
326
|
-
};
|
|
327
|
-
var listOperationSpec = {
|
|
328
|
-
httpMethod: "GET",
|
|
329
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts",
|
|
330
|
-
urlParameters: [
|
|
331
|
-
Parameters.subscriptionId
|
|
332
|
-
],
|
|
333
|
-
queryParameters: [
|
|
334
|
-
Parameters.apiVersion
|
|
335
|
-
],
|
|
336
|
-
headerParameters: [
|
|
337
|
-
Parameters.acceptLanguage
|
|
338
|
-
],
|
|
339
|
-
responses: {
|
|
340
|
-
200: {
|
|
341
|
-
bodyMapper: Mappers.StorageAccountListResult
|
|
342
|
-
},
|
|
343
|
-
default: {
|
|
344
|
-
bodyMapper: Mappers.CloudError
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
serializer: serializer
|
|
348
|
-
};
|
|
349
|
-
var listByResourceGroupOperationSpec = {
|
|
350
|
-
httpMethod: "GET",
|
|
351
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts",
|
|
352
|
-
urlParameters: [
|
|
353
|
-
Parameters.resourceGroupName,
|
|
354
|
-
Parameters.subscriptionId
|
|
355
|
-
],
|
|
356
|
-
queryParameters: [
|
|
357
|
-
Parameters.apiVersion
|
|
358
|
-
],
|
|
359
|
-
headerParameters: [
|
|
360
|
-
Parameters.acceptLanguage
|
|
361
|
-
],
|
|
362
|
-
responses: {
|
|
363
|
-
200: {
|
|
364
|
-
bodyMapper: Mappers.StorageAccountListResult
|
|
365
|
-
},
|
|
366
|
-
default: {
|
|
367
|
-
bodyMapper: Mappers.CloudError
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
serializer: serializer
|
|
371
|
-
};
|
|
372
|
-
var listKeysOperationSpec = {
|
|
373
|
-
httpMethod: "POST",
|
|
374
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys",
|
|
375
|
-
urlParameters: [
|
|
376
|
-
Parameters.resourceGroupName,
|
|
377
|
-
Parameters.accountName,
|
|
378
|
-
Parameters.subscriptionId
|
|
379
|
-
],
|
|
380
|
-
queryParameters: [
|
|
381
|
-
Parameters.apiVersion,
|
|
382
|
-
Parameters.expand1
|
|
383
|
-
],
|
|
384
|
-
headerParameters: [
|
|
385
|
-
Parameters.acceptLanguage
|
|
386
|
-
],
|
|
387
|
-
responses: {
|
|
388
|
-
200: {
|
|
389
|
-
bodyMapper: Mappers.StorageAccountListKeysResult
|
|
390
|
-
},
|
|
391
|
-
default: {
|
|
392
|
-
bodyMapper: Mappers.CloudError
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
serializer: serializer
|
|
396
|
-
};
|
|
397
|
-
var regenerateKeyOperationSpec = {
|
|
398
|
-
httpMethod: "POST",
|
|
399
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey",
|
|
400
|
-
urlParameters: [
|
|
401
|
-
Parameters.resourceGroupName,
|
|
402
|
-
Parameters.accountName,
|
|
403
|
-
Parameters.subscriptionId
|
|
404
|
-
],
|
|
405
|
-
queryParameters: [
|
|
406
|
-
Parameters.apiVersion
|
|
407
|
-
],
|
|
408
|
-
headerParameters: [
|
|
409
|
-
Parameters.acceptLanguage
|
|
410
|
-
],
|
|
411
|
-
requestBody: {
|
|
412
|
-
parameterPath: {
|
|
413
|
-
keyName: "keyName"
|
|
414
|
-
},
|
|
415
|
-
mapper: __assign(__assign({}, Mappers.StorageAccountRegenerateKeyParameters), { required: true })
|
|
416
|
-
},
|
|
417
|
-
responses: {
|
|
418
|
-
200: {
|
|
419
|
-
bodyMapper: Mappers.StorageAccountListKeysResult
|
|
420
|
-
},
|
|
421
|
-
default: {
|
|
422
|
-
bodyMapper: Mappers.CloudError
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
serializer: serializer
|
|
426
|
-
};
|
|
427
|
-
var listAccountSASOperationSpec = {
|
|
428
|
-
httpMethod: "POST",
|
|
429
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas",
|
|
430
|
-
urlParameters: [
|
|
431
|
-
Parameters.resourceGroupName,
|
|
432
|
-
Parameters.accountName,
|
|
433
|
-
Parameters.subscriptionId
|
|
434
|
-
],
|
|
435
|
-
queryParameters: [
|
|
436
|
-
Parameters.apiVersion
|
|
437
|
-
],
|
|
438
|
-
headerParameters: [
|
|
439
|
-
Parameters.acceptLanguage
|
|
440
|
-
],
|
|
441
|
-
requestBody: {
|
|
442
|
-
parameterPath: "parameters",
|
|
443
|
-
mapper: __assign(__assign({}, Mappers.AccountSasParameters), { required: true })
|
|
444
|
-
},
|
|
445
|
-
responses: {
|
|
446
|
-
200: {
|
|
447
|
-
bodyMapper: Mappers.ListAccountSasResponse
|
|
448
|
-
},
|
|
449
|
-
default: {
|
|
450
|
-
bodyMapper: Mappers.CloudError
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
serializer: serializer
|
|
454
|
-
};
|
|
455
|
-
var listServiceSASOperationSpec = {
|
|
456
|
-
httpMethod: "POST",
|
|
457
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas",
|
|
458
|
-
urlParameters: [
|
|
459
|
-
Parameters.resourceGroupName,
|
|
460
|
-
Parameters.accountName,
|
|
461
|
-
Parameters.subscriptionId
|
|
462
|
-
],
|
|
463
|
-
queryParameters: [
|
|
464
|
-
Parameters.apiVersion
|
|
465
|
-
],
|
|
466
|
-
headerParameters: [
|
|
467
|
-
Parameters.acceptLanguage
|
|
468
|
-
],
|
|
469
|
-
requestBody: {
|
|
470
|
-
parameterPath: "parameters",
|
|
471
|
-
mapper: __assign(__assign({}, Mappers.ServiceSasParameters), { required: true })
|
|
472
|
-
},
|
|
473
|
-
responses: {
|
|
474
|
-
200: {
|
|
475
|
-
bodyMapper: Mappers.ListServiceSasResponse
|
|
476
|
-
},
|
|
477
|
-
default: {
|
|
478
|
-
bodyMapper: Mappers.CloudError
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
serializer: serializer
|
|
482
|
-
};
|
|
483
|
-
var revokeUserDelegationKeysOperationSpec = {
|
|
484
|
-
httpMethod: "POST",
|
|
485
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys",
|
|
486
|
-
urlParameters: [
|
|
487
|
-
Parameters.resourceGroupName,
|
|
488
|
-
Parameters.accountName,
|
|
489
|
-
Parameters.subscriptionId
|
|
490
|
-
],
|
|
491
|
-
queryParameters: [
|
|
492
|
-
Parameters.apiVersion
|
|
493
|
-
],
|
|
494
|
-
headerParameters: [
|
|
495
|
-
Parameters.acceptLanguage
|
|
496
|
-
],
|
|
497
|
-
responses: {
|
|
498
|
-
200: {},
|
|
499
|
-
default: {
|
|
500
|
-
bodyMapper: Mappers.CloudError
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
serializer: serializer
|
|
504
|
-
};
|
|
505
|
-
var beginCreateOperationSpec = {
|
|
506
|
-
httpMethod: "PUT",
|
|
507
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
|
|
508
|
-
urlParameters: [
|
|
509
|
-
Parameters.resourceGroupName,
|
|
510
|
-
Parameters.accountName,
|
|
511
|
-
Parameters.subscriptionId
|
|
512
|
-
],
|
|
513
|
-
queryParameters: [
|
|
514
|
-
Parameters.apiVersion
|
|
515
|
-
],
|
|
516
|
-
headerParameters: [
|
|
517
|
-
Parameters.acceptLanguage
|
|
518
|
-
],
|
|
519
|
-
requestBody: {
|
|
520
|
-
parameterPath: "parameters",
|
|
521
|
-
mapper: __assign(__assign({}, Mappers.StorageAccountCreateParameters), { required: true })
|
|
522
|
-
},
|
|
523
|
-
responses: {
|
|
524
|
-
200: {
|
|
525
|
-
bodyMapper: Mappers.StorageAccount
|
|
526
|
-
},
|
|
527
|
-
202: {},
|
|
528
|
-
default: {
|
|
529
|
-
bodyMapper: Mappers.CloudError
|
|
530
|
-
}
|
|
531
|
-
},
|
|
532
|
-
serializer: serializer
|
|
533
|
-
};
|
|
534
|
-
var beginFailoverOperationSpec = {
|
|
535
|
-
httpMethod: "POST",
|
|
536
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover",
|
|
537
|
-
urlParameters: [
|
|
538
|
-
Parameters.resourceGroupName,
|
|
539
|
-
Parameters.accountName,
|
|
540
|
-
Parameters.subscriptionId
|
|
541
|
-
],
|
|
542
|
-
queryParameters: [
|
|
543
|
-
Parameters.apiVersion
|
|
544
|
-
],
|
|
545
|
-
headerParameters: [
|
|
546
|
-
Parameters.acceptLanguage
|
|
547
|
-
],
|
|
548
|
-
responses: {
|
|
549
|
-
200: {},
|
|
550
|
-
202: {},
|
|
551
|
-
default: {
|
|
552
|
-
bodyMapper: Mappers.CloudError
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
serializer: serializer
|
|
556
|
-
};
|
|
557
|
-
var beginRestoreBlobRangesOperationSpec = {
|
|
558
|
-
httpMethod: "POST",
|
|
559
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges",
|
|
560
|
-
urlParameters: [
|
|
561
|
-
Parameters.resourceGroupName,
|
|
562
|
-
Parameters.accountName,
|
|
563
|
-
Parameters.subscriptionId
|
|
564
|
-
],
|
|
565
|
-
queryParameters: [
|
|
566
|
-
Parameters.apiVersion
|
|
567
|
-
],
|
|
568
|
-
headerParameters: [
|
|
569
|
-
Parameters.acceptLanguage
|
|
570
|
-
],
|
|
571
|
-
requestBody: {
|
|
572
|
-
parameterPath: {
|
|
573
|
-
timeToRestore: "timeToRestore",
|
|
574
|
-
blobRanges: "blobRanges"
|
|
575
|
-
},
|
|
576
|
-
mapper: __assign(__assign({}, Mappers.BlobRestoreParameters), { required: true })
|
|
577
|
-
},
|
|
578
|
-
responses: {
|
|
579
|
-
200: {
|
|
580
|
-
bodyMapper: Mappers.BlobRestoreStatus
|
|
581
|
-
},
|
|
582
|
-
202: {
|
|
583
|
-
bodyMapper: Mappers.BlobRestoreStatus
|
|
584
|
-
},
|
|
585
|
-
default: {
|
|
586
|
-
bodyMapper: Mappers.CloudError
|
|
587
|
-
}
|
|
588
|
-
},
|
|
589
|
-
serializer: serializer
|
|
590
|
-
};
|
|
591
|
-
var listNextOperationSpec = {
|
|
592
|
-
httpMethod: "GET",
|
|
593
|
-
baseUrl: "https://management.azure.com",
|
|
594
|
-
path: "{nextLink}",
|
|
595
|
-
urlParameters: [
|
|
596
|
-
Parameters.nextPageLink
|
|
597
|
-
],
|
|
598
|
-
headerParameters: [
|
|
599
|
-
Parameters.acceptLanguage
|
|
600
|
-
],
|
|
601
|
-
responses: {
|
|
602
|
-
200: {
|
|
603
|
-
bodyMapper: Mappers.StorageAccountListResult
|
|
604
|
-
},
|
|
605
|
-
default: {
|
|
606
|
-
bodyMapper: Mappers.CloudError
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
serializer: serializer
|
|
610
|
-
};
|
|
611
|
-
//# sourceMappingURL=storageAccounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageAccounts.js","sourceRoot":"","sources":["../../src/operations/storageAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,K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-
import * as Models from "../models";
|
|
3
|
-
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
4
|
-
/** Class representing a Usages. */
|
|
5
|
-
export declare class Usages {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Usages.
|
|
9
|
-
* @param {StorageManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: StorageManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Gets the current usage count and the limit for the resources of the location under the
|
|
14
|
-
* subscription.
|
|
15
|
-
* @param location The location of the Azure Storage resource.
|
|
16
|
-
* @param [options] The optional parameters
|
|
17
|
-
* @returns Promise<Models.UsagesListByLocationResponse>
|
|
18
|
-
*/
|
|
19
|
-
listByLocation(location: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListByLocationResponse>;
|
|
20
|
-
/**
|
|
21
|
-
* @param location The location of the Azure Storage resource.
|
|
22
|
-
* @param callback The callback
|
|
23
|
-
*/
|
|
24
|
-
listByLocation(location: string, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
|
|
25
|
-
/**
|
|
26
|
-
* @param location The location of the Azure Storage resource.
|
|
27
|
-
* @param options The optional parameters
|
|
28
|
-
* @param callback The callback
|
|
29
|
-
*/
|
|
30
|
-
listByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.UsageListResult>): void;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=usages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../src/operations/usages.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,mCAAmC;AACnC,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;OAMG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,4BAA4B,CAAC;IACnH;;;OAGG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;IAChG;;;;OAIG;IACH,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,eAAe,CAAC,GAAG,IAAI;CAUrI"}
|