@azure/arm-storage 18.5.0 → 18.6.0-alpha.20250703.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -2
  3. package/dist/browser/lroImpl.d.ts.map +1 -1
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/index.d.ts +1 -1
  6. package/dist/browser/models/index.d.ts.map +1 -1
  7. package/dist/browser/models/index.js.map +1 -1
  8. package/dist/browser/operations/storageTaskAssignments.js +3 -3
  9. package/dist/browser/operations/storageTaskAssignments.js.map +1 -1
  10. package/dist/browser/storageManagementClient.js +1 -1
  11. package/dist/browser/storageManagementClient.js.map +1 -1
  12. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  13. package/dist/commonjs/lroImpl.js.map +1 -1
  14. package/dist/commonjs/models/index.d.ts +1 -1
  15. package/dist/commonjs/models/index.d.ts.map +1 -1
  16. package/dist/commonjs/models/index.js.map +1 -1
  17. package/dist/commonjs/operations/storageTaskAssignments.js +3 -3
  18. package/dist/commonjs/operations/storageTaskAssignments.js.map +1 -1
  19. package/dist/commonjs/storageManagementClient.js +1 -1
  20. package/dist/commonjs/storageManagementClient.js.map +1 -1
  21. package/dist/commonjs/tsdoc-metadata.json +1 -1
  22. package/dist/esm/lroImpl.d.ts.map +1 -1
  23. package/dist/esm/lroImpl.js.map +1 -1
  24. package/dist/esm/models/index.d.ts +1 -1
  25. package/dist/esm/models/index.d.ts.map +1 -1
  26. package/dist/esm/models/index.js.map +1 -1
  27. package/dist/esm/operations/storageTaskAssignments.js +3 -3
  28. package/dist/esm/operations/storageTaskAssignments.js.map +1 -1
  29. package/dist/esm/storageManagementClient.js +1 -1
  30. package/dist/esm/storageManagementClient.js.map +1 -1
  31. package/dist/react-native/lroImpl.d.ts.map +1 -1
  32. package/dist/react-native/lroImpl.js.map +1 -1
  33. package/dist/react-native/models/index.d.ts +1 -1
  34. package/dist/react-native/models/index.d.ts.map +1 -1
  35. package/dist/react-native/models/index.js.map +1 -1
  36. package/dist/react-native/operations/storageTaskAssignments.js +3 -3
  37. package/dist/react-native/operations/storageTaskAssignments.js.map +1 -1
  38. package/dist/react-native/storageManagementClient.js +1 -1
  39. package/dist/react-native/storageManagementClient.js.map +1 -1
  40. package/package.json +31 -42
  41. package/review/arm-storage.api.md +5 -7
