@azure/arm-storagecache 7.1.0-beta.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -1
- package/README.md +1 -1
- package/dist/index.js +2414 -1558
- 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.js +2 -2
- package/dist-esm/samples-dev/amlFilesystemsArchiveSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js +12 -12
- package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsGetSample.js +1 -1
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsListSample.js +2 -2
- package/dist-esm/samples-dev/amlFilesystemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js +7 -7
- package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/ascOperationsGetSample.js +1 -1
- package/dist-esm/samples-dev/ascUsagesListSample.js +2 -2
- package/dist-esm/samples-dev/ascUsagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js +31 -31
- package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesDebugInfoSample.js +1 -1
- package/dist-esm/samples-dev/cachesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/cachesFlushSample.js +1 -1
- package/dist-esm/samples-dev/cachesGetSample.js +1 -1
- package/dist-esm/samples-dev/cachesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/cachesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesListSample.js +2 -2
- package/dist-esm/samples-dev/cachesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesPausePrimingJobSample.js +3 -3
- package/dist-esm/samples-dev/cachesPausePrimingJobSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesResumePrimingJobSample.js +3 -3
- package/dist-esm/samples-dev/cachesResumePrimingJobSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesSpaceAllocationSample.js +3 -3
- package/dist-esm/samples-dev/cachesSpaceAllocationSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesStartPrimingJobSample.js +3 -3
- package/dist-esm/samples-dev/cachesStartPrimingJobSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesStartSample.js +1 -1
- package/dist-esm/samples-dev/cachesStopPrimingJobSample.js +3 -3
- package/dist-esm/samples-dev/cachesStopPrimingJobSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesStopSample.js +1 -1
- package/dist-esm/samples-dev/cachesUpdateSample.js +34 -34
- package/dist-esm/samples-dev/cachesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/cachesUpgradeFirmwareSample.js +1 -1
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js +3 -3
- package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js.map +1 -1
- package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.js +1 -1
- package/dist-esm/samples-dev/importJobsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/importJobsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importJobsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/importJobsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/importJobsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/importJobsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importJobsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/importJobsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/importJobsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/importJobsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importJobsGetSample.js +40 -0
- package/dist-esm/samples-dev/importJobsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/importJobsListByAmlFilesystemSample.d.ts +2 -0
- package/dist-esm/samples-dev/importJobsListByAmlFilesystemSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importJobsListByAmlFilesystemSample.js +55 -0
- package/dist-esm/samples-dev/importJobsListByAmlFilesystemSample.js.map +1 -0
- package/dist-esm/samples-dev/importJobsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/importJobsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/importJobsUpdateSample.js +41 -0
- package/dist-esm/samples-dev/importJobsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/skusListSample.js +2 -2
- package/dist-esm/samples-dev/skusListSample.js.map +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 +13 -13
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTargetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsDnsRefreshSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsGetSample.js +1 -1
- package/dist-esm/samples-dev/storageTargetsListByCacheSample.js +2 -2
- package/dist-esm/samples-dev/storageTargetsListByCacheSample.js.map +1 -1
- package/dist-esm/samples-dev/storageTargetsRestoreDefaultsSample.js +1 -1
- package/dist-esm/samples-dev/usageModelsListSample.js +2 -2
- package/dist-esm/samples-dev/usageModelsListSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +268 -3
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +44 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +1324 -1030
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +3 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +89 -66
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/amlFilesystems.d.ts.map +1 -1
- package/dist-esm/src/operations/amlFilesystems.js +67 -67
- package/dist-esm/src/operations/amlFilesystems.js.map +1 -1
- package/dist-esm/src/operations/ascOperations.js +5 -5
- package/dist-esm/src/operations/ascOperations.js.map +1 -1
- package/dist-esm/src/operations/ascUsages.js +11 -11
- package/dist-esm/src/operations/ascUsages.js.map +1 -1
- package/dist-esm/src/operations/caches.d.ts.map +1 -1
- package/dist-esm/src/operations/caches.js +159 -159
- package/dist-esm/src/operations/caches.js.map +1 -1
- package/dist-esm/src/operations/importJobs.d.ts +120 -0
- package/dist-esm/src/operations/importJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/importJobs.js +492 -0
- package/dist-esm/src/operations/importJobs.js.map +1 -0
- 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/operations.js +9 -9
- package/dist-esm/src/operations/skus.js +10 -10
- package/dist-esm/src/operations/storageTargetOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/storageTargetOperations.js +33 -33
- package/dist-esm/src/operations/storageTargetOperations.js.map +1 -1
- package/dist-esm/src/operations/storageTargets.d.ts.map +1 -1
- package/dist-esm/src/operations/storageTargets.js +54 -54
- package/dist-esm/src/operations/storageTargets.js.map +1 -1
- package/dist-esm/src/operations/usageModels.js +10 -10
- package/dist-esm/src/operations/usageModels.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/importJobs.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/importJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/importJobs.js.map +1 -0
- 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/storageCacheManagementClient.d.ts +2 -1
- package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -1
- package/dist-esm/src/storageCacheManagementClient.js +18 -17
- package/dist-esm/src/storageCacheManagementClient.js.map +1 -1
- package/dist-esm/test/storagecache_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/storagecache_operations_test.spec.js +7 -6
- package/dist-esm/test/storagecache_operations_test.spec.js.map +1 -1
- package/package.json +8 -9
- package/review/arm-storagecache.api.md +171 -3
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +321 -25
- package/src/models/mappers.ts +1517 -1189
- package/src/models/parameters.ts +95 -67
- package/src/operations/amlFilesystems.ts +128 -139
- package/src/operations/ascOperations.ts +9 -10
- package/src/operations/ascUsages.ts +20 -21
- package/src/operations/caches.ts +321 -350
- package/src/operations/importJobs.ts +682 -0
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +16 -16
- package/src/operations/skus.ts +16 -16
- package/src/operations/storageTargetOperations.ts +78 -86
- package/src/operations/storageTargets.ts +114 -124
- package/src/operations/usageModels.ts +18 -19
- package/src/operationsInterfaces/amlFilesystems.ts +12 -12
- package/src/operationsInterfaces/ascOperations.ts +2 -2
- package/src/operationsInterfaces/ascUsages.ts +1 -1
- package/src/operationsInterfaces/caches.ts +29 -29
- package/src/operationsInterfaces/importJobs.ts +172 -0
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/skus.ts +1 -1
- package/src/operationsInterfaces/storageTargetOperations.ts +9 -9
- package/src/operationsInterfaces/storageTargets.ts +11 -11
- package/src/operationsInterfaces/usageModels.ts +1 -1
- package/src/pagingHelper.ts +1 -1
- package/src/storageCacheManagementClient.ts +36 -33
- package/types/arm-storagecache.d.ts +390 -7
- package/types/tsdoc-metadata.json +1 -1
package/src/models/index.ts
CHANGED
|
@@ -153,8 +153,10 @@ export interface AmlFilesystemHsmSettings {
|
|
|
153
153
|
container: string;
|
|
154
154
|
/** 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. */
|
|
155
155
|
loggingContainer: string;
|
|
156
|
-
/** Only blobs in the non-logging container that start with this path/prefix get
|
|
156
|
+
/** Only blobs in the non-logging container that start with this path/prefix get imported into the cluster namespace. This is only used during initial creation of the AML file system. It automatically creates an import job resource that can be deleted. */
|
|
157
157
|
importPrefix?: string;
|
|
158
|
+
/** Only blobs in the non-logging container that start with one of the paths/prefixes in this array get imported into the cluster namespace. This is only used during initial creation of the AML file system and has '/' as the default value. It automatically creates an import job resource that can be deleted. */
|
|
159
|
+
importPrefixesInitial?: string[];
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
/** Information about the AML file system archive */
|
|
@@ -306,6 +308,69 @@ export interface AmlFilesystemArchiveInfo {
|
|
|
306
308
|
filesystemPath?: string;
|
|
307
309
|
}
|
|
308
310
|
|
|
311
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
312
|
+
export interface ErrorResponse {
|
|
313
|
+
/** The error object. */
|
|
314
|
+
error?: ErrorDetail;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/** The error detail. */
|
|
318
|
+
export interface ErrorDetail {
|
|
319
|
+
/**
|
|
320
|
+
* The error code.
|
|
321
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
|
+
*/
|
|
323
|
+
readonly code?: string;
|
|
324
|
+
/**
|
|
325
|
+
* The error message.
|
|
326
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
+
*/
|
|
328
|
+
readonly message?: string;
|
|
329
|
+
/**
|
|
330
|
+
* The error target.
|
|
331
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
332
|
+
*/
|
|
333
|
+
readonly target?: string;
|
|
334
|
+
/**
|
|
335
|
+
* The error details.
|
|
336
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
337
|
+
*/
|
|
338
|
+
readonly details?: ErrorDetail[];
|
|
339
|
+
/**
|
|
340
|
+
* The error additional info.
|
|
341
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
342
|
+
*/
|
|
343
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/** The resource management error additional info. */
|
|
347
|
+
export interface ErrorAdditionalInfo {
|
|
348
|
+
/**
|
|
349
|
+
* The additional info type.
|
|
350
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
351
|
+
*/
|
|
352
|
+
readonly type?: string;
|
|
353
|
+
/**
|
|
354
|
+
* The additional info.
|
|
355
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
356
|
+
*/
|
|
357
|
+
readonly info?: Record<string, unknown>;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** An import job update instance. */
|
|
361
|
+
export interface ImportJobUpdate {
|
|
362
|
+
/** Resource tags. */
|
|
363
|
+
tags?: { [propertyName: string]: string };
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/** Result of the request to list import jobs. It contains a list of import jobs and a URL link to get the next set of results. */
|
|
367
|
+
export interface ImportJobsListResult {
|
|
368
|
+
/** URL to get the next set of import job list results, if there are any. */
|
|
369
|
+
nextLink?: string;
|
|
370
|
+
/** List of import jobs. */
|
|
371
|
+
value?: ImportJob[];
|
|
372
|
+
}
|
|
373
|
+
|
|
309
374
|
/** Information required to validate the subnet that will be used in AML file system create */
|
|
310
375
|
export interface AmlFilesystemSubnetInfo {
|
|
311
376
|
/** 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. */
|
|
@@ -530,13 +595,13 @@ export interface AscOperation {
|
|
|
530
595
|
/** The status of the operation. */
|
|
531
596
|
status?: string;
|
|
532
597
|
/** The error detail of the operation if any. */
|
|
533
|
-
error?:
|
|
598
|
+
error?: AscOperationErrorResponse;
|
|
534
599
|
/** Additional operation-specific output. */
|
|
535
600
|
output?: { [propertyName: string]: Record<string, unknown> };
|
|
536
601
|
}
|
|
537
602
|
|
|
538
603
|
/** Describes the format of Error response. */
|
|
539
|
-
export interface
|
|
604
|
+
export interface AscOperationErrorResponse {
|
|
540
605
|
/** Error code */
|
|
541
606
|
code?: string;
|
|
542
607
|
/** Error message indicating why the operation failed. */
|
|
@@ -1110,6 +1175,71 @@ export interface AmlFilesystem extends TrackedResource {
|
|
|
1110
1175
|
rootSquashSettings?: AmlFilesystemRootSquashSettings;
|
|
1111
1176
|
}
|
|
1112
1177
|
|
|
1178
|
+
/** An import job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md */
|
|
1179
|
+
export interface ImportJob extends TrackedResource {
|
|
1180
|
+
/**
|
|
1181
|
+
* ARM provisioning state.
|
|
1182
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1183
|
+
*/
|
|
1184
|
+
readonly provisioningState?: ImportJobProvisioningStateType;
|
|
1185
|
+
/** An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value. */
|
|
1186
|
+
importPrefixes?: string[];
|
|
1187
|
+
/** How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes. */
|
|
1188
|
+
conflictResolutionMode?: ConflictResolutionMode;
|
|
1189
|
+
/** Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default. */
|
|
1190
|
+
maximumErrors?: number;
|
|
1191
|
+
/**
|
|
1192
|
+
* The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
|
|
1193
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1194
|
+
*/
|
|
1195
|
+
readonly state?: ImportStatusType;
|
|
1196
|
+
/**
|
|
1197
|
+
* The status message of the import job.
|
|
1198
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1199
|
+
*/
|
|
1200
|
+
readonly statusMessage?: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* The total blob objects walked.
|
|
1203
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1204
|
+
*/
|
|
1205
|
+
readonly totalBlobsWalked?: number;
|
|
1206
|
+
/**
|
|
1207
|
+
* A recent and frequently updated rate of blobs walked per second.
|
|
1208
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1209
|
+
*/
|
|
1210
|
+
readonly blobsWalkedPerSecond?: number;
|
|
1211
|
+
/**
|
|
1212
|
+
* The total blobs that have been imported since import began.
|
|
1213
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1214
|
+
*/
|
|
1215
|
+
readonly totalBlobsImported?: number;
|
|
1216
|
+
/**
|
|
1217
|
+
* A recent and frequently updated rate of total files, directories, and symlinks imported per second.
|
|
1218
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1219
|
+
*/
|
|
1220
|
+
readonly blobsImportedPerSecond?: number;
|
|
1221
|
+
/**
|
|
1222
|
+
* The time of the last completed archive operation
|
|
1223
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1224
|
+
*/
|
|
1225
|
+
readonly lastCompletionTime?: Date;
|
|
1226
|
+
/**
|
|
1227
|
+
* The time the latest archive operation started
|
|
1228
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1229
|
+
*/
|
|
1230
|
+
readonly lastStartedTime?: Date;
|
|
1231
|
+
/**
|
|
1232
|
+
* Number of errors in the import job.
|
|
1233
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1234
|
+
*/
|
|
1235
|
+
readonly totalErrors?: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* Number of conflicts in the import job.
|
|
1238
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1239
|
+
*/
|
|
1240
|
+
readonly totalConflicts?: number;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1113
1243
|
/** Defines headers for AmlFilesystems_delete operation. */
|
|
1114
1244
|
export interface AmlFilesystemsDeleteHeaders {
|
|
1115
1245
|
/** Location URI to poll for result */
|
|
@@ -1132,6 +1262,28 @@ export interface AmlFilesystemsUpdateHeaders {
|
|
|
1132
1262
|
azureAsyncOperation?: string;
|
|
1133
1263
|
}
|
|
1134
1264
|
|
|
1265
|
+
/** Defines headers for ImportJobs_delete operation. */
|
|
1266
|
+
export interface ImportJobsDeleteHeaders {
|
|
1267
|
+
/** Location URI to poll for result */
|
|
1268
|
+
location?: string;
|
|
1269
|
+
/** URI to poll for the operation status */
|
|
1270
|
+
azureAsyncOperation?: string;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/** Defines headers for ImportJobs_createOrUpdate operation. */
|
|
1274
|
+
export interface ImportJobsCreateOrUpdateHeaders {
|
|
1275
|
+
/** URI to poll for the operation status */
|
|
1276
|
+
azureAsyncOperation?: string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/** Defines headers for ImportJobs_update operation. */
|
|
1280
|
+
export interface ImportJobsUpdateHeaders {
|
|
1281
|
+
/** URI to poll for the operation status */
|
|
1282
|
+
location?: string;
|
|
1283
|
+
/** URI to poll for the operation status */
|
|
1284
|
+
azureAsyncOperation?: string;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1135
1287
|
/** Defines headers for Caches_delete operation. */
|
|
1136
1288
|
export interface CachesDeleteHeaders {
|
|
1137
1289
|
/** Location URI to poll for result */
|
|
@@ -1295,7 +1447,7 @@ export enum KnownAmlFilesystemHealthStateType {
|
|
|
1295
1447
|
/** Transitioning */
|
|
1296
1448
|
Transitioning = "Transitioning",
|
|
1297
1449
|
/** Maintenance */
|
|
1298
|
-
Maintenance = "Maintenance"
|
|
1450
|
+
Maintenance = "Maintenance",
|
|
1299
1451
|
}
|
|
1300
1452
|
|
|
1301
1453
|
/**
|
|
@@ -1324,7 +1476,7 @@ export enum KnownAmlFilesystemProvisioningStateType {
|
|
|
1324
1476
|
/** Updating */
|
|
1325
1477
|
Updating = "Updating",
|
|
1326
1478
|
/** Canceled */
|
|
1327
|
-
Canceled = "Canceled"
|
|
1479
|
+
Canceled = "Canceled",
|
|
1328
1480
|
}
|
|
1329
1481
|
|
|
1330
1482
|
/**
|
|
@@ -1358,7 +1510,7 @@ export enum KnownArchiveStatusType {
|
|
|
1358
1510
|
/** Cancelling */
|
|
1359
1511
|
Cancelling = "Cancelling",
|
|
1360
1512
|
/** FSScanInProgress */
|
|
1361
|
-
FSScanInProgress = "FSScanInProgress"
|
|
1513
|
+
FSScanInProgress = "FSScanInProgress",
|
|
1362
1514
|
}
|
|
1363
1515
|
|
|
1364
1516
|
/**
|
|
@@ -1384,7 +1536,7 @@ export enum KnownAmlFilesystemSquashMode {
|
|
|
1384
1536
|
/** RootOnly */
|
|
1385
1537
|
RootOnly = "RootOnly",
|
|
1386
1538
|
/** All */
|
|
1387
|
-
All = "All"
|
|
1539
|
+
All = "All",
|
|
1388
1540
|
}
|
|
1389
1541
|
|
|
1390
1542
|
/**
|
|
@@ -1407,7 +1559,7 @@ export enum KnownCreatedByType {
|
|
|
1407
1559
|
/** ManagedIdentity */
|
|
1408
1560
|
ManagedIdentity = "ManagedIdentity",
|
|
1409
1561
|
/** Key */
|
|
1410
|
-
Key = "Key"
|
|
1562
|
+
Key = "Key",
|
|
1411
1563
|
}
|
|
1412
1564
|
|
|
1413
1565
|
/**
|
|
@@ -1422,12 +1574,96 @@ export enum KnownCreatedByType {
|
|
|
1422
1574
|
*/
|
|
1423
1575
|
export type CreatedByType = string;
|
|
1424
1576
|
|
|
1577
|
+
/** Known values of {@link ImportJobProvisioningStateType} that the service accepts. */
|
|
1578
|
+
export enum KnownImportJobProvisioningStateType {
|
|
1579
|
+
/** Succeeded */
|
|
1580
|
+
Succeeded = "Succeeded",
|
|
1581
|
+
/** Failed */
|
|
1582
|
+
Failed = "Failed",
|
|
1583
|
+
/** Creating */
|
|
1584
|
+
Creating = "Creating",
|
|
1585
|
+
/** Deleting */
|
|
1586
|
+
Deleting = "Deleting",
|
|
1587
|
+
/** Updating */
|
|
1588
|
+
Updating = "Updating",
|
|
1589
|
+
/** Canceled */
|
|
1590
|
+
Canceled = "Canceled",
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Defines values for ImportJobProvisioningStateType. \
|
|
1595
|
+
* {@link KnownImportJobProvisioningStateType} can be used interchangeably with ImportJobProvisioningStateType,
|
|
1596
|
+
* this enum contains the known values that the service supports.
|
|
1597
|
+
* ### Known values supported by the service
|
|
1598
|
+
* **Succeeded** \
|
|
1599
|
+
* **Failed** \
|
|
1600
|
+
* **Creating** \
|
|
1601
|
+
* **Deleting** \
|
|
1602
|
+
* **Updating** \
|
|
1603
|
+
* **Canceled**
|
|
1604
|
+
*/
|
|
1605
|
+
export type ImportJobProvisioningStateType = string;
|
|
1606
|
+
|
|
1607
|
+
/** Known values of {@link ConflictResolutionMode} that the service accepts. */
|
|
1608
|
+
export enum KnownConflictResolutionMode {
|
|
1609
|
+
/** Fail */
|
|
1610
|
+
Fail = "Fail",
|
|
1611
|
+
/** Skip */
|
|
1612
|
+
Skip = "Skip",
|
|
1613
|
+
/** OverwriteIfDirty */
|
|
1614
|
+
OverwriteIfDirty = "OverwriteIfDirty",
|
|
1615
|
+
/** OverwriteAlways */
|
|
1616
|
+
OverwriteAlways = "OverwriteAlways",
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Defines values for ConflictResolutionMode. \
|
|
1621
|
+
* {@link KnownConflictResolutionMode} can be used interchangeably with ConflictResolutionMode,
|
|
1622
|
+
* this enum contains the known values that the service supports.
|
|
1623
|
+
* ### Known values supported by the service
|
|
1624
|
+
* **Fail** \
|
|
1625
|
+
* **Skip** \
|
|
1626
|
+
* **OverwriteIfDirty** \
|
|
1627
|
+
* **OverwriteAlways**
|
|
1628
|
+
*/
|
|
1629
|
+
export type ConflictResolutionMode = string;
|
|
1630
|
+
|
|
1631
|
+
/** Known values of {@link ImportStatusType} that the service accepts. */
|
|
1632
|
+
export enum KnownImportStatusType {
|
|
1633
|
+
/** InProgress */
|
|
1634
|
+
InProgress = "InProgress",
|
|
1635
|
+
/** Cancelling */
|
|
1636
|
+
Cancelling = "Cancelling",
|
|
1637
|
+
/** Canceled */
|
|
1638
|
+
Canceled = "Canceled",
|
|
1639
|
+
/** Completed */
|
|
1640
|
+
Completed = "Completed",
|
|
1641
|
+
/** CompletedPartial */
|
|
1642
|
+
CompletedPartial = "CompletedPartial",
|
|
1643
|
+
/** Failed */
|
|
1644
|
+
Failed = "Failed",
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Defines values for ImportStatusType. \
|
|
1649
|
+
* {@link KnownImportStatusType} can be used interchangeably with ImportStatusType,
|
|
1650
|
+
* this enum contains the known values that the service supports.
|
|
1651
|
+
* ### Known values supported by the service
|
|
1652
|
+
* **InProgress** \
|
|
1653
|
+
* **Cancelling** \
|
|
1654
|
+
* **Canceled** \
|
|
1655
|
+
* **Completed** \
|
|
1656
|
+
* **CompletedPartial** \
|
|
1657
|
+
* **Failed**
|
|
1658
|
+
*/
|
|
1659
|
+
export type ImportStatusType = string;
|
|
1660
|
+
|
|
1425
1661
|
/** Known values of {@link FilesystemSubnetStatusType} that the service accepts. */
|
|
1426
1662
|
export enum KnownFilesystemSubnetStatusType {
|
|
1427
1663
|
/** Ok */
|
|
1428
1664
|
Ok = "Ok",
|
|
1429
1665
|
/** Invalid */
|
|
1430
|
-
Invalid = "Invalid"
|
|
1666
|
+
Invalid = "Invalid",
|
|
1431
1667
|
}
|
|
1432
1668
|
|
|
1433
1669
|
/**
|
|
@@ -1455,7 +1691,7 @@ export enum KnownMetricAggregationType {
|
|
|
1455
1691
|
/** Total */
|
|
1456
1692
|
Total = "Total",
|
|
1457
1693
|
/** Count */
|
|
1458
|
-
Count = "Count"
|
|
1694
|
+
Count = "Count",
|
|
1459
1695
|
}
|
|
1460
1696
|
|
|
1461
1697
|
/**
|
|
@@ -1478,7 +1714,7 @@ export enum KnownReasonCode {
|
|
|
1478
1714
|
/** QuotaId */
|
|
1479
1715
|
QuotaId = "QuotaId",
|
|
1480
1716
|
/** NotAvailableForSubscription */
|
|
1481
|
-
NotAvailableForSubscription = "NotAvailableForSubscription"
|
|
1717
|
+
NotAvailableForSubscription = "NotAvailableForSubscription",
|
|
1482
1718
|
}
|
|
1483
1719
|
|
|
1484
1720
|
/**
|
|
@@ -1516,7 +1752,7 @@ export enum KnownHealthStateType {
|
|
|
1516
1752
|
/** StartFailed */
|
|
1517
1753
|
StartFailed = "StartFailed",
|
|
1518
1754
|
/** UpgradeFailed */
|
|
1519
|
-
UpgradeFailed = "UpgradeFailed"
|
|
1755
|
+
UpgradeFailed = "UpgradeFailed",
|
|
1520
1756
|
}
|
|
1521
1757
|
|
|
1522
1758
|
/**
|
|
@@ -1552,7 +1788,7 @@ export enum KnownProvisioningStateType {
|
|
|
1552
1788
|
/** Deleting */
|
|
1553
1789
|
Deleting = "Deleting",
|
|
1554
1790
|
/** Updating */
|
|
1555
|
-
Updating = "Updating"
|
|
1791
|
+
Updating = "Updating",
|
|
1556
1792
|
}
|
|
1557
1793
|
|
|
1558
1794
|
/**
|
|
@@ -1574,7 +1810,7 @@ export enum KnownFirmwareStatusType {
|
|
|
1574
1810
|
/** Available */
|
|
1575
1811
|
Available = "available",
|
|
1576
1812
|
/** Unavailable */
|
|
1577
|
-
Unavailable = "unavailable"
|
|
1813
|
+
Unavailable = "unavailable",
|
|
1578
1814
|
}
|
|
1579
1815
|
|
|
1580
1816
|
/**
|
|
@@ -1594,7 +1830,7 @@ export enum KnownNfsAccessRuleScope {
|
|
|
1594
1830
|
/** Network */
|
|
1595
1831
|
Network = "network",
|
|
1596
1832
|
/** Host */
|
|
1597
|
-
Host = "host"
|
|
1833
|
+
Host = "host",
|
|
1598
1834
|
}
|
|
1599
1835
|
|
|
1600
1836
|
/**
|
|
@@ -1615,7 +1851,7 @@ export enum KnownNfsAccessRuleAccess {
|
|
|
1615
1851
|
/** Ro */
|
|
1616
1852
|
Ro = "ro",
|
|
1617
1853
|
/** Rw */
|
|
1618
|
-
Rw = "rw"
|
|
1854
|
+
Rw = "rw",
|
|
1619
1855
|
}
|
|
1620
1856
|
|
|
1621
1857
|
/**
|
|
@@ -1636,7 +1872,7 @@ export enum KnownDomainJoinedType {
|
|
|
1636
1872
|
/** No */
|
|
1637
1873
|
No = "No",
|
|
1638
1874
|
/** Error */
|
|
1639
|
-
Error = "Error"
|
|
1875
|
+
Error = "Error",
|
|
1640
1876
|
}
|
|
1641
1877
|
|
|
1642
1878
|
/**
|
|
@@ -1659,7 +1895,7 @@ export enum KnownUsernameSource {
|
|
|
1659
1895
|
/** File */
|
|
1660
1896
|
File = "File",
|
|
1661
1897
|
/** None */
|
|
1662
|
-
None = "None"
|
|
1898
|
+
None = "None",
|
|
1663
1899
|
}
|
|
1664
1900
|
|
|
1665
1901
|
/**
|
|
@@ -1681,7 +1917,7 @@ export enum KnownUsernameDownloadedType {
|
|
|
1681
1917
|
/** No */
|
|
1682
1918
|
No = "No",
|
|
1683
1919
|
/** Error */
|
|
1684
|
-
Error = "Error"
|
|
1920
|
+
Error = "Error",
|
|
1685
1921
|
}
|
|
1686
1922
|
|
|
1687
1923
|
/**
|
|
@@ -1704,7 +1940,7 @@ export enum KnownPrimingJobState {
|
|
|
1704
1940
|
/** Paused */
|
|
1705
1941
|
Paused = "Paused",
|
|
1706
1942
|
/** Complete */
|
|
1707
|
-
Complete = "Complete"
|
|
1943
|
+
Complete = "Complete",
|
|
1708
1944
|
}
|
|
1709
1945
|
|
|
1710
1946
|
/**
|
|
@@ -1728,7 +1964,7 @@ export enum KnownStorageTargetType {
|
|
|
1728
1964
|
/** Unknown */
|
|
1729
1965
|
Unknown = "unknown",
|
|
1730
1966
|
/** BlobNfs */
|
|
1731
|
-
BlobNfs = "blobNfs"
|
|
1967
|
+
BlobNfs = "blobNfs",
|
|
1732
1968
|
}
|
|
1733
1969
|
|
|
1734
1970
|
/**
|
|
@@ -1752,7 +1988,7 @@ export enum KnownOperationalStateType {
|
|
|
1752
1988
|
/** Suspended */
|
|
1753
1989
|
Suspended = "Suspended",
|
|
1754
1990
|
/** Flushing */
|
|
1755
|
-
Flushing = "Flushing"
|
|
1991
|
+
Flushing = "Flushing",
|
|
1756
1992
|
}
|
|
1757
1993
|
|
|
1758
1994
|
/**
|
|
@@ -1796,7 +2032,8 @@ export interface AmlFilesystemsListByResourceGroupOptionalParams
|
|
|
1796
2032
|
extends coreClient.OperationOptions {}
|
|
1797
2033
|
|
|
1798
2034
|
/** Contains response data for the listByResourceGroup operation. */
|
|
1799
|
-
export type AmlFilesystemsListByResourceGroupResponse =
|
|
2035
|
+
export type AmlFilesystemsListByResourceGroupResponse =
|
|
2036
|
+
AmlFilesystemsListResult;
|
|
1800
2037
|
|
|
1801
2038
|
/** Optional parameters. */
|
|
1802
2039
|
export interface AmlFilesystemsDeleteOptionalParams
|
|
@@ -1861,7 +2098,65 @@ export interface AmlFilesystemsListByResourceGroupNextOptionalParams
|
|
|
1861
2098
|
extends coreClient.OperationOptions {}
|
|
1862
2099
|
|
|
1863
2100
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
1864
|
-
export type AmlFilesystemsListByResourceGroupNextResponse =
|
|
2101
|
+
export type AmlFilesystemsListByResourceGroupNextResponse =
|
|
2102
|
+
AmlFilesystemsListResult;
|
|
2103
|
+
|
|
2104
|
+
/** Optional parameters. */
|
|
2105
|
+
export interface ImportJobsDeleteOptionalParams
|
|
2106
|
+
extends coreClient.OperationOptions {
|
|
2107
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2108
|
+
updateIntervalInMs?: number;
|
|
2109
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2110
|
+
resumeFrom?: string;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
/** Contains response data for the delete operation. */
|
|
2114
|
+
export type ImportJobsDeleteResponse = ImportJobsDeleteHeaders;
|
|
2115
|
+
|
|
2116
|
+
/** Optional parameters. */
|
|
2117
|
+
export interface ImportJobsGetOptionalParams
|
|
2118
|
+
extends coreClient.OperationOptions {}
|
|
2119
|
+
|
|
2120
|
+
/** Contains response data for the get operation. */
|
|
2121
|
+
export type ImportJobsGetResponse = ImportJob;
|
|
2122
|
+
|
|
2123
|
+
/** Optional parameters. */
|
|
2124
|
+
export interface ImportJobsCreateOrUpdateOptionalParams
|
|
2125
|
+
extends coreClient.OperationOptions {
|
|
2126
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2127
|
+
updateIntervalInMs?: number;
|
|
2128
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2129
|
+
resumeFrom?: string;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2133
|
+
export type ImportJobsCreateOrUpdateResponse = ImportJob;
|
|
2134
|
+
|
|
2135
|
+
/** Optional parameters. */
|
|
2136
|
+
export interface ImportJobsUpdateOptionalParams
|
|
2137
|
+
extends coreClient.OperationOptions {
|
|
2138
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2139
|
+
updateIntervalInMs?: number;
|
|
2140
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2141
|
+
resumeFrom?: string;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/** Contains response data for the update operation. */
|
|
2145
|
+
export type ImportJobsUpdateResponse = ImportJob;
|
|
2146
|
+
|
|
2147
|
+
/** Optional parameters. */
|
|
2148
|
+
export interface ImportJobsListByAmlFilesystemOptionalParams
|
|
2149
|
+
extends coreClient.OperationOptions {}
|
|
2150
|
+
|
|
2151
|
+
/** Contains response data for the listByAmlFilesystem operation. */
|
|
2152
|
+
export type ImportJobsListByAmlFilesystemResponse = ImportJobsListResult;
|
|
2153
|
+
|
|
2154
|
+
/** Optional parameters. */
|
|
2155
|
+
export interface ImportJobsListByAmlFilesystemNextOptionalParams
|
|
2156
|
+
extends coreClient.OperationOptions {}
|
|
2157
|
+
|
|
2158
|
+
/** Contains response data for the listByAmlFilesystemNext operation. */
|
|
2159
|
+
export type ImportJobsListByAmlFilesystemNextResponse = ImportJobsListResult;
|
|
1865
2160
|
|
|
1866
2161
|
/** Optional parameters. */
|
|
1867
2162
|
export interface CheckAmlFSSubnetsOptionalParams
|
|
@@ -1878,7 +2173,8 @@ export interface GetRequiredAmlFSSubnetsSizeOptionalParams
|
|
|
1878
2173
|
}
|
|
1879
2174
|
|
|
1880
2175
|
/** Contains response data for the getRequiredAmlFSSubnetsSize operation. */
|
|
1881
|
-
export type GetRequiredAmlFSSubnetsSizeResponse =
|
|
2176
|
+
export type GetRequiredAmlFSSubnetsSizeResponse =
|
|
2177
|
+
RequiredAmlFilesystemSubnetsSize;
|
|
1882
2178
|
|
|
1883
2179
|
/** Optional parameters. */
|
|
1884
2180
|
export interface OperationsListOptionalParams
|