@azure/arm-storage 18.3.1-alpha.20250225.1 → 18.4.0-alpha.20250227.2
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 +47 -9
- package/LICENSE +4 -4
- package/README.md +3 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +301 -6
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +12 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +11 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +431 -8
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -2
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +22 -11
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/blobContainers.d.ts +9 -9
- package/dist/browser/operations/blobContainers.js +9 -9
- package/dist/browser/operations/blobContainers.js.map +1 -1
- package/dist/browser/operations/encryptionScopes.js +1 -1
- package/dist/browser/operations/encryptionScopes.js.map +1 -1
- package/dist/browser/operations/fileServices.d.ts +46 -1
- package/dist/browser/operations/fileServices.d.ts.map +1 -1
- package/dist/browser/operations/fileServices.js +174 -0
- package/dist/browser/operations/fileServices.js.map +1 -1
- package/dist/browser/operations/localUsersOperations.js +1 -1
- package/dist/browser/operations/localUsersOperations.js.map +1 -1
- package/dist/browser/operations/storageAccounts.d.ts +2 -2
- package/dist/browser/operations/storageAccounts.js +2 -2
- package/dist/browser/operations/storageAccounts.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/browser/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignments.js +1 -1
- package/dist/browser/operations/storageTaskAssignments.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/browser/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/browser/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/browser/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/browser/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/browser/storageManagementClient.js +2 -2
- package/dist/browser/storageManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +301 -6
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +12 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +11 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +436 -12
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +3 -2
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +24 -13
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/blobContainers.d.ts +9 -9
- package/dist/commonjs/operations/blobContainers.js +9 -9
- package/dist/commonjs/operations/blobContainers.js.map +1 -1
- package/dist/commonjs/operations/encryptionScopes.js +1 -1
- package/dist/commonjs/operations/encryptionScopes.js.map +1 -1
- package/dist/commonjs/operations/fileServices.d.ts +46 -1
- package/dist/commonjs/operations/fileServices.d.ts.map +1 -1
- package/dist/commonjs/operations/fileServices.js +173 -0
- package/dist/commonjs/operations/fileServices.js.map +1 -1
- package/dist/commonjs/operations/localUsersOperations.js +1 -1
- package/dist/commonjs/operations/localUsersOperations.js.map +1 -1
- package/dist/commonjs/operations/storageAccounts.d.ts +2 -2
- package/dist/commonjs/operations/storageAccounts.js +2 -2
- package/dist/commonjs/operations/storageAccounts.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignments.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignments.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/commonjs/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/commonjs/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/commonjs/storageManagementClient.js +2 -2
- package/dist/commonjs/storageManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +301 -6
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +11 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +431 -8
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +3 -2
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +22 -11
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/blobContainers.d.ts +9 -9
- package/dist/esm/operations/blobContainers.js +9 -9
- package/dist/esm/operations/blobContainers.js.map +1 -1
- package/dist/esm/operations/encryptionScopes.js +1 -1
- package/dist/esm/operations/encryptionScopes.js.map +1 -1
- package/dist/esm/operations/fileServices.d.ts +46 -1
- package/dist/esm/operations/fileServices.d.ts.map +1 -1
- package/dist/esm/operations/fileServices.js +174 -0
- package/dist/esm/operations/fileServices.js.map +1 -1
- package/dist/esm/operations/localUsersOperations.js +1 -1
- package/dist/esm/operations/localUsersOperations.js.map +1 -1
- package/dist/esm/operations/storageAccounts.d.ts +2 -2
- package/dist/esm/operations/storageAccounts.js +2 -2
- package/dist/esm/operations/storageAccounts.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/esm/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignments.js +1 -1
- package/dist/esm/operations/storageTaskAssignments.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/esm/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/esm/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/esm/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/esm/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/esm/storageManagementClient.js +2 -2
- package/dist/esm/storageManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +301 -6
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +12 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +11 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +431 -8
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -2
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +22 -11
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/blobContainers.d.ts +9 -9
- package/dist/react-native/operations/blobContainers.js +9 -9
- package/dist/react-native/operations/blobContainers.js.map +1 -1
- package/dist/react-native/operations/encryptionScopes.js +1 -1
- package/dist/react-native/operations/encryptionScopes.js.map +1 -1
- package/dist/react-native/operations/fileServices.d.ts +46 -1
- package/dist/react-native/operations/fileServices.d.ts.map +1 -1
- package/dist/react-native/operations/fileServices.js +174 -0
- package/dist/react-native/operations/fileServices.js.map +1 -1
- package/dist/react-native/operations/localUsersOperations.js +1 -1
- package/dist/react-native/operations/localUsersOperations.js.map +1 -1
- package/dist/react-native/operations/storageAccounts.d.ts +2 -2
- package/dist/react-native/operations/storageAccounts.js +2 -2
- package/dist/react-native/operations/storageAccounts.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignments.js +1 -1
- package/dist/react-native/operations/storageTaskAssignments.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/react-native/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/react-native/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/react-native/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/react-native/storageManagementClient.js +2 -2
- package/dist/react-native/storageManagementClient.js.map +1 -1
- package/package.json +7 -7
- package/review/arm-storage.api.md +126 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageTaskAssignments.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAkB9C,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,WAAmB,EACnB,OAAkD,EAClD,QAAuB;;YAEvB,I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rC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTaskAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n StorageTaskAssignment,\n StorageTaskAssignmentsListNextOptionalParams,\n StorageTaskAssignmentsListOptionalParams,\n StorageTaskAssignmentsListResponse,\n StorageTaskAssignmentsCreateOptionalParams,\n StorageTaskAssignmentsCreateResponse,\n StorageTaskAssignmentUpdateParameters,\n StorageTaskAssignmentsUpdateOptionalParams,\n StorageTaskAssignmentsUpdateResponse,\n StorageTaskAssignmentsGetOptionalParams,\n StorageTaskAssignmentsGetResponse,\n StorageTaskAssignmentsDeleteOptionalParams,\n StorageTaskAssignmentsDeleteResponse,\n StorageTaskAssignmentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignments operations. */\nexport class StorageTaskAssignmentsImpl implements StorageTaskAssignments {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * List all the storage task assignments in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskAssignment> {\n const iter = this.listPagingAll(resourceGroupName, accountName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskAssignment[]> {\n let result: StorageTaskAssignmentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): AsyncIterableIterator<StorageTaskAssignment> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If\n * a storage task assignment is already created and a subsequent create request is issued with\n * different properties, the storage task assignment properties will be updated. If a storage task\n * assignment is already created and a subsequent create or update request is issued with the exact\n * same set of properties, the request will succeed.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to create a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignment,\n options?: StorageTaskAssignmentsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsCreateResponse>,\n StorageTaskAssignmentsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsCreateResponse,\n OperationState<StorageTaskAssignmentsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If\n * a storage task assignment is already created and a subsequent create request is issued with\n * different properties, the storage task assignment properties will be updated. If a storage task\n * assignment is already created and a subsequent create or update request is issued with the exact\n * same set of properties, the request will succeed.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to create a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignment,\n options?: StorageTaskAssignmentsCreateOptionalParams,\n ): Promise<StorageTaskAssignmentsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to update a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignmentUpdateParameters,\n options?: StorageTaskAssignmentsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsUpdateResponse>,\n StorageTaskAssignmentsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsUpdateResponse,\n OperationState<StorageTaskAssignmentsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to update a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignmentUpdateParameters,\n options?: StorageTaskAssignmentsUpdateOptionalParams,\n ): Promise<StorageTaskAssignmentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsGetOptionalParams,\n ): Promise<StorageTaskAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, storageTaskAssignmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Delete the storage task assignment sub-resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsDeleteResponse>,\n StorageTaskAssignmentsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsDeleteResponse,\n OperationState<StorageTaskAssignmentsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete the storage task assignment sub-resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsDeleteOptionalParams,\n ): Promise<StorageTaskAssignmentsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all the storage task assignments in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): Promise<StorageTaskAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: StorageTaskAssignmentsListNextOptionalParams,\n ): Promise<StorageTaskAssignmentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 201: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 202: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 204: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 201: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 202: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 204: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters15,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignmentsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.maxpagesize2],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignmentsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"storageTaskAssignments.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAkB9C,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI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IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTaskAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n StorageTaskAssignment,\n StorageTaskAssignmentsListNextOptionalParams,\n StorageTaskAssignmentsListOptionalParams,\n StorageTaskAssignmentsListResponse,\n StorageTaskAssignmentsCreateOptionalParams,\n StorageTaskAssignmentsCreateResponse,\n StorageTaskAssignmentUpdateParameters,\n StorageTaskAssignmentsUpdateOptionalParams,\n StorageTaskAssignmentsUpdateResponse,\n StorageTaskAssignmentsGetOptionalParams,\n StorageTaskAssignmentsGetResponse,\n StorageTaskAssignmentsDeleteOptionalParams,\n StorageTaskAssignmentsDeleteResponse,\n StorageTaskAssignmentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignments operations. */\nexport class StorageTaskAssignmentsImpl implements StorageTaskAssignments {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * List all the storage task assignments in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskAssignment> {\n const iter = this.listPagingAll(resourceGroupName, accountName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskAssignment[]> {\n let result: StorageTaskAssignmentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): AsyncIterableIterator<StorageTaskAssignment> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If\n * a storage task assignment is already created and a subsequent create request is issued with\n * different properties, the storage task assignment properties will be updated. If a storage task\n * assignment is already created and a subsequent create or update request is issued with the exact\n * same set of properties, the request will succeed.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to create a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignment,\n options?: StorageTaskAssignmentsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsCreateResponse>,\n StorageTaskAssignmentsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsCreateResponse,\n OperationState<StorageTaskAssignmentsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If\n * a storage task assignment is already created and a subsequent create request is issued with\n * different properties, the storage task assignment properties will be updated. If a storage task\n * assignment is already created and a subsequent create or update request is issued with the exact\n * same set of properties, the request will succeed.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to create a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignment,\n options?: StorageTaskAssignmentsCreateOptionalParams,\n ): Promise<StorageTaskAssignmentsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to update a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignmentUpdateParameters,\n options?: StorageTaskAssignmentsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsUpdateResponse>,\n StorageTaskAssignmentsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsUpdateResponse,\n OperationState<StorageTaskAssignmentsUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param parameters The parameters to update a Storage Task Assignment.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n parameters: StorageTaskAssignmentUpdateParameters,\n options?: StorageTaskAssignmentsUpdateOptionalParams,\n ): Promise<StorageTaskAssignmentsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the storage task assignment properties\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsGetOptionalParams,\n ): Promise<StorageTaskAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, storageTaskAssignmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Delete the storage task assignment sub-resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<StorageTaskAssignmentsDeleteResponse>,\n StorageTaskAssignmentsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<StorageTaskAssignmentsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n StorageTaskAssignmentsDeleteResponse,\n OperationState<StorageTaskAssignmentsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete the storage task assignment sub-resource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param storageTaskAssignmentName The name of the storage task assignment within the specified\n * resource group. Storage task assignment names must be between 3 and 24 characters in length and use\n * numbers and lower-case letters only.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentsDeleteOptionalParams,\n ): Promise<StorageTaskAssignmentsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all the storage task assignments in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsListOptionalParams,\n ): Promise<StorageTaskAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: StorageTaskAssignmentsListNextOptionalParams,\n ): Promise<StorageTaskAssignmentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 201: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 202: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 204: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 201: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 202: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n 204: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters15,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignment,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.StorageTaskAssignmentsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignmentsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.maxpagesize1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskAssignmentsList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageTaskAssignmentsInstancesReport.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentsInstancesReport.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,yEAAyE;AACzE,MAAa,yCAAyC;IAKpD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,WAAmB,EACnB,OAAiE,EACjE,QAAuB;;YAEvB,IAAI,MAAyD,CAAC;YAC9D,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA,CAAC;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ourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTaskAssignmentsInstancesReport } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n StorageTaskReportInstance,\n StorageTaskAssignmentsInstancesReportListNextOptionalParams,\n StorageTaskAssignmentsInstancesReportListOptionalParams,\n StorageTaskAssignmentsInstancesReportListResponse,\n StorageTaskAssignmentsInstancesReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignmentsInstancesReport operations. */\nexport class StorageTaskAssignmentsInstancesReportImpl\n implements StorageTaskAssignmentsInstancesReport\n{\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignmentsInstancesReport class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Fetch the report summary of all the storage task assignments and instances in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskReportInstance> {\n const iter = this.listPagingAll(resourceGroupName, accountName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskReportInstance[]> {\n let result: StorageTaskAssignmentsInstancesReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): AsyncIterableIterator<StorageTaskReportInstance> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Fetch the report summary of all the storage task assignments and instances in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): Promise<StorageTaskAssignmentsInstancesReportListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: StorageTaskAssignmentsInstancesReportListNextOptionalParams,\n ): Promise<StorageTaskAssignmentsInstancesReportListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize2,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"storageTaskAssignmentsInstancesReport.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentsInstancesReport.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,yEAAyE;AACzE,MAAa,yCAAyC;IAKpD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI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AE,sIAAsI;IAC5I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,YAAY;KACxB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { StorageTaskAssignmentsInstancesReport } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n StorageTaskReportInstance,\n StorageTaskAssignmentsInstancesReportListNextOptionalParams,\n StorageTaskAssignmentsInstancesReportListOptionalParams,\n StorageTaskAssignmentsInstancesReportListResponse,\n StorageTaskAssignmentsInstancesReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignmentsInstancesReport operations. */\nexport class StorageTaskAssignmentsInstancesReportImpl\n implements StorageTaskAssignmentsInstancesReport\n{\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignmentsInstancesReport class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Fetch the report summary of all the storage task assignments and instances in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskReportInstance> {\n const iter = this.listPagingAll(resourceGroupName, accountName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskReportInstance[]> {\n let result: StorageTaskAssignmentsInstancesReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): AsyncIterableIterator<StorageTaskReportInstance> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Fetch the report summary of all the storage task assignments and instances in an account\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: StorageTaskAssignmentsInstancesReportListOptionalParams,\n ): Promise<StorageTaskAssignmentsInstancesReportListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: StorageTaskAssignmentsInstancesReportListNextOptionalParams,\n ): Promise<StorageTaskAssignmentsInstancesReportListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize1,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -151,9 +151,9 @@ export interface BlobContainers {
|
|
|
151
151
|
* container names must be between 3 and 63 characters in length and use numbers, lower-case letters
|
|
152
152
|
* and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
153
153
|
* number.
|
|
154
|
-
* @param ifMatch The entity state (ETag) version of the immutability policy to update
|
|
155
|
-
*
|
|
156
|
-
*
|
|
154
|
+
* @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned
|
|
155
|
+
* to the server for all update operations. The ETag value must include the leading and trailing double
|
|
156
|
+
* quotes as returned by the service.
|
|
157
157
|
* @param options The options parameters.
|
|
158
158
|
*/
|
|
159
159
|
deleteImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersDeleteImmutabilityPolicyOptionalParams): Promise<BlobContainersDeleteImmutabilityPolicyResponse>;
|
|
@@ -169,9 +169,9 @@ export interface BlobContainers {
|
|
|
169
169
|
* container names must be between 3 and 63 characters in length and use numbers, lower-case letters
|
|
170
170
|
* and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
171
171
|
* number.
|
|
172
|
-
* @param ifMatch The entity state (ETag) version of the immutability policy to update
|
|
173
|
-
*
|
|
174
|
-
*
|
|
172
|
+
* @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned
|
|
173
|
+
* to the server for all update operations. The ETag value must include the leading and trailing double
|
|
174
|
+
* quotes as returned by the service.
|
|
175
175
|
* @param options The options parameters.
|
|
176
176
|
*/
|
|
177
177
|
lockImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersLockImmutabilityPolicyOptionalParams): Promise<BlobContainersLockImmutabilityPolicyResponse>;
|
|
@@ -187,9 +187,9 @@ export interface BlobContainers {
|
|
|
187
187
|
* container names must be between 3 and 63 characters in length and use numbers, lower-case letters
|
|
188
188
|
* and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
189
189
|
* number.
|
|
190
|
-
* @param ifMatch The entity state (ETag) version of the immutability policy to update
|
|
191
|
-
*
|
|
192
|
-
*
|
|
190
|
+
* @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned
|
|
191
|
+
* to the server for all update operations. The ETag value must include the leading and trailing double
|
|
192
|
+
* quotes as returned by the service.
|
|
193
193
|
* @param options The options parameters.
|
|
194
194
|
*/
|
|
195
195
|
extendImmutabilityPolicy(resourceGroupName: string, accountName: string, containerName: string, ifMatch: string, options?: BlobContainersExtendImmutabilityPolicyOptionalParams): Promise<BlobContainersExtendImmutabilityPolicyResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blobContainers.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/blobContainers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n ListContainerItem,\n BlobContainersListOptionalParams,\n BlobContainer,\n BlobContainersCreateOptionalParams,\n BlobContainersCreateResponse,\n BlobContainersUpdateOptionalParams,\n BlobContainersUpdateResponse,\n BlobContainersGetOptionalParams,\n BlobContainersGetResponse,\n BlobContainersDeleteOptionalParams,\n LegalHold,\n BlobContainersSetLegalHoldOptionalParams,\n BlobContainersSetLegalHoldResponse,\n BlobContainersClearLegalHoldOptionalParams,\n BlobContainersClearLegalHoldResponse,\n BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams,\n BlobContainersCreateOrUpdateImmutabilityPolicyResponse,\n BlobContainersGetImmutabilityPolicyOptionalParams,\n BlobContainersGetImmutabilityPolicyResponse,\n BlobContainersDeleteImmutabilityPolicyOptionalParams,\n BlobContainersDeleteImmutabilityPolicyResponse,\n BlobContainersLockImmutabilityPolicyOptionalParams,\n BlobContainersLockImmutabilityPolicyResponse,\n BlobContainersExtendImmutabilityPolicyOptionalParams,\n BlobContainersExtendImmutabilityPolicyResponse,\n BlobContainersLeaseOptionalParams,\n BlobContainersLeaseResponse,\n BlobContainersObjectLevelWormOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a BlobContainers. */\nexport interface BlobContainers {\n /**\n * Lists all containers and does not support a prefix like data plane. Also SRP today does not return\n * continuation token.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: BlobContainersListOptionalParams,\n ): PagedAsyncIterableIterator<ListContainerItem>;\n /**\n * Creates a new container under the specified account as described by request body. The container\n * resource includes metadata and properties for that container. It does not include a list of the\n * blobs contained by the container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param blobContainer Properties of the blob container to create.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n blobContainer: BlobContainer,\n options?: BlobContainersCreateOptionalParams,\n ): Promise<BlobContainersCreateResponse>;\n /**\n * Updates container properties as specified in request body. Properties not mentioned in the request\n * will be unchanged. Update fails if the specified container doesn't already exist.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param blobContainer Properties to update for the blob container.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n blobContainer: BlobContainer,\n options?: BlobContainersUpdateOptionalParams,\n ): Promise<BlobContainersUpdateResponse>;\n /**\n * Gets properties of a specified container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersGetOptionalParams,\n ): Promise<BlobContainersGetResponse>;\n /**\n * Deletes specified container under its account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows\n * an append pattern and does not clear out the existing tags that are not specified in the request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param legalHold The LegalHold property that will be set to a blob container.\n * @param options The options parameters.\n */\n setLegalHold(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n legalHold: LegalHold,\n options?: BlobContainersSetLegalHoldOptionalParams,\n ): Promise<BlobContainersSetLegalHoldResponse>;\n /**\n * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation.\n * ClearLegalHold clears out only the specified tags in the request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param legalHold The LegalHold property that will be clear from a blob container.\n * @param options The options parameters.\n */\n clearLegalHold(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n legalHold: LegalHold,\n options?: BlobContainersClearLegalHoldOptionalParams,\n ): Promise<BlobContainersClearLegalHoldResponse>;\n /**\n * Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not\n * required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n createOrUpdateImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersCreateOrUpdateImmutabilityPolicyResponse>;\n /**\n * Gets the existing immutability policy along with the corresponding ETag in response headers and\n * body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n getImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersGetImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersGetImmutabilityPolicyResponse>;\n /**\n * Aborts an unlocked immutability policy. The response of delete has\n * immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation.\n * Deleting a locked immutability policy is not allowed, the only way is to delete the container after\n * deleting all expired blobs inside the policy locked container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of \"*\"\n * can be used to apply the operation only if the immutability policy already exists. If omitted, this\n * operation will always be applied.\n * @param options The options parameters.\n */\n deleteImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersDeleteImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersDeleteImmutabilityPolicyResponse>;\n /**\n * Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is\n * ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of \"*\"\n * can be used to apply the operation only if the immutability policy already exists. If omitted, this\n * operation will always be applied.\n * @param options The options parameters.\n */\n lockImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersLockImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersLockImmutabilityPolicyResponse>;\n /**\n * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action\n * allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update. A value of \"*\"\n * can be used to apply the operation only if the immutability policy already exists. If omitted, this\n * operation will always be applied.\n * @param options The options parameters.\n */\n extendImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersExtendImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersExtendImmutabilityPolicyResponse>;\n /**\n * The Lease Container operation establishes and manages a lock on a container for delete operations.\n * The lock duration can be 15 to 60 seconds, or can be infinite.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n lease(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersLeaseOptionalParams,\n ): Promise<BlobContainersLeaseResponse>;\n /**\n * This operation migrates a blob container from container level WORM to object level immutability\n * enabled container. Prerequisites require a container level immutability policy either in locked or\n * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the\n * container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n beginObjectLevelWorm(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersObjectLevelWormOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This operation migrates a blob container from container level WORM to object level immutability\n * enabled container. Prerequisites require a container level immutability policy either in locked or\n * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the\n * container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n beginObjectLevelWormAndWait(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersObjectLevelWormOptionalParams,\n ): Promise<void>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"blobContainers.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/blobContainers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n ListContainerItem,\n BlobContainersListOptionalParams,\n BlobContainer,\n BlobContainersCreateOptionalParams,\n BlobContainersCreateResponse,\n BlobContainersUpdateOptionalParams,\n BlobContainersUpdateResponse,\n BlobContainersGetOptionalParams,\n BlobContainersGetResponse,\n BlobContainersDeleteOptionalParams,\n LegalHold,\n BlobContainersSetLegalHoldOptionalParams,\n BlobContainersSetLegalHoldResponse,\n BlobContainersClearLegalHoldOptionalParams,\n BlobContainersClearLegalHoldResponse,\n BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams,\n BlobContainersCreateOrUpdateImmutabilityPolicyResponse,\n BlobContainersGetImmutabilityPolicyOptionalParams,\n BlobContainersGetImmutabilityPolicyResponse,\n BlobContainersDeleteImmutabilityPolicyOptionalParams,\n BlobContainersDeleteImmutabilityPolicyResponse,\n BlobContainersLockImmutabilityPolicyOptionalParams,\n BlobContainersLockImmutabilityPolicyResponse,\n BlobContainersExtendImmutabilityPolicyOptionalParams,\n BlobContainersExtendImmutabilityPolicyResponse,\n BlobContainersLeaseOptionalParams,\n BlobContainersLeaseResponse,\n BlobContainersObjectLevelWormOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a BlobContainers. */\nexport interface BlobContainers {\n /**\n * Lists all containers and does not support a prefix like data plane. Also SRP today does not return\n * continuation token.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: BlobContainersListOptionalParams,\n ): PagedAsyncIterableIterator<ListContainerItem>;\n /**\n * Creates a new container under the specified account as described by request body. The container\n * resource includes metadata and properties for that container. It does not include a list of the\n * blobs contained by the container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param blobContainer Properties of the blob container to create.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n blobContainer: BlobContainer,\n options?: BlobContainersCreateOptionalParams,\n ): Promise<BlobContainersCreateResponse>;\n /**\n * Updates container properties as specified in request body. Properties not mentioned in the request\n * will be unchanged. Update fails if the specified container doesn't already exist.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param blobContainer Properties to update for the blob container.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n blobContainer: BlobContainer,\n options?: BlobContainersUpdateOptionalParams,\n ): Promise<BlobContainersUpdateResponse>;\n /**\n * Gets properties of a specified container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersGetOptionalParams,\n ): Promise<BlobContainersGetResponse>;\n /**\n * Deletes specified container under its account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows\n * an append pattern and does not clear out the existing tags that are not specified in the request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param legalHold The LegalHold property that will be set to a blob container.\n * @param options The options parameters.\n */\n setLegalHold(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n legalHold: LegalHold,\n options?: BlobContainersSetLegalHoldOptionalParams,\n ): Promise<BlobContainersSetLegalHoldResponse>;\n /**\n * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation.\n * ClearLegalHold clears out only the specified tags in the request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param legalHold The LegalHold property that will be clear from a blob container.\n * @param options The options parameters.\n */\n clearLegalHold(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n legalHold: LegalHold,\n options?: BlobContainersClearLegalHoldOptionalParams,\n ): Promise<BlobContainersClearLegalHoldResponse>;\n /**\n * Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not\n * required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n createOrUpdateImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersCreateOrUpdateImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersCreateOrUpdateImmutabilityPolicyResponse>;\n /**\n * Gets the existing immutability policy along with the corresponding ETag in response headers and\n * body.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n getImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersGetImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersGetImmutabilityPolicyResponse>;\n /**\n * Aborts an unlocked immutability policy. The response of delete has\n * immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation.\n * Deleting a locked immutability policy is not allowed, the only way is to delete the container after\n * deleting all expired blobs inside the policy locked container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned\n * to the server for all update operations. The ETag value must include the leading and trailing double\n * quotes as returned by the service.\n * @param options The options parameters.\n */\n deleteImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersDeleteImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersDeleteImmutabilityPolicyResponse>;\n /**\n * Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is\n * ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned\n * to the server for all update operations. The ETag value must include the leading and trailing double\n * quotes as returned by the service.\n * @param options The options parameters.\n */\n lockImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersLockImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersLockImmutabilityPolicyResponse>;\n /**\n * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action\n * allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param ifMatch The entity state (ETag) version of the immutability policy to update must be returned\n * to the server for all update operations. The ETag value must include the leading and trailing double\n * quotes as returned by the service.\n * @param options The options parameters.\n */\n extendImmutabilityPolicy(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n ifMatch: string,\n options?: BlobContainersExtendImmutabilityPolicyOptionalParams,\n ): Promise<BlobContainersExtendImmutabilityPolicyResponse>;\n /**\n * The Lease Container operation establishes and manages a lock on a container for delete operations.\n * The lock duration can be 15 to 60 seconds, or can be infinite.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n lease(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersLeaseOptionalParams,\n ): Promise<BlobContainersLeaseResponse>;\n /**\n * This operation migrates a blob container from container level WORM to object level immutability\n * enabled container. Prerequisites require a container level immutability policy either in locked or\n * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the\n * container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n beginObjectLevelWorm(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersObjectLevelWormOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This operation migrates a blob container from container level WORM to object level immutability\n * enabled container. Prerequisites require a container level immutability policy either in locked or\n * unlocked state, Account level versioning must be enabled and there should be no Legal hold on the\n * container.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param containerName The name of the blob container within the specified storage account. Blob\n * container names must be between 3 and 63 characters in length and use numbers, lower-case letters\n * and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or\n * number.\n * @param options The options parameters.\n */\n beginObjectLevelWormAndWait(\n resourceGroupName: string,\n accountName: string,\n containerName: string,\n options?: BlobContainersObjectLevelWormOptionalParams,\n ): Promise<void>;\n}\n"]}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { FileServiceUsage, FileServicesListServiceUsagesOptionalParams, FileServicesListOptionalParams, FileServicesListResponse, FileServiceProperties, FileServicesSetServicePropertiesOptionalParams, FileServicesSetServicePropertiesResponse, FileServicesGetServicePropertiesOptionalParams, FileServicesGetServicePropertiesResponse, FileServicesGetServiceUsageOptionalParams, FileServicesGetServiceUsageResponse } from "../models/index.js";
|
|
2
3
|
/** Interface representing a FileServices. */
|
|
3
4
|
export interface FileServices {
|
|
5
|
+
/**
|
|
6
|
+
* Gets the usages of file service in storage account.
|
|
7
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
8
|
+
* case insensitive.
|
|
9
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
10
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
11
|
+
* only.
|
|
12
|
+
* @param options The options parameters.
|
|
13
|
+
*/
|
|
14
|
+
listServiceUsages(resourceGroupName: string, accountName: string, options?: FileServicesListServiceUsagesOptionalParams): PagedAsyncIterableIterator<FileServiceUsage>;
|
|
4
15
|
/**
|
|
5
16
|
* List all file services in storage accounts
|
|
6
17
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
@@ -35,5 +46,16 @@ export interface FileServices {
|
|
|
35
46
|
* @param options The options parameters.
|
|
36
47
|
*/
|
|
37
48
|
getServiceProperties(resourceGroupName: string, accountName: string, options?: FileServicesGetServicePropertiesOptionalParams): Promise<FileServicesGetServicePropertiesResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Gets the usage of file service in storage account including account limits, file share limits and
|
|
51
|
+
* constants used in recommendations and bursting formula.
|
|
52
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
53
|
+
* case insensitive.
|
|
54
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
55
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
56
|
+
* only.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
getServiceUsage(resourceGroupName: string, accountName: string, options?: FileServicesGetServiceUsageOptionalParams): Promise<FileServicesGetServiceUsageResponse>;
|
|
38
60
|
}
|
|
39
61
|
//# sourceMappingURL=fileServices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileServices.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"fileServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,2CAA2C,EAC3C,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;;;;OAQG;IACH,iBAAiB,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;;;OASG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n FileServicesListOptionalParams,\n FileServicesListResponse,\n FileServiceProperties,\n FileServicesSetServicePropertiesOptionalParams,\n FileServicesSetServicePropertiesResponse,\n FileServicesGetServicePropertiesOptionalParams,\n FileServicesGetServicePropertiesResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a FileServices. */\nexport interface FileServices {\n /**\n * List all file services in storage accounts\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListOptionalParams,\n ): Promise<FileServicesListResponse>;\n /**\n * Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param parameters The properties of file services in storage accounts, including CORS (Cross-Origin\n * Resource Sharing) rules.\n * @param options The options parameters.\n */\n setServiceProperties(\n resourceGroupName: string,\n accountName: string,\n parameters: FileServiceProperties,\n options?: FileServicesSetServicePropertiesOptionalParams,\n ): Promise<FileServicesSetServicePropertiesResponse>;\n /**\n * Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceProperties(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServicePropertiesOptionalParams,\n ): Promise<FileServicesGetServicePropertiesResponse>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/fileServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n FileServiceUsage,\n FileServicesListServiceUsagesOptionalParams,\n FileServicesListOptionalParams,\n FileServicesListResponse,\n FileServiceProperties,\n FileServicesSetServicePropertiesOptionalParams,\n FileServicesSetServicePropertiesResponse,\n FileServicesGetServicePropertiesOptionalParams,\n FileServicesGetServicePropertiesResponse,\n FileServicesGetServiceUsageOptionalParams,\n FileServicesGetServiceUsageResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a FileServices. */\nexport interface FileServices {\n /**\n * Gets the usages of file service in storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n listServiceUsages(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListServiceUsagesOptionalParams,\n ): PagedAsyncIterableIterator<FileServiceUsage>;\n /**\n * List all file services in storage accounts\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListOptionalParams,\n ): Promise<FileServicesListResponse>;\n /**\n * Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param parameters The properties of file services in storage accounts, including CORS (Cross-Origin\n * Resource Sharing) rules.\n * @param options The options parameters.\n */\n setServiceProperties(\n resourceGroupName: string,\n accountName: string,\n parameters: FileServiceProperties,\n options?: FileServicesSetServicePropertiesOptionalParams,\n ): Promise<FileServicesSetServicePropertiesResponse>;\n /**\n * Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceProperties(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServicePropertiesOptionalParams,\n ): Promise<FileServicesGetServicePropertiesResponse>;\n /**\n * Gets the usage of file service in storage account including account limits, file share limits and\n * constants used in recommendations and bursting formula.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceUsage(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServiceUsageOptionalParams,\n ): Promise<FileServicesGetServiceUsageResponse>;\n}\n"]}
|
|
@@ -146,7 +146,7 @@ export interface StorageAccounts {
|
|
|
146
146
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
147
147
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
148
148
|
* to 'Planned'. Learn more about the failover options here-
|
|
149
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
149
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
150
150
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
151
151
|
* case insensitive.
|
|
152
152
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
@@ -165,7 +165,7 @@ export interface StorageAccounts {
|
|
|
165
165
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
166
166
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
167
167
|
* to 'Planned'. Learn more about the failover options here-
|
|
168
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
168
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
169
169
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
170
170
|
* case insensitive.
|
|
171
171
|
* @param accountName The name of the storage account within the specified resource group. Storage
|