@@ -140,7 +140,7 @@ export class StorageTaskAssignmentsImpl {
140
140
  const poller = await createHttpPoller(lro, {
141
141
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
142
142
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
143
- resourceLocationConfig: "location",
143
+ resourceLocationConfig: "azure-async-operation",
144
144
  });
145
145
  await poller.poll();
146
146
  return poller;
@@ -214,7 +214,7 @@ export class StorageTaskAssignmentsImpl {
214
214
  const poller = await createHttpPoller(lro, {
215
215
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
216
216
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
217
- resourceLocationConfig: "location",
217
+ resourceLocationConfig: "azure-async-operation",
218
218
  });
219
219
  await poller.poll();
220
220
  return poller;
@@ -296,7 +296,7 @@ export class StorageTaskAssignmentsImpl {
296
296
  const poller = await createHttpPoller(lro, {
297
297
  restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
298
298
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
299
- resourceLocationConfig: "location",
299
+ resourceLocationConfig: "azure-async-operation",
300
300
  });
301
301
  await poller.poll();
302
302
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"storageTaskAssignments.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;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UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qJAAqJ;IAC3J,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,YAAY,CAAC;IACjE,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,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
+ {"version":3,"file":"storageTaskAssignments.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAkB9C,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,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;gBACp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AK;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: \"azure-async-operation\",\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: \"azure-async-operation\",\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: \"azure-async-operation\",\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"]}
@@ -31,7 +31,7 @@ export class StorageManagementClient extends coreClient.ServiceClient {
31
31
  requestContentType: "application/json; charset=utf-8",
32
32
  credential: credentials,
33
33
  };
34
- const packageDetails = `azsdk-js-arm-storage/18.5.0`;
34
+ const packageDetails = `azsdk-js-arm-storage/18.6.0`;
35
35
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
36
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
37
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"storageManagementClient.js","sourceRoot":"","sources":["../../src/storageManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,uCAAuC,EACvC,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,0CAA0C,EAC1C,0BAA0B,EAC1B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,uBAAuB,CAAC;AA6B/B,MAAM,OAAO,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IAKnE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA+C;;QAE/C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA0C;YACtD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,6BAA6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,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CA0BF","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n BlobServicesImpl,\n BlobContainersImpl,\n FileServicesImpl,\n FileSharesImpl,\n QueueServicesImpl,\n QueueImpl,\n OperationsImpl,\n SkusImpl,\n StorageAccountsImpl,\n DeletedAccountsImpl,\n UsagesImpl,\n ManagementPoliciesImpl,\n BlobInventoryPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ObjectReplicationPoliciesOperationsImpl,\n LocalUsersOperationsImpl,\n EncryptionScopesImpl,\n TableServicesImpl,\n TableOperationsImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n StorageTaskAssignmentsImpl,\n StorageTaskAssignmentsInstancesReportImpl,\n StorageTaskAssignmentInstancesReportImpl,\n} from \"./operations/index.js\";\nimport {\n BlobServices,\n BlobContainers,\n FileServices,\n FileShares,\n QueueServices,\n Queue,\n Operations,\n Skus,\n StorageAccounts,\n DeletedAccounts,\n Usages,\n ManagementPolicies,\n BlobInventoryPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ObjectReplicationPoliciesOperations,\n LocalUsersOperations,\n EncryptionScopes,\n TableServices,\n TableOperations,\n NetworkSecurityPerimeterConfigurations,\n StorageTaskAssignments,\n StorageTaskAssignmentsInstancesReport,\n StorageTaskAssignmentInstancesReport,\n} from \"./operationsInterfaces/index.js\";\nimport { StorageManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class StorageManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storage/18.5.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-01-01\";\n this.blobServices = new BlobServicesImpl(this);\n this.blobContainers = new BlobContainersImpl(this);\n this.fileServices = new FileServicesImpl(this);\n this.fileShares = new FileSharesImpl(this);\n this.queueServices = new QueueServicesImpl(this);\n this.queue = new QueueImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.storageAccounts = new StorageAccountsImpl(this);\n this.deletedAccounts = new DeletedAccountsImpl(this);\n this.usages = new UsagesImpl(this);\n this.managementPolicies = new ManagementPoliciesImpl(this);\n this.blobInventoryPolicies = new BlobInventoryPoliciesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.objectReplicationPoliciesOperations =\n new ObjectReplicationPoliciesOperationsImpl(this);\n this.localUsersOperations = new LocalUsersOperationsImpl(this);\n this.encryptionScopes = new EncryptionScopesImpl(this);\n this.tableServices = new TableServicesImpl(this);\n this.tableOperations = new TableOperationsImpl(this);\n this.networkSecurityPerimeterConfigurations =\n new NetworkSecurityPerimeterConfigurationsImpl(this);\n this.storageTaskAssignments = new StorageTaskAssignmentsImpl(this);\n this.storageTaskAssignmentsInstancesReport =\n new StorageTaskAssignmentsInstancesReportImpl(this);\n this.storageTaskAssignmentInstancesReport =\n new StorageTaskAssignmentInstancesReportImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n blobServices: BlobServices;\n blobContainers: BlobContainers;\n fileServices: FileServices;\n fileShares: FileShares;\n queueServices: QueueServices;\n queue: Queue;\n operations: Operations;\n skus: Skus;\n storageAccounts: StorageAccounts;\n deletedAccounts: DeletedAccounts;\n usages: Usages;\n managementPolicies: ManagementPolicies;\n blobInventoryPolicies: BlobInventoryPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;\n localUsersOperations: LocalUsersOperations;\n encryptionScopes: EncryptionScopes;\n tableServices: TableServices;\n tableOperations: TableOperations;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n storageTaskAssignments: StorageTaskAssignments;\n storageTaskAssignmentsInstancesReport: StorageTaskAssignmentsInstancesReport;\n storageTaskAssignmentInstancesReport: StorageTaskAssignmentInstancesReport;\n}\n"]}
1
+ {"version":3,"file":"storageManagementClient.js","sourceRoot":"","sources":["../../src/storageManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,QAAQ,EACR,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,uCAAuC,EACvC,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,0CAA0C,EAC1C,0BAA0B,EAC1B,yCAAyC,EACzC,wCAAwC,GACzC,MAAM,uBAAuB,CAAC;AA6B/B,MAAM,OAAO,uBAAwB,SAAQ,UAAU,CAAC,aAAa;IAKnE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA+C;;QAE/C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA0C;YACtD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,6BAA6B,CAAC;QACrD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,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C,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CA0BF","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n BlobServicesImpl,\n BlobContainersImpl,\n FileServicesImpl,\n FileSharesImpl,\n QueueServicesImpl,\n QueueImpl,\n OperationsImpl,\n SkusImpl,\n StorageAccountsImpl,\n DeletedAccountsImpl,\n UsagesImpl,\n ManagementPoliciesImpl,\n BlobInventoryPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ObjectReplicationPoliciesOperationsImpl,\n LocalUsersOperationsImpl,\n EncryptionScopesImpl,\n TableServicesImpl,\n TableOperationsImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n StorageTaskAssignmentsImpl,\n StorageTaskAssignmentsInstancesReportImpl,\n StorageTaskAssignmentInstancesReportImpl,\n} from \"./operations/index.js\";\nimport {\n BlobServices,\n BlobContainers,\n FileServices,\n FileShares,\n QueueServices,\n Queue,\n Operations,\n Skus,\n StorageAccounts,\n DeletedAccounts,\n Usages,\n ManagementPolicies,\n BlobInventoryPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ObjectReplicationPoliciesOperations,\n LocalUsersOperations,\n EncryptionScopes,\n TableServices,\n TableOperations,\n NetworkSecurityPerimeterConfigurations,\n StorageTaskAssignments,\n StorageTaskAssignmentsInstancesReport,\n StorageTaskAssignmentInstancesReport,\n} from \"./operationsInterfaces/index.js\";\nimport { StorageManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class StorageManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorageManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorageManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorageManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-storage/18.6.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-01-01\";\n this.blobServices = new BlobServicesImpl(this);\n this.blobContainers = new BlobContainersImpl(this);\n this.fileServices = new FileServicesImpl(this);\n this.fileShares = new FileSharesImpl(this);\n this.queueServices = new QueueServicesImpl(this);\n this.queue = new QueueImpl(this);\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.storageAccounts = new StorageAccountsImpl(this);\n this.deletedAccounts = new DeletedAccountsImpl(this);\n this.usages = new UsagesImpl(this);\n this.managementPolicies = new ManagementPoliciesImpl(this);\n this.blobInventoryPolicies = new BlobInventoryPoliciesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.objectReplicationPoliciesOperations =\n new ObjectReplicationPoliciesOperationsImpl(this);\n this.localUsersOperations = new LocalUsersOperationsImpl(this);\n this.encryptionScopes = new EncryptionScopesImpl(this);\n this.tableServices = new TableServicesImpl(this);\n this.tableOperations = new TableOperationsImpl(this);\n this.networkSecurityPerimeterConfigurations =\n new NetworkSecurityPerimeterConfigurationsImpl(this);\n this.storageTaskAssignments = new StorageTaskAssignmentsImpl(this);\n this.storageTaskAssignmentsInstancesReport =\n new StorageTaskAssignmentsInstancesReportImpl(this);\n this.storageTaskAssignmentInstancesReport =\n new StorageTaskAssignmentInstancesReportImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n blobServices: BlobServices;\n blobContainers: BlobContainers;\n fileServices: FileServices;\n fileShares: FileShares;\n queueServices: QueueServices;\n queue: Queue;\n operations: Operations;\n skus: Skus;\n storageAccounts: StorageAccounts;\n deletedAccounts: DeletedAccounts;\n usages: Usages;\n managementPolicies: ManagementPolicies;\n blobInventoryPolicies: BlobInventoryPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;\n localUsersOperations: LocalUsersOperations;\n encryptionScopes: EncryptionScopes;\n tableServices: TableServices;\n tableOperations: TableOperations;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n storageTaskAssignments: StorageTaskAssignments;\n storageTaskAssignmentsInstancesReport: StorageTaskAssignmentsInstancesReport;\n storageTaskAssignmentInstancesReport: StorageTaskAssignmentInstancesReport;\n}\n"]}
package/package.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for StorageManagementClient.",
6
- "version": "18.5.0",
6
+ "version": "18.6.0-alpha.20250703.1",
7
7
  "engines": {
8
- "node": ">=18.0.0"
8
+ "node": ">=20.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/abort-controller": "^2.1.2",
12
- "@azure/core-auth": "^1.9.0",
13
- "@azure/core-client": "^1.9.3",
14
11
  "@azure/core-lro": "^2.5.4",
12
+ "@azure/abort-controller": "^2.1.2",
15
13
  "@azure/core-paging": "^1.6.2",
14
+ "@azure/core-client": "^1.9.3",
15
+ "@azure/core-auth": "^1.9.0",
16
16
  "@azure/core-rest-pipeline": "^1.19.1",
17
17
  "tslib": "^2.8.1"
18
18
  },
@@ -21,31 +21,30 @@
21
21
  "azure",
22
22
  "typescript",
23
23
  "browser",
24
- "isomorphic"
24
+ "isomorphic",
25
+ "cloud"
25
26
  ],
