@azure/arm-storage 19.1.0-alpha.20251128.1 → 19.1.0-alpha.20251201.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 (33) hide show
  1. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  2. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  3. package/dist/browser/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  4. package/dist/browser/operations/objectReplicationPoliciesOperations.js.map +1 -1
  5. package/dist/browser/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -1
  6. package/dist/browser/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  7. package/dist/browser/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -1
  8. package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  9. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  10. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  11. package/dist/commonjs/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  12. package/dist/commonjs/operations/objectReplicationPoliciesOperations.js.map +1 -1
  13. package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -1
  14. package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  15. package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -1
  16. package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  17. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  18. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  19. package/dist/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  20. package/dist/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
  21. package/dist/esm/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -1
  22. package/dist/esm/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  23. package/dist/esm/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -1
  24. package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  25. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  26. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  27. package/dist/react-native/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
  28. package/dist/react-native/operations/objectReplicationPoliciesOperations.js.map +1 -1
  29. package/dist/react-native/operations/storageTaskAssignmentInstancesReport.d.ts.map +1 -1
  30. package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
  31. package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.d.ts.map +1 -1
  32. package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
  33. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"storageTaskAssignmentInstancesReport.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentInstancesReport.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAUtD,4CAA4C;AAC5C,wEAAwE;AACxE,MAAM,OAAO,wCAAwC;IAGlC,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;OAUG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,yBAAiC,EACjC,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,WAAW,EACX,yBAAyB,EACzB,OAA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U,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;IACpF,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,yBAAyB;KACrC;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;QACnB,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { StorageTaskAssignmentInstancesReport } 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 type { StorageManagementClient } from \"../storageManagementClient.js\";\nimport type {\n StorageTaskReportInstance,\n StorageTaskAssignmentInstancesReportListNextOptionalParams,\n StorageTaskAssignmentInstancesReportListOptionalParams,\n StorageTaskAssignmentInstancesReportListResponse,\n StorageTaskAssignmentInstancesReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignmentInstancesReport operations. */\nexport class StorageTaskAssignmentInstancesReportImpl\n implements StorageTaskAssignmentInstancesReport\n{\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignmentInstancesReport 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 a single storage task assignment's instances\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 public list(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskReportInstance> {\n const iter = this.listPagingAll(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n );\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 storageTaskAssignmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskReportInstance[]> {\n let result: StorageTaskAssignmentInstancesReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, storageTaskAssignmentName, options);\n const 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 storageTaskAssignmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): AsyncIterableIterator<StorageTaskReportInstance> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Fetch the report summary of a single storage task assignment's instances\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 private _list(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): Promise<StorageTaskAssignmentInstancesReportListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, storageTaskAssignmentName, 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 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 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 storageTaskAssignmentName: string,\n nextLink: string,\n options?: StorageTaskAssignmentInstancesReportListNextOptionalParams,\n ): Promise<StorageTaskAssignmentInstancesReportListNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n nextLink,\n options,\n },\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}/storageTaskAssignments/{storageTaskAssignmentName}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.maxpagesize1],\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 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 Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"storageTaskAssignmentInstancesReport.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentInstancesReport.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAA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J,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,yLAAyL;IAC/L,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,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,YAAY,CAAC;IACpF,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,yBAAyB;KACrC;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;QACnB,UAAU,CAAC,yBAAyB;KACrC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { StorageTaskAssignmentInstancesReport } 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 type { StorageManagementClient } from \"../storageManagementClient.js\";\nimport type {\n StorageTaskReportInstance,\n StorageTaskAssignmentInstancesReportListNextOptionalParams,\n StorageTaskAssignmentInstancesReportListOptionalParams,\n StorageTaskAssignmentInstancesReportListResponse,\n StorageTaskAssignmentInstancesReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing StorageTaskAssignmentInstancesReport operations. */\nexport class StorageTaskAssignmentInstancesReportImpl implements StorageTaskAssignmentInstancesReport {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class StorageTaskAssignmentInstancesReport 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 a single storage task assignment's instances\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 public list(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): PagedAsyncIterableIterator<StorageTaskReportInstance> {\n const iter = this.listPagingAll(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n );\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 storageTaskAssignmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<StorageTaskReportInstance[]> {\n let result: StorageTaskAssignmentInstancesReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, storageTaskAssignmentName, options);\n const 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 storageTaskAssignmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): AsyncIterableIterator<StorageTaskReportInstance> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Fetch the report summary of a single storage task assignment's instances\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 private _list(\n resourceGroupName: string,\n accountName: string,\n storageTaskAssignmentName: string,\n options?: StorageTaskAssignmentInstancesReportListOptionalParams,\n ): Promise<StorageTaskAssignmentInstancesReportListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, storageTaskAssignmentName, 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 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 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 storageTaskAssignmentName: string,\n nextLink: string,\n options?: StorageTaskAssignmentInstancesReportListNextOptionalParams,\n ): Promise<StorageTaskAssignmentInstancesReportListNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n storageTaskAssignmentName,\n nextLink,\n options,\n },\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}/storageTaskAssignments/{storageTaskAssignmentName}/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.StorageTaskReportSummary,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.maxpagesize1],\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 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 Parameters.storageTaskAssignmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"storageTaskAssignmentsInstancesReport.d.ts","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentsInstancesReport.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAI9F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EACV,yBAAyB,EAEzB,uDAAuD,EAGxD,MAAM,oBAAoB,CAAC;AAG5B,yEAAyE;AACzE,qBAAa,yCACX,YAAW,qCAAqC;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;OAOG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,cAAc;YAwBd,aAAa;IAU5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,OAAO,CAAC,SAAS;CAWlB"}
