@azure/arm-storage 18.3.1-alpha.20250226.1 → 18.4.0-alpha.20250228.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -9
- package/LICENSE +4 -4
- package/README.md +3 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +301 -6
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +12 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +11 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +431 -8
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -2
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +22 -11
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/blobContainers.d.ts +9 -9
- package/dist/browser/operations/blobContainers.js +9 -9
- package/dist/browser/operations/blobContainers.js.map +1 -1
- package/dist/browser/operations/encryptionScopes.js +1 -1
- package/dist/browser/operations/encryptionScopes.js.map +1 -1
- package/dist/browser/operations/fileServices.d.ts +46 -1
- package/dist/browser/operations/fileServices.d.ts.map +1 -1
- package/dist/browser/operations/fileServices.js +174 -0
- package/dist/browser/operations/fileServices.js.map +1 -1
- package/dist/browser/operations/localUsersOperations.js +1 -1
- package/dist/browser/operations/localUsersOperations.js.map +1 -1
- package/dist/browser/operations/storageAccounts.d.ts +2 -2
- package/dist/browser/operations/storageAccounts.js +2 -2
- package/dist/browser/operations/storageAccounts.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/browser/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignments.js +1 -1
- package/dist/browser/operations/storageTaskAssignments.js.map +1 -1
- package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/browser/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/browser/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/browser/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/browser/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/browser/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/browser/storageManagementClient.js +2 -2
- package/dist/browser/storageManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +301 -6
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +12 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +11 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +436 -12
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +3 -2
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +24 -13
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/blobContainers.d.ts +9 -9
- package/dist/commonjs/operations/blobContainers.js +9 -9
- package/dist/commonjs/operations/blobContainers.js.map +1 -1
- package/dist/commonjs/operations/encryptionScopes.js +1 -1
- package/dist/commonjs/operations/encryptionScopes.js.map +1 -1
- package/dist/commonjs/operations/fileServices.d.ts +46 -1
- package/dist/commonjs/operations/fileServices.d.ts.map +1 -1
- package/dist/commonjs/operations/fileServices.js +173 -0
- package/dist/commonjs/operations/fileServices.js.map +1 -1
- package/dist/commonjs/operations/localUsersOperations.js +1 -1
- package/dist/commonjs/operations/localUsersOperations.js.map +1 -1
- package/dist/commonjs/operations/storageAccounts.d.ts +2 -2
- package/dist/commonjs/operations/storageAccounts.js +2 -2
- package/dist/commonjs/operations/storageAccounts.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignments.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignments.js.map +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/commonjs/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/commonjs/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/commonjs/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/commonjs/storageManagementClient.js +2 -2
- package/dist/commonjs/storageManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +301 -6
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +11 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +431 -8
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +3 -2
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +22 -11
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/blobContainers.d.ts +9 -9
- package/dist/esm/operations/blobContainers.js +9 -9
- package/dist/esm/operations/blobContainers.js.map +1 -1
- package/dist/esm/operations/encryptionScopes.js +1 -1
- package/dist/esm/operations/encryptionScopes.js.map +1 -1
- package/dist/esm/operations/fileServices.d.ts +46 -1
- package/dist/esm/operations/fileServices.d.ts.map +1 -1
- package/dist/esm/operations/fileServices.js +174 -0
- package/dist/esm/operations/fileServices.js.map +1 -1
- package/dist/esm/operations/localUsersOperations.js +1 -1
- package/dist/esm/operations/localUsersOperations.js.map +1 -1
- package/dist/esm/operations/storageAccounts.d.ts +2 -2
- package/dist/esm/operations/storageAccounts.js +2 -2
- package/dist/esm/operations/storageAccounts.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/esm/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignments.js +1 -1
- package/dist/esm/operations/storageTaskAssignments.js.map +1 -1
- package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/esm/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/esm/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/esm/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/esm/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/esm/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/esm/storageManagementClient.js +2 -2
- package/dist/esm/storageManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +301 -6
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +12 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +11 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +431 -8
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -2
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +22 -11
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/blobContainers.d.ts +9 -9
- package/dist/react-native/operations/blobContainers.js +9 -9
- package/dist/react-native/operations/blobContainers.js.map +1 -1
- package/dist/react-native/operations/encryptionScopes.js +1 -1
- package/dist/react-native/operations/encryptionScopes.js.map +1 -1
- package/dist/react-native/operations/fileServices.d.ts +46 -1
- package/dist/react-native/operations/fileServices.d.ts.map +1 -1
- package/dist/react-native/operations/fileServices.js +174 -0
- package/dist/react-native/operations/fileServices.js.map +1 -1
- package/dist/react-native/operations/localUsersOperations.js +1 -1
- package/dist/react-native/operations/localUsersOperations.js.map +1 -1
- package/dist/react-native/operations/storageAccounts.d.ts +2 -2
- package/dist/react-native/operations/storageAccounts.js +2 -2
- package/dist/react-native/operations/storageAccounts.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js +1 -1
- package/dist/react-native/operations/storageTaskAssignmentInstancesReport.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignments.js +1 -1
- package/dist/react-native/operations/storageTaskAssignments.js.map +1 -1
- package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js +1 -1
- package/dist/react-native/operations/storageTaskAssignmentsInstancesReport.js.map +1 -1
- package/dist/react-native/operationsInterfaces/blobContainers.d.ts +9 -9
- package/dist/react-native/operationsInterfaces/blobContainers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/fileServices.d.ts +23 -1
- package/dist/react-native/operationsInterfaces/fileServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/fileServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -1
- package/dist/react-native/storageManagementClient.js +2 -2
- package/dist/react-native/storageManagementClient.js.map +1 -1
- package/package.json +7 -7
- package/review/arm-storage.api.md +126 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionScopes.js","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.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;AAgBtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;S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AAU,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 { EncryptionScopes } 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 EncryptionScope,\n EncryptionScopesListNextOptionalParams,\n EncryptionScopesListOptionalParams,\n EncryptionScopesListResponse,\n EncryptionScopesPutOptionalParams,\n EncryptionScopesPutResponse,\n EncryptionScopesPatchOptionalParams,\n EncryptionScopesPatchResponse,\n EncryptionScopesGetOptionalParams,\n EncryptionScopesGetResponse,\n EncryptionScopesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EncryptionScopes operations. */\nexport class EncryptionScopesImpl implements EncryptionScopes {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class EncryptionScopes class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): PagedAsyncIterableIterator<EncryptionScope> {\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?: EncryptionScopesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EncryptionScope[]> {\n let result: EncryptionScopesListResponse;\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?: EncryptionScopesListOptionalParams,\n ): AsyncIterableIterator<EncryptionScope> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Synchronously creates or updates an encryption scope under the specified storage account. If an\n * encryption scope is already created and a subsequent request is issued with different properties,\n * the encryption scope properties will be updated per the specified request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the create or update.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPutOptionalParams,\n ): Promise<EncryptionScopesPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n putOperationSpec,\n );\n }\n\n /**\n * Update encryption scope properties as specified in the request body. Update fails if the specified\n * encryption scope does not already exist.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the update.\n * @param options The options parameters.\n */\n patch(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPatchOptionalParams,\n ): Promise<EncryptionScopesPatchResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n patchOperationSpec,\n );\n }\n\n /**\n * Returns the properties for the specified encryption scope.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesGetOptionalParams,\n ): Promise<EncryptionScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, encryptionScopeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): Promise<EncryptionScopesListResponse> {\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 within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param 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?: EncryptionScopesListNextOptionalParams,\n ): Promise<EncryptionScopesListNextResponse> {\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 putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n 201: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst patchOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\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}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize1,\n Parameters.include3,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\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":"encryptionScopes.js","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.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;AAgBtD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAM,OAAO,oBAAoB;IAG/B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,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;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 { EncryptionScopes } 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 EncryptionScope,\n EncryptionScopesListNextOptionalParams,\n EncryptionScopesListOptionalParams,\n EncryptionScopesListResponse,\n EncryptionScopesPutOptionalParams,\n EncryptionScopesPutResponse,\n EncryptionScopesPatchOptionalParams,\n EncryptionScopesPatchResponse,\n EncryptionScopesGetOptionalParams,\n EncryptionScopesGetResponse,\n EncryptionScopesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EncryptionScopes operations. */\nexport class EncryptionScopesImpl implements EncryptionScopes {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class EncryptionScopes class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): PagedAsyncIterableIterator<EncryptionScope> {\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?: EncryptionScopesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<EncryptionScope[]> {\n let result: EncryptionScopesListResponse;\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?: EncryptionScopesListOptionalParams,\n ): AsyncIterableIterator<EncryptionScope> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Synchronously creates or updates an encryption scope under the specified storage account. If an\n * encryption scope is already created and a subsequent request is issued with different properties,\n * the encryption scope properties will be updated per the specified request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the create or update.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPutOptionalParams,\n ): Promise<EncryptionScopesPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n putOperationSpec,\n );\n }\n\n /**\n * Update encryption scope properties as specified in the request body. Update fails if the specified\n * encryption scope does not already exist.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the update.\n * @param options The options parameters.\n */\n patch(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPatchOptionalParams,\n ): Promise<EncryptionScopesPatchResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options,\n },\n patchOperationSpec,\n );\n }\n\n /**\n * Returns the properties for the specified encryption scope.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesGetOptionalParams,\n ): Promise<EncryptionScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, encryptionScopeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n ): Promise<EncryptionScopesListResponse> {\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 within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param 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?: EncryptionScopesListNextOptionalParams,\n ): Promise<EncryptionScopesListNextResponse> {\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 putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n 201: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst patchOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\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}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.encryptionScopeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize2,\n Parameters.include3,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult,\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,6 +1,7 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
1
2
|
import { FileServices } from "../operationsInterfaces/index.js";
|
|
2
3
|
import { StorageManagementClient } from "../storageManagementClient.js";
|
|
3
|
-
import { FileServicesListOptionalParams, FileServicesListResponse, FileServiceProperties, FileServicesSetServicePropertiesOptionalParams, FileServicesSetServicePropertiesResponse, FileServicesGetServicePropertiesOptionalParams, FileServicesGetServicePropertiesResponse } from "../models/index.js";
|
|
4
|
+
import { FileServiceUsage, FileServicesListServiceUsagesOptionalParams, FileServicesListOptionalParams, FileServicesListResponse, FileServiceProperties, FileServicesSetServicePropertiesOptionalParams, FileServicesSetServicePropertiesResponse, FileServicesGetServicePropertiesOptionalParams, FileServicesGetServicePropertiesResponse, FileServicesGetServiceUsageOptionalParams, FileServicesGetServiceUsageResponse } from "../models/index.js";
|
|
4
5
|
/** Class containing FileServices operations. */
|
|
5
6
|
export declare class FileServicesImpl implements FileServices {
|
|
6
7
|
private readonly client;
|
|
@@ -9,6 +10,18 @@ export declare class FileServicesImpl implements FileServices {
|
|
|
9
10
|
* @param client Reference to the service client
|
|
10
11
|
*/
|
|
11
12
|
constructor(client: StorageManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the usages of file service in storage account.
|
|
15
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
16
|
+
* case insensitive.
|
|
17
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
18
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
19
|
+
* only.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
listServiceUsages(resourceGroupName: string, accountName: string, options?: FileServicesListServiceUsagesOptionalParams): PagedAsyncIterableIterator<FileServiceUsage>;
|
|
23
|
+
private listServiceUsagesPagingPage;
|
|
24
|
+
private listServiceUsagesPagingAll;
|
|
12
25
|
/**
|
|
13
26
|
* List all file services in storage accounts
|
|
14
27
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
@@ -43,5 +56,37 @@ export declare class FileServicesImpl implements FileServices {
|
|
|
43
56
|
* @param options The options parameters.
|
|
44
57
|
*/
|
|
45
58
|
getServiceProperties(resourceGroupName: string, accountName: string, options?: FileServicesGetServicePropertiesOptionalParams): Promise<FileServicesGetServicePropertiesResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Gets the usages of file service in storage account.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
62
|
+
* case insensitive.
|
|
63
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
64
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
65
|
+
* only.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
private _listServiceUsages;
|
|
69
|
+
/**
|
|
70
|
+
* Gets the usage of file service in storage account including account limits, file share limits and
|
|
71
|
+
* constants used in recommendations and bursting formula.
|
|
72
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
73
|
+
* case insensitive.
|
|
74
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
75
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
76
|
+
* only.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
getServiceUsage(resourceGroupName: string, accountName: string, options?: FileServicesGetServiceUsageOptionalParams): Promise<FileServicesGetServiceUsageResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* ListServiceUsagesNext
|
|
82
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
83
|
+
* case insensitive.
|
|
84
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
85
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
86
|
+
* only.
|
|
87
|
+
* @param nextLink The nextLink from the previous successful call to the ListServiceUsages method.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
private _listServiceUsagesNext;
|
|
46
91
|
}
|
|
47
92
|
//# sourceMappingURL=fileServices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileServices.d.ts","sourceRoot":"","sources":["../../../src/operations/fileServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"fileServices.d.ts","sourceRoot":"","sources":["../../../src/operations/fileServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,gBAAgB,EAEhB,2CAA2C,EAE3C,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EACxC,yCAAyC,EACzC,mCAAmC,EAEpC,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACI,iBAAiB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,gBAAgB,CAAC;YA2BhC,2BAA2B;YAiC3B,0BAA0B;IAczC;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAOpD;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAOpD;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IAW1B;;;;;;;;;OASG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;;;;;OASG;IACH,OAAO,CAAC,sBAAsB;CAW/B"}
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
8
10
|
import * as coreClient from "@azure/core-client";
|
|
9
11
|
import * as Mappers from "../models/mappers.js";
|
|
10
12
|
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
11
14
|
/** Class containing FileServices operations. */
|
|
12
15
|
export class FileServicesImpl {
|
|
13
16
|
/**
|
|
@@ -17,6 +20,72 @@ export class FileServicesImpl {
|
|
|
17
20
|
constructor(client) {
|
|
18
21
|
this.client = client;
|
|
19
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Gets the usages of file service in storage account.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
27
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
28
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
29
|
+
* only.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listServiceUsages(resourceGroupName, accountName, options) {
|
|
33
|
+
const iter = this.listServiceUsagesPagingAll(resourceGroupName, accountName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listServiceUsagesPagingPage(resourceGroupName, accountName, options, settings);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listServiceUsagesPagingPage(resourceGroupName, accountName, options, settings) {
|
|
50
|
+
return __asyncGenerator(this, arguments, function* listServiceUsagesPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield __await(this._listServiceUsages(resourceGroupName, accountName, options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
setContinuationToken(page, continuationToken);
|
|
58
|
+
yield yield __await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield __await(this._listServiceUsagesNext(resourceGroupName, accountName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
setContinuationToken(page, continuationToken);
|
|
65
|
+
yield yield __await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listServiceUsagesPagingAll(resourceGroupName, accountName, options) {
|
|
70
|
+
return __asyncGenerator(this, arguments, function* listServiceUsagesPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = __asyncValues(this.listServiceUsagesPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
20
89
|
/**
|
|
21
90
|
* List all file services in storage accounts
|
|
22
91
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
@@ -57,6 +126,44 @@ export class FileServicesImpl {
|
|
|
57
126
|
getServiceProperties(resourceGroupName, accountName, options) {
|
|
58
127
|
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec);
|
|
59
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Gets the usages of file service in storage account.
|
|
131
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
132
|
+
* case insensitive.
|
|
133
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
134
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
135
|
+
* only.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
_listServiceUsages(resourceGroupName, accountName, options) {
|
|
139
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listServiceUsagesOperationSpec);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Gets the usage of file service in storage account including account limits, file share limits and
|
|
143
|
+
* constants used in recommendations and bursting formula.
|
|
144
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
145
|
+
* case insensitive.
|
|
146
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
147
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
148
|
+
* only.
|
|
149
|
+
* @param options The options parameters.
|
|
150
|
+
*/
|
|
151
|
+
getServiceUsage(resourceGroupName, accountName, options) {
|
|
152
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServiceUsageOperationSpec);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* ListServiceUsagesNext
|
|
156
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
157
|
+
* case insensitive.
|
|
158
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
159
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
160
|
+
* only.
|
|
161
|
+
* @param nextLink The nextLink from the previous successful call to the ListServiceUsages method.
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
_listServiceUsagesNext(resourceGroupName, accountName, nextLink, options) {
|
|
165
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listServiceUsagesNextOperationSpec);
|
|
166
|
+
}
|
|
60
167
|
}
|
|
61
168
|
// Operation Specifications
|
|
62
169
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -127,4 +234,71 @@ const getServicePropertiesOperationSpec = {
|
|
|
127
234
|
headerParameters: [Parameters.accept],
|
|
128
235
|
serializer,
|
|
129
236
|
};
|
|
237
|
+
const listServiceUsagesOperationSpec = {
|
|
238
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages",
|
|
239
|
+
httpMethod: "GET",
|
|
240
|
+
responses: {
|
|
241
|
+
200: {
|
|
242
|
+
bodyMapper: Mappers.FileServiceUsages,
|
|
243
|
+
},
|
|
244
|
+
default: {
|
|
245
|
+
bodyMapper: Mappers.CloudError,
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
queryParameters: [Parameters.apiVersion, Parameters.maxpagesize1],
|
|
249
|
+
urlParameters: [
|
|
250
|
+
Parameters.$host,
|
|
251
|
+
Parameters.resourceGroupName,
|
|
252
|
+
Parameters.accountName,
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.fileServicesName,
|
|
255
|
+
],
|
|
256
|
+
headerParameters: [Parameters.accept],
|
|
257
|
+
serializer,
|
|
258
|
+
};
|
|
259
|
+
const getServiceUsageOperationSpec = {
|
|
260
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}",
|
|
261
|
+
httpMethod: "GET",
|
|
262
|
+
responses: {
|
|
263
|
+
200: {
|
|
264
|
+
bodyMapper: Mappers.FileServiceUsage,
|
|
265
|
+
},
|
|
266
|
+
default: {
|
|
267
|
+
bodyMapper: Mappers.CloudError,
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.resourceGroupName,
|
|
274
|
+
Parameters.accountName,
|
|
275
|
+
Parameters.subscriptionId,
|
|
276
|
+
Parameters.fileServicesName,
|
|
277
|
+
Parameters.fileServiceUsagesName,
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [Parameters.accept],
|
|
280
|
+
serializer,
|
|
281
|
+
};
|
|
282
|
+
const listServiceUsagesNextOperationSpec = {
|
|
283
|
+
path: "{nextLink}",
|
|
284
|
+
httpMethod: "GET",
|
|
285
|
+
responses: {
|
|
286
|
+
200: {
|
|
287
|
+
bodyMapper: Mappers.FileServiceUsages,
|
|
288
|
+
},
|
|
289
|
+
default: {
|
|
290
|
+
bodyMapper: Mappers.CloudError,
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
urlParameters: [
|
|
294
|
+
Parameters.$host,
|
|
295
|
+
Parameters.resourceGroupName,
|
|
296
|
+
Parameters.accountName,
|
|
297
|
+
Parameters.subscriptionId,
|
|
298
|
+
Parameters.nextLink,
|
|
299
|
+
Parameters.fileServicesName,
|
|
300
|
+
],
|
|
301
|
+
headerParameters: [Parameters.accept],
|
|
302
|
+
serializer,
|
|
303
|
+
};
|
|
130
304
|
//# sourceMappingURL=fileServices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../../src/operations/fileServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAYtD,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAyB,EACzB,WAAmB,EACnB,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAA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UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,8JAA8J;IACpK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,gBAAgB;KAC5B;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 { FileServices } 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 FileServicesListOptionalParams,\n FileServicesListResponse,\n FileServiceProperties,\n FileServicesSetServicePropertiesOptionalParams,\n FileServicesSetServicePropertiesResponse,\n FileServicesGetServicePropertiesOptionalParams,\n FileServicesGetServicePropertiesResponse,\n} from \"../models/index.js\";\n\n/** Class containing FileServices operations. */\nexport class FileServicesImpl implements FileServices {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class FileServices class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * List all file services in storage accounts\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListOptionalParams,\n ): Promise<FileServicesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param parameters The properties of file services in storage accounts, including CORS (Cross-Origin\n * Resource Sharing) rules.\n * @param options The options parameters.\n */\n setServiceProperties(\n resourceGroupName: string,\n accountName: string,\n parameters: FileServiceProperties,\n options?: FileServicesSetServicePropertiesOptionalParams,\n ): Promise<FileServicesSetServicePropertiesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n setServicePropertiesOperationSpec,\n );\n }\n\n /**\n * Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceProperties(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServicePropertiesOptionalParams,\n ): Promise<FileServicesGetServicePropertiesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getServicePropertiesOperationSpec,\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}/fileServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceItems,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst setServicePropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getServicePropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../../src/operations/fileServices.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;AAmBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,iBAAiB,CACtB,iBAAyB,EACzB,WAAmB,EACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,0BAA0B,CAC1C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,2BAA2B,CACrC,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;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AC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,qBAAqB;KACjC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;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,gBAAgB;KAC5B;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 { FileServices } 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 FileServiceUsage,\n FileServicesListServiceUsagesNextOptionalParams,\n FileServicesListServiceUsagesOptionalParams,\n FileServicesListServiceUsagesResponse,\n FileServicesListOptionalParams,\n FileServicesListResponse,\n FileServiceProperties,\n FileServicesSetServicePropertiesOptionalParams,\n FileServicesSetServicePropertiesResponse,\n FileServicesGetServicePropertiesOptionalParams,\n FileServicesGetServicePropertiesResponse,\n FileServicesGetServiceUsageOptionalParams,\n FileServicesGetServiceUsageResponse,\n FileServicesListServiceUsagesNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing FileServices operations. */\nexport class FileServicesImpl implements FileServices {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class FileServices class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the usages of file service in storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public listServiceUsages(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListServiceUsagesOptionalParams,\n ): PagedAsyncIterableIterator<FileServiceUsage> {\n const iter = this.listServiceUsagesPagingAll(\n resourceGroupName,\n accountName,\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.listServiceUsagesPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listServiceUsagesPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListServiceUsagesOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<FileServiceUsage[]> {\n let result: FileServicesListServiceUsagesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listServiceUsages(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listServiceUsagesNext(\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 *listServiceUsagesPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListServiceUsagesOptionalParams,\n ): AsyncIterableIterator<FileServiceUsage> {\n for await (const page of this.listServiceUsagesPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all file services in storage accounts\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListOptionalParams,\n ): Promise<FileServicesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param parameters The properties of file services in storage accounts, including CORS (Cross-Origin\n * Resource Sharing) rules.\n * @param options The options parameters.\n */\n setServiceProperties(\n resourceGroupName: string,\n accountName: string,\n parameters: FileServiceProperties,\n options?: FileServicesSetServicePropertiesOptionalParams,\n ): Promise<FileServicesSetServicePropertiesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n setServicePropertiesOperationSpec,\n );\n }\n\n /**\n * Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource\n * Sharing) rules.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceProperties(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServicePropertiesOptionalParams,\n ): Promise<FileServicesGetServicePropertiesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getServicePropertiesOperationSpec,\n );\n }\n\n /**\n * Gets the usages of file service in storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _listServiceUsages(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesListServiceUsagesOptionalParams,\n ): Promise<FileServicesListServiceUsagesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listServiceUsagesOperationSpec,\n );\n }\n\n /**\n * Gets the usage of file service in storage account including account limits, file share limits and\n * constants used in recommendations and bursting formula.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n getServiceUsage(\n resourceGroupName: string,\n accountName: string,\n options?: FileServicesGetServiceUsageOptionalParams,\n ): Promise<FileServicesGetServiceUsageResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getServiceUsageOperationSpec,\n );\n }\n\n /**\n * ListServiceUsagesNext\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the ListServiceUsages method.\n * @param options The options parameters.\n */\n private _listServiceUsagesNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: FileServicesListServiceUsagesNextOptionalParams,\n ): Promise<FileServicesListServiceUsagesNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listServiceUsagesNextOperationSpec,\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}/fileServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceItems,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst setServicePropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getServicePropertiesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceProperties,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listServiceUsagesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceUsages,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.maxpagesize1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getServiceUsageOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceUsage,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.fileServicesName,\n Parameters.fileServiceUsagesName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listServiceUsagesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FileServiceUsages,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.fileServicesName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localUsersOperations.js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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 { LocalUsersOperations } 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 LocalUser,\n LocalUsersListOptionalParams,\n LocalUsersListResponse,\n LocalUsersGetOptionalParams,\n LocalUsersGetResponse,\n LocalUsersCreateOrUpdateOptionalParams,\n LocalUsersCreateOrUpdateResponse,\n LocalUsersDeleteOptionalParams,\n LocalUsersListKeysOptionalParams,\n LocalUsersListKeysResponse,\n LocalUsersRegeneratePasswordOptionalParams,\n LocalUsersRegeneratePasswordResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LocalUsersOperations operations. */\nexport class LocalUsersOperationsImpl implements LocalUsersOperations {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class LocalUsersOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * List the local users associated with the storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): PagedAsyncIterableIterator<LocalUser> {\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?: LocalUsersListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<LocalUser[]> {\n let result: LocalUsersListResponse;\n result = await this._list(resourceGroupName, accountName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): AsyncIterableIterator<LocalUser> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List the local users associated with the storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): Promise<LocalUsersListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the local user of the storage account by username.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersGetOptionalParams,\n ): Promise<LocalUsersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update the properties of a local user associated with the storage account. Properties for\n * NFSv3 enablement and extended groups cannot be set with other properties.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param properties The local user associated with a storage account.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n username: string,\n properties: LocalUser,\n options?: LocalUsersCreateOrUpdateOptionalParams,\n ): Promise<LocalUsersCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, properties, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the local user associated with the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List SSH authorized keys and shared key of the local user.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersListKeysOptionalParams,\n ): Promise<LocalUsersListKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Regenerate the local user SSH password.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n regeneratePassword(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersRegeneratePasswordOptionalParams,\n ): Promise<LocalUsersRegeneratePasswordResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n regeneratePasswordOperationSpec,\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}/localUsers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUsers,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize1,\n Parameters.include2,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUser,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUser,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUserKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regeneratePasswordOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUserRegeneratePasswordResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"localUsersOperations.js","sourceRoot":"","sources":["../../../src/operations/localUsersOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,WAAmB,EACnB,OAAsC,EACtC,SAAwB;;YAExB,IAAI,MAA8B,CAAC;YACnC,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CA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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 { LocalUsersOperations } 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 LocalUser,\n LocalUsersListOptionalParams,\n LocalUsersListResponse,\n LocalUsersGetOptionalParams,\n LocalUsersGetResponse,\n LocalUsersCreateOrUpdateOptionalParams,\n LocalUsersCreateOrUpdateResponse,\n LocalUsersDeleteOptionalParams,\n LocalUsersListKeysOptionalParams,\n LocalUsersListKeysResponse,\n LocalUsersRegeneratePasswordOptionalParams,\n LocalUsersRegeneratePasswordResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LocalUsersOperations operations. */\nexport class LocalUsersOperationsImpl implements LocalUsersOperations {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class LocalUsersOperations class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * List the local users associated with the storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): PagedAsyncIterableIterator<LocalUser> {\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?: LocalUsersListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<LocalUser[]> {\n let result: LocalUsersListResponse;\n result = await this._list(resourceGroupName, accountName, options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): AsyncIterableIterator<LocalUser> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List the local users associated with the storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: LocalUsersListOptionalParams,\n ): Promise<LocalUsersListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the local user of the storage account by username.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersGetOptionalParams,\n ): Promise<LocalUsersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update the properties of a local user associated with the storage account. Properties for\n * NFSv3 enablement and extended groups cannot be set with other properties.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param properties The local user associated with a storage account.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n username: string,\n properties: LocalUser,\n options?: LocalUsersCreateOrUpdateOptionalParams,\n ): Promise<LocalUsersCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, properties, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the local user associated with the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List SSH authorized keys and shared key of the local user.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersListKeysOptionalParams,\n ): Promise<LocalUsersListKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Regenerate the local user SSH password.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param username The name of local user. The username must contain lowercase letters and numbers\n * only. It must be unique only within the storage account.\n * @param options The options parameters.\n */\n regeneratePassword(\n resourceGroupName: string,\n accountName: string,\n username: string,\n options?: LocalUsersRegeneratePasswordOptionalParams,\n ): Promise<LocalUsersRegeneratePasswordResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, username, options },\n regeneratePasswordOperationSpec,\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}/localUsers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUsers,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.maxpagesize2,\n Parameters.include2,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUser,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUser,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUserKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regeneratePasswordOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalUserRegeneratePasswordResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n Parameters.username,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -172,7 +172,7 @@ export declare class StorageAccountsImpl implements StorageAccounts {
|
|
|
172
172
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
173
173
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
174
174
|
* to 'Planned'. Learn more about the failover options here-
|
|
175
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
175
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
176
176
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
177
177
|
* case insensitive.
|
|
178
178
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
@@ -191,7 +191,7 @@ export declare class StorageAccountsImpl implements StorageAccounts {
|
|
|
191
191
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
192
192
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
193
193
|
* to 'Planned'. Learn more about the failover options here-
|
|
194
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
194
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
195
195
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
196
196
|
* case insensitive.
|
|
197
197
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
@@ -348,7 +348,7 @@ export class StorageAccountsImpl {
|
|
|
348
348
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
349
349
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
350
350
|
* to 'Planned'. Learn more about the failover options here-
|
|
351
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
351
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
352
352
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
353
353
|
* case insensitive.
|
|
354
354
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
@@ -402,7 +402,7 @@ export class StorageAccountsImpl {
|
|
|
402
402
|
* primary and secondary endpoints are available. The primary use case of a Planned Failover is
|
|
403
403
|
* disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter
|
|
404
404
|
* to 'Planned'. Learn more about the failover options here-
|
|
405
|
-
* https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance
|
|
405
|
+
* https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
|
|
406
406
|
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
407
407
|
* case insensitive.
|
|
408
408
|
* @param accountName The name of the storage account within the specified resource group. Storage
|