26
27
  "license": "MIT",
27
28
  "main": "./dist/commonjs/index.js",
28
29
  "module": "./dist/esm/index.js",
29
30
  "types": "./dist/commonjs/index.d.ts",
31
+ "type": "module",
30
32
  "devDependencies": {
31
- "@azure-tools/test-credential": "^2.0.0",
32
- "@azure-tools/test-recorder": "^4.1.0",
33
- "@azure-tools/test-utils-vitest": "^1.0.0",
34
- "@azure/dev-tool": "^1.0.0",
33
+ "typescript": "~5.8.2",
34
+ "dotenv": "^16.0.0",
35
+ "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
35
36
  "@azure/identity": "^4.9.0",
36
37
  "@azure/logger": "^1.1.4",
37
- "@types/node": "^18.0.0",
38
+ "@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
39
+ "@azure-tools/test-credential": "^2.0.0",
40
+ "@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
41
+ "@types/node": "^20.0.0",
38
42
  "@vitest/browser": "^3.0.9",
39
43
  "@vitest/coverage-istanbul": "^3.0.9",
40
- "dotenv": "^16.0.0",
41
44
  "playwright": "^1.52.0",
42
- "typescript": "~5.8.2",
43
45
  "vitest": "^3.0.9"
44
46
  },
45
- "repository": {
46
- "type": "git",
47
- "url": "https://github.com/Azure/azure-sdk-for-js.git"
48
- },
47
+ "repository": "github:Azure/azure-sdk-for-js",
49
48
  "bugs": {
50
49
  "url": "https://github.com/Azure/azure-sdk-for-js/issues"
51
50
  },