1
+ {"version":3,"file":"storageTaskAssignmentsInstancesReport.d.ts","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentsInstancesReport.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAI9F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,KAAK,EACV,yBAAyB,EAEzB,uDAAuD,EAGxD,MAAM,oBAAoB,CAAC;AAG5B,yEAAyE;AACzE,qBAAa,yCAA0C,YAAW,qCAAqC;IACrG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;OAOG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,yBAAyB,CAAC;YAkBzC,cAAc;YAwBd,aAAa;IAU5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,OAAO,CAAC,SAAS;CAWlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"storageTaskAssignmentsInstancesReport.js","sourceRoot":"","sources":["../../../src/operations/storageTaskAssignmentsInstancesReport.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAUtD,4CAA4C;AAC5C,yEAAyE;AACzE,MAAM,OAAO,yCAAyC;IAGnC,MAAM,CAA0B;IAEjD;;;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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E,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":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { 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 type { StorageManagementClient } from \"../storageManagementClient.js\";\nimport type {\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(resourceGroupName, accountName, options, settings);\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 const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, accountName, continuationToken, options);\n continuationToken = result.nextLink;\n const 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(resourceGroupName, accountName, options)) {\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: [Parameters.apiVersion, Parameters.filter, 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.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,uCAAuC;AACvC,kCAAkC;AAMlC,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;AAUtD,4CAA4C;AAC5C,yEAAyE;AACzE,MAAM,OAAO,yCAAyC;IACnC,MAAM,CAA0B;IAEjD;;;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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChF,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,iBAAyB,EACzB,WAAmB,EACnB,OAAiE,EACjE,QAAuB;QAEvB,IAAI,MAAyD,CAAC;QAC9D,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,C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ensed 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { 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 type { StorageManagementClient } from \"../storageManagementClient.js\";\nimport type {\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 implements StorageTaskAssignmentsInstancesReport {\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(resourceGroupName, accountName, options, settings);\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 const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, accountName, continuationToken, options);\n continuationToken = result.nextLink;\n const 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(resourceGroupName, accountName, options)) {\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: [Parameters.apiVersion, Parameters.filter, 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.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"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for StorageManagementClient.",
6
- "version": "19.1.0-alpha.20251128.1",
6
+ "version": "19.1.0-alpha.20251201.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -45,8 +45,8 @@
45
45
  "vitest": "^4.0.8",
46
46
  "@azure-tools/test-credential": "^2.1.2",
47
47
  "@azure-tools/test-recorder": "^4.1.1",
48
- "@azure-tools/test-utils-vitest": "^2.0.1",
49
- "@azure/dev-tool": "^1.0.0"
48
+ "@azure/dev-tool": "^1.0.0",
49
+ "@azure-tools/test-utils-vitest": "^2.0.1"
50
50
  },
51
51
  "repository": "github:Azure/azure-sdk-for-js",
52
52
  "bugs": {