@azure/arm-storage-profile-2020-09-01-hybrid 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -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
|
@@ -0,0 +1,2508 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Defines values for AccessTier. */
|
|
8
|
+
export declare type AccessTier = "Hot" | "Cool";
|
|
9
|
+
|
|
10
|
+
/** The parameters to list SAS credentials of a storage account. */
|
|
11
|
+
export declare interface AccountSasParameters {
|
|
12
|
+
/** The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). */
|
|
13
|
+
services: Services;
|
|
14
|
+
/** The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. */
|
|
15
|
+
resourceTypes: SignedResourceTypes;
|
|
16
|
+
/** The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
|
|
17
|
+
permissions: Permissions_2;
|
|
18
|
+
/** An IP address or a range of IP addresses from which to accept requests. */
|
|
19
|
+
iPAddressOrRange?: string;
|
|
20
|
+
/** The protocol permitted for a request made with the account SAS. */
|
|
21
|
+
protocols?: HttpProtocol;
|
|
22
|
+
/** The time at which the SAS becomes valid. */
|
|
23
|
+
sharedAccessStartTime?: Date;
|
|
24
|
+
/** The time at which the shared access signature becomes invalid. */
|
|
25
|
+
sharedAccessExpiryTime: Date;
|
|
26
|
+
/** The key to sign the account SAS token with. */
|
|
27
|
+
keyToSign?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** Defines values for AccountStatus. */
|
|
31
|
+
export declare type AccountStatus = "available" | "unavailable";
|
|
32
|
+
|
|
33
|
+
/** Settings properties for Active Directory (AD). */
|
|
34
|
+
export declare interface ActiveDirectoryProperties {
|
|
35
|
+
/** Specifies the primary domain that the AD DNS server is authoritative for. */
|
|
36
|
+
domainName: string;
|
|
37
|
+
/** Specifies the NetBIOS domain name. */
|
|
38
|
+
netBiosDomainName: string;
|
|
39
|
+
/** Specifies the Active Directory forest to get. */
|
|
40
|
+
forestName: string;
|
|
41
|
+
/** Specifies the domain GUID. */
|
|
42
|
+
domainGuid: string;
|
|
43
|
+
/** Specifies the security identifier (SID). */
|
|
44
|
+
domainSid: string;
|
|
45
|
+
/** Specifies the security identifier (SID) for Azure Storage. */
|
|
46
|
+
azureStorageSid: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Settings for Azure Files identity based authentication. */
|
|
50
|
+
export declare interface AzureFilesIdentityBasedAuthentication {
|
|
51
|
+
/** Indicates the directory service used. */
|
|
52
|
+
directoryServiceOptions: DirectoryServiceOptions;
|
|
53
|
+
/** Required if choose AD. */
|
|
54
|
+
activeDirectoryProperties?: ActiveDirectoryProperties;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Interface representing a BlobInventoryPolicies. */
|
|
58
|
+
export declare interface BlobInventoryPolicies {
|
|
59
|
+
/**
|
|
60
|
+
* Gets the blob inventory policy associated with the specified storage account.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
62
|
+
* case insensitive.
|
|
63
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
64
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
65
|
+
* only.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
list(resourceGroupName: string, accountName: string, options?: BlobInventoryPoliciesListOptionalParams): PagedAsyncIterableIterator<BlobInventoryPolicy>;
|
|
69
|
+
/**
|
|
70
|
+
* Gets the blob inventory policy associated with the specified storage account.
|
|
71
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
72
|
+
* case insensitive.
|
|
73
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
74
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
75
|
+
* only.
|
|
76
|
+
* @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
|
|
77
|
+
* always be 'default'
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
get(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, options?: BlobInventoryPoliciesGetOptionalParams): Promise<BlobInventoryPoliciesGetResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Sets the blob inventory policy to the specified storage account.
|
|
83
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
84
|
+
* case insensitive.
|
|
85
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
86
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
87
|
+
* only.
|
|
88
|
+
* @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
|
|
89
|
+
* always be 'default'
|
|
90
|
+
* @param properties The blob inventory policy set to a storage account.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
createOrUpdate(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, properties: BlobInventoryPolicy, options?: BlobInventoryPoliciesCreateOrUpdateOptionalParams): Promise<BlobInventoryPoliciesCreateOrUpdateResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Deletes the blob inventory policy associated with the specified storage account.
|
|
96
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
97
|
+
* case insensitive.
|
|
98
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
99
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
100
|
+
* only.
|
|
101
|
+
* @param blobInventoryPolicyName The name of the storage account blob inventory policy. It should
|
|
102
|
+
* always be 'default'
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
delete(resourceGroupName: string, accountName: string, blobInventoryPolicyName: BlobInventoryPolicyName, options?: BlobInventoryPoliciesDeleteOptionalParams): Promise<void>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** Optional parameters. */
|
|
109
|
+
export declare interface BlobInventoryPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
113
|
+
export declare type BlobInventoryPoliciesCreateOrUpdateResponse = BlobInventoryPolicy;
|
|
114
|
+
|
|
115
|
+
/** Optional parameters. */
|
|
116
|
+
export declare interface BlobInventoryPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** Optional parameters. */
|
|
120
|
+
export declare interface BlobInventoryPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** Contains response data for the get operation. */
|
|
124
|
+
export declare type BlobInventoryPoliciesGetResponse = BlobInventoryPolicy;
|
|
125
|
+
|
|
126
|
+
/** Optional parameters. */
|
|
127
|
+
export declare interface BlobInventoryPoliciesListOptionalParams extends coreClient.OperationOptions {
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** Contains response data for the list operation. */
|
|
131
|
+
export declare type BlobInventoryPoliciesListResponse = ListBlobInventoryPolicy;
|
|
132
|
+
|
|
133
|
+
/** The storage account blob inventory policy. */
|
|
134
|
+
export declare type BlobInventoryPolicy = Resource & {
|
|
135
|
+
/**
|
|
136
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
137
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
138
|
+
*/
|
|
139
|
+
readonly systemData?: SystemData;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the last modified date and time of the blob inventory policy.
|
|
142
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
143
|
+
*/
|
|
144
|
+
readonly lastModifiedTime?: Date;
|
|
145
|
+
/** The storage account blob inventory policy object. It is composed of policy rules. */
|
|
146
|
+
policy?: BlobInventoryPolicySchema;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/** An object that defines the blob inventory rule. Each definition consists of a set of filters. */
|
|
150
|
+
export declare interface BlobInventoryPolicyDefinition {
|
|
151
|
+
/** An object that defines the filter set. */
|
|
152
|
+
filters: BlobInventoryPolicyFilter;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** An object that defines the blob inventory rule filter conditions. */
|
|
156
|
+
export declare interface BlobInventoryPolicyFilter {
|
|
157
|
+
/** An array of strings for blob prefixes to be matched. */
|
|
158
|
+
prefixMatch?: string[];
|
|
159
|
+
/** An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. */
|
|
160
|
+
blobTypes: string[];
|
|
161
|
+
/** Includes blob versions in blob inventory when value set to true. */
|
|
162
|
+
includeBlobVersions?: boolean;
|
|
163
|
+
/** Includes blob snapshots in blob inventory when value set to true. */
|
|
164
|
+
includeSnapshots?: boolean;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Defines values for BlobInventoryPolicyName. \
|
|
169
|
+
* {@link KnownBlobInventoryPolicyName} can be used interchangeably with BlobInventoryPolicyName,
|
|
170
|
+
* this enum contains the known values that the service supports.
|
|
171
|
+
* ### Known values supported by the service
|
|
172
|
+
* **default**
|
|
173
|
+
*/
|
|
174
|
+
export declare type BlobInventoryPolicyName = string;
|
|
175
|
+
|
|
176
|
+
/** An object that wraps the blob inventory rule. Each rule is uniquely defined by name. */
|
|
177
|
+
export declare interface BlobInventoryPolicyRule {
|
|
178
|
+
/** Rule is enabled when set to true. */
|
|
179
|
+
enabled: boolean;
|
|
180
|
+
/** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
|
|
181
|
+
name: string;
|
|
182
|
+
/** An object that defines the blob inventory policy rule. */
|
|
183
|
+
definition: BlobInventoryPolicyDefinition;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/** The storage account blob inventory policy rules. */
|
|
187
|
+
export declare interface BlobInventoryPolicySchema {
|
|
188
|
+
/** Policy is enabled if set to true. */
|
|
189
|
+
enabled: boolean;
|
|
190
|
+
/** Container name where blob inventory files are stored. Must be pre-created. */
|
|
191
|
+
destination: string;
|
|
192
|
+
/** The valid value is Inventory */
|
|
193
|
+
type: InventoryRuleType;
|
|
194
|
+
/** The storage account blob inventory policy rules. The rule is applied when it is enabled. */
|
|
195
|
+
rules: BlobInventoryPolicyRule[];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Blob restore parameters */
|
|
199
|
+
export declare interface BlobRestoreParameters {
|
|
200
|
+
/** Restore blob to the specified time. */
|
|
201
|
+
timeToRestore: Date;
|
|
202
|
+
/** Blob ranges to restore. */
|
|
203
|
+
blobRanges: BlobRestoreRange[];
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Defines values for BlobRestoreProgressStatus. \
|
|
208
|
+
* {@link KnownBlobRestoreProgressStatus} can be used interchangeably with BlobRestoreProgressStatus,
|
|
209
|
+
* this enum contains the known values that the service supports.
|
|
210
|
+
* ### Known values supported by the service
|
|
211
|
+
* **InProgress** \
|
|
212
|
+
* **Complete** \
|
|
213
|
+
* **Failed**
|
|
214
|
+
*/
|
|
215
|
+
export declare type BlobRestoreProgressStatus = string;
|
|
216
|
+
|
|
217
|
+
/** Blob range */
|
|
218
|
+
export declare interface BlobRestoreRange {
|
|
219
|
+
/** Blob start range. This is inclusive. Empty means account start. */
|
|
220
|
+
startRange: string;
|
|
221
|
+
/** Blob end range. This is exclusive. Empty means account end. */
|
|
222
|
+
endRange: string;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/** Blob restore status. */
|
|
226
|
+
export declare interface BlobRestoreStatus {
|
|
227
|
+
/**
|
|
228
|
+
* The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
|
|
229
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
230
|
+
*/
|
|
231
|
+
readonly status?: BlobRestoreProgressStatus;
|
|
232
|
+
/**
|
|
233
|
+
* Failure reason when blob restore is failed.
|
|
234
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
235
|
+
*/
|
|
236
|
+
readonly failureReason?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Id for tracking blob restore request.
|
|
239
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
240
|
+
*/
|
|
241
|
+
readonly restoreId?: string;
|
|
242
|
+
/**
|
|
243
|
+
* Blob restore request parameters.
|
|
244
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
245
|
+
*/
|
|
246
|
+
readonly parameters?: BlobRestoreParameters;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Defines values for Bypass. \
|
|
251
|
+
* {@link KnownBypass} can be used interchangeably with Bypass,
|
|
252
|
+
* this enum contains the known values that the service supports.
|
|
253
|
+
* ### Known values supported by the service
|
|
254
|
+
* **None** \
|
|
255
|
+
* **Logging** \
|
|
256
|
+
* **Metrics** \
|
|
257
|
+
* **AzureServices**
|
|
258
|
+
*/
|
|
259
|
+
export declare type Bypass = string;
|
|
260
|
+
|
|
261
|
+
/** The CheckNameAvailability operation response. */
|
|
262
|
+
export declare interface CheckNameAvailabilityResult {
|
|
263
|
+
/**
|
|
264
|
+
* Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.
|
|
265
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
266
|
+
*/
|
|
267
|
+
readonly nameAvailable?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.
|
|
270
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
271
|
+
*/
|
|
272
|
+
readonly reason?: Reason;
|
|
273
|
+
/**
|
|
274
|
+
* Gets an error message explaining the Reason value in more detail.
|
|
275
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
276
|
+
*/
|
|
277
|
+
readonly message?: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Defines values for CreatedByType. \
|
|
282
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
283
|
+
* this enum contains the known values that the service supports.
|
|
284
|
+
* ### Known values supported by the service
|
|
285
|
+
* **User** \
|
|
286
|
+
* **Application** \
|
|
287
|
+
* **ManagedIdentity** \
|
|
288
|
+
* **Key**
|
|
289
|
+
*/
|
|
290
|
+
export declare type CreatedByType = string;
|
|
291
|
+
|
|
292
|
+
/** The custom domain assigned to this storage account. This can be set via Update. */
|
|
293
|
+
export declare interface CustomDomain {
|
|
294
|
+
/** Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. */
|
|
295
|
+
name: string;
|
|
296
|
+
/** Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. */
|
|
297
|
+
useSubDomainName?: boolean;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/** Object to define the number of days after creation. */
|
|
301
|
+
export declare interface DateAfterCreation {
|
|
302
|
+
/** Value indicating the age in days after creation */
|
|
303
|
+
daysAfterCreationGreaterThan: number;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/** Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive. */
|
|
307
|
+
export declare interface DateAfterModification {
|
|
308
|
+
/** Value indicating the age in days after last modification */
|
|
309
|
+
daysAfterModificationGreaterThan?: number;
|
|
310
|
+
/** Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy */
|
|
311
|
+
daysAfterLastAccessTimeGreaterThan?: number;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/** Defines values for DefaultAction. */
|
|
315
|
+
export declare type DefaultAction = "Allow" | "Deny";
|
|
316
|
+
|
|
317
|
+
/** Dimension of blobs, possibly be blob type or access tier. */
|
|
318
|
+
export declare interface Dimension {
|
|
319
|
+
/** Display name of dimension. */
|
|
320
|
+
name?: string;
|
|
321
|
+
/** Display name of dimension. */
|
|
322
|
+
displayName?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Defines values for DirectoryServiceOptions. \
|
|
327
|
+
* {@link KnownDirectoryServiceOptions} can be used interchangeably with DirectoryServiceOptions,
|
|
328
|
+
* this enum contains the known values that the service supports.
|
|
329
|
+
* ### Known values supported by the service
|
|
330
|
+
* **None** \
|
|
331
|
+
* **AADDS** \
|
|
332
|
+
* **AD**
|
|
333
|
+
*/
|
|
334
|
+
export declare type DirectoryServiceOptions = string;
|
|
335
|
+
|
|
336
|
+
/** The encryption settings on the storage account. */
|
|
337
|
+
export declare interface Encryption {
|
|
338
|
+
/** List of services which support encryption. */
|
|
339
|
+
services?: EncryptionServices;
|
|
340
|
+
/** The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault */
|
|
341
|
+
keySource: KeySource;
|
|
342
|
+
/** A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. */
|
|
343
|
+
requireInfrastructureEncryption?: boolean;
|
|
344
|
+
/** Properties provided by key vault. */
|
|
345
|
+
keyVaultProperties?: KeyVaultProperties;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** The Encryption Scope resource. */
|
|
349
|
+
export declare type EncryptionScope = Resource & {
|
|
350
|
+
/** The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. */
|
|
351
|
+
source?: EncryptionScopeSource;
|
|
352
|
+
/** The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. */
|
|
353
|
+
state?: EncryptionScopeState;
|
|
354
|
+
/**
|
|
355
|
+
* Gets the creation date and time of the encryption scope in UTC.
|
|
356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
357
|
+
*/
|
|
358
|
+
readonly creationTime?: Date;
|
|
359
|
+
/**
|
|
360
|
+
* Gets the last modification date and time of the encryption scope in UTC.
|
|
361
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
|
+
*/
|
|
363
|
+
readonly lastModifiedTime?: Date;
|
|
364
|
+
/** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
|
|
365
|
+
keyVaultProperties?: EncryptionScopeKeyVaultProperties;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
/** The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. */
|
|
369
|
+
export declare interface EncryptionScopeKeyVaultProperties {
|
|
370
|
+
/** The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. */
|
|
371
|
+
keyUri?: string;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/** List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes. */
|
|
375
|
+
export declare interface EncryptionScopeListResult {
|
|
376
|
+
/**
|
|
377
|
+
* List of encryption scopes requested.
|
|
378
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
379
|
+
*/
|
|
380
|
+
readonly value?: EncryptionScope[];
|
|
381
|
+
/**
|
|
382
|
+
* Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size.
|
|
383
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
384
|
+
*/
|
|
385
|
+
readonly nextLink?: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Interface representing a EncryptionScopes. */
|
|
389
|
+
export declare interface EncryptionScopes {
|
|
390
|
+
/**
|
|
391
|
+
* Lists all the encryption scopes available under the specified storage account.
|
|
392
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
393
|
+
* case insensitive.
|
|
394
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
395
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
396
|
+
* only.
|
|
397
|
+
* @param options The options parameters.
|
|
398
|
+
*/
|
|
399
|
+
list(resourceGroupName: string, accountName: string, options?: EncryptionScopesListOptionalParams): PagedAsyncIterableIterator<EncryptionScope>;
|
|
400
|
+
/**
|
|
401
|
+
* Synchronously creates or updates an encryption scope under the specified storage account. If an
|
|
402
|
+
* encryption scope is already created and a subsequent request is issued with different properties,
|
|
403
|
+
* the encryption scope properties will be updated per the specified request.
|
|
404
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
405
|
+
* case insensitive.
|
|
406
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
407
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
408
|
+
* only.
|
|
409
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
410
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
411
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
412
|
+
* letter or number.
|
|
413
|
+
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
414
|
+
* @param options The options parameters.
|
|
415
|
+
*/
|
|
416
|
+
put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPutOptionalParams): Promise<EncryptionScopesPutResponse>;
|
|
417
|
+
/**
|
|
418
|
+
* Update encryption scope properties as specified in the request body. Update fails if the specified
|
|
419
|
+
* encryption scope does not already exist.
|
|
420
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
421
|
+
* case insensitive.
|
|
422
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
423
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
424
|
+
* only.
|
|
425
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
426
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
427
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
428
|
+
* letter or number.
|
|
429
|
+
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
430
|
+
* @param options The options parameters.
|
|
431
|
+
*/
|
|
432
|
+
patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: EncryptionScope, options?: EncryptionScopesPatchOptionalParams): Promise<EncryptionScopesPatchResponse>;
|
|
433
|
+
/**
|
|
434
|
+
* Returns the properties for the specified encryption scope.
|
|
435
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
436
|
+
* case insensitive.
|
|
437
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
438
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
439
|
+
* only.
|
|
440
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
441
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
442
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
443
|
+
* letter or number.
|
|
444
|
+
* @param options The options parameters.
|
|
445
|
+
*/
|
|
446
|
+
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: EncryptionScopesGetOptionalParams): Promise<EncryptionScopesGetResponse>;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** Optional parameters. */
|
|
450
|
+
export declare interface EncryptionScopesGetOptionalParams extends coreClient.OperationOptions {
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/** Contains response data for the get operation. */
|
|
454
|
+
export declare type EncryptionScopesGetResponse = EncryptionScope;
|
|
455
|
+
|
|
456
|
+
/** Optional parameters. */
|
|
457
|
+
export declare interface EncryptionScopesListNextOptionalParams extends coreClient.OperationOptions {
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
/** Contains response data for the listNext operation. */
|
|
461
|
+
export declare type EncryptionScopesListNextResponse = EncryptionScopeListResult;
|
|
462
|
+
|
|
463
|
+
/** Optional parameters. */
|
|
464
|
+
export declare interface EncryptionScopesListOptionalParams extends coreClient.OperationOptions {
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/** Contains response data for the list operation. */
|
|
468
|
+
export declare type EncryptionScopesListResponse = EncryptionScopeListResult;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Defines values for EncryptionScopeSource. \
|
|
472
|
+
* {@link KnownEncryptionScopeSource} can be used interchangeably with EncryptionScopeSource,
|
|
473
|
+
* this enum contains the known values that the service supports.
|
|
474
|
+
* ### Known values supported by the service
|
|
475
|
+
* **Microsoft.Storage** \
|
|
476
|
+
* **Microsoft.KeyVault**
|
|
477
|
+
*/
|
|
478
|
+
export declare type EncryptionScopeSource = string;
|
|
479
|
+
|
|
480
|
+
/** Optional parameters. */
|
|
481
|
+
export declare interface EncryptionScopesPatchOptionalParams extends coreClient.OperationOptions {
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/** Contains response data for the patch operation. */
|
|
485
|
+
export declare type EncryptionScopesPatchResponse = EncryptionScope;
|
|
486
|
+
|
|
487
|
+
/** Optional parameters. */
|
|
488
|
+
export declare interface EncryptionScopesPutOptionalParams extends coreClient.OperationOptions {
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/** Contains response data for the put operation. */
|
|
492
|
+
export declare type EncryptionScopesPutResponse = EncryptionScope;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* Defines values for EncryptionScopeState. \
|
|
496
|
+
* {@link KnownEncryptionScopeState} can be used interchangeably with EncryptionScopeState,
|
|
497
|
+
* this enum contains the known values that the service supports.
|
|
498
|
+
* ### Known values supported by the service
|
|
499
|
+
* **Enabled** \
|
|
500
|
+
* **Disabled**
|
|
501
|
+
*/
|
|
502
|
+
export declare type EncryptionScopeState = string;
|
|
503
|
+
|
|
504
|
+
/** A service that allows server-side encryption to be used. */
|
|
505
|
+
export declare interface EncryptionService {
|
|
506
|
+
/** A boolean indicating whether or not the service encrypts the data as it is stored. */
|
|
507
|
+
enabled?: boolean;
|
|
508
|
+
/**
|
|
509
|
+
* Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.
|
|
510
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
|
+
*/
|
|
512
|
+
readonly lastEnabledTime?: Date;
|
|
513
|
+
/** Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. */
|
|
514
|
+
keyType?: KeyType_2;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/** A list of services that support encryption. */
|
|
518
|
+
export declare interface EncryptionServices {
|
|
519
|
+
/** The encryption function of the blob storage service. */
|
|
520
|
+
blob?: EncryptionService;
|
|
521
|
+
/** The encryption function of the file storage service. */
|
|
522
|
+
file?: EncryptionService;
|
|
523
|
+
/** The encryption function of the table storage service. */
|
|
524
|
+
table?: EncryptionService;
|
|
525
|
+
/** The encryption function of the queue storage service. */
|
|
526
|
+
queue?: EncryptionService;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. */
|
|
530
|
+
export declare interface Endpoints {
|
|
531
|
+
/**
|
|
532
|
+
* Gets the blob endpoint.
|
|
533
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
534
|
+
*/
|
|
535
|
+
readonly blob?: string;
|
|
536
|
+
/**
|
|
537
|
+
* Gets the queue endpoint.
|
|
538
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
539
|
+
*/
|
|
540
|
+
readonly queue?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Gets the table endpoint.
|
|
543
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
544
|
+
*/
|
|
545
|
+
readonly table?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Gets the file endpoint.
|
|
548
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
549
|
+
*/
|
|
550
|
+
readonly file?: string;
|
|
551
|
+
/**
|
|
552
|
+
* Gets the web endpoint.
|
|
553
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
554
|
+
*/
|
|
555
|
+
readonly web?: string;
|
|
556
|
+
/**
|
|
557
|
+
* Gets the dfs endpoint.
|
|
558
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
559
|
+
*/
|
|
560
|
+
readonly dfs?: string;
|
|
561
|
+
/** Gets the microsoft routing storage endpoints. */
|
|
562
|
+
microsoftEndpoints?: StorageAccountMicrosoftEndpoints;
|
|
563
|
+
/** Gets the internet routing storage endpoints */
|
|
564
|
+
internetEndpoints?: StorageAccountInternetEndpoints;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/** An error response from the storage resource provider. */
|
|
568
|
+
export declare interface ErrorResponse {
|
|
569
|
+
/** Azure Storage Resource Provider error response body. */
|
|
570
|
+
error?: ErrorResponseBody;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** Error response body contract. */
|
|
574
|
+
export declare interface ErrorResponseBody {
|
|
575
|
+
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
576
|
+
code?: string;
|
|
577
|
+
/** A message describing the error, intended to be suitable for display in a user interface. */
|
|
578
|
+
message?: string;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. */
|
|
582
|
+
export declare interface GeoReplicationStats {
|
|
583
|
+
/**
|
|
584
|
+
* The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.
|
|
585
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
586
|
+
*/
|
|
587
|
+
readonly status?: GeoReplicationStatus;
|
|
588
|
+
/**
|
|
589
|
+
* All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.
|
|
590
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
591
|
+
*/
|
|
592
|
+
readonly lastSyncTime?: Date;
|
|
593
|
+
/**
|
|
594
|
+
* A boolean flag which indicates whether or not account failover is supported for the account.
|
|
595
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
596
|
+
*/
|
|
597
|
+
readonly canFailover?: boolean;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Defines values for GeoReplicationStatus. \
|
|
602
|
+
* {@link KnownGeoReplicationStatus} can be used interchangeably with GeoReplicationStatus,
|
|
603
|
+
* this enum contains the known values that the service supports.
|
|
604
|
+
* ### Known values supported by the service
|
|
605
|
+
* **Live** \
|
|
606
|
+
* **Bootstrap** \
|
|
607
|
+
* **Unavailable**
|
|
608
|
+
*/
|
|
609
|
+
export declare type GeoReplicationStatus = string;
|
|
610
|
+
|
|
611
|
+
/** Defines values for HttpProtocol. */
|
|
612
|
+
export declare type HttpProtocol = "https,http" | "https";
|
|
613
|
+
|
|
614
|
+
/** Identity for the resource. */
|
|
615
|
+
export declare interface Identity {
|
|
616
|
+
/**
|
|
617
|
+
* The principal ID of resource identity.
|
|
618
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
619
|
+
*/
|
|
620
|
+
readonly principalId?: string;
|
|
621
|
+
/**
|
|
622
|
+
* The tenant ID of resource.
|
|
623
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
624
|
+
*/
|
|
625
|
+
readonly tenantId?: string;
|
|
626
|
+
/** The identity type. */
|
|
627
|
+
type: "SystemAssigned";
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Defines values for InventoryRuleType. \
|
|
632
|
+
* {@link KnownInventoryRuleType} can be used interchangeably with InventoryRuleType,
|
|
633
|
+
* this enum contains the known values that the service supports.
|
|
634
|
+
* ### Known values supported by the service
|
|
635
|
+
* **Inventory**
|
|
636
|
+
*/
|
|
637
|
+
export declare type InventoryRuleType = string;
|
|
638
|
+
|
|
639
|
+
/** IP rule with specific IP or IP range in CIDR format. */
|
|
640
|
+
export declare interface IPRule {
|
|
641
|
+
/** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */
|
|
642
|
+
iPAddressOrRange: string;
|
|
643
|
+
/** The action of IP ACL rule. */
|
|
644
|
+
action?: "Allow";
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/** Defines values for KeyPermission. */
|
|
648
|
+
export declare type KeyPermission = "Read" | "Full";
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Defines values for KeySource. \
|
|
652
|
+
* {@link KnownKeySource} can be used interchangeably with KeySource,
|
|
653
|
+
* this enum contains the known values that the service supports.
|
|
654
|
+
* ### Known values supported by the service
|
|
655
|
+
* **Microsoft.Storage** \
|
|
656
|
+
* **Microsoft.Keyvault**
|
|
657
|
+
*/
|
|
658
|
+
export declare type KeySource = string;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Defines values for KeyType. \
|
|
662
|
+
* {@link KnownKeyType} can be used interchangeably with KeyType,
|
|
663
|
+
* this enum contains the known values that the service supports.
|
|
664
|
+
* ### Known values supported by the service
|
|
665
|
+
* **Service** \
|
|
666
|
+
* **Account**
|
|
667
|
+
*/
|
|
668
|
+
declare type KeyType_2 = string;
|
|
669
|
+
export { KeyType_2 as KeyType }
|
|
670
|
+
|
|
671
|
+
/** Properties of key vault. */
|
|
672
|
+
export declare interface KeyVaultProperties {
|
|
673
|
+
/** The name of KeyVault key. */
|
|
674
|
+
keyName?: string;
|
|
675
|
+
/** The version of KeyVault key. */
|
|
676
|
+
keyVersion?: string;
|
|
677
|
+
/** The Uri of KeyVault. */
|
|
678
|
+
keyVaultUri?: string;
|
|
679
|
+
/**
|
|
680
|
+
* The object identifier of the current versioned Key Vault Key in use.
|
|
681
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
682
|
+
*/
|
|
683
|
+
readonly currentVersionedKeyIdentifier?: string;
|
|
684
|
+
/**
|
|
685
|
+
* Timestamp of last rotation of the Key Vault Key.
|
|
686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
687
|
+
*/
|
|
688
|
+
readonly lastKeyRotationTimestamp?: Date;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Defines values for Kind. \
|
|
693
|
+
* {@link KnownKind} can be used interchangeably with Kind,
|
|
694
|
+
* this enum contains the known values that the service supports.
|
|
695
|
+
* ### Known values supported by the service
|
|
696
|
+
* **Storage** \
|
|
697
|
+
* **StorageV2** \
|
|
698
|
+
* **BlobStorage** \
|
|
699
|
+
* **FileStorage** \
|
|
700
|
+
* **BlockBlobStorage**
|
|
701
|
+
*/
|
|
702
|
+
export declare type Kind = string;
|
|
703
|
+
|
|
704
|
+
/** Known values of {@link BlobInventoryPolicyName} that the service accepts. */
|
|
705
|
+
export declare enum KnownBlobInventoryPolicyName {
|
|
706
|
+
Default = "default"
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/** Known values of {@link BlobRestoreProgressStatus} that the service accepts. */
|
|
710
|
+
export declare enum KnownBlobRestoreProgressStatus {
|
|
711
|
+
InProgress = "InProgress",
|
|
712
|
+
Complete = "Complete",
|
|
713
|
+
Failed = "Failed"
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/** Known values of {@link Bypass} that the service accepts. */
|
|
717
|
+
export declare enum KnownBypass {
|
|
718
|
+
None = "None",
|
|
719
|
+
Logging = "Logging",
|
|
720
|
+
Metrics = "Metrics",
|
|
721
|
+
AzureServices = "AzureServices"
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
725
|
+
export declare enum KnownCreatedByType {
|
|
726
|
+
User = "User",
|
|
727
|
+
Application = "Application",
|
|
728
|
+
ManagedIdentity = "ManagedIdentity",
|
|
729
|
+
Key = "Key"
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
/** Known values of {@link DirectoryServiceOptions} that the service accepts. */
|
|
733
|
+
export declare enum KnownDirectoryServiceOptions {
|
|
734
|
+
None = "None",
|
|
735
|
+
Aadds = "AADDS",
|
|
736
|
+
AD = "AD"
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/** Known values of {@link EncryptionScopeSource} that the service accepts. */
|
|
740
|
+
export declare enum KnownEncryptionScopeSource {
|
|
741
|
+
MicrosoftStorage = "Microsoft.Storage",
|
|
742
|
+
MicrosoftKeyVault = "Microsoft.KeyVault"
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
/** Known values of {@link EncryptionScopeState} that the service accepts. */
|
|
746
|
+
export declare enum KnownEncryptionScopeState {
|
|
747
|
+
Enabled = "Enabled",
|
|
748
|
+
Disabled = "Disabled"
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/** Known values of {@link GeoReplicationStatus} that the service accepts. */
|
|
752
|
+
export declare enum KnownGeoReplicationStatus {
|
|
753
|
+
Live = "Live",
|
|
754
|
+
Bootstrap = "Bootstrap",
|
|
755
|
+
Unavailable = "Unavailable"
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/** Known values of {@link InventoryRuleType} that the service accepts. */
|
|
759
|
+
export declare enum KnownInventoryRuleType {
|
|
760
|
+
Inventory = "Inventory"
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/** Known values of {@link KeySource} that the service accepts. */
|
|
764
|
+
export declare enum KnownKeySource {
|
|
765
|
+
MicrosoftStorage = "Microsoft.Storage",
|
|
766
|
+
MicrosoftKeyvault = "Microsoft.Keyvault"
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/** Known values of {@link KeyType} that the service accepts. */
|
|
770
|
+
export declare enum KnownKeyType {
|
|
771
|
+
Service = "Service",
|
|
772
|
+
Account = "Account"
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/** Known values of {@link Kind} that the service accepts. */
|
|
776
|
+
export declare enum KnownKind {
|
|
777
|
+
Storage = "Storage",
|
|
778
|
+
StorageV2 = "StorageV2",
|
|
779
|
+
BlobStorage = "BlobStorage",
|
|
780
|
+
FileStorage = "FileStorage",
|
|
781
|
+
BlockBlobStorage = "BlockBlobStorage"
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/** Known values of {@link LargeFileSharesState} that the service accepts. */
|
|
785
|
+
export declare enum KnownLargeFileSharesState {
|
|
786
|
+
Disabled = "Disabled",
|
|
787
|
+
Enabled = "Enabled"
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/** Known values of {@link ManagementPolicyName} that the service accepts. */
|
|
791
|
+
export declare enum KnownManagementPolicyName {
|
|
792
|
+
Default = "default"
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** Known values of {@link MinimumTlsVersion} that the service accepts. */
|
|
796
|
+
export declare enum KnownMinimumTlsVersion {
|
|
797
|
+
TLS10 = "TLS1_0",
|
|
798
|
+
TLS11 = "TLS1_1",
|
|
799
|
+
TLS12 = "TLS1_2"
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/** Known values of {@link Permissions} that the service accepts. */
|
|
803
|
+
export declare enum KnownPermissions {
|
|
804
|
+
R = "r",
|
|
805
|
+
D = "d",
|
|
806
|
+
W = "w",
|
|
807
|
+
L = "l",
|
|
808
|
+
A = "a",
|
|
809
|
+
C = "c",
|
|
810
|
+
U = "u",
|
|
811
|
+
P = "p"
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
|
815
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
816
|
+
Succeeded = "Succeeded",
|
|
817
|
+
Creating = "Creating",
|
|
818
|
+
Deleting = "Deleting",
|
|
819
|
+
Failed = "Failed"
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
|
823
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
824
|
+
Pending = "Pending",
|
|
825
|
+
Approved = "Approved",
|
|
826
|
+
Rejected = "Rejected"
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/** Known values of {@link ReasonCode} that the service accepts. */
|
|
830
|
+
export declare enum KnownReasonCode {
|
|
831
|
+
QuotaId = "QuotaId",
|
|
832
|
+
NotAvailableForSubscription = "NotAvailableForSubscription"
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/** Known values of {@link RoutingChoice} that the service accepts. */
|
|
836
|
+
export declare enum KnownRoutingChoice {
|
|
837
|
+
MicrosoftRouting = "MicrosoftRouting",
|
|
838
|
+
InternetRouting = "InternetRouting"
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
/** Known values of {@link RuleType} that the service accepts. */
|
|
842
|
+
export declare enum KnownRuleType {
|
|
843
|
+
Lifecycle = "Lifecycle"
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/** Known values of {@link Services} that the service accepts. */
|
|
847
|
+
export declare enum KnownServices {
|
|
848
|
+
B = "b",
|
|
849
|
+
Q = "q",
|
|
850
|
+
T = "t",
|
|
851
|
+
F = "f"
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/** Known values of {@link SignedResource} that the service accepts. */
|
|
855
|
+
export declare enum KnownSignedResource {
|
|
856
|
+
B = "b",
|
|
857
|
+
C = "c",
|
|
858
|
+
F = "f",
|
|
859
|
+
S = "s"
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
/** Known values of {@link SignedResourceTypes} that the service accepts. */
|
|
863
|
+
export declare enum KnownSignedResourceTypes {
|
|
864
|
+
S = "s",
|
|
865
|
+
C = "c",
|
|
866
|
+
O = "o"
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/** Known values of {@link SkuName} that the service accepts. */
|
|
870
|
+
export declare enum KnownSkuName {
|
|
871
|
+
StandardLRS = "Standard_LRS",
|
|
872
|
+
StandardGRS = "Standard_GRS",
|
|
873
|
+
StandardRagrs = "Standard_RAGRS",
|
|
874
|
+
StandardZRS = "Standard_ZRS",
|
|
875
|
+
PremiumLRS = "Premium_LRS",
|
|
876
|
+
PremiumZRS = "Premium_ZRS",
|
|
877
|
+
StandardGzrs = "Standard_GZRS",
|
|
878
|
+
StandardRagzrs = "Standard_RAGZRS"
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Defines values for LargeFileSharesState. \
|
|
883
|
+
* {@link KnownLargeFileSharesState} can be used interchangeably with LargeFileSharesState,
|
|
884
|
+
* this enum contains the known values that the service supports.
|
|
885
|
+
* ### Known values supported by the service
|
|
886
|
+
* **Disabled** \
|
|
887
|
+
* **Enabled**
|
|
888
|
+
*/
|
|
889
|
+
export declare type LargeFileSharesState = string;
|
|
890
|
+
|
|
891
|
+
/** The List SAS credentials operation response. */
|
|
892
|
+
export declare interface ListAccountSasResponse {
|
|
893
|
+
/**
|
|
894
|
+
* List SAS credentials of storage account.
|
|
895
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
896
|
+
*/
|
|
897
|
+
readonly accountSasToken?: string;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/** List of blob inventory policies returned. */
|
|
901
|
+
export declare interface ListBlobInventoryPolicy {
|
|
902
|
+
/**
|
|
903
|
+
* List of blob inventory policies.
|
|
904
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
905
|
+
*/
|
|
906
|
+
readonly value?: BlobInventoryPolicy[];
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/** The List service SAS credentials operation response. */
|
|
910
|
+
export declare interface ListServiceSasResponse {
|
|
911
|
+
/**
|
|
912
|
+
* List service SAS credentials of specific resource.
|
|
913
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
914
|
+
*/
|
|
915
|
+
readonly serviceSasToken?: string;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/** Interface representing a ManagementPolicies. */
|
|
919
|
+
export declare interface ManagementPolicies {
|
|
920
|
+
/**
|
|
921
|
+
* Gets the managementpolicy associated with the specified storage account.
|
|
922
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
923
|
+
* case insensitive.
|
|
924
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
925
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
926
|
+
* only.
|
|
927
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
928
|
+
* 'default'
|
|
929
|
+
* @param options The options parameters.
|
|
930
|
+
*/
|
|
931
|
+
get(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesGetOptionalParams): Promise<ManagementPoliciesGetResponse>;
|
|
932
|
+
/**
|
|
933
|
+
* Sets the managementpolicy to the specified storage account.
|
|
934
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
935
|
+
* case insensitive.
|
|
936
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
937
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
938
|
+
* only.
|
|
939
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
940
|
+
* 'default'
|
|
941
|
+
* @param properties The ManagementPolicy set to a storage account.
|
|
942
|
+
* @param options The options parameters.
|
|
943
|
+
*/
|
|
944
|
+
createOrUpdate(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, properties: ManagementPolicy, options?: ManagementPoliciesCreateOrUpdateOptionalParams): Promise<ManagementPoliciesCreateOrUpdateResponse>;
|
|
945
|
+
/**
|
|
946
|
+
* Deletes the managementpolicy associated with the specified storage account.
|
|
947
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
948
|
+
* case insensitive.
|
|
949
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
950
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
951
|
+
* only.
|
|
952
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
953
|
+
* 'default'
|
|
954
|
+
* @param options The options parameters.
|
|
955
|
+
*/
|
|
956
|
+
delete(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesDeleteOptionalParams): Promise<void>;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/** Optional parameters. */
|
|
960
|
+
export declare interface ManagementPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
964
|
+
export declare type ManagementPoliciesCreateOrUpdateResponse = ManagementPolicy;
|
|
965
|
+
|
|
966
|
+
/** Optional parameters. */
|
|
967
|
+
export declare interface ManagementPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/** Optional parameters. */
|
|
971
|
+
export declare interface ManagementPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** Contains response data for the get operation. */
|
|
975
|
+
export declare type ManagementPoliciesGetResponse = ManagementPolicy;
|
|
976
|
+
|
|
977
|
+
/** The Get Storage Account ManagementPolicies operation response. */
|
|
978
|
+
export declare type ManagementPolicy = Resource & {
|
|
979
|
+
/**
|
|
980
|
+
* Returns the date and time the ManagementPolicies was last modified.
|
|
981
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
982
|
+
*/
|
|
983
|
+
readonly lastModifiedTime?: Date;
|
|
984
|
+
/** The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
|
|
985
|
+
policy?: ManagementPolicySchema;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
/** Actions are applied to the filtered blobs when the execution condition is met. */
|
|
989
|
+
export declare interface ManagementPolicyAction {
|
|
990
|
+
/** The management policy action for base blob */
|
|
991
|
+
baseBlob?: ManagementPolicyBaseBlob;
|
|
992
|
+
/** The management policy action for snapshot */
|
|
993
|
+
snapshot?: ManagementPolicySnapShot;
|
|
994
|
+
/** The management policy action for version */
|
|
995
|
+
version?: ManagementPolicyVersion;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/** Management policy action for base blob. */
|
|
999
|
+
export declare interface ManagementPolicyBaseBlob {
|
|
1000
|
+
/** The function to tier blobs to cool storage. Support blobs currently at Hot tier */
|
|
1001
|
+
tierToCool?: DateAfterModification;
|
|
1002
|
+
/** The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier */
|
|
1003
|
+
tierToArchive?: DateAfterModification;
|
|
1004
|
+
/** The function to delete the blob */
|
|
1005
|
+
delete?: DateAfterModification;
|
|
1006
|
+
/** This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. */
|
|
1007
|
+
enableAutoTierToHotFromCool?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/** An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. */
|
|
1011
|
+
export declare interface ManagementPolicyDefinition {
|
|
1012
|
+
/** An object that defines the action set. */
|
|
1013
|
+
actions: ManagementPolicyAction;
|
|
1014
|
+
/** An object that defines the filter set. */
|
|
1015
|
+
filters?: ManagementPolicyFilter;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/** Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. */
|
|
1019
|
+
export declare interface ManagementPolicyFilter {
|
|
1020
|
+
/** An array of strings for prefixes to be match. */
|
|
1021
|
+
prefixMatch?: string[];
|
|
1022
|
+
/** An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. */
|
|
1023
|
+
blobTypes: string[];
|
|
1024
|
+
/** An array of blob index tag based filters, there can be at most 10 tag filters */
|
|
1025
|
+
blobIndexMatch?: TagFilter[];
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Defines values for ManagementPolicyName. \
|
|
1030
|
+
* {@link KnownManagementPolicyName} can be used interchangeably with ManagementPolicyName,
|
|
1031
|
+
* this enum contains the known values that the service supports.
|
|
1032
|
+
* ### Known values supported by the service
|
|
1033
|
+
* **default**
|
|
1034
|
+
*/
|
|
1035
|
+
export declare type ManagementPolicyName = string;
|
|
1036
|
+
|
|
1037
|
+
/** An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. */
|
|
1038
|
+
export declare interface ManagementPolicyRule {
|
|
1039
|
+
/** Rule is enabled if set to true. */
|
|
1040
|
+
enabled?: boolean;
|
|
1041
|
+
/** A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. */
|
|
1042
|
+
name: string;
|
|
1043
|
+
/** The valid value is Lifecycle */
|
|
1044
|
+
type: RuleType;
|
|
1045
|
+
/** An object that defines the Lifecycle rule. */
|
|
1046
|
+
definition: ManagementPolicyDefinition;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
|
|
1050
|
+
export declare interface ManagementPolicySchema {
|
|
1051
|
+
/** The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. */
|
|
1052
|
+
rules: ManagementPolicyRule[];
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/** Management policy action for snapshot. */
|
|
1056
|
+
export declare interface ManagementPolicySnapShot {
|
|
1057
|
+
/** The function to tier blob snapshot to cool storage. Support blob snapshot currently at Hot tier */
|
|
1058
|
+
tierToCool?: DateAfterCreation;
|
|
1059
|
+
/** The function to tier blob snapshot to archive storage. Support blob snapshot currently at Hot or Cool tier */
|
|
1060
|
+
tierToArchive?: DateAfterCreation;
|
|
1061
|
+
/** The function to delete the blob snapshot */
|
|
1062
|
+
delete?: DateAfterCreation;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/** Management policy action for blob version. */
|
|
1066
|
+
export declare interface ManagementPolicyVersion {
|
|
1067
|
+
/** The function to tier blob version to cool storage. Support blob version currently at Hot tier */
|
|
1068
|
+
tierToCool?: DateAfterCreation;
|
|
1069
|
+
/** The function to tier blob version to archive storage. Support blob version currently at Hot or Cool tier */
|
|
1070
|
+
tierToArchive?: DateAfterCreation;
|
|
1071
|
+
/** The function to delete the blob version */
|
|
1072
|
+
delete?: DateAfterCreation;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/** Metric specification of operation. */
|
|
1076
|
+
export declare interface MetricSpecification {
|
|
1077
|
+
/** Name of metric specification. */
|
|
1078
|
+
name?: string;
|
|
1079
|
+
/** Display name of metric specification. */
|
|
1080
|
+
displayName?: string;
|
|
1081
|
+
/** Display description of metric specification. */
|
|
1082
|
+
displayDescription?: string;
|
|
1083
|
+
/** Unit could be Bytes or Count. */
|
|
1084
|
+
unit?: string;
|
|
1085
|
+
/** Dimensions of blobs, including blob type and access tier. */
|
|
1086
|
+
dimensions?: Dimension[];
|
|
1087
|
+
/** Aggregation type could be Average. */
|
|
1088
|
+
aggregationType?: string;
|
|
1089
|
+
/** The property to decide fill gap with zero or not. */
|
|
1090
|
+
fillGapWithZero?: boolean;
|
|
1091
|
+
/** The category this metric specification belong to, could be Capacity. */
|
|
1092
|
+
category?: string;
|
|
1093
|
+
/** Account Resource Id. */
|
|
1094
|
+
resourceIdDimensionNameOverride?: string;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Defines values for MinimumTlsVersion. \
|
|
1099
|
+
* {@link KnownMinimumTlsVersion} can be used interchangeably with MinimumTlsVersion,
|
|
1100
|
+
* this enum contains the known values that the service supports.
|
|
1101
|
+
* ### Known values supported by the service
|
|
1102
|
+
* **TLS1_0** \
|
|
1103
|
+
* **TLS1_1** \
|
|
1104
|
+
* **TLS1_2**
|
|
1105
|
+
*/
|
|
1106
|
+
export declare type MinimumTlsVersion = string;
|
|
1107
|
+
|
|
1108
|
+
/** Network rule set */
|
|
1109
|
+
export declare interface NetworkRuleSet {
|
|
1110
|
+
/** Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. */
|
|
1111
|
+
bypass?: Bypass;
|
|
1112
|
+
/** Sets the virtual network rules */
|
|
1113
|
+
virtualNetworkRules?: VirtualNetworkRule[];
|
|
1114
|
+
/** Sets the IP ACL rules */
|
|
1115
|
+
ipRules?: IPRule[];
|
|
1116
|
+
/** Specifies the default action of allow or deny when no other rules match. */
|
|
1117
|
+
defaultAction: DefaultAction;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/** List storage account object replication policies. */
|
|
1121
|
+
export declare interface ObjectReplicationPolicies {
|
|
1122
|
+
/** The replication policy between two storage accounts. */
|
|
1123
|
+
value?: ObjectReplicationPolicy[];
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/** Optional parameters. */
|
|
1127
|
+
export declare interface ObjectReplicationPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1131
|
+
export declare type ObjectReplicationPoliciesCreateOrUpdateResponse = ObjectReplicationPolicy;
|
|
1132
|
+
|
|
1133
|
+
/** Optional parameters. */
|
|
1134
|
+
export declare interface ObjectReplicationPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/** Optional parameters. */
|
|
1138
|
+
export declare interface ObjectReplicationPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/** Contains response data for the get operation. */
|
|
1142
|
+
export declare type ObjectReplicationPoliciesGetResponse = ObjectReplicationPolicy;
|
|
1143
|
+
|
|
1144
|
+
/** Optional parameters. */
|
|
1145
|
+
export declare interface ObjectReplicationPoliciesListOptionalParams extends coreClient.OperationOptions {
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/** Contains response data for the list operation. */
|
|
1149
|
+
export declare type ObjectReplicationPoliciesListResponse = ObjectReplicationPolicies;
|
|
1150
|
+
|
|
1151
|
+
/** Interface representing a ObjectReplicationPoliciesOperations. */
|
|
1152
|
+
export declare interface ObjectReplicationPoliciesOperations {
|
|
1153
|
+
/**
|
|
1154
|
+
* List the object replication policies associated with the storage account.
|
|
1155
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1156
|
+
* case insensitive.
|
|
1157
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1158
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1159
|
+
* only.
|
|
1160
|
+
* @param options The options parameters.
|
|
1161
|
+
*/
|
|
1162
|
+
list(resourceGroupName: string, accountName: string, options?: ObjectReplicationPoliciesListOptionalParams): PagedAsyncIterableIterator<ObjectReplicationPolicy>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Get the object replication policy of the storage account by policy ID.
|
|
1165
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1166
|
+
* case insensitive.
|
|
1167
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1168
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1169
|
+
* only.
|
|
1170
|
+
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
|
|
1171
|
+
* is unknown.
|
|
1172
|
+
* @param options The options parameters.
|
|
1173
|
+
*/
|
|
1174
|
+
get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesGetOptionalParams): Promise<ObjectReplicationPoliciesGetResponse>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Create or update the object replication policy of the storage account.
|
|
1177
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1178
|
+
* case insensitive.
|
|
1179
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1180
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1181
|
+
* only.
|
|
1182
|
+
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
|
|
1183
|
+
* is unknown.
|
|
1184
|
+
* @param properties The object replication policy set to a storage account. A unique policy ID will be
|
|
1185
|
+
* created if absent.
|
|
1186
|
+
* @param options The options parameters.
|
|
1187
|
+
*/
|
|
1188
|
+
createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties: ObjectReplicationPolicy, options?: ObjectReplicationPoliciesCreateOrUpdateOptionalParams): Promise<ObjectReplicationPoliciesCreateOrUpdateResponse>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Deletes the object replication policy associated with the specified storage account.
|
|
1191
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1192
|
+
* case insensitive.
|
|
1193
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1194
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1195
|
+
* only.
|
|
1196
|
+
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy ID
|
|
1197
|
+
* is unknown.
|
|
1198
|
+
* @param options The options parameters.
|
|
1199
|
+
*/
|
|
1200
|
+
delete(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesDeleteOptionalParams): Promise<void>;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/** The replication policy between two storage accounts. Multiple rules can be defined in one policy. */
|
|
1204
|
+
export declare type ObjectReplicationPolicy = Resource & {
|
|
1205
|
+
/**
|
|
1206
|
+
* A unique id for object replication policy.
|
|
1207
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1208
|
+
*/
|
|
1209
|
+
readonly policyId?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Indicates when the policy is enabled on the source account.
|
|
1212
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1213
|
+
*/
|
|
1214
|
+
readonly enabledTime?: Date;
|
|
1215
|
+
/** Required. Source account name. */
|
|
1216
|
+
sourceAccount?: string;
|
|
1217
|
+
/** Required. Destination account name. */
|
|
1218
|
+
destinationAccount?: string;
|
|
1219
|
+
/** The storage account object replication rules. */
|
|
1220
|
+
rules?: ObjectReplicationPolicyRule[];
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
/** Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. */
|
|
1224
|
+
export declare interface ObjectReplicationPolicyFilter {
|
|
1225
|
+
/** Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. */
|
|
1226
|
+
prefixMatch?: string[];
|
|
1227
|
+
/** Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z */
|
|
1228
|
+
minCreationTime?: string;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
/** The replication policy rule between two containers. */
|
|
1232
|
+
export declare interface ObjectReplicationPolicyRule {
|
|
1233
|
+
/** Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. */
|
|
1234
|
+
ruleId?: string;
|
|
1235
|
+
/** Required. Source container name. */
|
|
1236
|
+
sourceContainer: string;
|
|
1237
|
+
/** Required. Destination container name. */
|
|
1238
|
+
destinationContainer: string;
|
|
1239
|
+
/** Optional. An object that defines the filter set. */
|
|
1240
|
+
filters?: ObjectReplicationPolicyFilter;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/** Storage REST API operation definition. */
|
|
1244
|
+
export declare interface Operation {
|
|
1245
|
+
/** Operation name: {provider}/{resource}/{operation} */
|
|
1246
|
+
name?: string;
|
|
1247
|
+
/** Display metadata associated with the operation. */
|
|
1248
|
+
display?: OperationDisplay;
|
|
1249
|
+
/** The origin of operations. */
|
|
1250
|
+
origin?: string;
|
|
1251
|
+
/** One property of operation, include metric specifications. */
|
|
1252
|
+
serviceSpecification?: ServiceSpecification;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/** Display metadata associated with the operation. */
|
|
1256
|
+
export declare interface OperationDisplay {
|
|
1257
|
+
/** Service provider: Microsoft Storage. */
|
|
1258
|
+
provider?: string;
|
|
1259
|
+
/** Resource on which the operation is performed etc. */
|
|
1260
|
+
resource?: string;
|
|
1261
|
+
/** Type of operation: get, read, delete, etc. */
|
|
1262
|
+
operation?: string;
|
|
1263
|
+
/** Description of the operation. */
|
|
1264
|
+
description?: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
/** Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
1268
|
+
export declare interface OperationListResult {
|
|
1269
|
+
/** List of Storage operations supported by the Storage resource provider. */
|
|
1270
|
+
value?: Operation[];
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** Interface representing a Operations. */
|
|
1274
|
+
export declare interface Operations {
|
|
1275
|
+
/**
|
|
1276
|
+
* Lists all of the available Storage Rest API operations.
|
|
1277
|
+
* @param options The options parameters.
|
|
1278
|
+
*/
|
|
1279
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
/** Optional parameters. */
|
|
1283
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/** Contains response data for the list operation. */
|
|
1287
|
+
export declare type OperationsListResponse = OperationListResult;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Defines values for Permissions. \
|
|
1291
|
+
* {@link KnownPermissions} can be used interchangeably with Permissions,
|
|
1292
|
+
* this enum contains the known values that the service supports.
|
|
1293
|
+
* ### Known values supported by the service
|
|
1294
|
+
* **r** \
|
|
1295
|
+
* **d** \
|
|
1296
|
+
* **w** \
|
|
1297
|
+
* **l** \
|
|
1298
|
+
* **a** \
|
|
1299
|
+
* **c** \
|
|
1300
|
+
* **u** \
|
|
1301
|
+
* **p**
|
|
1302
|
+
*/
|
|
1303
|
+
declare type Permissions_2 = string;
|
|
1304
|
+
export { Permissions_2 as Permissions }
|
|
1305
|
+
|
|
1306
|
+
/** The Private Endpoint resource. */
|
|
1307
|
+
export declare interface PrivateEndpoint {
|
|
1308
|
+
/**
|
|
1309
|
+
* The ARM identifier for Private Endpoint
|
|
1310
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1311
|
+
*/
|
|
1312
|
+
readonly id?: string;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
/** The Private Endpoint Connection resource. */
|
|
1316
|
+
export declare type PrivateEndpointConnection = Resource & {
|
|
1317
|
+
/** The resource of private end point. */
|
|
1318
|
+
privateEndpoint?: PrivateEndpoint;
|
|
1319
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1320
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
1321
|
+
/**
|
|
1322
|
+
* The provisioning state of the private endpoint connection resource.
|
|
1323
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1324
|
+
*/
|
|
1325
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1326
|
+
};
|
|
1327
|
+
|
|
1328
|
+
/** List of private endpoint connection associated with the specified storage account */
|
|
1329
|
+
export declare interface PrivateEndpointConnectionListResult {
|
|
1330
|
+
/** Array of private endpoint connections */
|
|
1331
|
+
value?: PrivateEndpointConnection[];
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
|
1336
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
|
1337
|
+
* this enum contains the known values that the service supports.
|
|
1338
|
+
* ### Known values supported by the service
|
|
1339
|
+
* **Succeeded** \
|
|
1340
|
+
* **Creating** \
|
|
1341
|
+
* **Deleting** \
|
|
1342
|
+
* **Failed**
|
|
1343
|
+
*/
|
|
1344
|
+
export declare type PrivateEndpointConnectionProvisioningState = string;
|
|
1345
|
+
|
|
1346
|
+
/** Interface representing a PrivateEndpointConnections. */
|
|
1347
|
+
export declare interface PrivateEndpointConnections {
|
|
1348
|
+
/**
|
|
1349
|
+
* List all the private endpoint connections associated with the storage account.
|
|
1350
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1351
|
+
* case insensitive.
|
|
1352
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1353
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1354
|
+
* only.
|
|
1355
|
+
* @param options The options parameters.
|
|
1356
|
+
*/
|
|
1357
|
+
list(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Gets the specified private endpoint connection associated with the storage account.
|
|
1360
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1361
|
+
* case insensitive.
|
|
1362
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1363
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1364
|
+
* only.
|
|
1365
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1366
|
+
* Azure resource
|
|
1367
|
+
* @param options The options parameters.
|
|
1368
|
+
*/
|
|
1369
|
+
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
1370
|
+
/**
|
|
1371
|
+
* Update the state of specified private endpoint connection associated with the storage account.
|
|
1372
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1373
|
+
* case insensitive.
|
|
1374
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1375
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1376
|
+
* only.
|
|
1377
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1378
|
+
* Azure resource
|
|
1379
|
+
* @param properties The private endpoint connection properties.
|
|
1380
|
+
* @param options The options parameters.
|
|
1381
|
+
*/
|
|
1382
|
+
put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsPutOptionalParams): Promise<PrivateEndpointConnectionsPutResponse>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Deletes the specified private endpoint connection associated with the storage account.
|
|
1385
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1386
|
+
* case insensitive.
|
|
1387
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1388
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1389
|
+
* only.
|
|
1390
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
1391
|
+
* Azure resource
|
|
1392
|
+
* @param options The options parameters.
|
|
1393
|
+
*/
|
|
1394
|
+
delete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Optional parameters. */
|
|
1398
|
+
export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/** Optional parameters. */
|
|
1402
|
+
export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/** Contains response data for the get operation. */
|
|
1406
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
|
1407
|
+
|
|
1408
|
+
/** Optional parameters. */
|
|
1409
|
+
export declare interface PrivateEndpointConnectionsListOptionalParams extends coreClient.OperationOptions {
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/** Contains response data for the list operation. */
|
|
1413
|
+
export declare type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionListResult;
|
|
1414
|
+
|
|
1415
|
+
/** Optional parameters. */
|
|
1416
|
+
export declare interface PrivateEndpointConnectionsPutOptionalParams extends coreClient.OperationOptions {
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
/** Contains response data for the put operation. */
|
|
1420
|
+
export declare type PrivateEndpointConnectionsPutResponse = PrivateEndpointConnection;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
|
1424
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
|
1425
|
+
* this enum contains the known values that the service supports.
|
|
1426
|
+
* ### Known values supported by the service
|
|
1427
|
+
* **Pending** \
|
|
1428
|
+
* **Approved** \
|
|
1429
|
+
* **Rejected**
|
|
1430
|
+
*/
|
|
1431
|
+
export declare type PrivateEndpointServiceConnectionStatus = string;
|
|
1432
|
+
|
|
1433
|
+
/** A private link resource */
|
|
1434
|
+
export declare type PrivateLinkResource = Resource & {
|
|
1435
|
+
/**
|
|
1436
|
+
* The private link resource group id.
|
|
1437
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1438
|
+
*/
|
|
1439
|
+
readonly groupId?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* The private link resource required member names.
|
|
1442
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1443
|
+
*/
|
|
1444
|
+
readonly requiredMembers?: string[];
|
|
1445
|
+
/** The private link resource Private link DNS zone name. */
|
|
1446
|
+
requiredZoneNames?: string[];
|
|
1447
|
+
};
|
|
1448
|
+
|
|
1449
|
+
/** A list of private link resources */
|
|
1450
|
+
export declare interface PrivateLinkResourceListResult {
|
|
1451
|
+
/** Array of private link resources */
|
|
1452
|
+
value?: PrivateLinkResource[];
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/** Interface representing a PrivateLinkResources. */
|
|
1456
|
+
export declare interface PrivateLinkResources {
|
|
1457
|
+
/**
|
|
1458
|
+
* Gets the private link resources that need to be created for a storage account.
|
|
1459
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
1460
|
+
* case insensitive.
|
|
1461
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
1462
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
1463
|
+
* only.
|
|
1464
|
+
* @param options The options parameters.
|
|
1465
|
+
*/
|
|
1466
|
+
listByStorageAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByStorageAccountOptionalParams): Promise<PrivateLinkResourcesListByStorageAccountResponse>;
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
/** Optional parameters. */
|
|
1470
|
+
export declare interface PrivateLinkResourcesListByStorageAccountOptionalParams extends coreClient.OperationOptions {
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
/** Contains response data for the listByStorageAccount operation. */
|
|
1474
|
+
export declare type PrivateLinkResourcesListByStorageAccountResponse = PrivateLinkResourceListResult;
|
|
1475
|
+
|
|
1476
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
1477
|
+
export declare interface PrivateLinkServiceConnectionState {
|
|
1478
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
1479
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
|
1480
|
+
/** The reason for approval/rejection of the connection. */
|
|
1481
|
+
description?: string;
|
|
1482
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
|
1483
|
+
actionRequired?: string;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/** Defines values for ProvisioningState. */
|
|
1487
|
+
export declare type ProvisioningState = "Creating" | "ResolvingDNS" | "Succeeded";
|
|
1488
|
+
|
|
1489
|
+
/** Defines values for Reason. */
|
|
1490
|
+
export declare type Reason = "AccountNameInvalid" | "AlreadyExists";
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* Defines values for ReasonCode. \
|
|
1494
|
+
* {@link KnownReasonCode} can be used interchangeably with ReasonCode,
|
|
1495
|
+
* this enum contains the known values that the service supports.
|
|
1496
|
+
* ### Known values supported by the service
|
|
1497
|
+
* **QuotaId** \
|
|
1498
|
+
* **NotAvailableForSubscription**
|
|
1499
|
+
*/
|
|
1500
|
+
export declare type ReasonCode = string;
|
|
1501
|
+
|
|
1502
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
1503
|
+
export declare interface Resource {
|
|
1504
|
+
/**
|
|
1505
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
1506
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1507
|
+
*/
|
|
1508
|
+
readonly id?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* The name of the resource
|
|
1511
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1512
|
+
*/
|
|
1513
|
+
readonly name?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
1516
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1517
|
+
*/
|
|
1518
|
+
readonly type?: string;
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
/** The restriction because of which SKU cannot be used. */
|
|
1522
|
+
export declare interface Restriction {
|
|
1523
|
+
/**
|
|
1524
|
+
* The type of restrictions. As of now only possible value for this is location.
|
|
1525
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1526
|
+
*/
|
|
1527
|
+
readonly type?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
|
|
1530
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1531
|
+
*/
|
|
1532
|
+
readonly values?: string[];
|
|
1533
|
+
/** The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. */
|
|
1534
|
+
reasonCode?: ReasonCode;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Defines values for RoutingChoice. \
|
|
1539
|
+
* {@link KnownRoutingChoice} can be used interchangeably with RoutingChoice,
|
|
1540
|
+
* this enum contains the known values that the service supports.
|
|
1541
|
+
* ### Known values supported by the service
|
|
1542
|
+
* **MicrosoftRouting** \
|
|
1543
|
+
* **InternetRouting**
|
|
1544
|
+
*/
|
|
1545
|
+
export declare type RoutingChoice = string;
|
|
1546
|
+
|
|
1547
|
+
/** Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing */
|
|
1548
|
+
export declare interface RoutingPreference {
|
|
1549
|
+
/** Routing Choice defines the kind of network routing opted by the user. */
|
|
1550
|
+
routingChoice?: RoutingChoice;
|
|
1551
|
+
/** A boolean flag which indicates whether microsoft routing storage endpoints are to be published */
|
|
1552
|
+
publishMicrosoftEndpoints?: boolean;
|
|
1553
|
+
/** A boolean flag which indicates whether internet routing storage endpoints are to be published */
|
|
1554
|
+
publishInternetEndpoints?: boolean;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* Defines values for RuleType. \
|
|
1559
|
+
* {@link KnownRuleType} can be used interchangeably with RuleType,
|
|
1560
|
+
* this enum contains the known values that the service supports.
|
|
1561
|
+
* ### Known values supported by the service
|
|
1562
|
+
* **Lifecycle**
|
|
1563
|
+
*/
|
|
1564
|
+
export declare type RuleType = string;
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* Defines values for Services. \
|
|
1568
|
+
* {@link KnownServices} can be used interchangeably with Services,
|
|
1569
|
+
* this enum contains the known values that the service supports.
|
|
1570
|
+
* ### Known values supported by the service
|
|
1571
|
+
* **b** \
|
|
1572
|
+
* **q** \
|
|
1573
|
+
* **t** \
|
|
1574
|
+
* **f**
|
|
1575
|
+
*/
|
|
1576
|
+
export declare type Services = string;
|
|
1577
|
+
|
|
1578
|
+
/** The parameters to list service SAS credentials of a specific resource. */
|
|
1579
|
+
export declare interface ServiceSasParameters {
|
|
1580
|
+
/** The canonical path to the signed resource. */
|
|
1581
|
+
canonicalizedResource: string;
|
|
1582
|
+
/** The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */
|
|
1583
|
+
resource?: SignedResource;
|
|
1584
|
+
/** The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */
|
|
1585
|
+
permissions?: Permissions_2;
|
|
1586
|
+
/** An IP address or a range of IP addresses from which to accept requests. */
|
|
1587
|
+
iPAddressOrRange?: string;
|
|
1588
|
+
/** The protocol permitted for a request made with the account SAS. */
|
|
1589
|
+
protocols?: HttpProtocol;
|
|
1590
|
+
/** The time at which the SAS becomes valid. */
|
|
1591
|
+
sharedAccessStartTime?: Date;
|
|
1592
|
+
/** The time at which the shared access signature becomes invalid. */
|
|
1593
|
+
sharedAccessExpiryTime?: Date;
|
|
1594
|
+
/** A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */
|
|
1595
|
+
identifier?: string;
|
|
1596
|
+
/** The start of partition key. */
|
|
1597
|
+
partitionKeyStart?: string;
|
|
1598
|
+
/** The end of partition key. */
|
|
1599
|
+
partitionKeyEnd?: string;
|
|
1600
|
+
/** The start of row key. */
|
|
1601
|
+
rowKeyStart?: string;
|
|
1602
|
+
/** The end of row key. */
|
|
1603
|
+
rowKeyEnd?: string;
|
|
1604
|
+
/** The key to sign the account SAS token with. */
|
|
1605
|
+
keyToSign?: string;
|
|
1606
|
+
/** The response header override for cache control. */
|
|
1607
|
+
cacheControl?: string;
|
|
1608
|
+
/** The response header override for content disposition. */
|
|
1609
|
+
contentDisposition?: string;
|
|
1610
|
+
/** The response header override for content encoding. */
|
|
1611
|
+
contentEncoding?: string;
|
|
1612
|
+
/** The response header override for content language. */
|
|
1613
|
+
contentLanguage?: string;
|
|
1614
|
+
/** The response header override for content type. */
|
|
1615
|
+
contentType?: string;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/** One property of operation, include metric specifications. */
|
|
1619
|
+
export declare interface ServiceSpecification {
|
|
1620
|
+
/** Metric specifications of operation. */
|
|
1621
|
+
metricSpecifications?: MetricSpecification[];
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Defines values for SignedResource. \
|
|
1626
|
+
* {@link KnownSignedResource} can be used interchangeably with SignedResource,
|
|
1627
|
+
* this enum contains the known values that the service supports.
|
|
1628
|
+
* ### Known values supported by the service
|
|
1629
|
+
* **b** \
|
|
1630
|
+
* **c** \
|
|
1631
|
+
* **f** \
|
|
1632
|
+
* **s**
|
|
1633
|
+
*/
|
|
1634
|
+
export declare type SignedResource = string;
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* Defines values for SignedResourceTypes. \
|
|
1638
|
+
* {@link KnownSignedResourceTypes} can be used interchangeably with SignedResourceTypes,
|
|
1639
|
+
* this enum contains the known values that the service supports.
|
|
1640
|
+
* ### Known values supported by the service
|
|
1641
|
+
* **s** \
|
|
1642
|
+
* **c** \
|
|
1643
|
+
* **o**
|
|
1644
|
+
*/
|
|
1645
|
+
export declare type SignedResourceTypes = string;
|
|
1646
|
+
|
|
1647
|
+
/** The SKU of the storage account. */
|
|
1648
|
+
export declare interface Sku {
|
|
1649
|
+
/** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
|
|
1650
|
+
name: SkuName;
|
|
1651
|
+
/**
|
|
1652
|
+
* The SKU tier. This is based on the SKU name.
|
|
1653
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1654
|
+
*/
|
|
1655
|
+
readonly tier?: SkuTier;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/** The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. */
|
|
1659
|
+
export declare interface SKUCapability {
|
|
1660
|
+
/**
|
|
1661
|
+
* The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
|
|
1662
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1663
|
+
*/
|
|
1664
|
+
readonly name?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* A string value to indicate states of given capability. Possibly 'true' or 'false'.
|
|
1667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1668
|
+
*/
|
|
1669
|
+
readonly value?: string;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/** Storage SKU and its properties */
|
|
1673
|
+
export declare interface SkuInformation {
|
|
1674
|
+
/** The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. */
|
|
1675
|
+
name: SkuName;
|
|
1676
|
+
/**
|
|
1677
|
+
* The SKU tier. This is based on the SKU name.
|
|
1678
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1679
|
+
*/
|
|
1680
|
+
readonly tier?: SkuTier;
|
|
1681
|
+
/**
|
|
1682
|
+
* The type of the resource, usually it is 'storageAccounts'.
|
|
1683
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1684
|
+
*/
|
|
1685
|
+
readonly resourceType?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* Indicates the type of storage account.
|
|
1688
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1689
|
+
*/
|
|
1690
|
+
readonly kind?: Kind;
|
|
1691
|
+
/**
|
|
1692
|
+
* The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
|
|
1693
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1694
|
+
*/
|
|
1695
|
+
readonly locations?: string[];
|
|
1696
|
+
/**
|
|
1697
|
+
* The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
|
|
1698
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1699
|
+
*/
|
|
1700
|
+
readonly capabilities?: SKUCapability[];
|
|
1701
|
+
/** The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. */
|
|
1702
|
+
restrictions?: Restriction[];
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Defines values for SkuName. \
|
|
1707
|
+
* {@link KnownSkuName} can be used interchangeably with SkuName,
|
|
1708
|
+
* this enum contains the known values that the service supports.
|
|
1709
|
+
* ### Known values supported by the service
|
|
1710
|
+
* **Standard_LRS** \
|
|
1711
|
+
* **Standard_GRS** \
|
|
1712
|
+
* **Standard_RAGRS** \
|
|
1713
|
+
* **Standard_ZRS** \
|
|
1714
|
+
* **Premium_LRS** \
|
|
1715
|
+
* **Premium_ZRS** \
|
|
1716
|
+
* **Standard_GZRS** \
|
|
1717
|
+
* **Standard_RAGZRS**
|
|
1718
|
+
*/
|
|
1719
|
+
export declare type SkuName = string;
|
|
1720
|
+
|
|
1721
|
+
/** Interface representing a Skus. */
|
|
1722
|
+
export declare interface Skus {
|
|
1723
|
+
/**
|
|
1724
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
1725
|
+
* @param options The options parameters.
|
|
1726
|
+
*/
|
|
1727
|
+
list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
/** Optional parameters. */
|
|
1731
|
+
export declare interface SkusListOptionalParams extends coreClient.OperationOptions {
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
/** Contains response data for the list operation. */
|
|
1735
|
+
export declare type SkusListResponse = StorageSkuListResult;
|
|
1736
|
+
|
|
1737
|
+
/** Defines values for SkuTier. */
|
|
1738
|
+
export declare type SkuTier = "Standard" | "Premium";
|
|
1739
|
+
|
|
1740
|
+
/** Defines values for State. */
|
|
1741
|
+
export declare type State = "provisioning" | "deprovisioning" | "succeeded" | "failed" | "networkSourceDeleted";
|
|
1742
|
+
|
|
1743
|
+
/** The storage account. */
|
|
1744
|
+
export declare type StorageAccount = TrackedResource & {
|
|
1745
|
+
/**
|
|
1746
|
+
* Gets the SKU.
|
|
1747
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1748
|
+
*/
|
|
1749
|
+
readonly sku?: Sku;
|
|
1750
|
+
/**
|
|
1751
|
+
* Gets the Kind.
|
|
1752
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1753
|
+
*/
|
|
1754
|
+
readonly kind?: Kind;
|
|
1755
|
+
/** The identity of the resource. */
|
|
1756
|
+
identity?: Identity;
|
|
1757
|
+
/**
|
|
1758
|
+
* Gets the status of the storage account at the time the operation was called.
|
|
1759
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1760
|
+
*/
|
|
1761
|
+
readonly provisioningState?: ProvisioningState;
|
|
1762
|
+
/**
|
|
1763
|
+
* Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
|
|
1764
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1765
|
+
*/
|
|
1766
|
+
readonly primaryEndpoints?: Endpoints;
|
|
1767
|
+
/**
|
|
1768
|
+
* Gets the location of the primary data center for the storage account.
|
|
1769
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1770
|
+
*/
|
|
1771
|
+
readonly primaryLocation?: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* Gets the status indicating whether the primary location of the storage account is available or unavailable.
|
|
1774
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1775
|
+
*/
|
|
1776
|
+
readonly statusOfPrimary?: AccountStatus;
|
|
1777
|
+
/**
|
|
1778
|
+
* Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
|
|
1779
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1780
|
+
*/
|
|
1781
|
+
readonly lastGeoFailoverTime?: Date;
|
|
1782
|
+
/**
|
|
1783
|
+
* Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
|
|
1784
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1785
|
+
*/
|
|
1786
|
+
readonly secondaryLocation?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.
|
|
1789
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1790
|
+
*/
|
|
1791
|
+
readonly statusOfSecondary?: AccountStatus;
|
|
1792
|
+
/**
|
|
1793
|
+
* Gets the creation date and time of the storage account in UTC.
|
|
1794
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1795
|
+
*/
|
|
1796
|
+
readonly creationTime?: Date;
|
|
1797
|
+
/**
|
|
1798
|
+
* Gets the custom domain the user assigned to this storage account.
|
|
1799
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1800
|
+
*/
|
|
1801
|
+
readonly customDomain?: CustomDomain;
|
|
1802
|
+
/**
|
|
1803
|
+
* Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
|
|
1804
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1805
|
+
*/
|
|
1806
|
+
readonly secondaryEndpoints?: Endpoints;
|
|
1807
|
+
/**
|
|
1808
|
+
* Gets the encryption settings on the account. If unspecified, the account is unencrypted.
|
|
1809
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1810
|
+
*/
|
|
1811
|
+
readonly encryption?: Encryption;
|
|
1812
|
+
/**
|
|
1813
|
+
* Required for storage accounts where kind = BlobStorage. The access tier used for billing.
|
|
1814
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1815
|
+
*/
|
|
1816
|
+
readonly accessTier?: AccessTier;
|
|
1817
|
+
/** Provides the identity based authentication settings for Azure Files. */
|
|
1818
|
+
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
|
|
1819
|
+
/** Allows https traffic only to storage service if sets to true. */
|
|
1820
|
+
enableHttpsTrafficOnly?: boolean;
|
|
1821
|
+
/**
|
|
1822
|
+
* Network rule set
|
|
1823
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1824
|
+
*/
|
|
1825
|
+
readonly networkRuleSet?: NetworkRuleSet;
|
|
1826
|
+
/** Account HierarchicalNamespace enabled if sets to true. */
|
|
1827
|
+
isHnsEnabled?: boolean;
|
|
1828
|
+
/**
|
|
1829
|
+
* Geo Replication Stats
|
|
1830
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1831
|
+
*/
|
|
1832
|
+
readonly geoReplicationStats?: GeoReplicationStats;
|
|
1833
|
+
/**
|
|
1834
|
+
* If the failover is in progress, the value will be true, otherwise, it will be null.
|
|
1835
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1836
|
+
*/
|
|
1837
|
+
readonly failoverInProgress?: boolean;
|
|
1838
|
+
/** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
|
|
1839
|
+
largeFileSharesState?: LargeFileSharesState;
|
|
1840
|
+
/**
|
|
1841
|
+
* List of private endpoint connection associated with the specified storage account
|
|
1842
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1843
|
+
*/
|
|
1844
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
|
1845
|
+
/** Maintains information about the network routing choice opted by the user for data transfer */
|
|
1846
|
+
routingPreference?: RoutingPreference;
|
|
1847
|
+
/**
|
|
1848
|
+
* Blob restore status
|
|
1849
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1850
|
+
*/
|
|
1851
|
+
readonly blobRestoreStatus?: BlobRestoreStatus;
|
|
1852
|
+
/** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
|
|
1853
|
+
allowBlobPublicAccess?: boolean;
|
|
1854
|
+
/** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
|
|
1855
|
+
minimumTlsVersion?: MinimumTlsVersion;
|
|
1856
|
+
/** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
|
|
1857
|
+
allowSharedKeyAccess?: boolean;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
/** The parameters used to check the availability of the storage account name. */
|
|
1861
|
+
export declare interface StorageAccountCheckNameAvailabilityParameters {
|
|
1862
|
+
/** The storage account name. */
|
|
1863
|
+
name: string;
|
|
1864
|
+
/** The type of resource, Microsoft.Storage/storageAccounts */
|
|
1865
|
+
type: "Microsoft.Storage/storageAccounts";
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
/** The parameters used when creating a storage account. */
|
|
1869
|
+
export declare interface StorageAccountCreateParameters {
|
|
1870
|
+
/** Required. Gets or sets the SKU name. */
|
|
1871
|
+
sku: Sku;
|
|
1872
|
+
/** Required. Indicates the type of storage account. */
|
|
1873
|
+
kind: Kind;
|
|
1874
|
+
/** Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. */
|
|
1875
|
+
location: string;
|
|
1876
|
+
/** Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. */
|
|
1877
|
+
tags?: {
|
|
1878
|
+
[propertyName: string]: string;
|
|
1879
|
+
};
|
|
1880
|
+
/** The identity of the resource. */
|
|
1881
|
+
identity?: Identity;
|
|
1882
|
+
/** User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
|
|
1883
|
+
customDomain?: CustomDomain;
|
|
1884
|
+
/** Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled. */
|
|
1885
|
+
encryption?: Encryption;
|
|
1886
|
+
/** Network rule set */
|
|
1887
|
+
networkRuleSet?: NetworkRuleSet;
|
|
1888
|
+
/** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
|
|
1889
|
+
accessTier?: AccessTier;
|
|
1890
|
+
/** Provides the identity based authentication settings for Azure Files. */
|
|
1891
|
+
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
|
|
1892
|
+
/** Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. */
|
|
1893
|
+
enableHttpsTrafficOnly?: boolean;
|
|
1894
|
+
/** Account HierarchicalNamespace enabled if sets to true. */
|
|
1895
|
+
isHnsEnabled?: boolean;
|
|
1896
|
+
/** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
|
|
1897
|
+
largeFileSharesState?: LargeFileSharesState;
|
|
1898
|
+
/** Maintains information about the network routing choice opted by the user for data transfer */
|
|
1899
|
+
routingPreference?: RoutingPreference;
|
|
1900
|
+
/** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
|
|
1901
|
+
allowBlobPublicAccess?: boolean;
|
|
1902
|
+
/** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
|
|
1903
|
+
minimumTlsVersion?: MinimumTlsVersion;
|
|
1904
|
+
/** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
|
|
1905
|
+
allowSharedKeyAccess?: boolean;
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
/** Defines values for StorageAccountExpand. */
|
|
1909
|
+
export declare type StorageAccountExpand = "geoReplicationStats" | "blobRestoreStatus";
|
|
1910
|
+
|
|
1911
|
+
/** The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. */
|
|
1912
|
+
export declare interface StorageAccountInternetEndpoints {
|
|
1913
|
+
/**
|
|
1914
|
+
* Gets the blob endpoint.
|
|
1915
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1916
|
+
*/
|
|
1917
|
+
readonly blob?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* Gets the file endpoint.
|
|
1920
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1921
|
+
*/
|
|
1922
|
+
readonly file?: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* Gets the web endpoint.
|
|
1925
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1926
|
+
*/
|
|
1927
|
+
readonly web?: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* Gets the dfs endpoint.
|
|
1930
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1931
|
+
*/
|
|
1932
|
+
readonly dfs?: string;
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
/** An access key for the storage account. */
|
|
1936
|
+
export declare interface StorageAccountKey {
|
|
1937
|
+
/**
|
|
1938
|
+
* Name of the key.
|
|
1939
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1940
|
+
*/
|
|
1941
|
+
readonly keyName?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* Base 64-encoded value of the key.
|
|
1944
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1945
|
+
*/
|
|
1946
|
+
readonly value?: string;
|
|
1947
|
+
/**
|
|
1948
|
+
* Permissions for the key -- read-only or full permissions.
|
|
1949
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1950
|
+
*/
|
|
1951
|
+
readonly permissions?: KeyPermission;
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/** The response from the ListKeys operation. */
|
|
1955
|
+
export declare interface StorageAccountListKeysResult {
|
|
1956
|
+
/**
|
|
1957
|
+
* Gets the list of storage account keys and their properties for the specified storage account.
|
|
1958
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1959
|
+
*/
|
|
1960
|
+
readonly keys?: StorageAccountKey[];
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/** The response from the List Storage Accounts operation. */
|
|
1964
|
+
export declare interface StorageAccountListResult {
|
|
1965
|
+
/**
|
|
1966
|
+
* Gets the list of storage accounts and their properties.
|
|
1967
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1968
|
+
*/
|
|
1969
|
+
readonly value?: StorageAccount[];
|
|
1970
|
+
/**
|
|
1971
|
+
* Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size.
|
|
1972
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1973
|
+
*/
|
|
1974
|
+
readonly nextLink?: string;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/** The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. */
|
|
1978
|
+
export declare interface StorageAccountMicrosoftEndpoints {
|
|
1979
|
+
/**
|
|
1980
|
+
* Gets the blob endpoint.
|
|
1981
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1982
|
+
*/
|
|
1983
|
+
readonly blob?: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Gets the queue endpoint.
|
|
1986
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1987
|
+
*/
|
|
1988
|
+
readonly queue?: string;
|
|
1989
|
+
/**
|
|
1990
|
+
* Gets the table endpoint.
|
|
1991
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1992
|
+
*/
|
|
1993
|
+
readonly table?: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* Gets the file endpoint.
|
|
1996
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1997
|
+
*/
|
|
1998
|
+
readonly file?: string;
|
|
1999
|
+
/**
|
|
2000
|
+
* Gets the web endpoint.
|
|
2001
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2002
|
+
*/
|
|
2003
|
+
readonly web?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Gets the dfs endpoint.
|
|
2006
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2007
|
+
*/
|
|
2008
|
+
readonly dfs?: string;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
/** The parameters used to regenerate the storage account key. */
|
|
2012
|
+
export declare interface StorageAccountRegenerateKeyParameters {
|
|
2013
|
+
/** The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. */
|
|
2014
|
+
keyName: string;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
/** Interface representing a StorageAccounts. */
|
|
2018
|
+
export declare interface StorageAccounts {
|
|
2019
|
+
/**
|
|
2020
|
+
* Lists all the storage accounts available under the subscription. Note that storage keys are not
|
|
2021
|
+
* returned; use the ListKeys operation for this.
|
|
2022
|
+
* @param options The options parameters.
|
|
2023
|
+
*/
|
|
2024
|
+
list(options?: StorageAccountsListOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
|
|
2025
|
+
/**
|
|
2026
|
+
* Lists all the storage accounts available under the given resource group. Note that storage keys are
|
|
2027
|
+
* not returned; use the ListKeys operation for this.
|
|
2028
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2029
|
+
* case insensitive.
|
|
2030
|
+
* @param options The options parameters.
|
|
2031
|
+
*/
|
|
2032
|
+
listByResourceGroup(resourceGroupName: string, options?: StorageAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageAccount>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Checks that the storage account name is valid and is not already in use.
|
|
2035
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2036
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2037
|
+
* only.
|
|
2038
|
+
* @param options The options parameters.
|
|
2039
|
+
*/
|
|
2040
|
+
checkNameAvailability(accountName: StorageAccountCheckNameAvailabilityParameters, options?: StorageAccountsCheckNameAvailabilityOptionalParams): Promise<StorageAccountsCheckNameAvailabilityResponse>;
|
|
2041
|
+
/**
|
|
2042
|
+
* Asynchronously creates a new storage account with the specified parameters. If an account is already
|
|
2043
|
+
* created and a subsequent create request is issued with different properties, the account properties
|
|
2044
|
+
* will be updated. If an account is already created and a subsequent create or update request is
|
|
2045
|
+
* issued with the exact same set of properties, the request will succeed.
|
|
2046
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2047
|
+
* case insensitive.
|
|
2048
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2049
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2050
|
+
* only.
|
|
2051
|
+
* @param parameters The parameters to provide for the created account.
|
|
2052
|
+
* @param options The options parameters.
|
|
2053
|
+
*/
|
|
2054
|
+
beginCreate(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsCreateResponse>, StorageAccountsCreateResponse>>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Asynchronously creates a new storage account with the specified parameters. If an account is already
|
|
2057
|
+
* created and a subsequent create request is issued with different properties, the account properties
|
|
2058
|
+
* will be updated. If an account is already created and a subsequent create or update request is
|
|
2059
|
+
* issued with the exact same set of properties, the request will succeed.
|
|
2060
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2061
|
+
* case insensitive.
|
|
2062
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2063
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2064
|
+
* only.
|
|
2065
|
+
* @param parameters The parameters to provide for the created account.
|
|
2066
|
+
* @param options The options parameters.
|
|
2067
|
+
*/
|
|
2068
|
+
beginCreateAndWait(resourceGroupName: string, accountName: string, parameters: StorageAccountCreateParameters, options?: StorageAccountsCreateOptionalParams): Promise<StorageAccountsCreateResponse>;
|
|
2069
|
+
/**
|
|
2070
|
+
* Deletes a storage account in Microsoft Azure.
|
|
2071
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2072
|
+
* case insensitive.
|
|
2073
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2074
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2075
|
+
* only.
|
|
2076
|
+
* @param options The options parameters.
|
|
2077
|
+
*/
|
|
2078
|
+
delete(resourceGroupName: string, accountName: string, options?: StorageAccountsDeleteOptionalParams): Promise<void>;
|
|
2079
|
+
/**
|
|
2080
|
+
* Returns the properties for the specified storage account including but not limited to name, SKU
|
|
2081
|
+
* name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
2082
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2083
|
+
* case insensitive.
|
|
2084
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2085
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2086
|
+
* only.
|
|
2087
|
+
* @param options The options parameters.
|
|
2088
|
+
*/
|
|
2089
|
+
getProperties(resourceGroupName: string, accountName: string, options?: StorageAccountsGetPropertiesOptionalParams): Promise<StorageAccountsGetPropertiesResponse>;
|
|
2090
|
+
/**
|
|
2091
|
+
* The update operation can be used to update the SKU, encryption, access tier, or tags for a storage
|
|
2092
|
+
* account. It can also be used to map the account to a custom domain. Only one custom domain is
|
|
2093
|
+
* supported per storage account; the replacement/change of custom domain is not supported. In order to
|
|
2094
|
+
* replace an old custom domain, the old value must be cleared/unregistered before a new value can be
|
|
2095
|
+
* set. The update of multiple properties is supported. This call does not change the storage keys for
|
|
2096
|
+
* the account. If you want to change the storage account keys, use the regenerate keys operation. The
|
|
2097
|
+
* location and name of the storage account cannot be changed after creation.
|
|
2098
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2099
|
+
* case insensitive.
|
|
2100
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2101
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2102
|
+
* only.
|
|
2103
|
+
* @param parameters The parameters to provide for the updated account.
|
|
2104
|
+
* @param options The options parameters.
|
|
2105
|
+
*/
|
|
2106
|
+
update(resourceGroupName: string, accountName: string, parameters: StorageAccountUpdateParameters, options?: StorageAccountsUpdateOptionalParams): Promise<StorageAccountsUpdateResponse>;
|
|
2107
|
+
/**
|
|
2108
|
+
* Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage
|
|
2109
|
+
* account.
|
|
2110
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2111
|
+
* case insensitive.
|
|
2112
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2113
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2114
|
+
* only.
|
|
2115
|
+
* @param options The options parameters.
|
|
2116
|
+
*/
|
|
2117
|
+
listKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsListKeysOptionalParams): Promise<StorageAccountsListKeysResponse>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
|
2120
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2121
|
+
* case insensitive.
|
|
2122
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2123
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2124
|
+
* only.
|
|
2125
|
+
* @param regenerateKey Specifies name of the key which should be regenerated -- key1, key2, kerb1,
|
|
2126
|
+
* kerb2.
|
|
2127
|
+
* @param options The options parameters.
|
|
2128
|
+
*/
|
|
2129
|
+
regenerateKey(resourceGroupName: string, accountName: string, regenerateKey: StorageAccountRegenerateKeyParameters, options?: StorageAccountsRegenerateKeyOptionalParams): Promise<StorageAccountsRegenerateKeyResponse>;
|
|
2130
|
+
/**
|
|
2131
|
+
* List SAS credentials of a storage account.
|
|
2132
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2133
|
+
* case insensitive.
|
|
2134
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2135
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2136
|
+
* only.
|
|
2137
|
+
* @param parameters The parameters to provide to list SAS credentials for the storage account.
|
|
2138
|
+
* @param options The options parameters.
|
|
2139
|
+
*/
|
|
2140
|
+
listAccountSAS(resourceGroupName: string, accountName: string, parameters: AccountSasParameters, options?: StorageAccountsListAccountSASOptionalParams): Promise<StorageAccountsListAccountSASResponse>;
|
|
2141
|
+
/**
|
|
2142
|
+
* List service SAS credentials of a specific resource.
|
|
2143
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2144
|
+
* case insensitive.
|
|
2145
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2146
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2147
|
+
* only.
|
|
2148
|
+
* @param parameters The parameters to provide to list service SAS credentials.
|
|
2149
|
+
* @param options The options parameters.
|
|
2150
|
+
*/
|
|
2151
|
+
listServiceSAS(resourceGroupName: string, accountName: string, parameters: ServiceSasParameters, options?: StorageAccountsListServiceSASOptionalParams): Promise<StorageAccountsListServiceSASResponse>;
|
|
2152
|
+
/**
|
|
2153
|
+
* Failover request can be triggered for a storage account in case of availability issues. The failover
|
|
2154
|
+
* occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
|
|
2155
|
+
* secondary cluster will become primary after failover.
|
|
2156
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2157
|
+
* case insensitive.
|
|
2158
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2159
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2160
|
+
* only.
|
|
2161
|
+
* @param options The options parameters.
|
|
2162
|
+
*/
|
|
2163
|
+
beginFailover(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
2164
|
+
/**
|
|
2165
|
+
* Failover request can be triggered for a storage account in case of availability issues. The failover
|
|
2166
|
+
* occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
|
|
2167
|
+
* secondary cluster will become primary after failover.
|
|
2168
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2169
|
+
* case insensitive.
|
|
2170
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2171
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2172
|
+
* only.
|
|
2173
|
+
* @param options The options parameters.
|
|
2174
|
+
*/
|
|
2175
|
+
beginFailoverAndWait(resourceGroupName: string, accountName: string, options?: StorageAccountsFailoverOptionalParams): Promise<void>;
|
|
2176
|
+
/**
|
|
2177
|
+
* Restore blobs in the specified blob ranges
|
|
2178
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2179
|
+
* case insensitive.
|
|
2180
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2181
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2182
|
+
* only.
|
|
2183
|
+
* @param parameters The parameters to provide for restore blob ranges.
|
|
2184
|
+
* @param options The options parameters.
|
|
2185
|
+
*/
|
|
2186
|
+
beginRestoreBlobRanges(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<PollerLike<PollOperationState<StorageAccountsRestoreBlobRangesResponse>, StorageAccountsRestoreBlobRangesResponse>>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Restore blobs in the specified blob ranges
|
|
2189
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2190
|
+
* case insensitive.
|
|
2191
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2192
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2193
|
+
* only.
|
|
2194
|
+
* @param parameters The parameters to provide for restore blob ranges.
|
|
2195
|
+
* @param options The options parameters.
|
|
2196
|
+
*/
|
|
2197
|
+
beginRestoreBlobRangesAndWait(resourceGroupName: string, accountName: string, parameters: BlobRestoreParameters, options?: StorageAccountsRestoreBlobRangesOptionalParams): Promise<StorageAccountsRestoreBlobRangesResponse>;
|
|
2198
|
+
/**
|
|
2199
|
+
* Revoke user delegation keys.
|
|
2200
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
2201
|
+
* case insensitive.
|
|
2202
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
2203
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
2204
|
+
* only.
|
|
2205
|
+
* @param options The options parameters.
|
|
2206
|
+
*/
|
|
2207
|
+
revokeUserDelegationKeys(resourceGroupName: string, accountName: string, options?: StorageAccountsRevokeUserDelegationKeysOptionalParams): Promise<void>;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
/** Optional parameters. */
|
|
2211
|
+
export declare interface StorageAccountsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
2215
|
+
export declare type StorageAccountsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
2216
|
+
|
|
2217
|
+
/** Optional parameters. */
|
|
2218
|
+
export declare interface StorageAccountsCreateOptionalParams extends coreClient.OperationOptions {
|
|
2219
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2220
|
+
updateIntervalInMs?: number;
|
|
2221
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2222
|
+
resumeFrom?: string;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
/** Contains response data for the create operation. */
|
|
2226
|
+
export declare type StorageAccountsCreateResponse = StorageAccount;
|
|
2227
|
+
|
|
2228
|
+
/** Optional parameters. */
|
|
2229
|
+
export declare interface StorageAccountsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
/** Optional parameters. */
|
|
2233
|
+
export declare interface StorageAccountsFailoverOptionalParams extends coreClient.OperationOptions {
|
|
2234
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2235
|
+
updateIntervalInMs?: number;
|
|
2236
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2237
|
+
resumeFrom?: string;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
/** Optional parameters. */
|
|
2241
|
+
export declare interface StorageAccountsGetPropertiesOptionalParams extends coreClient.OperationOptions {
|
|
2242
|
+
/** May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. */
|
|
2243
|
+
expand?: StorageAccountExpand;
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
/** Contains response data for the getProperties operation. */
|
|
2247
|
+
export declare type StorageAccountsGetPropertiesResponse = StorageAccount;
|
|
2248
|
+
|
|
2249
|
+
/** Optional parameters. */
|
|
2250
|
+
export declare interface StorageAccountsListAccountSASOptionalParams extends coreClient.OperationOptions {
|
|
2251
|
+
}
|
|
2252
|
+
|
|
2253
|
+
/** Contains response data for the listAccountSAS operation. */
|
|
2254
|
+
export declare type StorageAccountsListAccountSASResponse = ListAccountSasResponse;
|
|
2255
|
+
|
|
2256
|
+
/** Optional parameters. */
|
|
2257
|
+
export declare interface StorageAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
2261
|
+
export declare type StorageAccountsListByResourceGroupResponse = StorageAccountListResult;
|
|
2262
|
+
|
|
2263
|
+
/** Optional parameters. */
|
|
2264
|
+
export declare interface StorageAccountsListKeysOptionalParams extends coreClient.OperationOptions {
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
/** Contains response data for the listKeys operation. */
|
|
2268
|
+
export declare type StorageAccountsListKeysResponse = StorageAccountListKeysResult;
|
|
2269
|
+
|
|
2270
|
+
/** Optional parameters. */
|
|
2271
|
+
export declare interface StorageAccountsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
/** Contains response data for the listNext operation. */
|
|
2275
|
+
export declare type StorageAccountsListNextResponse = StorageAccountListResult;
|
|
2276
|
+
|
|
2277
|
+
/** Optional parameters. */
|
|
2278
|
+
export declare interface StorageAccountsListOptionalParams extends coreClient.OperationOptions {
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
/** Contains response data for the list operation. */
|
|
2282
|
+
export declare type StorageAccountsListResponse = StorageAccountListResult;
|
|
2283
|
+
|
|
2284
|
+
/** Optional parameters. */
|
|
2285
|
+
export declare interface StorageAccountsListServiceSASOptionalParams extends coreClient.OperationOptions {
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
/** Contains response data for the listServiceSAS operation. */
|
|
2289
|
+
export declare type StorageAccountsListServiceSASResponse = ListServiceSasResponse;
|
|
2290
|
+
|
|
2291
|
+
/** Optional parameters. */
|
|
2292
|
+
export declare interface StorageAccountsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
/** Contains response data for the regenerateKey operation. */
|
|
2296
|
+
export declare type StorageAccountsRegenerateKeyResponse = StorageAccountListKeysResult;
|
|
2297
|
+
|
|
2298
|
+
/** Optional parameters. */
|
|
2299
|
+
export declare interface StorageAccountsRestoreBlobRangesOptionalParams extends coreClient.OperationOptions {
|
|
2300
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2301
|
+
updateIntervalInMs?: number;
|
|
2302
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2303
|
+
resumeFrom?: string;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
/** Contains response data for the restoreBlobRanges operation. */
|
|
2307
|
+
export declare type StorageAccountsRestoreBlobRangesResponse = BlobRestoreStatus;
|
|
2308
|
+
|
|
2309
|
+
/** Optional parameters. */
|
|
2310
|
+
export declare interface StorageAccountsRevokeUserDelegationKeysOptionalParams extends coreClient.OperationOptions {
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
/** Optional parameters. */
|
|
2314
|
+
export declare interface StorageAccountsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
/** Contains response data for the update operation. */
|
|
2318
|
+
export declare type StorageAccountsUpdateResponse = StorageAccount;
|
|
2319
|
+
|
|
2320
|
+
/** The parameters that can be provided when updating the storage account properties. */
|
|
2321
|
+
export declare interface StorageAccountUpdateParameters {
|
|
2322
|
+
/** Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. */
|
|
2323
|
+
sku?: Sku;
|
|
2324
|
+
/** Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters. */
|
|
2325
|
+
tags?: {
|
|
2326
|
+
[propertyName: string]: string;
|
|
2327
|
+
};
|
|
2328
|
+
/** The identity of the resource. */
|
|
2329
|
+
identity?: Identity;
|
|
2330
|
+
/** Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. */
|
|
2331
|
+
kind?: Kind;
|
|
2332
|
+
/** Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. */
|
|
2333
|
+
customDomain?: CustomDomain;
|
|
2334
|
+
/** Provides the encryption settings on the account. The default setting is unencrypted. */
|
|
2335
|
+
encryption?: Encryption;
|
|
2336
|
+
/** Required for storage accounts where kind = BlobStorage. The access tier used for billing. */
|
|
2337
|
+
accessTier?: AccessTier;
|
|
2338
|
+
/** Provides the identity based authentication settings for Azure Files. */
|
|
2339
|
+
azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication;
|
|
2340
|
+
/** Allows https traffic only to storage service if sets to true. */
|
|
2341
|
+
enableHttpsTrafficOnly?: boolean;
|
|
2342
|
+
/** Network rule set */
|
|
2343
|
+
networkRuleSet?: NetworkRuleSet;
|
|
2344
|
+
/** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
|
|
2345
|
+
largeFileSharesState?: LargeFileSharesState;
|
|
2346
|
+
/** Maintains information about the network routing choice opted by the user for data transfer */
|
|
2347
|
+
routingPreference?: RoutingPreference;
|
|
2348
|
+
/** Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. */
|
|
2349
|
+
allowBlobPublicAccess?: boolean;
|
|
2350
|
+
/** Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. */
|
|
2351
|
+
minimumTlsVersion?: MinimumTlsVersion;
|
|
2352
|
+
/** Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. */
|
|
2353
|
+
allowSharedKeyAccess?: boolean;
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
export declare class StorageManagementClient extends coreClient.ServiceClient {
|
|
2357
|
+
$host: string;
|
|
2358
|
+
apiVersion: string;
|
|
2359
|
+
subscriptionId: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* Initializes a new instance of the StorageManagementClient class.
|
|
2362
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2363
|
+
* @param subscriptionId The ID of the target subscription.
|
|
2364
|
+
* @param options The parameter options
|
|
2365
|
+
*/
|
|
2366
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageManagementClientOptionalParams);
|
|
2367
|
+
operations: Operations;
|
|
2368
|
+
skus: Skus;
|
|
2369
|
+
storageAccounts: StorageAccounts;
|
|
2370
|
+
usages: Usages;
|
|
2371
|
+
managementPolicies: ManagementPolicies;
|
|
2372
|
+
blobInventoryPolicies: BlobInventoryPolicies;
|
|
2373
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
2374
|
+
privateLinkResources: PrivateLinkResources;
|
|
2375
|
+
objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
|
|
2376
|
+
encryptionScopes: EncryptionScopes;
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2379
|
+
/** Optional parameters. */
|
|
2380
|
+
export declare interface StorageManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
2381
|
+
/** server parameter */
|
|
2382
|
+
$host?: string;
|
|
2383
|
+
/** Api Version */
|
|
2384
|
+
apiVersion?: string;
|
|
2385
|
+
/** Overrides client endpoint. */
|
|
2386
|
+
endpoint?: string;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
/** The response from the List Storage SKUs operation. */
|
|
2390
|
+
export declare interface StorageSkuListResult {
|
|
2391
|
+
/**
|
|
2392
|
+
* Get the list result of storage SKUs and their properties.
|
|
2393
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2394
|
+
*/
|
|
2395
|
+
readonly value?: SkuInformation[];
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
2399
|
+
export declare interface SystemData {
|
|
2400
|
+
/** The identity that created the resource. */
|
|
2401
|
+
createdBy?: string;
|
|
2402
|
+
/** The type of identity that created the resource. */
|
|
2403
|
+
createdByType?: CreatedByType;
|
|
2404
|
+
/** The timestamp of resource creation (UTC). */
|
|
2405
|
+
createdAt?: Date;
|
|
2406
|
+
/** The identity that last modified the resource. */
|
|
2407
|
+
lastModifiedBy?: string;
|
|
2408
|
+
/** The type of identity that last modified the resource. */
|
|
2409
|
+
lastModifiedByType?: CreatedByType;
|
|
2410
|
+
/** The timestamp of resource last modification (UTC) */
|
|
2411
|
+
lastModifiedAt?: Date;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
/** Blob index tag based filtering for blob objects */
|
|
2415
|
+
export declare interface TagFilter {
|
|
2416
|
+
/** This is the filter tag name, it can have 1 - 128 characters */
|
|
2417
|
+
name: string;
|
|
2418
|
+
/** This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported */
|
|
2419
|
+
op: string;
|
|
2420
|
+
/** This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters */
|
|
2421
|
+
value: string;
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2425
|
+
export declare type TrackedResource = Resource & {
|
|
2426
|
+
/** Resource tags. */
|
|
2427
|
+
tags?: {
|
|
2428
|
+
[propertyName: string]: string;
|
|
2429
|
+
};
|
|
2430
|
+
/** The geo-location where the resource lives */
|
|
2431
|
+
location: string;
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2434
|
+
/** Describes Storage Resource Usage. */
|
|
2435
|
+
export declare interface Usage {
|
|
2436
|
+
/**
|
|
2437
|
+
* Gets the unit of measurement.
|
|
2438
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2439
|
+
*/
|
|
2440
|
+
readonly unit?: UsageUnit;
|
|
2441
|
+
/**
|
|
2442
|
+
* Gets the current count of the allocated resources in the subscription.
|
|
2443
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2444
|
+
*/
|
|
2445
|
+
readonly currentValue?: number;
|
|
2446
|
+
/**
|
|
2447
|
+
* Gets the maximum count of the resources that can be allocated in the subscription.
|
|
2448
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2449
|
+
*/
|
|
2450
|
+
readonly limit?: number;
|
|
2451
|
+
/**
|
|
2452
|
+
* Gets the name of the type of usage.
|
|
2453
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2454
|
+
*/
|
|
2455
|
+
readonly name?: UsageName;
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/** The response from the List Usages operation. */
|
|
2459
|
+
export declare interface UsageListResult {
|
|
2460
|
+
/** Gets or sets the list of Storage Resource Usages. */
|
|
2461
|
+
value?: Usage[];
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
/** The usage names that can be used; currently limited to StorageAccount. */
|
|
2465
|
+
export declare interface UsageName {
|
|
2466
|
+
/**
|
|
2467
|
+
* Gets a string describing the resource name.
|
|
2468
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2469
|
+
*/
|
|
2470
|
+
readonly value?: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* Gets a localized string describing the resource name.
|
|
2473
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2474
|
+
*/
|
|
2475
|
+
readonly localizedValue?: string;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
/** Interface representing a Usages. */
|
|
2479
|
+
export declare interface Usages {
|
|
2480
|
+
/**
|
|
2481
|
+
* Gets the current usage count and the limit for the resources of the location under the subscription.
|
|
2482
|
+
* @param location The location of the Azure Storage resource.
|
|
2483
|
+
* @param options The options parameters.
|
|
2484
|
+
*/
|
|
2485
|
+
listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator<Usage>;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/** Optional parameters. */
|
|
2489
|
+
export declare interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions {
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
/** Contains response data for the listByLocation operation. */
|
|
2493
|
+
export declare type UsagesListByLocationResponse = UsageListResult;
|
|
2494
|
+
|
|
2495
|
+
/** Defines values for UsageUnit. */
|
|
2496
|
+
export declare type UsageUnit = "Count" | "Bytes" | "Seconds" | "Percent" | "CountsPerSecond" | "BytesPerSecond";
|
|
2497
|
+
|
|
2498
|
+
/** Virtual Network rule. */
|
|
2499
|
+
export declare interface VirtualNetworkRule {
|
|
2500
|
+
/** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. */
|
|
2501
|
+
virtualNetworkResourceId: string;
|
|
2502
|
+
/** The action of virtual network rule. */
|
|
2503
|
+
action?: "Allow";
|
|
2504
|
+
/** Gets the state of virtual network rule. */
|
|
2505
|
+
state?: State;
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
export { }
|