@@ -53,33 +52,24 @@
53
52
  "dist/",
54
53
  "README.md",
55
54
  "LICENSE",
56
- "review/",
55
+ "review/*",
57
56
  "CHANGELOG.md"
58
57
  ],
59
58
  "scripts": {
60
59
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
61
- "build:browser": "echo skipped",
62
- "build:node": "echo skipped",
63
60
  "build:samples": "echo skipped.",
64
- "build:test": "echo skipped",
65
61
  "check-format": "echo skipped",
66
62
  "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
67
63
  "execute:samples": "echo skipped",
68
64
  "extract-api": "dev-tool run extract-api",
69
65
  "format": "echo skipped",
70
- "integration-test": "npm run integration-test:node && npm run integration-test:browser",
71
- "integration-test:browser": "echo skipped",
72
- "integration-test:node": "dev-tool run test:vitest --esm",
73
66
  "lint": "echo skipped",
74
- "minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
75
67
  "pack": "npm pack 2>&1",
76
68
  "prepack": "npm run build",
77
- "test": "npm run integration-test",
69
+ "test": "npm run test:node && npm run test:browser",
78
70
  "test:browser": "echo skipped",
79
- "test:node": "echo skipped",
80
- "unit-test": "npm run unit-test:node && npm run unit-test:browser",
81
- "unit-test:browser": "echo skipped",
82
- "unit-test:node": "dev-tool run test:vitest",
71
+ "test:node": "dev-tool run test:vitest",
72
+ "test:node:esm": "dev-tool run test:vitest --esm",
83
73
  "update-snippets": "dev-tool run update-snippets"
84
74
  },
