@azure/arm-storagecache 6.0.0 → 7.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -0
- package/README.md +1 -1
- package/dist/index.js +3652 -2156
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.js +41 -0
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.js +39 -0
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js +69 -0
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsGetSample.js +39 -0
- package/dist-esm/samples-dev/amlFilesystemsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js +52 -0
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsListSample.js +51 -0
- package/dist-esm/samples-dev/amlFilesystemsListSample.js.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js +51 -0
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/ascOperationsGetSample.js +1 -1
- package/dist-esm/samples-dev/ascUsagesListSample.js +1 -1
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js +8 -6
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesDebugInfoSample.js +3 -3
- package/dist-esm/samples-dev/cachesDeleteSample.js +3 -3
- package/dist-esm/samples-dev/cachesFlushSample.js +3 -3
- package/dist-esm/samples-dev/cachesGetSample.js +3 -3
- package/dist-esm/samples-dev/cachesListByResourceGroupSample.js +3 -3
- package/dist-esm/samples-dev/cachesListSample.js +3 -3
- package/dist-esm/samples-dev/cachesPausePrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesResumePrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesSpaceAllocationSample.js +1 -1
- package/dist-esm/samples-dev/cachesStartPrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesStartSample.js +3 -3
- package/dist-esm/samples-dev/cachesStopPrimingJobSample.js +1 -1
- package/dist-esm/samples-dev/cachesStopSample.js +3 -3
- package/dist-esm/samples-dev/cachesUpdateSample.js +9 -7
- package/dist-esm/samples-dev/cachesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesUpgradeFirmwareSample.js +3 -3
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.d.ts +2 -0
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js +43 -0
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js.map +1 -0
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.d.ts +2 -0
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.js +37 -0
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/skusListSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetFlushSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetInvalidateSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetResumeSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetSuspendSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateSample.js +9 -9
- package/dist-esm/samples-dev/storageTargetsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/storageTargetsDnsRefreshSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsGetSample.js +3 -3
- package/dist-esm/samples-dev/storageTargetsListByCacheSample.js +3 -3
- package/dist-esm/samples-dev/storageTargetsRestoreDefaultsSample.js +1 -1
- package/dist-esm/samples-dev/usageModelsListSample.js +3 -3
- package/dist-esm/src/models/index.d.ts +506 -40
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +60 -2
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +25 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +829 -134
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +7 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +60 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/amlFilesystems.d.ts +134 -0
- package/dist-esm/src/operations/amlFilesystems.d.ts.map +1 -0
- package/dist-esm/src/operations/amlFilesystems.js +613 -0
- package/dist-esm/src/operations/amlFilesystems.js.map +1 -0
- package/dist-esm/src/operations/ascOperations.d.ts +2 -2
- package/dist-esm/src/operations/ascOperations.js +2 -2
- package/dist-esm/src/operations/ascUsages.js +2 -2
- package/dist-esm/src/operations/ascUsages.js.map +1 -1
- package/dist-esm/src/operations/caches.d.ts +80 -80
- package/dist-esm/src/operations/caches.js +80 -80
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/storageTargetOperations.d.ts +16 -16
- package/dist-esm/src/operations/storageTargetOperations.js +16 -16
- package/dist-esm/src/operations/storageTargets.d.ts +37 -37
- package/dist-esm/src/operations/storageTargets.js +37 -37
- package/dist-esm/src/operations/usageModels.d.ts +2 -2
- package/dist-esm/src/operations/usageModels.js +2 -2
- package/dist-esm/src/operationsInterfaces/amlFilesystems.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/amlFilesystems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/amlFilesystems.js +9 -0
- package/dist-esm/src/operationsInterfaces/amlFilesystems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ascOperations.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/caches.d.ts +76 -76
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/storageTargetOperations.d.ts +16 -16
- package/dist-esm/src/operationsInterfaces/storageTargets.d.ts +32 -32
- package/dist-esm/src/operationsInterfaces/usageModels.d.ts +1 -1
- package/dist-esm/src/storageCacheManagementClient.d.ts +14 -4
- package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageCacheManagementClient.js +61 -5
- package/dist-esm/src/storageCacheManagementClient.js.map +1 -1
- package/dist-esm/test/storagecache_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/storagecache_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/storagecache_operations_test.spec.js +142 -0
- package/dist-esm/test/storagecache_operations_test.spec.js.map +1 -0
- package/package.json +3 -3
- package/review/arm-storagecache.api.md +333 -2
- package/src/models/index.ts +568 -40
- package/src/models/mappers.ts +898 -158
- package/src/models/parameters.ts +72 -2
- package/src/operations/amlFilesystems.ts +808 -0
- package/src/operations/ascOperations.ts +2 -2
- package/src/operations/ascUsages.ts +2 -2
- package/src/operations/caches.ts +80 -80
- package/src/operations/index.ts +1 -0
- package/src/operations/storageTargetOperations.ts +16 -16
- package/src/operations/storageTargets.ts +37 -37
- package/src/operations/usageModels.ts +2 -2
- package/src/operationsInterfaces/amlFilesystems.ts +176 -0
- package/src/operationsInterfaces/ascOperations.ts +2 -2
- package/src/operationsInterfaces/caches.ts +76 -76
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/storageTargetOperations.ts +16 -16
- package/src/operationsInterfaces/storageTargets.ts +32 -32
- package/src/operationsInterfaces/usageModels.ts +1 -1
- package/src/storageCacheManagementClient.ts +84 -7
- package/types/arm-storagecache.d.ts +795 -169
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -4,6 +4,451 @@ import { OperationState } from '@azure/core-lro';
|
|
|
4
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
5
5
|
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
6
|
|
|
7
|
+
/** An AML file system instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */
|
|
8
|
+
export declare interface AmlFilesystem extends TrackedResource {
|
|
9
|
+
/** The managed identity used by the AML file system, if configured. */
|
|
10
|
+
identity?: AmlFilesystemIdentity;
|
|
11
|
+
/** SKU for the resource. */
|
|
12
|
+
sku?: SkuName;
|
|
13
|
+
/** Availability zones for resources. This field should only contain a single element in the array. */
|
|
14
|
+
zones?: string[];
|
|
15
|
+
/** The size of the AML file system, in TiB. This might be rounded up. */
|
|
16
|
+
storageCapacityTiB?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Health of the AML file system.
|
|
19
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
20
|
+
*/
|
|
21
|
+
readonly health?: AmlFilesystemHealth;
|
|
22
|
+
/**
|
|
23
|
+
* ARM provisioning state.
|
|
24
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
25
|
+
*/
|
|
26
|
+
readonly provisioningState?: AmlFilesystemProvisioningStateType;
|
|
27
|
+
/** Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space. */
|
|
28
|
+
filesystemSubnet?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The IPv4 address used by clients to mount the AML file system's Lustre Management Service (MGS).
|
|
31
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
32
|
+
*/
|
|
33
|
+
readonly mgsAddress?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Recommended command to mount the AML file system
|
|
36
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
37
|
+
*/
|
|
38
|
+
readonly mountCommand?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The version of Lustre running in the AML file system
|
|
41
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
42
|
+
*/
|
|
43
|
+
readonly lustreVersion?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Throughput provisioned in MB per sec, calculated as storageCapacityTiB * per-unit storage throughput
|
|
46
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
47
|
+
*/
|
|
48
|
+
readonly throughputProvisionedMBps?: number;
|
|
49
|
+
/** Specifies encryption settings of the AML file system. */
|
|
50
|
+
encryptionSettings?: AmlFilesystemEncryptionSettings;
|
|
51
|
+
/** Start time of a 30-minute weekly maintenance window. */
|
|
52
|
+
maintenanceWindow?: AmlFilesystemPropertiesMaintenanceWindow;
|
|
53
|
+
/** Hydration and archive settings and status */
|
|
54
|
+
hsm?: AmlFilesystemPropertiesHsm;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** Information about the AML file system archive */
|
|
58
|
+
export declare interface AmlFilesystemArchive {
|
|
59
|
+
/**
|
|
60
|
+
* Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data.
|
|
61
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
|
+
*/
|
|
63
|
+
readonly filesystemPath?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The status of the archive
|
|
66
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
67
|
+
*/
|
|
68
|
+
readonly status?: AmlFilesystemArchiveStatus;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** Information required to execute the archive operation */
|
|
72
|
+
export declare interface AmlFilesystemArchiveInfo {
|
|
73
|
+
/** Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data. */
|
|
74
|
+
filesystemPath?: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** The status of the archive */
|
|
78
|
+
export declare interface AmlFilesystemArchiveStatus {
|
|
79
|
+
/**
|
|
80
|
+
* The state of the archive operation
|
|
81
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
82
|
+
*/
|
|
83
|
+
readonly state?: ArchiveStatusType;
|
|
84
|
+
/**
|
|
85
|
+
* The time of the last completed archive operation
|
|
86
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
87
|
+
*/
|
|
88
|
+
readonly lastCompletionTime?: Date;
|
|
89
|
+
/**
|
|
90
|
+
* The time the latest archive operation started
|
|
91
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
92
|
+
*/
|
|
93
|
+
readonly lastStartedTime?: Date;
|
|
94
|
+
/**
|
|
95
|
+
* The completion percentage of the archive operation
|
|
96
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
97
|
+
*/
|
|
98
|
+
readonly percentComplete?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Server-defined error code for the archive operation
|
|
101
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
102
|
+
*/
|
|
103
|
+
readonly errorCode?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Server-defined error message for the archive operation
|
|
106
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
|
+
*/
|
|
108
|
+
readonly errorMessage?: string;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** The error details provided when the checkAmlFSSubnets call fails. */
|
|
112
|
+
export declare interface AmlFilesystemCheckSubnetError {
|
|
113
|
+
/** The error details for the AML file system's subnet. */
|
|
114
|
+
filesystemSubnet?: AmlFilesystemCheckSubnetErrorFilesystemSubnet;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** The error details for the AML file system's subnet. */
|
|
118
|
+
export declare interface AmlFilesystemCheckSubnetErrorFilesystemSubnet {
|
|
119
|
+
/** The status of the AML file system subnet check. */
|
|
120
|
+
status?: FilesystemSubnetStatusType;
|
|
121
|
+
/** The details of the AML file system subnet check. */
|
|
122
|
+
message?: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** AML file system encryption settings. */
|
|
126
|
+
export declare interface AmlFilesystemEncryptionSettings {
|
|
127
|
+
/** Specifies the location of the encryption key in Key Vault. */
|
|
128
|
+
keyEncryptionKey?: KeyVaultKeyReference;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** An indication of AML file system health. Gives more information about health than just that related to provisioning. */
|
|
132
|
+
export declare interface AmlFilesystemHealth {
|
|
133
|
+
/** List of AML file system health states. */
|
|
134
|
+
state?: AmlFilesystemHealthStateType;
|
|
135
|
+
/** Server-defined error code for the AML file system health */
|
|
136
|
+
statusCode?: string;
|
|
137
|
+
/** Describes the health state. */
|
|
138
|
+
statusDescription?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Defines values for AmlFilesystemHealthStateType. \
|
|
143
|
+
* {@link KnownAmlFilesystemHealthStateType} can be used interchangeably with AmlFilesystemHealthStateType,
|
|
144
|
+
* this enum contains the known values that the service supports.
|
|
145
|
+
* ### Known values supported by the service
|
|
146
|
+
* **Unavailable** \
|
|
147
|
+
* **Available** \
|
|
148
|
+
* **Degraded** \
|
|
149
|
+
* **Transitioning** \
|
|
150
|
+
* **Maintenance**
|
|
151
|
+
*/
|
|
152
|
+
export declare type AmlFilesystemHealthStateType = string;
|
|
153
|
+
|
|
154
|
+
/** AML file system HSM settings. */
|
|
155
|
+
export declare interface AmlFilesystemHsmSettings {
|
|
156
|
+
/** Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account. */
|
|
157
|
+
container: string;
|
|
158
|
+
/** Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account. */
|
|
159
|
+
loggingContainer: string;
|
|
160
|
+
/** Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace. */
|
|
161
|
+
importPrefix?: string;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** Managed Identity properties. */
|
|
165
|
+
export declare interface AmlFilesystemIdentity {
|
|
166
|
+
/**
|
|
167
|
+
* The principal ID for the user-assigned identity of the resource.
|
|
168
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
169
|
+
*/
|
|
170
|
+
readonly principalId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* The tenant ID associated with the resource.
|
|
173
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
174
|
+
*/
|
|
175
|
+
readonly tenantId?: string;
|
|
176
|
+
/** The type of identity used for the resource. */
|
|
177
|
+
type?: AmlFilesystemIdentityType;
|
|
178
|
+
/** A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary. */
|
|
179
|
+
userAssignedIdentities?: {
|
|
180
|
+
[propertyName: string]: UserAssignedIdentitiesValueAutoGenerated;
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Defines values for AmlFilesystemIdentityType. */
|
|
185
|
+
export declare type AmlFilesystemIdentityType = "UserAssigned" | "None";
|
|
186
|
+
|
|
187
|
+
/** Hydration and archive settings and status */
|
|
188
|
+
export declare interface AmlFilesystemPropertiesHsm {
|
|
189
|
+
/** Specifies HSM settings of the AML file system. */
|
|
190
|
+
settings?: AmlFilesystemHsmSettings;
|
|
191
|
+
/**
|
|
192
|
+
* Archive status
|
|
193
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
194
|
+
*/
|
|
195
|
+
readonly archiveStatus?: AmlFilesystemArchive[];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/** Start time of a 30-minute weekly maintenance window. */
|
|
199
|
+
export declare interface AmlFilesystemPropertiesMaintenanceWindow {
|
|
200
|
+
/** Day of the week on which the maintenance window will occur. */
|
|
201
|
+
dayOfWeek?: MaintenanceDayOfWeekType;
|
|
202
|
+
/** The time of day (in UTC) to start the maintenance window. */
|
|
203
|
+
timeOfDayUTC?: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Defines values for AmlFilesystemProvisioningStateType. \
|
|
208
|
+
* {@link KnownAmlFilesystemProvisioningStateType} can be used interchangeably with AmlFilesystemProvisioningStateType,
|
|
209
|
+
* this enum contains the known values that the service supports.
|
|
210
|
+
* ### Known values supported by the service
|
|
211
|
+
* **Succeeded** \
|
|
212
|
+
* **Failed** \
|
|
213
|
+
* **Creating** \
|
|
214
|
+
* **Deleting** \
|
|
215
|
+
* **Updating** \
|
|
216
|
+
* **Canceled**
|
|
217
|
+
*/
|
|
218
|
+
export declare type AmlFilesystemProvisioningStateType = string;
|
|
219
|
+
|
|
220
|
+
/** Interface representing a AmlFilesystems. */
|
|
221
|
+
export declare interface AmlFilesystems {
|
|
222
|
+
/**
|
|
223
|
+
* Returns all AML file systems the user has access to under a subscription.
|
|
224
|
+
* @param options The options parameters.
|
|
225
|
+
*/
|
|
226
|
+
list(options?: AmlFilesystemsListOptionalParams): PagedAsyncIterableIterator<AmlFilesystem>;
|
|
227
|
+
/**
|
|
228
|
+
* Returns all AML file systems the user has access to under a resource group.
|
|
229
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
230
|
+
* @param options The options parameters.
|
|
231
|
+
*/
|
|
232
|
+
listByResourceGroup(resourceGroupName: string, options?: AmlFilesystemsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AmlFilesystem>;
|
|
233
|
+
/**
|
|
234
|
+
* Schedules an AML file system for deletion.
|
|
235
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
236
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
237
|
+
* hyphens. Start and end with alphanumeric.
|
|
238
|
+
* @param options The options parameters.
|
|
239
|
+
*/
|
|
240
|
+
beginDelete(resourceGroupName: string, amlFilesystemName: string, options?: AmlFilesystemsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
241
|
+
/**
|
|
242
|
+
* Schedules an AML file system for deletion.
|
|
243
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
244
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
245
|
+
* hyphens. Start and end with alphanumeric.
|
|
246
|
+
* @param options The options parameters.
|
|
247
|
+
*/
|
|
248
|
+
beginDeleteAndWait(resourceGroupName: string, amlFilesystemName: string, options?: AmlFilesystemsDeleteOptionalParams): Promise<void>;
|
|
249
|
+
/**
|
|
250
|
+
* Returns an AML file system.
|
|
251
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
252
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
253
|
+
* hyphens. Start and end with alphanumeric.
|
|
254
|
+
* @param options The options parameters.
|
|
255
|
+
*/
|
|
256
|
+
get(resourceGroupName: string, amlFilesystemName: string, options?: AmlFilesystemsGetOptionalParams): Promise<AmlFilesystemsGetResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* Create or update an AML file system.
|
|
259
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
260
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
261
|
+
* hyphens. Start and end with alphanumeric.
|
|
262
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
263
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
264
|
+
* @param options The options parameters.
|
|
265
|
+
*/
|
|
266
|
+
beginCreateOrUpdate(resourceGroupName: string, amlFilesystemName: string, amlFilesystem: AmlFilesystem, options?: AmlFilesystemsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AmlFilesystemsCreateOrUpdateResponse>, AmlFilesystemsCreateOrUpdateResponse>>;
|
|
267
|
+
/**
|
|
268
|
+
* Create or update an AML file system.
|
|
269
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
270
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
271
|
+
* hyphens. Start and end with alphanumeric.
|
|
272
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
273
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
274
|
+
* @param options The options parameters.
|
|
275
|
+
*/
|
|
276
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, amlFilesystem: AmlFilesystem, options?: AmlFilesystemsCreateOrUpdateOptionalParams): Promise<AmlFilesystemsCreateOrUpdateResponse>;
|
|
277
|
+
/**
|
|
278
|
+
* Update an AML file system instance.
|
|
279
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
280
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
281
|
+
* hyphens. Start and end with alphanumeric.
|
|
282
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
283
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
284
|
+
* @param options The options parameters.
|
|
285
|
+
*/
|
|
286
|
+
beginUpdate(resourceGroupName: string, amlFilesystemName: string, amlFilesystem: AmlFilesystemUpdate, options?: AmlFilesystemsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AmlFilesystemsUpdateResponse>, AmlFilesystemsUpdateResponse>>;
|
|
287
|
+
/**
|
|
288
|
+
* Update an AML file system instance.
|
|
289
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
290
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
291
|
+
* hyphens. Start and end with alphanumeric.
|
|
292
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
293
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
294
|
+
* @param options The options parameters.
|
|
295
|
+
*/
|
|
296
|
+
beginUpdateAndWait(resourceGroupName: string, amlFilesystemName: string, amlFilesystem: AmlFilesystemUpdate, options?: AmlFilesystemsUpdateOptionalParams): Promise<AmlFilesystemsUpdateResponse>;
|
|
297
|
+
/**
|
|
298
|
+
* Archive data from the AML file system.
|
|
299
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
300
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
301
|
+
* hyphens. Start and end with alphanumeric.
|
|
302
|
+
* @param options The options parameters.
|
|
303
|
+
*/
|
|
304
|
+
archive(resourceGroupName: string, amlFilesystemName: string, options?: AmlFilesystemsArchiveOptionalParams): Promise<void>;
|
|
305
|
+
/**
|
|
306
|
+
* Cancel archiving data from the AML file system.
|
|
307
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
308
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
309
|
+
* hyphens. Start and end with alphanumeric.
|
|
310
|
+
* @param options The options parameters.
|
|
311
|
+
*/
|
|
312
|
+
cancelArchive(resourceGroupName: string, amlFilesystemName: string, options?: AmlFilesystemsCancelArchiveOptionalParams): Promise<void>;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** Optional parameters. */
|
|
316
|
+
export declare interface AmlFilesystemsArchiveOptionalParams extends coreClient.OperationOptions {
|
|
317
|
+
/** Information about the archive operation */
|
|
318
|
+
archiveInfo?: AmlFilesystemArchiveInfo;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/** Optional parameters. */
|
|
322
|
+
export declare interface AmlFilesystemsCancelArchiveOptionalParams extends coreClient.OperationOptions {
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/** Defines headers for AmlFilesystems_createOrUpdate operation. */
|
|
326
|
+
export declare interface AmlFilesystemsCreateOrUpdateHeaders {
|
|
327
|
+
/** URI to poll for the operation status */
|
|
328
|
+
azureAsyncOperation?: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** Optional parameters. */
|
|
332
|
+
export declare interface AmlFilesystemsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
333
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
334
|
+
updateIntervalInMs?: number;
|
|
335
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
336
|
+
resumeFrom?: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
340
|
+
export declare type AmlFilesystemsCreateOrUpdateResponse = AmlFilesystem;
|
|
341
|
+
|
|
342
|
+
/** Defines headers for AmlFilesystems_delete operation. */
|
|
343
|
+
export declare interface AmlFilesystemsDeleteHeaders {
|
|
344
|
+
/** Location URI to poll for result */
|
|
345
|
+
location?: string;
|
|
346
|
+
/** URI to poll for the operation status */
|
|
347
|
+
azureAsyncOperation?: string;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/** Optional parameters. */
|
|
351
|
+
export declare interface AmlFilesystemsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
352
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
353
|
+
updateIntervalInMs?: number;
|
|
354
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
355
|
+
resumeFrom?: string;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/** Optional parameters. */
|
|
359
|
+
export declare interface AmlFilesystemsGetOptionalParams extends coreClient.OperationOptions {
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/** Contains response data for the get operation. */
|
|
363
|
+
export declare type AmlFilesystemsGetResponse = AmlFilesystem;
|
|
364
|
+
|
|
365
|
+
/** Optional parameters. */
|
|
366
|
+
export declare interface AmlFilesystemsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
370
|
+
export declare type AmlFilesystemsListByResourceGroupNextResponse = AmlFilesystemsListResult;
|
|
371
|
+
|
|
372
|
+
/** Optional parameters. */
|
|
373
|
+
export declare interface AmlFilesystemsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
377
|
+
export declare type AmlFilesystemsListByResourceGroupResponse = AmlFilesystemsListResult;
|
|
378
|
+
|
|
379
|
+
/** Optional parameters. */
|
|
380
|
+
export declare interface AmlFilesystemsListNextOptionalParams extends coreClient.OperationOptions {
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/** Contains response data for the listNext operation. */
|
|
384
|
+
export declare type AmlFilesystemsListNextResponse = AmlFilesystemsListResult;
|
|
385
|
+
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export declare interface AmlFilesystemsListOptionalParams extends coreClient.OperationOptions {
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/** Contains response data for the list operation. */
|
|
391
|
+
export declare type AmlFilesystemsListResponse = AmlFilesystemsListResult;
|
|
392
|
+
|
|
393
|
+
/** Result of the request to list AML file systems. It contains a list of AML file systems and a URL link to get the next set of results. */
|
|
394
|
+
export declare interface AmlFilesystemsListResult {
|
|
395
|
+
/** URL to get the next set of AML file system list results, if there are any. */
|
|
396
|
+
nextLink?: string;
|
|
397
|
+
/** List of AML file systems. */
|
|
398
|
+
value?: AmlFilesystem[];
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/** Information required to validate the subnet that will be used in AML file system create */
|
|
402
|
+
export declare interface AmlFilesystemSubnetInfo {
|
|
403
|
+
/** Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space. */
|
|
404
|
+
filesystemSubnet?: string;
|
|
405
|
+
/** The size of the AML file system, in TiB. */
|
|
406
|
+
storageCapacityTiB?: number;
|
|
407
|
+
/** SKU for the resource. */
|
|
408
|
+
sku?: SkuName;
|
|
409
|
+
/** Region that the AML file system will be created in. */
|
|
410
|
+
location?: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/** Defines headers for AmlFilesystems_update operation. */
|
|
414
|
+
export declare interface AmlFilesystemsUpdateHeaders {
|
|
415
|
+
/** URI to poll for the operation status */
|
|
416
|
+
location?: string;
|
|
417
|
+
/** URI to poll for the operation status */
|
|
418
|
+
azureAsyncOperation?: string;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** Optional parameters. */
|
|
422
|
+
export declare interface AmlFilesystemsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
423
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
424
|
+
updateIntervalInMs?: number;
|
|
425
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
426
|
+
resumeFrom?: string;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/** Contains response data for the update operation. */
|
|
430
|
+
export declare type AmlFilesystemsUpdateResponse = AmlFilesystem;
|
|
431
|
+
|
|
432
|
+
/** An AML file system update instance. */
|
|
433
|
+
export declare interface AmlFilesystemUpdate {
|
|
434
|
+
/** Resource tags. */
|
|
435
|
+
tags?: {
|
|
436
|
+
[propertyName: string]: string;
|
|
437
|
+
};
|
|
438
|
+
/** Specifies encryption settings of the AML file system. */
|
|
439
|
+
encryptionSettings?: AmlFilesystemEncryptionSettings;
|
|
440
|
+
/** Start time of a 30-minute weekly maintenance window. */
|
|
441
|
+
maintenanceWindow?: AmlFilesystemUpdatePropertiesMaintenanceWindow;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/** Start time of a 30-minute weekly maintenance window. */
|
|
445
|
+
export declare interface AmlFilesystemUpdatePropertiesMaintenanceWindow {
|
|
446
|
+
/** Day of the week on which the maintenance window will occur. */
|
|
447
|
+
dayOfWeek?: MaintenanceDayOfWeekType;
|
|
448
|
+
/** The time of day (in UTC) to start the maintenance window. */
|
|
449
|
+
timeOfDayUTC?: string;
|
|
450
|
+
}
|
|
451
|
+
|
|
7
452
|
/** REST API operation description: see https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation */
|
|
8
453
|
export declare interface ApiOperation {
|
|
9
454
|
/** The object that represents the operation. */
|
|
@@ -46,6 +491,22 @@ export declare interface ApiOperationPropertiesServiceSpecification {
|
|
|
46
491
|
logSpecifications?: LogSpecification[];
|
|
47
492
|
}
|
|
48
493
|
|
|
494
|
+
/**
|
|
495
|
+
* Defines values for ArchiveStatusType. \
|
|
496
|
+
* {@link KnownArchiveStatusType} can be used interchangeably with ArchiveStatusType,
|
|
497
|
+
* this enum contains the known values that the service supports.
|
|
498
|
+
* ### Known values supported by the service
|
|
499
|
+
* **NotConfigured** \
|
|
500
|
+
* **Idle** \
|
|
501
|
+
* **InProgress** \
|
|
502
|
+
* **Canceled** \
|
|
503
|
+
* **Completed** \
|
|
504
|
+
* **Failed** \
|
|
505
|
+
* **Cancelling** \
|
|
506
|
+
* **FSScanInProgress**
|
|
507
|
+
*/
|
|
508
|
+
export declare type ArchiveStatusType = string;
|
|
509
|
+
|
|
49
510
|
/** The status of operation. */
|
|
50
511
|
export declare interface AscOperation {
|
|
51
512
|
/** The operation Id. */
|
|
@@ -70,8 +531,8 @@ export declare interface AscOperation {
|
|
|
70
531
|
export declare interface AscOperations {
|
|
71
532
|
/**
|
|
72
533
|
* Gets the status of an asynchronous operation for the Azure HPC Cache
|
|
73
|
-
* @param location The name of
|
|
74
|
-
* @param operationId The
|
|
534
|
+
* @param location The name of Azure region.
|
|
535
|
+
* @param operationId The ID of an ongoing async operation.
|
|
75
536
|
* @param options The options parameters.
|
|
76
537
|
*/
|
|
77
538
|
get(location: string, operationId: string, options?: AscOperationsGetOptionalParams): Promise<AscOperationsGetResponse>;
|
|
@@ -120,26 +581,26 @@ export declare interface BlobNfsTarget {
|
|
|
120
581
|
writeBackTimer?: number;
|
|
121
582
|
}
|
|
122
583
|
|
|
123
|
-
/** A
|
|
584
|
+
/** A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */
|
|
124
585
|
declare interface Cache_2 {
|
|
125
586
|
/** Resource tags. */
|
|
126
587
|
tags?: {
|
|
127
588
|
[propertyName: string]: string;
|
|
128
589
|
};
|
|
129
590
|
/**
|
|
130
|
-
* Resource ID of the
|
|
591
|
+
* Resource ID of the cache.
|
|
131
592
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
593
|
*/
|
|
133
594
|
readonly id?: string;
|
|
134
595
|
/** Region name string. */
|
|
135
596
|
location?: string;
|
|
136
597
|
/**
|
|
137
|
-
* Name of
|
|
598
|
+
* Name of cache.
|
|
138
599
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
139
600
|
*/
|
|
140
601
|
readonly name?: string;
|
|
141
602
|
/**
|
|
142
|
-
* Type of the
|
|
603
|
+
* Type of the cache; Microsoft.StorageCache/Cache
|
|
143
604
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
144
605
|
*/
|
|
145
606
|
readonly type?: string;
|
|
@@ -150,17 +611,19 @@ declare interface Cache_2 {
|
|
|
150
611
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
612
|
*/
|
|
152
613
|
readonly systemData?: SystemData;
|
|
153
|
-
/** SKU for the
|
|
614
|
+
/** SKU for the cache. */
|
|
154
615
|
sku?: CacheSku;
|
|
155
|
-
/** The size of this
|
|
616
|
+
/** The size of this cache, in GB, when scalingFactor is 1.0. Values depend on the cache SKU - <a href="https://learn.microsoft.com/en-us/rest/api/storagecache/skus/list?tabs=HTTP">List SKUs</a>. */
|
|
156
617
|
cacheSizeGB?: number;
|
|
618
|
+
/** Multiplier that sets the current storage and throughput capacity of the cache. Values depend on the cache SKU - <a href="https://learn.microsoft.com/en-us/rest/api/storagecache/skus/list?tabs=HTTP">List SKUs</a>. Values above 1.0 increase the cache size and throughput - for example, the scaling factor 1.33 gives a cache that's 33% larger than its base size. */
|
|
619
|
+
scalingFactor?: number;
|
|
157
620
|
/**
|
|
158
|
-
* Health of the
|
|
621
|
+
* Health of the cache.
|
|
159
622
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
160
623
|
*/
|
|
161
624
|
readonly health?: CacheHealth;
|
|
162
625
|
/**
|
|
163
|
-
* Array of
|
|
626
|
+
* Array of IPv4 addresses that can be used by clients mounting this cache.
|
|
164
627
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
165
628
|
*/
|
|
166
629
|
readonly mountAddresses?: string[];
|
|
@@ -169,14 +632,14 @@ declare interface Cache_2 {
|
|
|
169
632
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
170
633
|
*/
|
|
171
634
|
readonly provisioningState?: ProvisioningStateType;
|
|
172
|
-
/** Subnet used for the
|
|
635
|
+
/** Subnet used for the cache. */
|
|
173
636
|
subnet?: string;
|
|
174
637
|
/**
|
|
175
|
-
* Upgrade status of the
|
|
638
|
+
* Upgrade status of the cache.
|
|
176
639
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
177
640
|
*/
|
|
178
641
|
readonly upgradeStatus?: CacheUpgradeStatus;
|
|
179
|
-
/** Upgrade settings of the
|
|
642
|
+
/** Upgrade settings of the cache. */
|
|
180
643
|
upgradeSettings?: CacheUpgradeSettings;
|
|
181
644
|
/** Specifies network settings of the cache. */
|
|
182
645
|
networkSettings?: CacheNetworkSettings;
|
|
@@ -227,7 +690,7 @@ export declare interface CacheActiveDirectorySettingsCredentials {
|
|
|
227
690
|
/** Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
|
|
228
691
|
username: string;
|
|
229
692
|
/** Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response. */
|
|
230
|
-
password
|
|
693
|
+
password?: string;
|
|
231
694
|
}
|
|
232
695
|
|
|
233
696
|
/** Cache Directory Services settings. */
|
|
@@ -240,15 +703,15 @@ export declare interface CacheDirectorySettings {
|
|
|
240
703
|
|
|
241
704
|
/** Cache encryption settings. */
|
|
242
705
|
export declare interface CacheEncryptionSettings {
|
|
243
|
-
/** Specifies the location of the key encryption key in
|
|
706
|
+
/** Specifies the location of the key encryption key in key vault. */
|
|
244
707
|
keyEncryptionKey?: KeyVaultKeyReference;
|
|
245
|
-
/** Specifies whether the service will automatically rotate to the newest version of the key in the
|
|
708
|
+
/** Specifies whether the service will automatically rotate to the newest version of the key in the key vault. */
|
|
246
709
|
rotationToLatestKeyVersionEnabled?: boolean;
|
|
247
710
|
}
|
|
248
711
|
|
|
249
|
-
/** An indication of
|
|
712
|
+
/** An indication of cache health. Gives more information about health than just that related to provisioning. */
|
|
250
713
|
export declare interface CacheHealth {
|
|
251
|
-
/** List of
|
|
714
|
+
/** List of cache health states. Down is when the cluster is not responding. Degraded is when its functioning but has some alerts. Transitioning when it is creating or deleting. Unknown will be returned in old api versions when a new value is added in future versions. WaitingForKey is when the create is waiting for the system assigned identity to be given access to the encryption key in the encryption settings. */
|
|
252
715
|
state?: HealthStateType;
|
|
253
716
|
/** Describes explanation of state. */
|
|
254
717
|
statusDescription?: string;
|
|
@@ -287,7 +750,7 @@ export declare interface CacheNetworkSettings {
|
|
|
287
750
|
/** The IPv4 maximum transmission unit configured for the subnet. */
|
|
288
751
|
mtu?: number;
|
|
289
752
|
/**
|
|
290
|
-
* Array of additional IP addresses used by this
|
|
753
|
+
* Array of additional IP addresses used by this cache.
|
|
291
754
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
292
755
|
*/
|
|
293
756
|
readonly utilityAddresses?: string[];
|
|
@@ -302,234 +765,234 @@ export declare interface CacheNetworkSettings {
|
|
|
302
765
|
/** Interface representing a Caches. */
|
|
303
766
|
export declare interface Caches {
|
|
304
767
|
/**
|
|
305
|
-
* Returns all
|
|
768
|
+
* Returns all caches the user has access to under a subscription.
|
|
306
769
|
* @param options The options parameters.
|
|
307
770
|
*/
|
|
308
771
|
list(options?: CachesListOptionalParams): PagedAsyncIterableIterator<Cache_2>;
|
|
309
772
|
/**
|
|
310
|
-
* Returns all
|
|
311
|
-
* @param resourceGroupName
|
|
773
|
+
* Returns all caches the user has access to under a resource group.
|
|
774
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
312
775
|
* @param options The options parameters.
|
|
313
776
|
*/
|
|
314
777
|
listByResourceGroup(resourceGroupName: string, options?: CachesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cache_2>;
|
|
315
778
|
/**
|
|
316
|
-
* Schedules a
|
|
317
|
-
* @param resourceGroupName
|
|
318
|
-
* @param cacheName Name of
|
|
779
|
+
* Schedules a cache for deletion.
|
|
780
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
781
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
319
782
|
* the [-0-9a-zA-Z_] char class.
|
|
320
783
|
* @param options The options parameters.
|
|
321
784
|
*/
|
|
322
785
|
beginDelete(resourceGroupName: string, cacheName: string, options?: CachesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
323
786
|
/**
|
|
324
|
-
* Schedules a
|
|
325
|
-
* @param resourceGroupName
|
|
326
|
-
* @param cacheName Name of
|
|
787
|
+
* Schedules a cache for deletion.
|
|
788
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
789
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
327
790
|
* the [-0-9a-zA-Z_] char class.
|
|
328
791
|
* @param options The options parameters.
|
|
329
792
|
*/
|
|
330
793
|
beginDeleteAndWait(resourceGroupName: string, cacheName: string, options?: CachesDeleteOptionalParams): Promise<void>;
|
|
331
794
|
/**
|
|
332
|
-
* Returns a
|
|
333
|
-
* @param resourceGroupName
|
|
334
|
-
* @param cacheName Name of
|
|
795
|
+
* Returns a cache.
|
|
796
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
797
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
335
798
|
* the [-0-9a-zA-Z_] char class.
|
|
336
799
|
* @param options The options parameters.
|
|
337
800
|
*/
|
|
338
801
|
get(resourceGroupName: string, cacheName: string, options?: CachesGetOptionalParams): Promise<CachesGetResponse>;
|
|
339
802
|
/**
|
|
340
|
-
* Create or update a
|
|
341
|
-
* @param resourceGroupName
|
|
342
|
-
* @param cacheName Name of
|
|
803
|
+
* Create or update a cache.
|
|
804
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
805
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
343
806
|
* the [-0-9a-zA-Z_] char class.
|
|
344
|
-
* @param cache Object containing the user-selectable properties of the new
|
|
807
|
+
* @param cache Object containing the user-selectable properties of the new cache. If read-only
|
|
345
808
|
* properties are included, they must match the existing values of those properties.
|
|
346
809
|
* @param options The options parameters.
|
|
347
810
|
*/
|
|
348
811
|
beginCreateOrUpdate(resourceGroupName: string, cacheName: string, cache: Cache_2, options?: CachesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CachesCreateOrUpdateResponse>, CachesCreateOrUpdateResponse>>;
|
|
349
812
|
/**
|
|
350
|
-
* Create or update a
|
|
351
|
-
* @param resourceGroupName
|
|
352
|
-
* @param cacheName Name of
|
|
813
|
+
* Create or update a cache.
|
|
814
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
815
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
353
816
|
* the [-0-9a-zA-Z_] char class.
|
|
354
|
-
* @param cache Object containing the user-selectable properties of the new
|
|
817
|
+
* @param cache Object containing the user-selectable properties of the new cache. If read-only
|
|
355
818
|
* properties are included, they must match the existing values of those properties.
|
|
356
819
|
* @param options The options parameters.
|
|
357
820
|
*/
|
|
358
821
|
beginCreateOrUpdateAndWait(resourceGroupName: string, cacheName: string, cache: Cache_2, options?: CachesCreateOrUpdateOptionalParams): Promise<CachesCreateOrUpdateResponse>;
|
|
359
822
|
/**
|
|
360
|
-
* Update a
|
|
361
|
-
* @param resourceGroupName
|
|
362
|
-
* @param cacheName Name of
|
|
823
|
+
* Update a cache instance.
|
|
824
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
825
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
363
826
|
* the [-0-9a-zA-Z_] char class.
|
|
364
827
|
* @param options The options parameters.
|
|
365
828
|
*/
|
|
366
829
|
beginUpdate(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CachesUpdateResponse>, CachesUpdateResponse>>;
|
|
367
830
|
/**
|
|
368
|
-
* Update a
|
|
369
|
-
* @param resourceGroupName
|
|
370
|
-
* @param cacheName Name of
|
|
831
|
+
* Update a cache instance.
|
|
832
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
833
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
371
834
|
* the [-0-9a-zA-Z_] char class.
|
|
372
835
|
* @param options The options parameters.
|
|
373
836
|
*/
|
|
374
837
|
beginUpdateAndWait(resourceGroupName: string, cacheName: string, options?: CachesUpdateOptionalParams): Promise<CachesUpdateResponse>;
|
|
375
838
|
/**
|
|
376
|
-
* Tells a
|
|
377
|
-
* @param resourceGroupName
|
|
378
|
-
* @param cacheName Name of
|
|
839
|
+
* Tells a cache to write generate debug info for support to process.
|
|
840
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
841
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
379
842
|
* the [-0-9a-zA-Z_] char class.
|
|
380
843
|
* @param options The options parameters.
|
|
381
844
|
*/
|
|
382
845
|
beginDebugInfo(resourceGroupName: string, cacheName: string, options?: CachesDebugInfoOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
383
846
|
/**
|
|
384
|
-
* Tells a
|
|
385
|
-
* @param resourceGroupName
|
|
386
|
-
* @param cacheName Name of
|
|
847
|
+
* Tells a cache to write generate debug info for support to process.
|
|
848
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
849
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
387
850
|
* the [-0-9a-zA-Z_] char class.
|
|
388
851
|
* @param options The options parameters.
|
|
389
852
|
*/
|
|
390
853
|
beginDebugInfoAndWait(resourceGroupName: string, cacheName: string, options?: CachesDebugInfoOptionalParams): Promise<void>;
|
|
391
854
|
/**
|
|
392
|
-
* Tells a
|
|
855
|
+
* Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see
|
|
393
856
|
* errors returned until the flush is complete.
|
|
394
|
-
* @param resourceGroupName
|
|
395
|
-
* @param cacheName Name of
|
|
857
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
858
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
396
859
|
* the [-0-9a-zA-Z_] char class.
|
|
397
860
|
* @param options The options parameters.
|
|
398
861
|
*/
|
|
399
862
|
beginFlush(resourceGroupName: string, cacheName: string, options?: CachesFlushOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
400
863
|
/**
|
|
401
|
-
* Tells a
|
|
864
|
+
* Tells a cache to write all dirty data to the Storage Target(s). During the flush, clients will see
|
|
402
865
|
* errors returned until the flush is complete.
|
|
403
|
-
* @param resourceGroupName
|
|
404
|
-
* @param cacheName Name of
|
|
866
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
867
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
405
868
|
* the [-0-9a-zA-Z_] char class.
|
|
406
869
|
* @param options The options parameters.
|
|
407
870
|
*/
|
|
408
871
|
beginFlushAndWait(resourceGroupName: string, cacheName: string, options?: CachesFlushOptionalParams): Promise<void>;
|
|
409
872
|
/**
|
|
410
|
-
* Tells a Stopped state
|
|
411
|
-
* @param resourceGroupName
|
|
412
|
-
* @param cacheName Name of
|
|
873
|
+
* Tells a Stopped state cache to transition to Active state.
|
|
874
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
875
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
413
876
|
* the [-0-9a-zA-Z_] char class.
|
|
414
877
|
* @param options The options parameters.
|
|
415
878
|
*/
|
|
416
879
|
beginStart(resourceGroupName: string, cacheName: string, options?: CachesStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
417
880
|
/**
|
|
418
|
-
* Tells a Stopped state
|
|
419
|
-
* @param resourceGroupName
|
|
420
|
-
* @param cacheName Name of
|
|
881
|
+
* Tells a Stopped state cache to transition to Active state.
|
|
882
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
883
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
421
884
|
* the [-0-9a-zA-Z_] char class.
|
|
422
885
|
* @param options The options parameters.
|
|
423
886
|
*/
|
|
424
887
|
beginStartAndWait(resourceGroupName: string, cacheName: string, options?: CachesStartOptionalParams): Promise<void>;
|
|
425
888
|
/**
|
|
426
|
-
* Tells an Active
|
|
427
|
-
* @param resourceGroupName
|
|
428
|
-
* @param cacheName Name of
|
|
889
|
+
* Tells an Active cache to transition to Stopped state.
|
|
890
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
891
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
429
892
|
* the [-0-9a-zA-Z_] char class.
|
|
430
893
|
* @param options The options parameters.
|
|
431
894
|
*/
|
|
432
895
|
beginStop(resourceGroupName: string, cacheName: string, options?: CachesStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
433
896
|
/**
|
|
434
|
-
* Tells an Active
|
|
435
|
-
* @param resourceGroupName
|
|
436
|
-
* @param cacheName Name of
|
|
897
|
+
* Tells an Active cache to transition to Stopped state.
|
|
898
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
899
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
437
900
|
* the [-0-9a-zA-Z_] char class.
|
|
438
901
|
* @param options The options parameters.
|
|
439
902
|
*/
|
|
440
903
|
beginStopAndWait(resourceGroupName: string, cacheName: string, options?: CachesStopOptionalParams): Promise<void>;
|
|
441
904
|
/**
|
|
442
905
|
* Create a priming job. This operation is only allowed when the cache is healthy.
|
|
443
|
-
* @param resourceGroupName
|
|
444
|
-
* @param cacheName Name of
|
|
906
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
907
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
445
908
|
* the [-0-9a-zA-Z_] char class.
|
|
446
909
|
* @param options The options parameters.
|
|
447
910
|
*/
|
|
448
911
|
beginStartPrimingJob(resourceGroupName: string, cacheName: string, options?: CachesStartPrimingJobOptionalParams): Promise<SimplePollerLike<OperationState<CachesStartPrimingJobResponse>, CachesStartPrimingJobResponse>>;
|
|
449
912
|
/**
|
|
450
913
|
* Create a priming job. This operation is only allowed when the cache is healthy.
|
|
451
|
-
* @param resourceGroupName
|
|
452
|
-
* @param cacheName Name of
|
|
914
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
915
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
453
916
|
* the [-0-9a-zA-Z_] char class.
|
|
454
917
|
* @param options The options parameters.
|
|
455
918
|
*/
|
|
456
919
|
beginStartPrimingJobAndWait(resourceGroupName: string, cacheName: string, options?: CachesStartPrimingJobOptionalParams): Promise<CachesStartPrimingJobResponse>;
|
|
457
920
|
/**
|
|
458
921
|
* Schedule a priming job for deletion.
|
|
459
|
-
* @param resourceGroupName
|
|
460
|
-
* @param cacheName Name of
|
|
922
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
923
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
461
924
|
* the [-0-9a-zA-Z_] char class.
|
|
462
925
|
* @param options The options parameters.
|
|
463
926
|
*/
|
|
464
927
|
beginStopPrimingJob(resourceGroupName: string, cacheName: string, options?: CachesStopPrimingJobOptionalParams): Promise<SimplePollerLike<OperationState<CachesStopPrimingJobResponse>, CachesStopPrimingJobResponse>>;
|
|
465
928
|
/**
|
|
466
929
|
* Schedule a priming job for deletion.
|
|
467
|
-
* @param resourceGroupName
|
|
468
|
-
* @param cacheName Name of
|
|
930
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
931
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
469
932
|
* the [-0-9a-zA-Z_] char class.
|
|
470
933
|
* @param options The options parameters.
|
|
471
934
|
*/
|
|
472
935
|
beginStopPrimingJobAndWait(resourceGroupName: string, cacheName: string, options?: CachesStopPrimingJobOptionalParams): Promise<CachesStopPrimingJobResponse>;
|
|
473
936
|
/**
|
|
474
937
|
* Schedule a priming job to be paused.
|
|
475
|
-
* @param resourceGroupName
|
|
476
|
-
* @param cacheName Name of
|
|
938
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
939
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
477
940
|
* the [-0-9a-zA-Z_] char class.
|
|
478
941
|
* @param options The options parameters.
|
|
479
942
|
*/
|
|
480
943
|
beginPausePrimingJob(resourceGroupName: string, cacheName: string, options?: CachesPausePrimingJobOptionalParams): Promise<SimplePollerLike<OperationState<CachesPausePrimingJobResponse>, CachesPausePrimingJobResponse>>;
|
|
481
944
|
/**
|
|
482
945
|
* Schedule a priming job to be paused.
|
|
483
|
-
* @param resourceGroupName
|
|
484
|
-
* @param cacheName Name of
|
|
946
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
947
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
485
948
|
* the [-0-9a-zA-Z_] char class.
|
|
486
949
|
* @param options The options parameters.
|
|
487
950
|
*/
|
|
488
951
|
beginPausePrimingJobAndWait(resourceGroupName: string, cacheName: string, options?: CachesPausePrimingJobOptionalParams): Promise<CachesPausePrimingJobResponse>;
|
|
489
952
|
/**
|
|
490
953
|
* Resumes a paused priming job.
|
|
491
|
-
* @param resourceGroupName
|
|
492
|
-
* @param cacheName Name of
|
|
954
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
955
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
493
956
|
* the [-0-9a-zA-Z_] char class.
|
|
494
957
|
* @param options The options parameters.
|
|
495
958
|
*/
|
|
496
959
|
beginResumePrimingJob(resourceGroupName: string, cacheName: string, options?: CachesResumePrimingJobOptionalParams): Promise<SimplePollerLike<OperationState<CachesResumePrimingJobResponse>, CachesResumePrimingJobResponse>>;
|
|
497
960
|
/**
|
|
498
961
|
* Resumes a paused priming job.
|
|
499
|
-
* @param resourceGroupName
|
|
500
|
-
* @param cacheName Name of
|
|
962
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
963
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
501
964
|
* the [-0-9a-zA-Z_] char class.
|
|
502
965
|
* @param options The options parameters.
|
|
503
966
|
*/
|
|
504
967
|
beginResumePrimingJobAndWait(resourceGroupName: string, cacheName: string, options?: CachesResumePrimingJobOptionalParams): Promise<CachesResumePrimingJobResponse>;
|
|
505
968
|
/**
|
|
506
|
-
* Upgrade a
|
|
507
|
-
* @param resourceGroupName
|
|
508
|
-
* @param cacheName Name of
|
|
969
|
+
* Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
|
|
970
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
971
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
509
972
|
* the [-0-9a-zA-Z_] char class.
|
|
510
973
|
* @param options The options parameters.
|
|
511
974
|
*/
|
|
512
975
|
beginUpgradeFirmware(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
513
976
|
/**
|
|
514
|
-
* Upgrade a
|
|
515
|
-
* @param resourceGroupName
|
|
516
|
-
* @param cacheName Name of
|
|
977
|
+
* Upgrade a cache's firmware if a new version is available. Otherwise, this operation has no effect.
|
|
978
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
979
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
517
980
|
* the [-0-9a-zA-Z_] char class.
|
|
518
981
|
* @param options The options parameters.
|
|
519
982
|
*/
|
|
520
983
|
beginUpgradeFirmwareAndWait(resourceGroupName: string, cacheName: string, options?: CachesUpgradeFirmwareOptionalParams): Promise<void>;
|
|
521
984
|
/**
|
|
522
985
|
* Update cache space allocation.
|
|
523
|
-
* @param resourceGroupName
|
|
524
|
-
* @param cacheName Name of
|
|
986
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
987
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
525
988
|
* the [-0-9a-zA-Z_] char class.
|
|
526
989
|
* @param options The options parameters.
|
|
527
990
|
*/
|
|
528
991
|
beginSpaceAllocation(resourceGroupName: string, cacheName: string, options?: CachesSpaceAllocationOptionalParams): Promise<SimplePollerLike<OperationState<CachesSpaceAllocationResponse>, CachesSpaceAllocationResponse>>;
|
|
529
992
|
/**
|
|
530
993
|
* Update cache space allocation.
|
|
531
|
-
* @param resourceGroupName
|
|
532
|
-
* @param cacheName Name of
|
|
994
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
995
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
533
996
|
* the [-0-9a-zA-Z_] char class.
|
|
534
997
|
* @param options The options parameters.
|
|
535
998
|
*/
|
|
@@ -608,9 +1071,9 @@ export declare interface CachesGetOptionalParams extends coreClient.OperationOpt
|
|
|
608
1071
|
/** Contains response data for the get operation. */
|
|
609
1072
|
export declare type CachesGetResponse = Cache_2;
|
|
610
1073
|
|
|
611
|
-
/** SKU for the
|
|
1074
|
+
/** SKU for the cache. */
|
|
612
1075
|
export declare interface CacheSku {
|
|
613
|
-
/** SKU name for this
|
|
1076
|
+
/** SKU name for this cache. */
|
|
614
1077
|
name?: string;
|
|
615
1078
|
}
|
|
616
1079
|
|
|
@@ -642,9 +1105,9 @@ export declare interface CachesListOptionalParams extends coreClient.OperationOp
|
|
|
642
1105
|
/** Contains response data for the list operation. */
|
|
643
1106
|
export declare type CachesListResponse = CachesListResult;
|
|
644
1107
|
|
|
645
|
-
/** Result of the request to list
|
|
1108
|
+
/** Result of the request to list caches. It contains a list of caches and a URL link to get the next set of results. */
|
|
646
1109
|
export declare interface CachesListResult {
|
|
647
|
-
/** URL to get the next set of
|
|
1110
|
+
/** URL to get the next set of cache list results, if there are any. */
|
|
648
1111
|
nextLink?: string;
|
|
649
1112
|
/** List of Caches. */
|
|
650
1113
|
value?: Cache_2[];
|
|
@@ -797,7 +1260,7 @@ export declare interface CachesUpdateHeaders {
|
|
|
797
1260
|
|
|
798
1261
|
/** Optional parameters. */
|
|
799
1262
|
export declare interface CachesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
800
|
-
/** Object containing the user-selectable properties of the
|
|
1263
|
+
/** Object containing the user-selectable properties of the cache. If read-only properties are included, they must match the existing values of those properties. */
|
|
801
1264
|
cache?: Cache_2;
|
|
802
1265
|
/** Delay to wait until next poll, in milliseconds. */
|
|
803
1266
|
updateIntervalInMs?: number;
|
|
@@ -832,20 +1295,20 @@ export declare interface CacheUpgradeSettings {
|
|
|
832
1295
|
scheduledTime?: Date;
|
|
833
1296
|
}
|
|
834
1297
|
|
|
835
|
-
/** Properties describing the software upgrade state of the
|
|
1298
|
+
/** Properties describing the software upgrade state of the cache. */
|
|
836
1299
|
export declare interface CacheUpgradeStatus {
|
|
837
1300
|
/**
|
|
838
|
-
* Version string of the firmware currently installed on this
|
|
1301
|
+
* Version string of the firmware currently installed on this cache.
|
|
839
1302
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
840
1303
|
*/
|
|
841
1304
|
readonly currentFirmwareVersion?: string;
|
|
842
1305
|
/**
|
|
843
|
-
* True if there is a firmware update ready to install on this
|
|
1306
|
+
* True if there is a firmware update ready to install on this cache. The firmware will automatically be installed after firmwareUpdateDeadline if not triggered earlier via the upgrade operation.
|
|
844
1307
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
845
1308
|
*/
|
|
846
1309
|
readonly firmwareUpdateStatus?: FirmwareStatusType;
|
|
847
1310
|
/**
|
|
848
|
-
* Time at which the pending firmware update will automatically be installed on the
|
|
1311
|
+
* Time at which the pending firmware update will automatically be installed on the cache.
|
|
849
1312
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
850
1313
|
*/
|
|
851
1314
|
readonly firmwareUpdateDeadline?: Date;
|
|
@@ -900,6 +1363,12 @@ export declare interface CacheUsernameDownloadSettingsCredentials {
|
|
|
900
1363
|
bindPassword?: string;
|
|
901
1364
|
}
|
|
902
1365
|
|
|
1366
|
+
/** Optional parameters. */
|
|
1367
|
+
export declare interface CheckAmlFSSubnetsOptionalParams extends coreClient.OperationOptions {
|
|
1368
|
+
/** Information about the subnets to validate. */
|
|
1369
|
+
amlFilesystemSubnetInfo?: AmlFilesystemSubnetInfo;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
903
1372
|
/** Properties pertaining to the ClfsTarget */
|
|
904
1373
|
export declare interface ClfsTarget {
|
|
905
1374
|
/** Resource ID of storage container. */
|
|
@@ -969,6 +1438,16 @@ export declare interface ErrorResponse {
|
|
|
969
1438
|
message?: string;
|
|
970
1439
|
}
|
|
971
1440
|
|
|
1441
|
+
/**
|
|
1442
|
+
* Defines values for FilesystemSubnetStatusType. \
|
|
1443
|
+
* {@link KnownFilesystemSubnetStatusType} can be used interchangeably with FilesystemSubnetStatusType,
|
|
1444
|
+
* this enum contains the known values that the service supports.
|
|
1445
|
+
* ### Known values supported by the service
|
|
1446
|
+
* **Ok** \
|
|
1447
|
+
* **Invalid**
|
|
1448
|
+
*/
|
|
1449
|
+
export declare type FilesystemSubnetStatusType = string;
|
|
1450
|
+
|
|
972
1451
|
/**
|
|
973
1452
|
* Defines values for FirmwareStatusType. \
|
|
974
1453
|
* {@link KnownFirmwareStatusType} can be used interchangeably with FirmwareStatusType,
|
|
@@ -988,6 +1467,15 @@ export declare type FirmwareStatusType = string;
|
|
|
988
1467
|
*/
|
|
989
1468
|
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
990
1469
|
|
|
1470
|
+
/** Optional parameters. */
|
|
1471
|
+
export declare interface GetRequiredAmlFSSubnetsSizeOptionalParams extends coreClient.OperationOptions {
|
|
1472
|
+
/** Information to determine the number of available IPs a subnet will need to host the AML file system. */
|
|
1473
|
+
requiredAMLFilesystemSubnetsSizeInfo?: RequiredAmlFilesystemSubnetsSizeInfo;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/** Contains response data for the getRequiredAmlFSSubnetsSize operation. */
|
|
1477
|
+
export declare type GetRequiredAmlFSSubnetsSizeResponse = RequiredAmlFilesystemSubnetsSize;
|
|
1478
|
+
|
|
991
1479
|
/**
|
|
992
1480
|
* Defines values for HealthStateType. \
|
|
993
1481
|
* {@link KnownHealthStateType} can be used interchangeably with HealthStateType,
|
|
@@ -1008,20 +1496,70 @@ export declare function getContinuationToken(page: unknown): string | undefined;
|
|
|
1008
1496
|
*/
|
|
1009
1497
|
export declare type HealthStateType = string;
|
|
1010
1498
|
|
|
1011
|
-
/** Describes a reference to
|
|
1499
|
+
/** Describes a reference to key vault key. */
|
|
1012
1500
|
export declare interface KeyVaultKeyReference {
|
|
1013
|
-
/** The URL referencing a key encryption key in
|
|
1501
|
+
/** The URL referencing a key encryption key in key vault. */
|
|
1014
1502
|
keyUrl: string;
|
|
1015
|
-
/** Describes a resource Id to source
|
|
1503
|
+
/** Describes a resource Id to source key vault. */
|
|
1016
1504
|
sourceVault: KeyVaultKeyReferenceSourceVault;
|
|
1017
1505
|
}
|
|
1018
1506
|
|
|
1019
|
-
/** Describes a resource Id to source
|
|
1507
|
+
/** Describes a resource Id to source key vault. */
|
|
1020
1508
|
export declare interface KeyVaultKeyReferenceSourceVault {
|
|
1021
1509
|
/** Resource Id. */
|
|
1022
1510
|
id?: string;
|
|
1023
1511
|
}
|
|
1024
1512
|
|
|
1513
|
+
/** Known values of {@link AmlFilesystemHealthStateType} that the service accepts. */
|
|
1514
|
+
export declare enum KnownAmlFilesystemHealthStateType {
|
|
1515
|
+
/** Unavailable */
|
|
1516
|
+
Unavailable = "Unavailable",
|
|
1517
|
+
/** Available */
|
|
1518
|
+
Available = "Available",
|
|
1519
|
+
/** Degraded */
|
|
1520
|
+
Degraded = "Degraded",
|
|
1521
|
+
/** Transitioning */
|
|
1522
|
+
Transitioning = "Transitioning",
|
|
1523
|
+
/** Maintenance */
|
|
1524
|
+
Maintenance = "Maintenance"
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/** Known values of {@link AmlFilesystemProvisioningStateType} that the service accepts. */
|
|
1528
|
+
export declare enum KnownAmlFilesystemProvisioningStateType {
|
|
1529
|
+
/** Succeeded */
|
|
1530
|
+
Succeeded = "Succeeded",
|
|
1531
|
+
/** Failed */
|
|
1532
|
+
Failed = "Failed",
|
|
1533
|
+
/** Creating */
|
|
1534
|
+
Creating = "Creating",
|
|
1535
|
+
/** Deleting */
|
|
1536
|
+
Deleting = "Deleting",
|
|
1537
|
+
/** Updating */
|
|
1538
|
+
Updating = "Updating",
|
|
1539
|
+
/** Canceled */
|
|
1540
|
+
Canceled = "Canceled"
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
/** Known values of {@link ArchiveStatusType} that the service accepts. */
|
|
1544
|
+
export declare enum KnownArchiveStatusType {
|
|
1545
|
+
/** NotConfigured */
|
|
1546
|
+
NotConfigured = "NotConfigured",
|
|
1547
|
+
/** Idle */
|
|
1548
|
+
Idle = "Idle",
|
|
1549
|
+
/** InProgress */
|
|
1550
|
+
InProgress = "InProgress",
|
|
1551
|
+
/** Canceled */
|
|
1552
|
+
Canceled = "Canceled",
|
|
1553
|
+
/** Completed */
|
|
1554
|
+
Completed = "Completed",
|
|
1555
|
+
/** Failed */
|
|
1556
|
+
Failed = "Failed",
|
|
1557
|
+
/** Cancelling */
|
|
1558
|
+
Cancelling = "Cancelling",
|
|
1559
|
+
/** FSScanInProgress */
|
|
1560
|
+
FSScanInProgress = "FSScanInProgress"
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1025
1563
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
1026
1564
|
export declare enum KnownCreatedByType {
|
|
1027
1565
|
/** User */
|
|
@@ -1044,6 +1582,14 @@ export declare enum KnownDomainJoinedType {
|
|
|
1044
1582
|
Error = "Error"
|
|
1045
1583
|
}
|
|
1046
1584
|
|
|
1585
|
+
/** Known values of {@link FilesystemSubnetStatusType} that the service accepts. */
|
|
1586
|
+
export declare enum KnownFilesystemSubnetStatusType {
|
|
1587
|
+
/** Ok */
|
|
1588
|
+
Ok = "Ok",
|
|
1589
|
+
/** Invalid */
|
|
1590
|
+
Invalid = "Invalid"
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1047
1593
|
/** Known values of {@link FirmwareStatusType} that the service accepts. */
|
|
1048
1594
|
export declare enum KnownFirmwareStatusType {
|
|
1049
1595
|
/** Available */
|
|
@@ -1148,8 +1694,8 @@ export declare enum KnownProvisioningStateType {
|
|
|
1148
1694
|
Succeeded = "Succeeded",
|
|
1149
1695
|
/** Failed */
|
|
1150
1696
|
Failed = "Failed",
|
|
1151
|
-
/**
|
|
1152
|
-
|
|
1697
|
+
/** Canceled */
|
|
1698
|
+
Canceled = "Canceled",
|
|
1153
1699
|
/** Creating */
|
|
1154
1700
|
Creating = "Creating",
|
|
1155
1701
|
/** Deleting */
|
|
@@ -1208,6 +1754,9 @@ export declare interface LogSpecification {
|
|
|
1208
1754
|
displayName?: string;
|
|
1209
1755
|
}
|
|
1210
1756
|
|
|
1757
|
+
/** Defines values for MaintenanceDayOfWeekType. */
|
|
1758
|
+
export declare type MaintenanceDayOfWeekType = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
1759
|
+
|
|
1211
1760
|
/**
|
|
1212
1761
|
* Defines values for MetricAggregationType. \
|
|
1213
1762
|
* {@link KnownMetricAggregationType} can be used interchangeably with MetricAggregationType,
|
|
@@ -1257,7 +1806,7 @@ export declare interface MetricSpecification {
|
|
|
1257
1806
|
|
|
1258
1807
|
/** A namespace junction. */
|
|
1259
1808
|
export declare interface NamespaceJunction {
|
|
1260
|
-
/** Namespace path on a
|
|
1809
|
+
/** Namespace path on a cache for a Storage Target. */
|
|
1261
1810
|
namespacePath?: string;
|
|
1262
1811
|
/** Path in Storage Target to which namespacePath points. */
|
|
1263
1812
|
targetPath?: string;
|
|
@@ -1422,7 +1971,7 @@ export declare type PrimingJobState = string;
|
|
|
1422
1971
|
* ### Known values supported by the service
|
|
1423
1972
|
* **Succeeded** \
|
|
1424
1973
|
* **Failed** \
|
|
1425
|
-
* **
|
|
1974
|
+
* **Canceled** \
|
|
1426
1975
|
* **Creating** \
|
|
1427
1976
|
* **Deleting** \
|
|
1428
1977
|
* **Updating**
|
|
@@ -1439,6 +1988,44 @@ export declare type ProvisioningStateType = string;
|
|
|
1439
1988
|
*/
|
|
1440
1989
|
export declare type ReasonCode = string;
|
|
1441
1990
|
|
|
1991
|
+
/** Information about the number of available IP addresses that are required for the AML file system. */
|
|
1992
|
+
export declare interface RequiredAmlFilesystemSubnetsSize {
|
|
1993
|
+
/** The number of available IP addresses that are required for the AML file system. */
|
|
1994
|
+
filesystemSubnetSize?: number;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
/** Information required to get the number of available IP addresses a subnet should have that will be used in AML file system create */
|
|
1998
|
+
export declare interface RequiredAmlFilesystemSubnetsSizeInfo {
|
|
1999
|
+
/** The size of the AML file system, in TiB. */
|
|
2000
|
+
storageCapacityTiB?: number;
|
|
2001
|
+
/** SKU for the resource. */
|
|
2002
|
+
sku?: SkuName;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
2006
|
+
export declare interface Resource {
|
|
2007
|
+
/**
|
|
2008
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
|
2009
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2010
|
+
*/
|
|
2011
|
+
readonly id?: string;
|
|
2012
|
+
/**
|
|
2013
|
+
* The name of the resource
|
|
2014
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2015
|
+
*/
|
|
2016
|
+
readonly name?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
2019
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2020
|
+
*/
|
|
2021
|
+
readonly type?: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
2024
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2025
|
+
*/
|
|
2026
|
+
readonly systemData?: SystemData;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
1442
2029
|
/** A resource SKU. */
|
|
1443
2030
|
export declare interface ResourceSku {
|
|
1444
2031
|
/**
|
|
@@ -1479,7 +2066,7 @@ export declare interface ResourceSkuLocationInfo {
|
|
|
1479
2066
|
|
|
1480
2067
|
/** The response from the List Cache SKUs operation. */
|
|
1481
2068
|
export declare interface ResourceSkusResult {
|
|
1482
|
-
/** The URI to fetch the next page of
|
|
2069
|
+
/** The URI to fetch the next page of cache SKUs. */
|
|
1483
2070
|
nextLink?: string;
|
|
1484
2071
|
/**
|
|
1485
2072
|
* The list of SKUs available for the subscription.
|
|
@@ -1550,6 +2137,12 @@ export declare interface Restriction {
|
|
|
1550
2137
|
reasonCode?: ReasonCode;
|
|
1551
2138
|
}
|
|
1552
2139
|
|
|
2140
|
+
/** SKU for the resource. */
|
|
2141
|
+
export declare interface SkuName {
|
|
2142
|
+
/** SKU name for this resource. */
|
|
2143
|
+
name?: string;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
1553
2146
|
/** Interface representing a Skus. */
|
|
1554
2147
|
export declare interface Skus {
|
|
1555
2148
|
/**
|
|
@@ -1580,13 +2173,22 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
|
|
|
1580
2173
|
/**
|
|
1581
2174
|
* Initializes a new instance of the StorageCacheManagementClient class.
|
|
1582
2175
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1583
|
-
* @param subscriptionId
|
|
1584
|
-
* The subscription ID forms part of the URI for every service call.
|
|
2176
|
+
* @param subscriptionId The ID of the target subscription.
|
|
1585
2177
|
* @param options The parameter options
|
|
1586
2178
|
*/
|
|
1587
2179
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageCacheManagementClientOptionalParams);
|
|
1588
2180
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1589
2181
|
private addCustomApiVersionPolicy;
|
|
2182
|
+
/**
|
|
2183
|
+
* Check that subnets will be valid for AML file system create calls.
|
|
2184
|
+
* @param options The options parameters.
|
|
2185
|
+
*/
|
|
2186
|
+
checkAmlFSSubnets(options?: CheckAmlFSSubnetsOptionalParams): Promise<void>;
|
|
2187
|
+
/**
|
|
2188
|
+
* Get the number of available IP addresses needed for the AML file system information provided.
|
|
2189
|
+
* @param options The options parameters.
|
|
2190
|
+
*/
|
|
2191
|
+
getRequiredAmlFSSubnetsSize(options?: GetRequiredAmlFSSubnetsSizeOptionalParams): Promise<GetRequiredAmlFSSubnetsSizeResponse>;
|
|
1590
2192
|
operations: Operations;
|
|
1591
2193
|
skus: Skus;
|
|
1592
2194
|
usageModels: UsageModels;
|
|
@@ -1595,6 +2197,7 @@ export declare class StorageCacheManagementClient extends coreClient.ServiceClie
|
|
|
1595
2197
|
caches: Caches;
|
|
1596
2198
|
storageTargets: StorageTargets;
|
|
1597
2199
|
storageTargetOperations: StorageTargetOperations;
|
|
2200
|
+
amlFilesystems: AmlFilesystems;
|
|
1598
2201
|
}
|
|
1599
2202
|
|
|
1600
2203
|
/** Optional parameters. */
|
|
@@ -1609,7 +2212,7 @@ export declare interface StorageCacheManagementClientOptionalParams extends core
|
|
|
1609
2212
|
|
|
1610
2213
|
/** Type of the Storage Target. */
|
|
1611
2214
|
export declare interface StorageTarget extends StorageTargetResource {
|
|
1612
|
-
/** List of
|
|
2215
|
+
/** List of cache namespace junctions to target for namespace associations. */
|
|
1613
2216
|
junctions?: NamespaceJunction[];
|
|
1614
2217
|
/** Type of the Storage Target. */
|
|
1615
2218
|
targetType?: StorageTargetType;
|
|
@@ -1672,8 +2275,8 @@ export declare interface StorageTargetOperations {
|
|
|
1672
2275
|
/**
|
|
1673
2276
|
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
|
|
1674
2277
|
* this storage target's namespace will return errors until the flush operation completes.
|
|
1675
|
-
* @param resourceGroupName
|
|
1676
|
-
* @param cacheName Name of
|
|
2278
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2279
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1677
2280
|
* the [-0-9a-zA-Z_] char class.
|
|
1678
2281
|
* @param storageTargetName Name of Storage Target.
|
|
1679
2282
|
* @param options The options parameters.
|
|
@@ -1682,8 +2285,8 @@ export declare interface StorageTargetOperations {
|
|
|
1682
2285
|
/**
|
|
1683
2286
|
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
|
|
1684
2287
|
* this storage target's namespace will return errors until the flush operation completes.
|
|
1685
|
-
* @param resourceGroupName
|
|
1686
|
-
* @param cacheName Name of
|
|
2288
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2289
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1687
2290
|
* the [-0-9a-zA-Z_] char class.
|
|
1688
2291
|
* @param storageTargetName Name of Storage Target.
|
|
1689
2292
|
* @param options The options parameters.
|
|
@@ -1691,8 +2294,8 @@ export declare interface StorageTargetOperations {
|
|
|
1691
2294
|
beginFlushAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetFlushOptionalParams): Promise<void>;
|
|
1692
2295
|
/**
|
|
1693
2296
|
* Suspends client access to a storage target.
|
|
1694
|
-
* @param resourceGroupName
|
|
1695
|
-
* @param cacheName Name of
|
|
2297
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2298
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1696
2299
|
* the [-0-9a-zA-Z_] char class.
|
|
1697
2300
|
* @param storageTargetName Name of Storage Target.
|
|
1698
2301
|
* @param options The options parameters.
|
|
@@ -1700,8 +2303,8 @@ export declare interface StorageTargetOperations {
|
|
|
1700
2303
|
beginSuspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1701
2304
|
/**
|
|
1702
2305
|
* Suspends client access to a storage target.
|
|
1703
|
-
* @param resourceGroupName
|
|
1704
|
-
* @param cacheName Name of
|
|
2306
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2307
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1705
2308
|
* the [-0-9a-zA-Z_] char class.
|
|
1706
2309
|
* @param storageTargetName Name of Storage Target.
|
|
1707
2310
|
* @param options The options parameters.
|
|
@@ -1709,8 +2312,8 @@ export declare interface StorageTargetOperations {
|
|
|
1709
2312
|
beginSuspendAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetSuspendOptionalParams): Promise<void>;
|
|
1710
2313
|
/**
|
|
1711
2314
|
* Resumes client access to a previously suspended storage target.
|
|
1712
|
-
* @param resourceGroupName
|
|
1713
|
-
* @param cacheName Name of
|
|
2315
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2316
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1714
2317
|
* the [-0-9a-zA-Z_] char class.
|
|
1715
2318
|
* @param storageTargetName Name of Storage Target.
|
|
1716
2319
|
* @param options The options parameters.
|
|
@@ -1718,8 +2321,8 @@ export declare interface StorageTargetOperations {
|
|
|
1718
2321
|
beginResume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetResumeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1719
2322
|
/**
|
|
1720
2323
|
* Resumes client access to a previously suspended storage target.
|
|
1721
|
-
* @param resourceGroupName
|
|
1722
|
-
* @param cacheName Name of
|
|
2324
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2325
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1723
2326
|
* the [-0-9a-zA-Z_] char class.
|
|
1724
2327
|
* @param storageTargetName Name of Storage Target.
|
|
1725
2328
|
* @param options The options parameters.
|
|
@@ -1728,8 +2331,8 @@ export declare interface StorageTargetOperations {
|
|
|
1728
2331
|
/**
|
|
1729
2332
|
* Invalidate all cached data for a storage target. Cached files are discarded and fetched from the
|
|
1730
2333
|
* back end on the next request.
|
|
1731
|
-
* @param resourceGroupName
|
|
1732
|
-
* @param cacheName Name of
|
|
2334
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2335
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1733
2336
|
* the [-0-9a-zA-Z_] char class.
|
|
1734
2337
|
* @param storageTargetName Name of Storage Target.
|
|
1735
2338
|
* @param options The options parameters.
|
|
@@ -1738,8 +2341,8 @@ export declare interface StorageTargetOperations {
|
|
|
1738
2341
|
/**
|
|
1739
2342
|
* Invalidate all cached data for a storage target. Cached files are discarded and fetched from the
|
|
1740
2343
|
* back end on the next request.
|
|
1741
|
-
* @param resourceGroupName
|
|
1742
|
-
* @param cacheName Name of
|
|
2344
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2345
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1743
2346
|
* the [-0-9a-zA-Z_] char class.
|
|
1744
2347
|
* @param storageTargetName Name of Storage Target.
|
|
1745
2348
|
* @param options The options parameters.
|
|
@@ -1747,7 +2350,7 @@ export declare interface StorageTargetOperations {
|
|
|
1747
2350
|
beginInvalidateAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetInvalidateOptionalParams): Promise<void>;
|
|
1748
2351
|
}
|
|
1749
2352
|
|
|
1750
|
-
/** Resource used by a
|
|
2353
|
+
/** Resource used by a cache. */
|
|
1751
2354
|
export declare interface StorageTargetResource {
|
|
1752
2355
|
/**
|
|
1753
2356
|
* Name of the Storage Target.
|
|
@@ -1795,17 +2398,17 @@ export declare interface StorageTargetResumeOptionalParams extends coreClient.Op
|
|
|
1795
2398
|
/** Interface representing a StorageTargets. */
|
|
1796
2399
|
export declare interface StorageTargets {
|
|
1797
2400
|
/**
|
|
1798
|
-
* Returns a list of Storage Targets for the specified
|
|
1799
|
-
* @param resourceGroupName
|
|
1800
|
-
* @param cacheName Name of
|
|
2401
|
+
* Returns a list of Storage Targets for the specified cache.
|
|
2402
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2403
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1801
2404
|
* the [-0-9a-zA-Z_] char class.
|
|
1802
2405
|
* @param options The options parameters.
|
|
1803
2406
|
*/
|
|
1804
2407
|
listByCache(resourceGroupName: string, cacheName: string, options?: StorageTargetsListByCacheOptionalParams): PagedAsyncIterableIterator<StorageTarget>;
|
|
1805
2408
|
/**
|
|
1806
2409
|
* Tells a storage target to refresh its DNS information.
|
|
1807
|
-
* @param resourceGroupName
|
|
1808
|
-
* @param cacheName Name of
|
|
2410
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2411
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1809
2412
|
* the [-0-9a-zA-Z_] char class.
|
|
1810
2413
|
* @param storageTargetName Name of Storage Target.
|
|
1811
2414
|
* @param options The options parameters.
|
|
@@ -1813,52 +2416,52 @@ export declare interface StorageTargets {
|
|
|
1813
2416
|
beginDnsRefresh(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1814
2417
|
/**
|
|
1815
2418
|
* Tells a storage target to refresh its DNS information.
|
|
1816
|
-
* @param resourceGroupName
|
|
1817
|
-
* @param cacheName Name of
|
|
2419
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2420
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1818
2421
|
* the [-0-9a-zA-Z_] char class.
|
|
1819
2422
|
* @param storageTargetName Name of Storage Target.
|
|
1820
2423
|
* @param options The options parameters.
|
|
1821
2424
|
*/
|
|
1822
2425
|
beginDnsRefreshAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDnsRefreshOptionalParams): Promise<void>;
|
|
1823
2426
|
/**
|
|
1824
|
-
* Removes a Storage Target from a
|
|
1825
|
-
* down or unhealthy, the actual removal of the Storage Target may be delayed until the
|
|
1826
|
-
* healthy again. Note that if the
|
|
2427
|
+
* Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is
|
|
2428
|
+
* down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is
|
|
2429
|
+
* healthy again. Note that if the cache has data to flush to the Storage Target, the data will be
|
|
1827
2430
|
* flushed before the Storage Target will be deleted.
|
|
1828
|
-
* @param resourceGroupName
|
|
1829
|
-
* @param cacheName Name of
|
|
2431
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2432
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1830
2433
|
* the [-0-9a-zA-Z_] char class.
|
|
1831
2434
|
* @param storageTargetName Name of Storage Target.
|
|
1832
2435
|
* @param options The options parameters.
|
|
1833
2436
|
*/
|
|
1834
2437
|
beginDelete(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1835
2438
|
/**
|
|
1836
|
-
* Removes a Storage Target from a
|
|
1837
|
-
* down or unhealthy, the actual removal of the Storage Target may be delayed until the
|
|
1838
|
-
* healthy again. Note that if the
|
|
2439
|
+
* Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is
|
|
2440
|
+
* down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is
|
|
2441
|
+
* healthy again. Note that if the cache has data to flush to the Storage Target, the data will be
|
|
1839
2442
|
* flushed before the Storage Target will be deleted.
|
|
1840
|
-
* @param resourceGroupName
|
|
1841
|
-
* @param cacheName Name of
|
|
2443
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2444
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1842
2445
|
* the [-0-9a-zA-Z_] char class.
|
|
1843
2446
|
* @param storageTargetName Name of Storage Target.
|
|
1844
2447
|
* @param options The options parameters.
|
|
1845
2448
|
*/
|
|
1846
2449
|
beginDeleteAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsDeleteOptionalParams): Promise<void>;
|
|
1847
2450
|
/**
|
|
1848
|
-
* Returns a Storage Target from a
|
|
1849
|
-
* @param resourceGroupName
|
|
1850
|
-
* @param cacheName Name of
|
|
2451
|
+
* Returns a Storage Target from a cache.
|
|
2452
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2453
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1851
2454
|
* the [-0-9a-zA-Z_] char class.
|
|
1852
2455
|
* @param storageTargetName Name of Storage Target.
|
|
1853
2456
|
* @param options The options parameters.
|
|
1854
2457
|
*/
|
|
1855
2458
|
get(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsGetOptionalParams): Promise<StorageTargetsGetResponse>;
|
|
1856
2459
|
/**
|
|
1857
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the
|
|
1858
|
-
* or unhealthy, the actual creation/modification of the Storage Target may be delayed until the
|
|
2460
|
+
* Create or update a Storage Target. This operation is allowed at any time, but if the cache is down
|
|
2461
|
+
* or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache
|
|
1859
2462
|
* is healthy again.
|
|
1860
|
-
* @param resourceGroupName
|
|
1861
|
-
* @param cacheName Name of
|
|
2463
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2464
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1862
2465
|
* the [-0-9a-zA-Z_] char class.
|
|
1863
2466
|
* @param storageTargetName Name of Storage Target.
|
|
1864
2467
|
* @param storagetarget Object containing the definition of a Storage Target.
|
|
@@ -1866,11 +2469,11 @@ export declare interface StorageTargets {
|
|
|
1866
2469
|
*/
|
|
1867
2470
|
beginCreateOrUpdate(resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StorageTargetsCreateOrUpdateResponse>, StorageTargetsCreateOrUpdateResponse>>;
|
|
1868
2471
|
/**
|
|
1869
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the
|
|
1870
|
-
* or unhealthy, the actual creation/modification of the Storage Target may be delayed until the
|
|
2472
|
+
* Create or update a Storage Target. This operation is allowed at any time, but if the cache is down
|
|
2473
|
+
* or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache
|
|
1871
2474
|
* is healthy again.
|
|
1872
|
-
* @param resourceGroupName
|
|
1873
|
-
* @param cacheName Name of
|
|
2475
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2476
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1874
2477
|
* the [-0-9a-zA-Z_] char class.
|
|
1875
2478
|
* @param storageTargetName Name of Storage Target.
|
|
1876
2479
|
* @param storagetarget Object containing the definition of a Storage Target.
|
|
@@ -1879,8 +2482,8 @@ export declare interface StorageTargets {
|
|
|
1879
2482
|
beginCreateOrUpdateAndWait(resourceGroupName: string, cacheName: string, storageTargetName: string, storagetarget: StorageTarget, options?: StorageTargetsCreateOrUpdateOptionalParams): Promise<StorageTargetsCreateOrUpdateResponse>;
|
|
1880
2483
|
/**
|
|
1881
2484
|
* Tells a storage target to restore its settings to their default values.
|
|
1882
|
-
* @param resourceGroupName
|
|
1883
|
-
* @param cacheName Name of
|
|
2485
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2486
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1884
2487
|
* the [-0-9a-zA-Z_] char class.
|
|
1885
2488
|
* @param storageTargetName Name of Storage Target.
|
|
1886
2489
|
* @param options The options parameters.
|
|
@@ -1888,8 +2491,8 @@ export declare interface StorageTargets {
|
|
|
1888
2491
|
beginRestoreDefaults(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: StorageTargetsRestoreDefaultsOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1889
2492
|
/**
|
|
1890
2493
|
* Tells a storage target to restore its settings to their default values.
|
|
1891
|
-
* @param resourceGroupName
|
|
1892
|
-
* @param cacheName Name of
|
|
2494
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2495
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
1893
2496
|
* the [-0-9a-zA-Z_] char class.
|
|
1894
2497
|
* @param storageTargetName Name of Storage Target.
|
|
1895
2498
|
* @param options The options parameters.
|
|
@@ -1991,7 +2594,7 @@ export declare interface StorageTargetsRestoreDefaultsOptionalParams extends cor
|
|
|
1991
2594
|
export declare interface StorageTargetsResult {
|
|
1992
2595
|
/** The URI to fetch the next page of Storage Targets. */
|
|
1993
2596
|
nextLink?: string;
|
|
1994
|
-
/** The list of Storage Targets defined for the
|
|
2597
|
+
/** The list of Storage Targets defined for the cache. */
|
|
1995
2598
|
value?: StorageTarget[];
|
|
1996
2599
|
}
|
|
1997
2600
|
|
|
@@ -2039,6 +2642,16 @@ export declare interface SystemData {
|
|
|
2039
2642
|
lastModifiedAt?: Date;
|
|
2040
2643
|
}
|
|
2041
2644
|
|
|
2645
|
+
/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
|
|
2646
|
+
export declare interface TrackedResource extends Resource {
|
|
2647
|
+
/** Resource tags. */
|
|
2648
|
+
tags?: {
|
|
2649
|
+
[propertyName: string]: string;
|
|
2650
|
+
};
|
|
2651
|
+
/** The geo-location where the resource lives */
|
|
2652
|
+
location: string;
|
|
2653
|
+
}
|
|
2654
|
+
|
|
2042
2655
|
/** Properties pertaining to the UnknownTarget */
|
|
2043
2656
|
export declare interface UnknownTarget {
|
|
2044
2657
|
/** Dictionary of string->string pairs containing information about the Storage Target. */
|
|
@@ -2066,7 +2679,7 @@ export declare interface UsageModelDisplay {
|
|
|
2066
2679
|
/** Interface representing a UsageModels. */
|
|
2067
2680
|
export declare interface UsageModels {
|
|
2068
2681
|
/**
|
|
2069
|
-
* Get the list of
|
|
2682
|
+
* Get the list of cache usage models available to this subscription.
|
|
2070
2683
|
* @param options The options parameters.
|
|
2071
2684
|
*/
|
|
2072
2685
|
list(options?: UsageModelsListOptionalParams): PagedAsyncIterableIterator<UsageModel>;
|
|
@@ -2086,9 +2699,9 @@ export declare interface UsageModelsListOptionalParams extends coreClient.Operat
|
|
|
2086
2699
|
/** Contains response data for the list operation. */
|
|
2087
2700
|
export declare type UsageModelsListResponse = UsageModelsResult;
|
|
2088
2701
|
|
|
2089
|
-
/** A list of
|
|
2702
|
+
/** A list of cache usage models. */
|
|
2090
2703
|
export declare interface UsageModelsResult {
|
|
2091
|
-
/** The URI to fetch the next page of
|
|
2704
|
+
/** The URI to fetch the next page of cache usage models. */
|
|
2092
2705
|
nextLink?: string;
|
|
2093
2706
|
/** The list of usage models available for the subscription. */
|
|
2094
2707
|
value?: UsageModel[];
|
|
@@ -2107,6 +2720,19 @@ export declare interface UserAssignedIdentitiesValue {
|
|
|
2107
2720
|
readonly clientId?: string;
|
|
2108
2721
|
}
|
|
2109
2722
|
|
|
2723
|
+
export declare interface UserAssignedIdentitiesValueAutoGenerated {
|
|
2724
|
+
/**
|
|
2725
|
+
* The principal ID of the user-assigned identity.
|
|
2726
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2727
|
+
*/
|
|
2728
|
+
readonly principalId?: string;
|
|
2729
|
+
/**
|
|
2730
|
+
* The client ID of the user-assigned identity.
|
|
2731
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2732
|
+
*/
|
|
2733
|
+
readonly clientId?: string;
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2110
2736
|
/**
|
|
2111
2737
|
* Defines values for UsernameDownloadedType. \
|
|
2112
2738
|
* {@link KnownUsernameDownloadedType} can be used interchangeably with UsernameDownloadedType,
|