85
75
  "sideEffects": false,
@@ -92,16 +82,8 @@
92
82
  ]
93
83
  },
94
84
  "autoPublish": true,
95
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage",
96
- "//sampleConfiguration": {
97
- "productName": "",
98
- "productSlugs": [
99
- "azure"
100
- ],
101
- "disableDocsMs": true,
102
- "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
103
- },
104
- "type": "module",
85
+ "browser": "./dist/browser/index.js",
86
+ "react-native": "./dist/react-native/index.js",
105
87
  "tshy": {
106
88
  "project": "./tsconfig.src.json",
107
89
  "exports": {
@@ -118,8 +100,15 @@
118
100
  ],
119
101
  "selfLink": false
120
102
  },
121
- "browser": "./dist/browser/index.js",
122
- "react-native": "./dist/react-native/index.js",
103
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage",
104
+ "//sampleConfiguration": {
105
+ "productName": "",
106
+ "productSlugs": [
107
+ "azure"
108
+ ],
109
+ "disableDocsMs": true,
110
+ "apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-storage?view=azure-node-preview"
111
+ },
123
112
  "exports": {
124
113
  "./package.json": "./package.json",
125
114
  ".": {
@@ -42,7 +42,7 @@ export interface AccountLimits {
42
42
  export interface AccountSasParameters {
43
43
  iPAddressOrRange?: string;
44
44
  keyToSign?: string;
45
- permissions: Permissions_2;
45
+ permissions: Permissions;
46
46
  protocols?: HttpProtocol;
47
47
  resourceTypes: SignedResourceTypes;
48
48
  services: Services;
@@ -674,7 +674,7 @@ export type EncryptionScopeState = string;
674
674
  // @public
675
675
  export interface EncryptionService {
676
676
  enabled?: boolean;
677
- keyType?: KeyType_2;
677
+ keyType?: KeyType;
678
678
  readonly lastEnabledTime?: Date;
679
679
  }
680
680
 
@@ -1119,8 +1119,7 @@ export interface KeyPolicy {
1119
1119
  export type KeySource = string;
1120
1120
 
1121
1121
  // @public
1122
- type KeyType_2 = string;
1123
- export { KeyType_2 as KeyType }
1122
+ export type KeyType = string;
1124
1123
 
1125
1124
  // @public
1126
1125
  export interface KeyVaultProperties {
@@ -2202,8 +2201,7 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
2202
2201
  export type OperationsListResponse = OperationListResult;
2203
2202
 
2204
2203
  // @public
2205
- type Permissions_2 = string;
2206
- export { Permissions_2 as Permissions }
2204
+ export type Permissions = string;
2207
2205
 
2208
2206
  // @public (undocumented)
2209
2207
  export interface PermissionScope {
@@ -2521,7 +2519,7 @@ export interface ServiceSasParameters {
2521
2519
  keyToSign?: string;
2522
2520
  partitionKeyEnd?: string;
2523
2521
  partitionKeyStart?: string;
2524
- permissions?: Permissions_2;
2522
+ permissions?: Permissions;
2525
2523
  protocols?: HttpProtocol;
2526
2524
  resource?: SignedResource;
2527
2525
  rowKeyEnd?: string;