@azure/arm-purestorageblock 1.0.0-beta.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/dist/browser/api/avsStorageContainerVolumes/operations.js +1 -1
- package/dist/browser/api/avsStorageContainerVolumes/operations.js.map +1 -1
- package/dist/browser/api/avsStorageContainers/operations.js +1 -1
- package/dist/browser/api/avsStorageContainers/operations.js.map +1 -1
- package/dist/browser/api/avsVmVolumes/operations.js +1 -1
- package/dist/browser/api/avsVmVolumes/operations.js.map +1 -1
- package/dist/browser/api/avsVms/operations.js +1 -1
- package/dist/browser/api/avsVms/operations.js.map +1 -1
- package/dist/browser/api/blockContext.js +1 -1
- package/dist/browser/api/blockContext.js.map +1 -1
- package/dist/browser/api/reservations/operations.js +1 -1
- package/dist/browser/api/reservations/operations.js.map +1 -1
- package/dist/browser/api/storagePools/operations.js +1 -1
- package/dist/browser/api/storagePools/operations.js.map +1 -1
- package/dist/browser/models/models.d.ts +3 -9
- package/dist/browser/models/models.js +3 -8
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +1 -1
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/avsStorageContainerVolumes/operations.js +1 -1
- package/dist/commonjs/api/avsStorageContainerVolumes/operations.js.map +1 -1
- package/dist/commonjs/api/avsStorageContainers/operations.js +1 -1
- package/dist/commonjs/api/avsStorageContainers/operations.js.map +1 -1
- package/dist/commonjs/api/avsVmVolumes/operations.js +1 -1
- package/dist/commonjs/api/avsVmVolumes/operations.js.map +1 -1
- package/dist/commonjs/api/avsVms/operations.js +1 -1
- package/dist/commonjs/api/avsVms/operations.js.map +1 -1
- package/dist/commonjs/api/blockContext.js +1 -1
- package/dist/commonjs/api/blockContext.js.map +1 -1
- package/dist/commonjs/api/reservations/operations.js +1 -1
- package/dist/commonjs/api/reservations/operations.js.map +1 -1
- package/dist/commonjs/api/storagePools/operations.js +1 -1
- package/dist/commonjs/api/storagePools/operations.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +3 -9
- package/dist/commonjs/models/models.js +3 -9
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/api/avsStorageContainerVolumes/operations.js +1 -1
- package/dist/esm/api/avsStorageContainerVolumes/operations.js.map +1 -1
- package/dist/esm/api/avsStorageContainers/operations.js +1 -1
- package/dist/esm/api/avsStorageContainers/operations.js.map +1 -1
- package/dist/esm/api/avsVmVolumes/operations.js +1 -1
- package/dist/esm/api/avsVmVolumes/operations.js.map +1 -1
- package/dist/esm/api/avsVms/operations.js +1 -1
- package/dist/esm/api/avsVms/operations.js.map +1 -1
- package/dist/esm/api/blockContext.js +1 -1
- package/dist/esm/api/blockContext.js.map +1 -1
- package/dist/esm/api/reservations/operations.js +1 -1
- package/dist/esm/api/reservations/operations.js.map +1 -1
- package/dist/esm/api/storagePools/operations.js +1 -1
- package/dist/esm/api/storagePools/operations.js.map +1 -1
- package/dist/esm/models/models.d.ts +3 -9
- package/dist/esm/models/models.js +3 -8
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +1 -1
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/avsStorageContainerVolumes/operations.js +1 -1
- package/dist/react-native/api/avsStorageContainerVolumes/operations.js.map +1 -1
- package/dist/react-native/api/avsStorageContainers/operations.js +1 -1
- package/dist/react-native/api/avsStorageContainers/operations.js.map +1 -1
- package/dist/react-native/api/avsVmVolumes/operations.js +1 -1
- package/dist/react-native/api/avsVmVolumes/operations.js.map +1 -1
- package/dist/react-native/api/avsVms/operations.js +1 -1
- package/dist/react-native/api/avsVms/operations.js.map +1 -1
- package/dist/react-native/api/blockContext.js +1 -1
- package/dist/react-native/api/blockContext.js.map +1 -1
- package/dist/react-native/api/reservations/operations.js +1 -1
- package/dist/react-native/api/reservations/operations.js.map +1 -1
- package/dist/react-native/api/storagePools/operations.js +1 -1
- package/dist/react-native/api/storagePools/operations.js.map +1 -1
- package/dist/react-native/models/models.d.ts +3 -9
- package/dist/react-native/models/models.js +3 -8
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +12 -11
- package/review/arm-purestorageblock-models.api.md +2 -3
- package/review/arm-purestorageblock.api.md +2 -3
- package/dist/browser/api/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/browser/api/avsStorageContainerVolumes/operations.d.ts.map +0 -1
- package/dist/browser/api/avsStorageContainerVolumes/options.d.ts.map +0 -1
- package/dist/browser/api/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/browser/api/avsStorageContainers/operations.d.ts.map +0 -1
- package/dist/browser/api/avsStorageContainers/options.d.ts.map +0 -1
- package/dist/browser/api/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/browser/api/avsVmVolumes/operations.d.ts.map +0 -1
- package/dist/browser/api/avsVmVolumes/options.d.ts.map +0 -1
- package/dist/browser/api/avsVms/index.d.ts.map +0 -1
- package/dist/browser/api/avsVms/operations.d.ts.map +0 -1
- package/dist/browser/api/avsVms/options.d.ts.map +0 -1
- package/dist/browser/api/blockContext.d.ts.map +0 -1
- package/dist/browser/api/index.d.ts.map +0 -1
- package/dist/browser/api/operations/index.d.ts.map +0 -1
- package/dist/browser/api/operations/operations.d.ts.map +0 -1
- package/dist/browser/api/operations/options.d.ts.map +0 -1
- package/dist/browser/api/reservations/index.d.ts.map +0 -1
- package/dist/browser/api/reservations/operations.d.ts.map +0 -1
- package/dist/browser/api/reservations/options.d.ts.map +0 -1
- package/dist/browser/api/storagePools/index.d.ts.map +0 -1
- package/dist/browser/api/storagePools/operations.d.ts.map +0 -1
- package/dist/browser/api/storagePools/options.d.ts.map +0 -1
- package/dist/browser/blockClient.d.ts.map +0 -1
- package/dist/browser/classic/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/browser/classic/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/browser/classic/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/browser/classic/avsVms/index.d.ts.map +0 -1
- package/dist/browser/classic/index.d.ts.map +0 -1
- package/dist/browser/classic/operations/index.d.ts.map +0 -1
- package/dist/browser/classic/reservations/index.d.ts.map +0 -1
- package/dist/browser/classic/storagePools/index.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/logger.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/models.d.ts.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainerVolumes/operations.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainerVolumes/options.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainers/operations.d.ts.map +0 -1
- package/dist/commonjs/api/avsStorageContainers/options.d.ts.map +0 -1
- package/dist/commonjs/api/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/commonjs/api/avsVmVolumes/operations.d.ts.map +0 -1
- package/dist/commonjs/api/avsVmVolumes/options.d.ts.map +0 -1
- package/dist/commonjs/api/avsVms/index.d.ts.map +0 -1
- package/dist/commonjs/api/avsVms/operations.d.ts.map +0 -1
- package/dist/commonjs/api/avsVms/options.d.ts.map +0 -1
- package/dist/commonjs/api/blockContext.d.ts.map +0 -1
- package/dist/commonjs/api/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/index.d.ts.map +0 -1
- package/dist/commonjs/api/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/operations/options.d.ts.map +0 -1
- package/dist/commonjs/api/reservations/index.d.ts.map +0 -1
- package/dist/commonjs/api/reservations/operations.d.ts.map +0 -1
- package/dist/commonjs/api/reservations/options.d.ts.map +0 -1
- package/dist/commonjs/api/storagePools/index.d.ts.map +0 -1
- package/dist/commonjs/api/storagePools/operations.d.ts.map +0 -1
- package/dist/commonjs/api/storagePools/options.d.ts.map +0 -1
- package/dist/commonjs/blockClient.d.ts.map +0 -1
- package/dist/commonjs/classic/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/commonjs/classic/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/commonjs/classic/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/commonjs/classic/avsVms/index.d.ts.map +0 -1
- package/dist/commonjs/classic/index.d.ts.map +0 -1
- package/dist/commonjs/classic/operations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/reservations/index.d.ts.map +0 -1
- package/dist/commonjs/classic/storagePools/index.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/logger.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/models.d.ts.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainerVolumes/operations.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainerVolumes/options.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainers/operations.d.ts.map +0 -1
- package/dist/esm/api/avsStorageContainers/options.d.ts.map +0 -1
- package/dist/esm/api/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/esm/api/avsVmVolumes/operations.d.ts.map +0 -1
- package/dist/esm/api/avsVmVolumes/options.d.ts.map +0 -1
- package/dist/esm/api/avsVms/index.d.ts.map +0 -1
- package/dist/esm/api/avsVms/operations.d.ts.map +0 -1
- package/dist/esm/api/avsVms/options.d.ts.map +0 -1
- package/dist/esm/api/blockContext.d.ts.map +0 -1
- package/dist/esm/api/index.d.ts.map +0 -1
- package/dist/esm/api/operations/index.d.ts.map +0 -1
- package/dist/esm/api/operations/operations.d.ts.map +0 -1
- package/dist/esm/api/operations/options.d.ts.map +0 -1
- package/dist/esm/api/reservations/index.d.ts.map +0 -1
- package/dist/esm/api/reservations/operations.d.ts.map +0 -1
- package/dist/esm/api/reservations/options.d.ts.map +0 -1
- package/dist/esm/api/storagePools/index.d.ts.map +0 -1
- package/dist/esm/api/storagePools/operations.d.ts.map +0 -1
- package/dist/esm/api/storagePools/options.d.ts.map +0 -1
- package/dist/esm/blockClient.d.ts.map +0 -1
- package/dist/esm/classic/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/esm/classic/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/esm/classic/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/esm/classic/avsVms/index.d.ts.map +0 -1
- package/dist/esm/classic/index.d.ts.map +0 -1
- package/dist/esm/classic/operations/index.d.ts.map +0 -1
- package/dist/esm/classic/reservations/index.d.ts.map +0 -1
- package/dist/esm/classic/storagePools/index.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/logger.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/models.d.ts.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainerVolumes/operations.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainerVolumes/options.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainers/operations.d.ts.map +0 -1
- package/dist/react-native/api/avsStorageContainers/options.d.ts.map +0 -1
- package/dist/react-native/api/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/react-native/api/avsVmVolumes/operations.d.ts.map +0 -1
- package/dist/react-native/api/avsVmVolumes/options.d.ts.map +0 -1
- package/dist/react-native/api/avsVms/index.d.ts.map +0 -1
- package/dist/react-native/api/avsVms/operations.d.ts.map +0 -1
- package/dist/react-native/api/avsVms/options.d.ts.map +0 -1
- package/dist/react-native/api/blockContext.d.ts.map +0 -1
- package/dist/react-native/api/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/index.d.ts.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts.map +0 -1
- package/dist/react-native/api/operations/options.d.ts.map +0 -1
- package/dist/react-native/api/reservations/index.d.ts.map +0 -1
- package/dist/react-native/api/reservations/operations.d.ts.map +0 -1
- package/dist/react-native/api/reservations/options.d.ts.map +0 -1
- package/dist/react-native/api/storagePools/index.d.ts.map +0 -1
- package/dist/react-native/api/storagePools/operations.d.ts.map +0 -1
- package/dist/react-native/api/storagePools/options.d.ts.map +0 -1
- package/dist/react-native/blockClient.d.ts.map +0 -1
- package/dist/react-native/classic/avsStorageContainerVolumes/index.d.ts.map +0 -1
- package/dist/react-native/classic/avsStorageContainers/index.d.ts.map +0 -1
- package/dist/react-native/classic/avsVmVolumes/index.d.ts.map +0 -1
- package/dist/react-native/classic/avsVms/index.d.ts.map +0 -1
- package/dist/react-native/classic/index.d.ts.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts.map +0 -1
- package/dist/react-native/classic/reservations/index.d.ts.map +0 -1
- package/dist/react-native/classic/storagePools/index.d.ts.map +0 -1
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/logger.d.ts.map +0 -1
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/models.d.ts.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAKD,oFAEC;AAQD,sDAQC;AAED,0DAcC;AAcD,sHAOC;AAED,0HASC;AAYD,oEAKC;AAED,wEAMC;AA0CD,wDASC;AAED,4DASC;AAkBD,sDAWC;AAED,0DAWC;AAUD,4DAKC;AAED,gEAKC;AAkBD,8CASC;AAED,kDASC;AAqCD,8DAEC;AAED,kEAWC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAuDD,kEAOC;AAQD,sFAIC;AAUD,gFAKC;AAED,gEAIC;AAED,oEAIC;AAcD,4DAOC;AAYD,sEAQC;AAUD,0DAKC;AAQD,4DAIC;AAUD,gFAKC;AAUD,kFAKC;AAkCD,oFAiBC;AAYD,8FAQC;AAED,sFAIC;AAoBD,4EAYC;AAkCD,sDAWC;AAED,0DAiBC;AAwBD,0EAOC;AAED,8EAYC;AAUD,0DAEC;AAED,8DAKC;AAUD,wEAKC;AAcD,4EAKC;AAED,gFAOC;AAkCD,wEAEC;AAED,4EAKC;AAYD,kEAUC;AAQD,sFAEC;AAUD,gFAKC;AAED,gEAIC;AAED,oEAIC;A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AAC,IAAI,CAAC,cAAc,CAAC;YACtB,CAAC,CAAC,sBAAsB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KACjD,CAAC;AACJ,CAAC;AAQD,SAAgB,uBAAuB,CAAC,IAAS;IAC/C,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,sBAAsB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACrD,CAAC;AACJ,CAAC;AAUD,SAAgB,kCAAkC,CAAC,IAAS;IAC1D,OAAO;QACL,KAAK,EAAE,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAAC,MAA0B;IACrE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,gDAAgD;AAChD,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yBAAyB;IACzB,iDAAgC,CAAA;IAChC,yBAAyB;IACzB,iDAAgC,CAAA;AAClC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: !item[\"info\"] ? item[\"info\"] : _errorAdditionalInfoInfoDeserializer(item[\"info\"]),\n };\n}\n\n/** model interface _ErrorAdditionalInfoInfo */\nexport interface _ErrorAdditionalInfoInfo {}\n\nexport function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo {\n return item;\n}\n\n/** Pure Storage cloud service resource type, also called reservation */\nexport interface Reservation extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: ReservationPropertiesBaseResourceProperties;\n}\n\nexport function reservationSerializer(item: Reservation): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationPropertiesBaseResourcePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function reservationDeserializer(item: any): Reservation {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationPropertiesBaseResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of a Reservation resource. */\nexport interface ReservationPropertiesBaseResourceProperties {\n /** Pure Storage's internal ID for the reservation */\n readonly reservationInternalId?: string;\n /** Marketplace details */\n marketplace: MarketplaceDetails;\n /** User details */\n user: UserDetails;\n /** Provisioning state of the resource */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function reservationPropertiesBaseResourcePropertiesSerializer(\n item: ReservationPropertiesBaseResourceProperties,\n): any {\n return {\n marketplace: marketplaceDetailsSerializer(item[\"marketplace\"]),\n user: userDetailsSerializer(item[\"user\"]),\n };\n}\n\nexport function reservationPropertiesBaseResourcePropertiesDeserializer(\n item: any,\n): ReservationPropertiesBaseResourceProperties {\n return {\n reservationInternalId: item[\"reservationInternalId\"],\n marketplace: marketplaceDetailsDeserializer(item[\"marketplace\"]),\n user: userDetailsDeserializer(item[\"user\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Marketplace details */\nexport interface MarketplaceDetails {\n /** Marketplace subscription ID */\n readonly subscriptionId?: string;\n /** Marketplace subscription status */\n subscriptionStatus?: MarketplaceSubscriptionStatus;\n /** Offer details of the marketplace subscription */\n offerDetails: OfferDetails;\n}\n\nexport function marketplaceDetailsSerializer(item: MarketplaceDetails): any {\n return {\n subscriptionStatus: item[\"subscriptionStatus\"],\n offerDetails: offerDetailsSerializer(item[\"offerDetails\"]),\n };\n}\n\nexport function marketplaceDetailsDeserializer(item: any): MarketplaceDetails {\n return {\n subscriptionId: item[\"subscriptionId\"],\n subscriptionStatus: item[\"subscriptionStatus\"],\n offerDetails: offerDetailsDeserializer(item[\"offerDetails\"]),\n };\n}\n\n/** Marketplace subscription status */\nexport enum KnownMarketplaceSubscriptionStatus {\n /** Marketplace subscription purchased but not yet activated */\n PendingFulfillmentStart = \"PendingFulfillmentStart\",\n /** Marketplace subscription activated */\n Subscribed = \"Subscribed\",\n /** Marketplace subscription suspended due to missing customer payment */\n Suspended = \"Suspended\",\n /** Marketplace subscription cancelled */\n Unsubscribed = \"Unsubscribed\",\n}\n\n/**\n * Marketplace subscription status \\\n * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PendingFulfillmentStart**: Marketplace subscription purchased but not yet activated \\\n * **Subscribed**: Marketplace subscription activated \\\n * **Suspended**: Marketplace subscription suspended due to missing customer payment \\\n * **Unsubscribed**: Marketplace subscription cancelled\n */\nexport type MarketplaceSubscriptionStatus = string;\n\n/** Offer details for the marketplace that is selected by the user */\nexport interface OfferDetails {\n /** Publisher ID for the marketplace offer */\n publisherId: string;\n /** Offer ID for the marketplace offer */\n offerId: string;\n /** Plan ID for the marketplace offer */\n planId: string;\n /** Plan Name for the marketplace offer */\n planName?: string;\n /** Term Unit for the marketplace offer */\n termUnit?: string;\n /** Term ID for the marketplace offer */\n termId?: string;\n}\n\nexport function offerDetailsSerializer(item: OfferDetails): any {\n return {\n publisherId: item[\"publisherId\"],\n offerId: item[\"offerId\"],\n planId: item[\"planId\"],\n planName: item[\"planName\"],\n termUnit: item[\"termUnit\"],\n termId: item[\"termId\"],\n };\n}\n\nexport function offerDetailsDeserializer(item: any): OfferDetails {\n return {\n publisherId: item[\"publisherId\"],\n offerId: item[\"offerId\"],\n planId: item[\"planId\"],\n planName: item[\"planName\"],\n termUnit: item[\"termUnit\"],\n termId: item[\"termId\"],\n };\n}\n\n/** User details */\nexport interface UserDetails {\n /** First name */\n firstName: string;\n /** Last name */\n lastName: string;\n /** Email address */\n emailAddress: string;\n /** Principal name */\n upn?: string;\n /** Phone number */\n phoneNumber?: string;\n /** Company details */\n companyDetails?: CompanyDetails;\n}\n\nexport function userDetailsSerializer(item: UserDetails): any {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n upn: item[\"upn\"],\n phoneNumber: item[\"phoneNumber\"],\n companyDetails: !item[\"companyDetails\"]\n ? item[\"companyDetails\"]\n : companyDetailsSerializer(item[\"companyDetails\"]),\n };\n}\n\nexport function userDetailsDeserializer(item: any): UserDetails {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n upn: item[\"upn\"],\n phoneNumber: item[\"phoneNumber\"],\n companyDetails: !item[\"companyDetails\"]\n ? item[\"companyDetails\"]\n : companyDetailsDeserializer(item[\"companyDetails\"]),\n };\n}\n\n/** Company details */\nexport interface CompanyDetails {\n /** Company name */\n companyName: string;\n /** Company address */\n address?: Address;\n}\n\nexport function companyDetailsSerializer(item: CompanyDetails): any {\n return {\n companyName: item[\"companyName\"],\n address: !item[\"address\"] ? item[\"address\"] : addressSerializer(item[\"address\"]),\n };\n}\n\nexport function companyDetailsDeserializer(item: any): CompanyDetails {\n return {\n companyName: item[\"companyName\"],\n address: !item[\"address\"] ? item[\"address\"] : addressDeserializer(item[\"address\"]),\n };\n}\n\n/** Address details */\nexport interface Address {\n /** Address line 1 */\n addressLine1: string;\n /** Address line 2 */\n addressLine2?: string;\n /** Name of the city */\n city: string;\n /** State (if any) */\n state: string;\n /** Name of the country */\n country: string;\n /** Postal code */\n postalCode: string;\n}\n\nexport function addressSerializer(item: Address): any {\n return {\n addressLine1: item[\"addressLine1\"],\n addressLine2: item[\"addressLine2\"],\n city: item[\"city\"],\n state: item[\"state\"],\n country: item[\"country\"],\n postalCode: item[\"postalCode\"],\n };\n}\n\nexport function addressDeserializer(item: any): Address {\n return {\n addressLine1: item[\"addressLine1\"],\n addressLine2: item[\"addressLine2\"],\n city: item[\"city\"],\n state: item[\"state\"],\n country: item[\"country\"],\n postalCode: item[\"postalCode\"],\n };\n}\n\n/** The status of the current operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Deletion in progress */\n Deleting = \"Deleting\",\n /** Change accepted for processing */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Deleting**: Deletion in progress \\\n * **Accepted**: Change accepted for processing\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The type used for update operations of the Reservation. */\nexport interface ReservationUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: ReservationUpdateProperties;\n}\n\nexport function reservationUpdateSerializer(item: ReservationUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the Reservation. */\nexport interface ReservationUpdateProperties {\n /** User details */\n user?: UserDetails;\n}\n\nexport function reservationUpdatePropertiesSerializer(item: ReservationUpdateProperties): any {\n return {\n user: !item[\"user\"] ? item[\"user\"] : userDetailsSerializer(item[\"user\"]),\n };\n}\n\n/** The response of a Reservation list operation. */\nexport interface _ReservationListResult {\n /** The Reservation items on this page */\n value: Reservation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _reservationListResultDeserializer(item: any): _ReservationListResult {\n return {\n value: reservationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function reservationArraySerializer(result: Array<Reservation>): any[] {\n return result.map((item) => {\n return reservationSerializer(item);\n });\n}\n\nexport function reservationArrayDeserializer(result: Array<Reservation>): any[] {\n return result.map((item) => {\n return reservationDeserializer(item);\n });\n}\n\n/** Limits constraining certain resource properties */\nexport interface LimitDetails {\n /** Limits used for storage pool resources */\n storagePool: StoragePoolLimits;\n /** Limits used for volume resources */\n volume: VolumeLimits;\n /** internal */\n protectionPolicy: ProtectionPolicyLimits;\n /** internal */\n performancePolicy: PerformancePolicyLimits;\n}\n\nexport function limitDetailsDeserializer(item: any): LimitDetails {\n return {\n storagePool: storagePoolLimitsDeserializer(item[\"storagePool\"]),\n volume: volumeLimitsDeserializer(item[\"volume\"]),\n protectionPolicy: protectionPolicyLimitsDeserializer(item[\"protectionPolicy\"]),\n performancePolicy: performancePolicyLimitsDeserializer(item[\"performancePolicy\"]),\n };\n}\n\n/** Limits used for storage pool creation */\nexport interface StoragePoolLimits {\n /** Allowed provisioned bandwidth range for a storage pool, in MB/s */\n provisionedBandwidthMbPerSec: RangeLimits;\n /** Allowed provisioned IOPS range for a storage pool, as a number of operations */\n provisionedIops: RangeLimits;\n /** List of physical availability zones in the region in which storage pools can be deployed; some Azure regions do not support the necessary resources in all availability zones */\n physicalAvailabilityZones: string[];\n}\n\nexport function storagePoolLimitsDeserializer(item: any): StoragePoolLimits {\n return {\n provisionedBandwidthMbPerSec: rangeLimitsDeserializer(item[\"provisionedBandwidthMbPerSec\"]),\n provisionedIops: rangeLimitsDeserializer(item[\"provisionedIops\"]),\n physicalAvailabilityZones: item[\"physicalAvailabilityZones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Minimum and maximum values for a property */\nexport interface RangeLimits {\n /** Minimum value of the property */\n min: number;\n /** Maximum value of the property */\n max: number;\n}\n\nexport function rangeLimitsDeserializer(item: any): RangeLimits {\n return {\n min: item[\"min\"],\n max: item[\"max\"],\n };\n}\n\n/** Limits used for volumes */\nexport interface VolumeLimits {\n /** Provisioned size limits for a volume, in bytes */\n provisionedSize: RangeLimits;\n}\n\nexport function volumeLimitsDeserializer(item: any): VolumeLimits {\n return {\n provisionedSize: rangeLimitsDeserializer(item[\"provisionedSize\"]),\n };\n}\n\n/** internal */\nexport interface ProtectionPolicyLimits {\n /** internal */\n frequency: RangeLimits;\n /** internal */\n retention: RangeLimits;\n}\n\nexport function protectionPolicyLimitsDeserializer(item: any): ProtectionPolicyLimits {\n return {\n frequency: rangeLimitsDeserializer(item[\"frequency\"]),\n retention: rangeLimitsDeserializer(item[\"retention\"]),\n };\n}\n\n/** internal */\nexport interface PerformancePolicyLimits {\n /** internal */\n iopsLimit: RangeLimits;\n /** internal */\n bandwidthLimit: RangeLimits;\n}\n\nexport function performancePolicyLimitsDeserializer(item: any): PerformancePolicyLimits {\n return {\n iopsLimit: rangeLimitsDeserializer(item[\"iopsLimit\"]),\n bandwidthLimit: rangeLimitsDeserializer(item[\"bandwidthLimit\"]),\n };\n}\n\n/** Latest billing status for this reservation */\nexport interface ReservationBillingStatus {\n /** Timestamp for the latest update of this billing status, in RFC 3339 format */\n timestamp: string;\n /** Total used capacity as reported by associated storage pools. In bytes */\n totalUsedCapacityReported: number;\n /** How many associated storage pools reported low data reduction ratio (DRR) */\n lowDrrPoolCount: number;\n /** Weighted average of the data-reduction ratio for all associated pools */\n drrWeightedAverage: number;\n /** The sum of total used capacity for all pools with low DRR, if the DRR penalty applies. In bytes */\n totalNonReducibleReported: number;\n /** Extra capacity added because of low DRR storage pools; In bytes */\n extraUsedCapacityNonReducible: number;\n /** Extra capacity added when rounding up low-usage pools to 30TiB. In bytes */\n extraUsedCapacityLowUsageRounding: number;\n /** Extra capacity discounted due to plan forgiving some low-DRR usage. In bytes */\n extraUsedCapacityNonReduciblePlanDiscount: number;\n /** Total used capacity actually billed. In bytes */\n totalUsedCapacityBilled: number;\n /** Total used capacity included in plan. In bytes */\n totalUsedCapacityIncludedPlan: number;\n /** Total used capacity reported at on-demand price. In bytes */\n totalUsedCapacityOverage: number;\n /** The sum of all performance settings across the pools under this reservation. In MB per second */\n totalPerformanceReported: number;\n /** Total performance amount included in plan. In bytes per second */\n totalPerformanceIncludedPlan: number;\n /** Total performance amount reported at on-demand price. In MB per second */\n totalPerformanceOverage: number;\n}\n\nexport function reservationBillingStatusDeserializer(item: any): ReservationBillingStatus {\n return {\n timestamp: item[\"timestamp\"],\n totalUsedCapacityReported: item[\"totalUsedCapacityReported\"],\n lowDrrPoolCount: item[\"lowDrrPoolCount\"],\n drrWeightedAverage: item[\"drrWeightedAverage\"],\n totalNonReducibleReported: item[\"totalNonReducibleReported\"],\n extraUsedCapacityNonReducible: item[\"extraUsedCapacityNonReducible\"],\n extraUsedCapacityLowUsageRounding: item[\"extraUsedCapacityLowUsageRounding\"],\n extraUsedCapacityNonReduciblePlanDiscount: item[\"extraUsedCapacityNonReduciblePlanDiscount\"],\n totalUsedCapacityBilled: item[\"totalUsedCapacityBilled\"],\n totalUsedCapacityIncludedPlan: item[\"totalUsedCapacityIncludedPlan\"],\n totalUsedCapacityOverage: item[\"totalUsedCapacityOverage\"],\n totalPerformanceReported: item[\"totalPerformanceReported\"],\n totalPerformanceIncludedPlan: item[\"totalPerformanceIncludedPlan\"],\n totalPerformanceOverage: item[\"totalPerformanceOverage\"],\n };\n}\n\n/** Represents a billing usage report, including overall status and detailed properties */\nexport interface ReservationBillingUsageReport {\n /** Latest formatted billing report for this reservation */\n timestamp: string;\n /** A list of detailed billing usage properties */\n billingUsageProperties: BillingUsageProperty[];\n /** Overall status message of the billing usage report */\n overallStatusMessage: string;\n}\n\nexport function reservationBillingUsageReportDeserializer(\n item: any,\n): ReservationBillingUsageReport {\n return {\n timestamp: item[\"timestamp\"],\n billingUsageProperties: billingUsagePropertyArrayDeserializer(item[\"billingUsageProperties\"]),\n overallStatusMessage: item[\"overallStatusMessage\"],\n };\n}\n\nexport function billingUsagePropertyArrayDeserializer(result: Array<BillingUsageProperty>): any[] {\n return result.map((item) => {\n return billingUsagePropertyDeserializer(item);\n });\n}\n\n/** Represents an individual billing usage property */\nexport interface BillingUsageProperty {\n /** Unique identifier for the billing usage property */\n propertyId: string;\n /** Name of the billing usage property */\n propertyName: string;\n /** Current value of the billing usage property */\n currentValue: string;\n /** Previous value of the billing usage property */\n previousValue?: string;\n /** Severity level of the usage */\n severity: UsageSeverity;\n /** Status message for the billing usage against a property */\n statusMessage?: string;\n /** Optional list of sub-properties providing additional details */\n subProperties?: BillingUsageProperty[];\n}\n\nexport function billingUsagePropertyDeserializer(item: any): BillingUsageProperty {\n return {\n propertyId: item[\"propertyId\"],\n propertyName: item[\"propertyName\"],\n currentValue: item[\"currentValue\"],\n previousValue: item[\"previousValue\"],\n severity: item[\"severity\"],\n statusMessage: item[\"statusMessage\"],\n subProperties: !item[\"subProperties\"]\n ? item[\"subProperties\"]\n : billingUsagePropertyArrayDeserializer(item[\"subProperties\"]),\n };\n}\n\n/** Severity levels for billing usage properties */\nexport enum KnownUsageSeverity {\n /** Indicates an alert condition */\n Alert = \"alert\",\n /** Provides informational details */\n Information = \"information\",\n /** Indicates a warning condition */\n Warning = \"warning\",\n /** Indicates no severity */\n None = \"none\",\n}\n\n/**\n * Severity levels for billing usage properties \\\n * {@link KnownUsageSeverity} can be used interchangeably with UsageSeverity,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **alert**: Indicates an alert condition \\\n * **information**: Provides informational details \\\n * **warning**: Indicates a warning condition \\\n * **none**: Indicates no severity\n */\nexport type UsageSeverity = string;\n\n/** Storage pool resource */\nexport interface StoragePool extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: StoragePoolProperties;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function storagePoolSerializer(item: StoragePool): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolPropertiesSerializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function storagePoolDeserializer(item: any): StoragePool {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolPropertiesDeserializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties of a storage pool */\nexport interface StoragePoolProperties {\n /** Pure Storage's internal ID of the storage pool */\n readonly storagePoolInternalId?: string;\n /** Azure Availability Zone the Pool is located in */\n availabilityZone: string;\n /** Network properties of the storage pool */\n vnetInjection: VnetInjection;\n /** How long a destroyed object is kept before being eradicated, in seconds */\n readonly dataRetentionPeriod?: number;\n /** Total bandwidth provisioned for the pool, in MB/s */\n provisionedBandwidthMbPerSec: number;\n /** Total I/O operations per second (IOPS) provisioned for the pool */\n readonly provisionedIops?: number;\n /** AVS connection state summary */\n readonly avs?: AzureVmwareService;\n /** Provisioning state of the resource */\n readonly provisioningState?: ProvisioningState;\n /** Azure resource ID of the Pure Storage Cloud service (reservation resource) this storage pool belongs to */\n reservationResourceId: string;\n}\n\nexport function storagePoolPropertiesSerializer(item: StoragePoolProperties): any {\n return {\n availabilityZone: item[\"availabilityZone\"],\n vnetInjection: vnetInjectionSerializer(item[\"vnetInjection\"]),\n provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"],\n reservationResourceId: item[\"reservationResourceId\"],\n };\n}\n\nexport function storagePoolPropertiesDeserializer(item: any): StoragePoolProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n availabilityZone: item[\"availabilityZone\"],\n vnetInjection: vnetInjectionDeserializer(item[\"vnetInjection\"]),\n dataRetentionPeriod: item[\"dataRetentionPeriod\"],\n provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"],\n provisionedIops: item[\"provisionedIops\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : azureVmwareServiceDeserializer(item[\"avs\"]),\n provisioningState: item[\"provisioningState\"],\n reservationResourceId: item[\"reservationResourceId\"],\n };\n}\n\n/** Network in which the storage pool will be made available */\nexport interface VnetInjection {\n /** Azure resource ID of the Virtual Network subnet where the storage pool will be connected */\n subnetId: string;\n /** Azure resource ID of the Virtual Network in which the subnet is located */\n vnetId: string;\n}\n\nexport function vnetInjectionSerializer(item: VnetInjection): any {\n return { subnetId: item[\"subnetId\"], vnetId: item[\"vnetId\"] };\n}\n\nexport function vnetInjectionDeserializer(item: any): VnetInjection {\n return {\n subnetId: item[\"subnetId\"],\n vnetId: item[\"vnetId\"],\n };\n}\n\n/** Connected AVS status */\nexport interface AzureVmwareService {\n /** If true, an AVS SDDC is successfully connected to the storage pool */\n avsEnabled: boolean;\n /** Azure resource ID of the AVS SDDC the storage pool is connected to */\n clusterResourceId?: string;\n}\n\nexport function azureVmwareServiceDeserializer(item: any): AzureVmwareService {\n return {\n avsEnabled: item[\"avsEnabled\"],\n clusterResourceId: item[\"sddcResourceId\"],\n };\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The type used for update operations of the StoragePool. */\nexport interface StoragePoolUpdate {\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: StoragePoolUpdateProperties;\n}\n\nexport function storagePoolUpdateSerializer(item: StoragePoolUpdate): any {\n return {\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the StoragePool. */\nexport interface StoragePoolUpdateProperties {\n /** Total bandwidth provisioned for the pool, in MB/s */\n provisionedBandwidthMbPerSec?: number;\n}\n\nexport function storagePoolUpdatePropertiesSerializer(item: StoragePoolUpdateProperties): any {\n return { provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"] };\n}\n\n/** The response of a StoragePool list operation. */\nexport interface _StoragePoolListResult {\n /** The StoragePool items on this page */\n value: StoragePool[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _storagePoolListResultDeserializer(item: any): _StoragePoolListResult {\n return {\n value: storagePoolArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function storagePoolArraySerializer(result: Array<StoragePool>): any[] {\n return result.map((item) => {\n return storagePoolSerializer(item);\n });\n}\n\nexport function storagePoolArrayDeserializer(result: Array<StoragePool>): any[] {\n return result.map((item) => {\n return storagePoolDeserializer(item);\n });\n}\n\n/** Health information for a storage pool */\nexport interface StoragePoolHealthInfo {\n /** Health metrics */\n health: HealthDetails;\n /** List of health alerts */\n alerts: Alert[];\n}\n\nexport function storagePoolHealthInfoDeserializer(item: any): StoragePoolHealthInfo {\n return {\n health: healthDetailsDeserializer(item[\"health\"]),\n alerts: alertArrayDeserializer(item[\"alerts\"]),\n };\n}\n\n/** Health metrics for a storage pool */\nexport interface HealthDetails {\n /** How full the pool is right now, in %, compared to the maximum size it can grow to; estimated based on current usage and data reduction ratio */\n usedCapacityPercentage: number;\n /** Bandwidth usage metrics */\n bandwidthUsage: BandwidthUsage;\n /** IOPS usage metrics */\n iopsUsage: IopsUsage;\n /** Storage space usage */\n space: Space;\n /** Data reduction ratio achieved on this pool */\n dataReductionRatio: number;\n /** Estimated maximum capacity of the pool, in bytes, based on current usage and data reduction ratio */\n estimatedMaxCapacity: number;\n}\n\nexport function healthDetailsDeserializer(item: any): HealthDetails {\n return {\n usedCapacityPercentage: item[\"usedCapacityPercentage\"],\n bandwidthUsage: bandwidthUsageDeserializer(item[\"bandwidthUsage\"]),\n iopsUsage: iopsUsageDeserializer(item[\"iopsUsage\"]),\n space: spaceDeserializer(item[\"space\"]),\n dataReductionRatio: item[\"dataReductionRatio\"],\n estimatedMaxCapacity: item[\"estimatedMaxCapacity\"],\n };\n}\n\n/** Bandwidth usage metrics */\nexport interface BandwidthUsage {\n /** Number of bytes written and read per second (maximum value over the last 10 minutes) */\n current: number;\n /** Bandwidth value currently provisioned for the storage pool, in MB/s */\n provisioned: number;\n /** Maximum bandwidth value that can be provisioned for the storage pool */\n max: number;\n}\n\nexport function bandwidthUsageDeserializer(item: any): BandwidthUsage {\n return {\n current: item[\"current\"],\n provisioned: item[\"provisioned\"],\n max: item[\"max\"],\n };\n}\n\n/** IOPS usage metrics */\nexport interface IopsUsage {\n /** Current number of IOPS (maximum value over the last 10 minutes) */\n current: number;\n /** IOPS value currently provisioned for the storage pool */\n provisioned: number;\n /** Maximum IOPS value that can be provisioned for the storage pool */\n max: number;\n}\n\nexport function iopsUsageDeserializer(item: any): IopsUsage {\n return {\n current: item[\"current\"],\n provisioned: item[\"provisioned\"],\n max: item[\"max\"],\n };\n}\n\n/** Storage space usage */\nexport interface Space {\n /** Total space occupied by customer data (i.e., being billed for), in bytes */\n totalUsed: number;\n /** Unique space occupied by customer data, in bytes; for a volume, this is the amount of storage that would be freed by deleting the volume, since snapshot and shared data would be kept */\n unique: number;\n /** Space occupied by data unique to one or more snapshots, in bytes */\n snapshots: number;\n /** Space occupied by duplicated data, meaning data shared with other volumes and snapshots as a result of data deduplication, in bytes */\n shared: number;\n}\n\nexport function spaceDeserializer(item: any): Space {\n return {\n totalUsed: item[\"totalUsed\"],\n unique: item[\"unique\"],\n snapshots: item[\"snapshots\"],\n shared: item[\"shared\"],\n };\n}\n\nexport function alertArrayDeserializer(result: Array<Alert>): any[] {\n return result.map((item) => {\n return alertDeserializer(item);\n });\n}\n\n/** Health alerts */\nexport interface Alert {\n /** Severity level */\n level: AlertLevel;\n /** A short description of the alert */\n message: string;\n}\n\nexport function alertDeserializer(item: any): Alert {\n return {\n level: item[\"level\"],\n message: item[\"message\"],\n };\n}\n\n/** Severity level of the alert */\nexport enum KnownAlertLevel {\n /** Information level */\n Info = \"info\",\n /** Warning level */\n Warning = \"warning\",\n /** Error level */\n Error = \"error\",\n}\n\n/**\n * Severity level of the alert \\\n * {@link KnownAlertLevel} can be used interchangeably with AlertLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **info**: Information level \\\n * **warning**: Warning level \\\n * **error**: Error level\n */\nexport type AlertLevel = string;\n\n/** Transient information about an on-going connection to an AVS instance */\nexport interface AvsConnection {\n /** Indicates whether service initialization is complete */\n serviceInitializationCompleted: boolean;\n /** Encoded service account credentials alongside connection information */\n serviceInitializationHandleEnc?: string;\n /** Explicit service account credentials */\n serviceInitializationHandle?: ServiceInitializationHandle;\n}\n\nexport function avsConnectionDeserializer(item: any): AvsConnection {\n return {\n serviceInitializationCompleted: item[\"serviceInitializationCompleted\"],\n serviceInitializationHandleEnc: item[\"serviceInitializationHandleEnc\"],\n serviceInitializationHandle: !item[\"serviceInitializationHandle\"]\n ? item[\"serviceInitializationHandle\"]\n : serviceInitializationHandleDeserializer(item[\"serviceInitializationHandle\"]),\n };\n}\n\n/** Initialization handle used to configure the AVS SDDC to communicate with the storage pool */\nexport interface ServiceInitializationHandle {\n /** Azure resource ID of the AVS SDDC the pool is connecting to */\n clusterResourceId?: string;\n /** Requested service account username */\n serviceAccountUsername?: string;\n}\n\nexport function serviceInitializationHandleDeserializer(item: any): ServiceInitializationHandle {\n return {\n clusterResourceId: item[\"sddcResourceId\"],\n serviceAccountUsername: item[\"serviceAccountUsername\"],\n };\n}\n\n/** Status of storage pool / AVS connection */\nexport interface AvsStatus {\n /** If true, an AVS connection has been successfully completed */\n avsEnabled: boolean;\n /** Human-readable current AVS connection status */\n currentConnectionStatus: string;\n /** Azure resource ID of the AVS SDDC the pool is connected to */\n clusterResourceId?: string;\n}\n\nexport function avsStatusDeserializer(item: any): AvsStatus {\n return {\n avsEnabled: item[\"avsEnabled\"],\n currentConnectionStatus: item[\"currentConnectionStatus\"],\n clusterResourceId: item[\"sddcResourceId\"],\n };\n}\n\n/** EnableAvsConnection payload information */\nexport interface StoragePoolEnableAvsConnectionPost {\n /** Azure resource ID of the AVS SDDC to connect to */\n clusterResourceId: string;\n}\n\nexport function storagePoolEnableAvsConnectionPostSerializer(\n item: StoragePoolEnableAvsConnectionPost,\n): any {\n return { sddcResourceId: item[\"clusterResourceId\"] };\n}\n\n/** FinalizeAvsConnection payload information, either encoded or explicit */\nexport interface StoragePoolFinalizeAvsConnectionPost {\n /** Encoded AVS connection information */\n serviceInitializationDataEnc?: string;\n /** Explicit AVS connection information */\n serviceInitializationData?: ServiceInitializationInfo;\n}\n\nexport function storagePoolFinalizeAvsConnectionPostSerializer(\n item: StoragePoolFinalizeAvsConnectionPost,\n): any {\n return {\n serviceInitializationDataEnc: item[\"serviceInitializationDataEnc\"],\n serviceInitializationData: !item[\"serviceInitializationData\"]\n ? item[\"serviceInitializationData\"]\n : serviceInitializationInfoSerializer(item[\"serviceInitializationData\"]),\n };\n}\n\n/** Explicit service initialization data */\nexport interface ServiceInitializationInfo {\n /** Service account username */\n serviceAccountUsername?: string;\n /** Service account password */\n serviceAccountPassword?: string;\n /** AVS instance's vSphere IP address */\n vSphereIp?: string;\n /** AVS instance's vSphere certificate */\n vSphereCertificate?: string;\n}\n\nexport function serviceInitializationInfoSerializer(item: ServiceInitializationInfo): any {\n return {\n serviceAccountUsername: item[\"serviceAccountUsername\"],\n serviceAccountPassword: item[\"serviceAccountPassword\"],\n vSphereIp: item[\"vSphereIp\"],\n vSphereCertificate: item[\"vSphereCertificate\"],\n };\n}\n\n/** AVS storage container resource type, representing a VMware storage container in a storage pool, which can be associated to and mounted as a datastore */\nexport interface AvsStorageContainer extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: AvsStorageContainerProperties;\n}\n\nexport function avsStorageContainerDeserializer(item: any): AvsStorageContainer {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsStorageContainerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** AVS storage container properties */\nexport interface AvsStorageContainerProperties {\n /** Storage space usage */\n readonly space?: Space;\n /** Name of the storage container */\n readonly resourceName: string;\n /** Maximum amount of bytes that can be provisioned in this storage container; it must be a multiple of 512; each time a volume is provisioned in this container, its provisionedSize will be counted against the provisionLimit and the provisioning will fail if it goes over (minimum: 1048576 (1MiB), maximum: 4503599627370496 (4PiB)); by default it is unrestricted */\n provisionedLimit?: number;\n /** VMware datastore associated with this storage container (if any) */\n readonly datastore?: string;\n /** Whether the datastore is mounted in VMware or not */\n readonly mounted?: boolean;\n}\n\nexport function avsStorageContainerPropertiesDeserializer(\n item: any,\n): AvsStorageContainerProperties {\n return {\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n resourceName: item[\"resourceName\"],\n provisionedLimit: item[\"provisionedLimit\"],\n datastore: item[\"datastore\"],\n mounted: item[\"mounted\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a AvsStorageContainer list operation. */\nexport interface _AvsStorageContainerListResult {\n /** The AvsStorageContainer items on this page */\n value: AvsStorageContainer[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsStorageContainerListResultDeserializer(\n item: any,\n): _AvsStorageContainerListResult {\n return {\n value: avsStorageContainerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsStorageContainerArrayDeserializer(result: Array<AvsStorageContainer>): any[] {\n return result.map((item) => {\n return avsStorageContainerDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsStorageContainerVolume. */\nexport interface AvsStorageContainerVolumeUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsStorageContainerVolumeUpdateProperties;\n}\n\nexport function avsStorageContainerVolumeUpdateSerializer(\n item: AvsStorageContainerVolumeUpdate,\n): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsStorageContainerVolumeUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsStorageContainerVolume. */\nexport interface AvsStorageContainerVolumeUpdateProperties {\n /** Volume's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsStorageContainerVolumeUpdatePropertiesSerializer(\n item: AvsStorageContainerVolumeUpdateProperties,\n): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** Soft-deletion state */\nexport interface SoftDeletion {\n /** If false, the resource is active; if true, the resource has been destroyed; resources can be soft-deleted by setting destroyed to true, and recovered by setting it to false */\n destroyed: boolean;\n /** Date at which the resource will be eradicated and impossible to recover, as an RFC 3339 timestamp; invalid if destroyed is false; */\n readonly eradicationTimestamp?: string;\n}\n\nexport function softDeletionSerializer(item: SoftDeletion): any {\n return { destroyed: item[\"destroyed\"] };\n}\n\nexport function softDeletionDeserializer(item: any): SoftDeletion {\n return {\n destroyed: item[\"destroyed\"],\n eradicationTimestamp: item[\"eradicationTimestamp\"],\n };\n}\n\n/** A volume contained in an AVS storage container */\nexport interface AvsStorageContainerVolume extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: VolumeProperties;\n}\n\nexport function avsStorageContainerVolumeDeserializer(item: any): AvsStorageContainerVolume {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : volumePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Volume properties */\nexport interface VolumeProperties {\n /** Pure Storage's internal ID for the storage pool containing the volume */\n readonly storagePoolInternalId?: string;\n /** Azure Resource ID of the storage pool containing this volume */\n readonly storagePoolResourceId?: string;\n /** Pure Storage's internal ID for the volume */\n readonly volumeInternalId?: string;\n /** Human-readable name of the volume */\n readonly displayName?: string;\n /** Storage space usage */\n readonly space?: Space;\n /** Volume's soft-deletion state */\n softDeletion: SoftDeletion;\n /** Volume creation date, as an RFC 3339 timestamp */\n readonly createdTimestamp?: string;\n /** Currently provisioned size of the volume, in bytes */\n readonly provisionedSize?: number;\n /** Specify which control plane handles the lifecycle of the volume */\n readonly volumeType?: VolumeType;\n /** AVS-specific volume information */\n readonly avs?: AvsDiskDetails;\n /** Provisioning state of the resource */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function volumePropertiesDeserializer(item: any): VolumeProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n storagePoolResourceId: item[\"storagePoolResourceId\"],\n volumeInternalId: item[\"volumeInternalId\"],\n displayName: item[\"displayName\"],\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n softDeletion: softDeletionDeserializer(item[\"softDeletion\"]),\n createdTimestamp: item[\"createdTimestamp\"],\n provisionedSize: item[\"provisionedSize\"],\n volumeType: item[\"volumeType\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : avsDiskDetailsDeserializer(item[\"avs\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Specify which control plane handles the lifecycle of the volume */\nexport enum KnownVolumeType {\n /** AVS/VMware */\n AVS = \"avs\",\n}\n\n/**\n * Specify which control plane handles the lifecycle of the volume \\\n * {@link KnownVolumeType} can be used interchangeably with VolumeType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **avs**: AVS\\/VMware\n */\nexport type VolumeType = string;\n\n/** AVS disk/volume information */\nexport interface AvsDiskDetails {\n /** VMware ID of the disk/volume */\n diskId: string;\n /** VMware name of the disk/volume */\n diskName: string;\n /** Name of the top-level folder in the datastore that contains the disk/volume */\n folder: string;\n /** VMware ID assigned to the disk/volume */\n avsVmInternalId: string;\n /** Azure resource ID of the AVS VM connected to this disk/volume */\n avsVmResourceId: string;\n /** Name of the AVS VM connected to this disk/volume */\n avsVmName: string;\n /** Azure resource ID of the AVS storage container containing this disk/volume */\n avsStorageContainerResourceId: string;\n}\n\nexport function avsDiskDetailsDeserializer(item: any): AvsDiskDetails {\n return {\n diskId: item[\"diskId\"],\n diskName: item[\"diskName\"],\n folder: item[\"folder\"],\n avsVmInternalId: item[\"avsVmInternalId\"],\n avsVmResourceId: item[\"avsVmResourceId\"],\n avsVmName: item[\"avsVmName\"],\n avsStorageContainerResourceId: item[\"avsStorageContainerResourceId\"],\n };\n}\n\n/** The response of a AvsStorageContainerVolume list operation. */\nexport interface _AvsStorageContainerVolumeListResult {\n /** The AvsStorageContainerVolume items on this page */\n value: AvsStorageContainerVolume[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsStorageContainerVolumeListResultDeserializer(\n item: any,\n): _AvsStorageContainerVolumeListResult {\n return {\n value: avsStorageContainerVolumeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsStorageContainerVolumeArrayDeserializer(\n result: Array<AvsStorageContainerVolume>,\n): any[] {\n return result.map((item) => {\n return avsStorageContainerVolumeDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsVm. */\nexport interface AvsVmUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmUpdateProperties;\n}\n\nexport function avsVmUpdateSerializer(item: AvsVmUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsVm. */\nexport interface AvsVmUpdateProperties {\n /** AVS VM's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsVmUpdatePropertiesSerializer(item: AvsVmUpdateProperties): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** AVS VM resource type, representing all the volumes associated to an AVS VM as defined by VMware */\nexport interface AvsVm extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmProperties;\n}\n\nexport function avsVmDeserializer(item: any): AvsVm {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** AVS VM properties */\nexport interface AvsVmProperties {\n /** Pure Storage's internal ID for the storage pool */\n readonly storagePoolInternalId?: string;\n /** Azure resource ID of the storage pool */\n readonly storagePoolResourceId?: string;\n /** Human-readable name of the AVS VM */\n readonly displayName?: string;\n /** Date at which the AVS VM was created, as an RFC 3339 timestamp */\n readonly createdTimestamp?: string;\n /** AVS VM's soft-deletion state */\n softDeletion?: SoftDeletion;\n /** Specify which control plane handles the lifecycle of the volume container */\n readonly volumeContainerType?: VolumeContainerType;\n /** AVS VM details */\n readonly avs?: AvsVmDetails;\n /** Contains properties related to used Flash space */\n readonly space?: Space;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function avsVmPropertiesDeserializer(item: any): AvsVmProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n storagePoolResourceId: item[\"storagePoolResourceId\"],\n displayName: item[\"displayName\"],\n createdTimestamp: item[\"createdTimestamp\"],\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionDeserializer(item[\"softDeletion\"]),\n volumeContainerType: item[\"volumeContainerType\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : avsVmDetailsDeserializer(item[\"avs\"]),\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Specify which control plane handles the lifecycle of the volume container */\nexport enum KnownVolumeContainerType {\n /** AVS/VMware */\n AVS = \"avs\",\n}\n\n/**\n * Specify which control plane handles the lifecycle of the volume container \\\n * {@link KnownVolumeContainerType} can be used interchangeably with VolumeContainerType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **avs**: AVS\\/VMware\n */\nexport type VolumeContainerType = string;\n\n/** AVS VM details */\nexport interface AvsVmDetails {\n /** ID of the AVS VM using this set of volumes */\n vmId: string;\n /** Name of the VMware VM using this set of volumes */\n vmName: string;\n /** Type of the VMware VM using this set of volumes */\n vmType: VmType;\n /** Pure Storage's internal ID for this AVS VM */\n avsVmInternalId: string;\n}\n\nexport function avsVmDetailsDeserializer(item: any): AvsVmDetails {\n return {\n vmId: item[\"vmId\"],\n vmName: item[\"vmName\"],\n vmType: item[\"vmType\"],\n avsVmInternalId: item[\"avsVmInternalId\"],\n };\n}\n\n/** AVS VM storage types */\nexport enum KnownVmType {\n /** VM using vVols as underlying storage */\n VVol = \"vvol\",\n}\n\n/**\n * AVS VM storage types \\\n * {@link KnownVmType} can be used interchangeably with VmType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **vvol**: VM using vVols as underlying storage\n */\nexport type VmType = string;\n\n/** The response of a AvsVm list operation. */\nexport interface _AvsVmListResult {\n /** The AvsVm items on this page */\n value: AvsVm[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsVmListResultDeserializer(item: any): _AvsVmListResult {\n return {\n value: avsVmArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsVmArrayDeserializer(result: Array<AvsVm>): any[] {\n return result.map((item) => {\n return avsVmDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsVmVolume. */\nexport interface AvsVmVolumeUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmVolumeUpdateProperties;\n}\n\nexport function avsVmVolumeUpdateSerializer(item: AvsVmVolumeUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmVolumeUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsVmVolume. */\nexport interface AvsVmVolumeUpdateProperties {\n /** Volume's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsVmVolumeUpdatePropertiesSerializer(item: AvsVmVolumeUpdateProperties): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** Any volume associated to a particular AVS VM */\nexport interface AvsVmVolume extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: VolumeProperties;\n}\n\nexport function avsVmVolumeDeserializer(item: any): AvsVmVolume {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : volumePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The response of a AvsVmVolume list operation. */\nexport interface _AvsVmVolumeListResult {\n /** The AvsVmVolume items on this page */\n value: AvsVmVolume[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsVmVolumeListResultDeserializer(item: any): _AvsVmVolumeListResult {\n return {\n value: avsVmVolumeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsVmVolumeArrayDeserializer(result: Array<AvsVmVolume>): any[] {\n return result.map((item) => {\n return avsVmVolumeDeserializer(item);\n });\n}\n\n/** Supported versions for PureStorage.Block. */\nexport enum KnownVersions {\n /** Version 1 preview. */\n V1Preview = \"2024-10-01-preview\",\n /** Version 2 preview. */\n V2Preview = \"2024-11-01-preview\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAUlC,4EAKC;AAED,gEAIC;AAgBD,sDAQC;AAcD,oEAOC;AA4CD,8DAIC;AAgBD,0DAUC;AAED,oEAIC;AAED,oFAIC;AAUD,0EAKC;AAQD,sDAQC;AAED,0DAcC;AAcD,sHAOC;AAED,0HASC;AAYD,oEAKC;AAED,wEAMC;AA0CD,wDASC;AAED,4DASC;AAkBD,sDAWC;AAED,0DAWC;AAUD,4DAKC;AAED,gEAKC;AAkBD,8CASC;AAED,kDASC;AAqCD,8DAEC;AAED,kEAWC;AAcD,gDAEC;AAED,oDASC;AAkBD,wDAWC;AAuDD,kEA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aAAa;IACvB,uBAAuB;IACvB,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Pure Storage cloud service resource type, also called reservation */\nexport interface Reservation extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: ReservationPropertiesBaseResourceProperties;\n}\n\nexport function reservationSerializer(item: Reservation): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationPropertiesBaseResourcePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function reservationDeserializer(item: any): Reservation {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationPropertiesBaseResourcePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Properties of a Reservation resource. */\nexport interface ReservationPropertiesBaseResourceProperties {\n /** Pure Storage's internal ID for the reservation */\n readonly reservationInternalId?: string;\n /** Marketplace details */\n marketplace: MarketplaceDetails;\n /** User details */\n user: UserDetails;\n /** Provisioning state of the resource */\n readonly provisioningState?: ProvisioningState;\n}\n\nexport function reservationPropertiesBaseResourcePropertiesSerializer(\n item: ReservationPropertiesBaseResourceProperties,\n): any {\n return {\n marketplace: marketplaceDetailsSerializer(item[\"marketplace\"]),\n user: userDetailsSerializer(item[\"user\"]),\n };\n}\n\nexport function reservationPropertiesBaseResourcePropertiesDeserializer(\n item: any,\n): ReservationPropertiesBaseResourceProperties {\n return {\n reservationInternalId: item[\"reservationInternalId\"],\n marketplace: marketplaceDetailsDeserializer(item[\"marketplace\"]),\n user: userDetailsDeserializer(item[\"user\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Marketplace details */\nexport interface MarketplaceDetails {\n /** Marketplace subscription ID */\n readonly subscriptionId?: string;\n /** Marketplace subscription status */\n subscriptionStatus?: MarketplaceSubscriptionStatus;\n /** Offer details of the marketplace subscription */\n offerDetails: OfferDetails;\n}\n\nexport function marketplaceDetailsSerializer(item: MarketplaceDetails): any {\n return {\n subscriptionStatus: item[\"subscriptionStatus\"],\n offerDetails: offerDetailsSerializer(item[\"offerDetails\"]),\n };\n}\n\nexport function marketplaceDetailsDeserializer(item: any): MarketplaceDetails {\n return {\n subscriptionId: item[\"subscriptionId\"],\n subscriptionStatus: item[\"subscriptionStatus\"],\n offerDetails: offerDetailsDeserializer(item[\"offerDetails\"]),\n };\n}\n\n/** Marketplace subscription status */\nexport enum KnownMarketplaceSubscriptionStatus {\n /** Marketplace subscription purchased but not yet activated */\n PendingFulfillmentStart = \"PendingFulfillmentStart\",\n /** Marketplace subscription activated */\n Subscribed = \"Subscribed\",\n /** Marketplace subscription suspended due to missing customer payment */\n Suspended = \"Suspended\",\n /** Marketplace subscription cancelled */\n Unsubscribed = \"Unsubscribed\",\n}\n\n/**\n * Marketplace subscription status \\\n * {@link KnownMarketplaceSubscriptionStatus} can be used interchangeably with MarketplaceSubscriptionStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PendingFulfillmentStart**: Marketplace subscription purchased but not yet activated \\\n * **Subscribed**: Marketplace subscription activated \\\n * **Suspended**: Marketplace subscription suspended due to missing customer payment \\\n * **Unsubscribed**: Marketplace subscription cancelled\n */\nexport type MarketplaceSubscriptionStatus = string;\n\n/** Offer details for the marketplace that is selected by the user */\nexport interface OfferDetails {\n /** Publisher ID for the marketplace offer */\n publisherId: string;\n /** Offer ID for the marketplace offer */\n offerId: string;\n /** Plan ID for the marketplace offer */\n planId: string;\n /** Plan Name for the marketplace offer */\n planName?: string;\n /** Term Unit for the marketplace offer */\n termUnit?: string;\n /** Term ID for the marketplace offer */\n termId?: string;\n}\n\nexport function offerDetailsSerializer(item: OfferDetails): any {\n return {\n publisherId: item[\"publisherId\"],\n offerId: item[\"offerId\"],\n planId: item[\"planId\"],\n planName: item[\"planName\"],\n termUnit: item[\"termUnit\"],\n termId: item[\"termId\"],\n };\n}\n\nexport function offerDetailsDeserializer(item: any): OfferDetails {\n return {\n publisherId: item[\"publisherId\"],\n offerId: item[\"offerId\"],\n planId: item[\"planId\"],\n planName: item[\"planName\"],\n termUnit: item[\"termUnit\"],\n termId: item[\"termId\"],\n };\n}\n\n/** User details */\nexport interface UserDetails {\n /** First name */\n firstName: string;\n /** Last name */\n lastName: string;\n /** Email address */\n emailAddress: string;\n /** Principal name */\n upn?: string;\n /** Phone number */\n phoneNumber?: string;\n /** Company details */\n companyDetails?: CompanyDetails;\n}\n\nexport function userDetailsSerializer(item: UserDetails): any {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n upn: item[\"upn\"],\n phoneNumber: item[\"phoneNumber\"],\n companyDetails: !item[\"companyDetails\"]\n ? item[\"companyDetails\"]\n : companyDetailsSerializer(item[\"companyDetails\"]),\n };\n}\n\nexport function userDetailsDeserializer(item: any): UserDetails {\n return {\n firstName: item[\"firstName\"],\n lastName: item[\"lastName\"],\n emailAddress: item[\"emailAddress\"],\n upn: item[\"upn\"],\n phoneNumber: item[\"phoneNumber\"],\n companyDetails: !item[\"companyDetails\"]\n ? item[\"companyDetails\"]\n : companyDetailsDeserializer(item[\"companyDetails\"]),\n };\n}\n\n/** Company details */\nexport interface CompanyDetails {\n /** Company name */\n companyName: string;\n /** Company address */\n address?: Address;\n}\n\nexport function companyDetailsSerializer(item: CompanyDetails): any {\n return {\n companyName: item[\"companyName\"],\n address: !item[\"address\"] ? item[\"address\"] : addressSerializer(item[\"address\"]),\n };\n}\n\nexport function companyDetailsDeserializer(item: any): CompanyDetails {\n return {\n companyName: item[\"companyName\"],\n address: !item[\"address\"] ? item[\"address\"] : addressDeserializer(item[\"address\"]),\n };\n}\n\n/** Address details */\nexport interface Address {\n /** Address line 1 */\n addressLine1: string;\n /** Address line 2 */\n addressLine2?: string;\n /** Name of the city */\n city: string;\n /** State (if any) */\n state: string;\n /** Name of the country */\n country: string;\n /** Postal code */\n postalCode: string;\n}\n\nexport function addressSerializer(item: Address): any {\n return {\n addressLine1: item[\"addressLine1\"],\n addressLine2: item[\"addressLine2\"],\n city: item[\"city\"],\n state: item[\"state\"],\n country: item[\"country\"],\n postalCode: item[\"postalCode\"],\n };\n}\n\nexport function addressDeserializer(item: any): Address {\n return {\n addressLine1: item[\"addressLine1\"],\n addressLine2: item[\"addressLine2\"],\n city: item[\"city\"],\n state: item[\"state\"],\n country: item[\"country\"],\n postalCode: item[\"postalCode\"],\n };\n}\n\n/** The status of the current operation. */\nexport enum KnownProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n /** Deletion in progress */\n Deleting = \"Deleting\",\n /** Change accepted for processing */\n Accepted = \"Accepted\",\n}\n\n/**\n * The status of the current operation. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled. \\\n * **Deleting**: Deletion in progress \\\n * **Accepted**: Change accepted for processing\n */\nexport type ProvisioningState = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: item[\"tags\"],\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(item: Resource): any {\n return item;\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnowncreatedByType} can be used interchangeably with createdByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The provisioning state of a resource type. */\nexport enum KnownResourceProvisioningState {\n /** Resource has been created. */\n Succeeded = \"Succeeded\",\n /** Resource creation failed. */\n Failed = \"Failed\",\n /** Resource creation was canceled. */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded**: Resource has been created. \\\n * **Failed**: Resource creation failed. \\\n * **Canceled**: Resource creation was canceled.\n */\nexport type ResourceProvisioningState = string;\n\n/** The type used for update operations of the Reservation. */\nexport interface ReservationUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: ReservationUpdateProperties;\n}\n\nexport function reservationUpdateSerializer(item: ReservationUpdate): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : reservationUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the Reservation. */\nexport interface ReservationUpdateProperties {\n /** User details */\n user?: UserDetails;\n}\n\nexport function reservationUpdatePropertiesSerializer(item: ReservationUpdateProperties): any {\n return {\n user: !item[\"user\"] ? item[\"user\"] : userDetailsSerializer(item[\"user\"]),\n };\n}\n\n/** The response of a Reservation list operation. */\nexport interface _ReservationListResult {\n /** The Reservation items on this page */\n value: Reservation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _reservationListResultDeserializer(item: any): _ReservationListResult {\n return {\n value: reservationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function reservationArraySerializer(result: Array<Reservation>): any[] {\n return result.map((item) => {\n return reservationSerializer(item);\n });\n}\n\nexport function reservationArrayDeserializer(result: Array<Reservation>): any[] {\n return result.map((item) => {\n return reservationDeserializer(item);\n });\n}\n\n/** Limits constraining certain resource properties */\nexport interface LimitDetails {\n /** Limits used for storage pool resources */\n storagePool: StoragePoolLimits;\n /** Limits used for volume resources */\n volume: VolumeLimits;\n /** internal */\n protectionPolicy: ProtectionPolicyLimits;\n /** internal */\n performancePolicy: PerformancePolicyLimits;\n}\n\nexport function limitDetailsDeserializer(item: any): LimitDetails {\n return {\n storagePool: storagePoolLimitsDeserializer(item[\"storagePool\"]),\n volume: volumeLimitsDeserializer(item[\"volume\"]),\n protectionPolicy: protectionPolicyLimitsDeserializer(item[\"protectionPolicy\"]),\n performancePolicy: performancePolicyLimitsDeserializer(item[\"performancePolicy\"]),\n };\n}\n\n/** Limits used for storage pool creation */\nexport interface StoragePoolLimits {\n /** Allowed provisioned bandwidth range for a storage pool, in MB/s */\n provisionedBandwidthMbPerSec: RangeLimits;\n /** Allowed provisioned IOPS range for a storage pool, as a number of operations */\n provisionedIops: RangeLimits;\n /** List of physical availability zones in the region in which storage pools can be deployed; some Azure regions do not support the necessary resources in all availability zones */\n physicalAvailabilityZones: string[];\n}\n\nexport function storagePoolLimitsDeserializer(item: any): StoragePoolLimits {\n return {\n provisionedBandwidthMbPerSec: rangeLimitsDeserializer(item[\"provisionedBandwidthMbPerSec\"]),\n provisionedIops: rangeLimitsDeserializer(item[\"provisionedIops\"]),\n physicalAvailabilityZones: item[\"physicalAvailabilityZones\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Minimum and maximum values for a property */\nexport interface RangeLimits {\n /** Minimum value of the property */\n min: number;\n /** Maximum value of the property */\n max: number;\n}\n\nexport function rangeLimitsDeserializer(item: any): RangeLimits {\n return {\n min: item[\"min\"],\n max: item[\"max\"],\n };\n}\n\n/** Limits used for volumes */\nexport interface VolumeLimits {\n /** Provisioned size limits for a volume, in bytes */\n provisionedSize: RangeLimits;\n}\n\nexport function volumeLimitsDeserializer(item: any): VolumeLimits {\n return {\n provisionedSize: rangeLimitsDeserializer(item[\"provisionedSize\"]),\n };\n}\n\n/** internal */\nexport interface ProtectionPolicyLimits {\n /** internal */\n frequency: RangeLimits;\n /** internal */\n retention: RangeLimits;\n}\n\nexport function protectionPolicyLimitsDeserializer(item: any): ProtectionPolicyLimits {\n return {\n frequency: rangeLimitsDeserializer(item[\"frequency\"]),\n retention: rangeLimitsDeserializer(item[\"retention\"]),\n };\n}\n\n/** internal */\nexport interface PerformancePolicyLimits {\n /** internal */\n iopsLimit: RangeLimits;\n /** internal */\n bandwidthLimit: RangeLimits;\n}\n\nexport function performancePolicyLimitsDeserializer(item: any): PerformancePolicyLimits {\n return {\n iopsLimit: rangeLimitsDeserializer(item[\"iopsLimit\"]),\n bandwidthLimit: rangeLimitsDeserializer(item[\"bandwidthLimit\"]),\n };\n}\n\n/** Latest billing status for this reservation */\nexport interface ReservationBillingStatus {\n /** Timestamp for the latest update of this billing status, in RFC 3339 format */\n timestamp: string;\n /** Total used capacity as reported by associated storage pools. In bytes */\n totalUsedCapacityReported: number;\n /** How many associated storage pools reported low data reduction ratio (DRR) */\n lowDrrPoolCount: number;\n /** Weighted average of the data-reduction ratio for all associated pools */\n drrWeightedAverage: number;\n /** The sum of total used capacity for all pools with low DRR, if the DRR penalty applies. In bytes */\n totalNonReducibleReported: number;\n /** Extra capacity added because of low DRR storage pools; In bytes */\n extraUsedCapacityNonReducible: number;\n /** Extra capacity added when rounding up low-usage pools to 30TiB. In bytes */\n extraUsedCapacityLowUsageRounding: number;\n /** Extra capacity discounted due to plan forgiving some low-DRR usage. In bytes */\n extraUsedCapacityNonReduciblePlanDiscount: number;\n /** Total used capacity actually billed. In bytes */\n totalUsedCapacityBilled: number;\n /** Total used capacity included in plan. In bytes */\n totalUsedCapacityIncludedPlan: number;\n /** Total used capacity reported at on-demand price. In bytes */\n totalUsedCapacityOverage: number;\n /** The sum of all performance settings across the pools under this reservation. In MB per second */\n totalPerformanceReported: number;\n /** Total performance amount included in plan. In bytes per second */\n totalPerformanceIncludedPlan: number;\n /** Total performance amount reported at on-demand price. In MB per second */\n totalPerformanceOverage: number;\n}\n\nexport function reservationBillingStatusDeserializer(item: any): ReservationBillingStatus {\n return {\n timestamp: item[\"timestamp\"],\n totalUsedCapacityReported: item[\"totalUsedCapacityReported\"],\n lowDrrPoolCount: item[\"lowDrrPoolCount\"],\n drrWeightedAverage: item[\"drrWeightedAverage\"],\n totalNonReducibleReported: item[\"totalNonReducibleReported\"],\n extraUsedCapacityNonReducible: item[\"extraUsedCapacityNonReducible\"],\n extraUsedCapacityLowUsageRounding: item[\"extraUsedCapacityLowUsageRounding\"],\n extraUsedCapacityNonReduciblePlanDiscount: item[\"extraUsedCapacityNonReduciblePlanDiscount\"],\n totalUsedCapacityBilled: item[\"totalUsedCapacityBilled\"],\n totalUsedCapacityIncludedPlan: item[\"totalUsedCapacityIncludedPlan\"],\n totalUsedCapacityOverage: item[\"totalUsedCapacityOverage\"],\n totalPerformanceReported: item[\"totalPerformanceReported\"],\n totalPerformanceIncludedPlan: item[\"totalPerformanceIncludedPlan\"],\n totalPerformanceOverage: item[\"totalPerformanceOverage\"],\n };\n}\n\n/** Represents a billing usage report, including overall status and detailed properties */\nexport interface ReservationBillingUsageReport {\n /** Latest formatted billing report for this reservation */\n timestamp: string;\n /** A list of detailed billing usage properties */\n billingUsageProperties: BillingUsageProperty[];\n /** Overall status message of the billing usage report */\n overallStatusMessage: string;\n}\n\nexport function reservationBillingUsageReportDeserializer(\n item: any,\n): ReservationBillingUsageReport {\n return {\n timestamp: item[\"timestamp\"],\n billingUsageProperties: billingUsagePropertyArrayDeserializer(item[\"billingUsageProperties\"]),\n overallStatusMessage: item[\"overallStatusMessage\"],\n };\n}\n\nexport function billingUsagePropertyArrayDeserializer(result: Array<BillingUsageProperty>): any[] {\n return result.map((item) => {\n return billingUsagePropertyDeserializer(item);\n });\n}\n\n/** Represents an individual billing usage property */\nexport interface BillingUsageProperty {\n /** Unique identifier for the billing usage property */\n propertyId: string;\n /** Name of the billing usage property */\n propertyName: string;\n /** Current value of the billing usage property */\n currentValue: string;\n /** Previous value of the billing usage property */\n previousValue?: string;\n /** Severity level of the usage */\n severity: UsageSeverity;\n /** Status message for the billing usage against a property */\n statusMessage?: string;\n /** Optional list of sub-properties providing additional details */\n subProperties?: BillingUsageProperty[];\n}\n\nexport function billingUsagePropertyDeserializer(item: any): BillingUsageProperty {\n return {\n propertyId: item[\"propertyId\"],\n propertyName: item[\"propertyName\"],\n currentValue: item[\"currentValue\"],\n previousValue: item[\"previousValue\"],\n severity: item[\"severity\"],\n statusMessage: item[\"statusMessage\"],\n subProperties: !item[\"subProperties\"]\n ? item[\"subProperties\"]\n : billingUsagePropertyArrayDeserializer(item[\"subProperties\"]),\n };\n}\n\n/** Severity levels for billing usage properties */\nexport enum KnownUsageSeverity {\n /** Indicates an alert condition */\n Alert = \"alert\",\n /** Provides informational details */\n Information = \"information\",\n /** Indicates a warning condition */\n Warning = \"warning\",\n /** Indicates no severity */\n None = \"none\",\n}\n\n/**\n * Severity levels for billing usage properties \\\n * {@link KnownUsageSeverity} can be used interchangeably with UsageSeverity,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **alert**: Indicates an alert condition \\\n * **information**: Provides informational details \\\n * **warning**: Indicates a warning condition \\\n * **none**: Indicates no severity\n */\nexport type UsageSeverity = string;\n\n/** Storage pool resource */\nexport interface StoragePool extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: StoragePoolProperties;\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n}\n\nexport function storagePoolSerializer(item: StoragePool): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolPropertiesSerializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function storagePoolDeserializer(item: any): StoragePool {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolPropertiesDeserializer(item[\"properties\"]),\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties of a storage pool */\nexport interface StoragePoolProperties {\n /** Pure Storage's internal ID of the storage pool */\n readonly storagePoolInternalId?: string;\n /** Azure Availability Zone the Pool is located in */\n availabilityZone: string;\n /** Network properties of the storage pool */\n vnetInjection: VnetInjection;\n /** How long a destroyed object is kept before being eradicated, in seconds */\n readonly dataRetentionPeriod?: number;\n /** Total bandwidth provisioned for the pool, in MB/s */\n provisionedBandwidthMbPerSec: number;\n /** Total I/O operations per second (IOPS) provisioned for the pool */\n readonly provisionedIops?: number;\n /** AVS connection state summary */\n readonly avs?: AzureVmwareService;\n /** Provisioning state of the resource */\n readonly provisioningState?: ProvisioningState;\n /** Azure resource ID of the Pure Storage Cloud service (reservation resource) this storage pool belongs to */\n reservationResourceId: string;\n}\n\nexport function storagePoolPropertiesSerializer(item: StoragePoolProperties): any {\n return {\n availabilityZone: item[\"availabilityZone\"],\n vnetInjection: vnetInjectionSerializer(item[\"vnetInjection\"]),\n provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"],\n reservationResourceId: item[\"reservationResourceId\"],\n };\n}\n\nexport function storagePoolPropertiesDeserializer(item: any): StoragePoolProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n availabilityZone: item[\"availabilityZone\"],\n vnetInjection: vnetInjectionDeserializer(item[\"vnetInjection\"]),\n dataRetentionPeriod: item[\"dataRetentionPeriod\"],\n provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"],\n provisionedIops: item[\"provisionedIops\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : azureVmwareServiceDeserializer(item[\"avs\"]),\n provisioningState: item[\"provisioningState\"],\n reservationResourceId: item[\"reservationResourceId\"],\n };\n}\n\n/** Network in which the storage pool will be made available */\nexport interface VnetInjection {\n /** Azure resource ID of the Virtual Network subnet where the storage pool will be connected */\n subnetId: string;\n /** Azure resource ID of the Virtual Network in which the subnet is located */\n vnetId: string;\n}\n\nexport function vnetInjectionSerializer(item: VnetInjection): any {\n return { subnetId: item[\"subnetId\"], vnetId: item[\"vnetId\"] };\n}\n\nexport function vnetInjectionDeserializer(item: any): VnetInjection {\n return {\n subnetId: item[\"subnetId\"],\n vnetId: item[\"vnetId\"],\n };\n}\n\n/** Connected AVS status */\nexport interface AzureVmwareService {\n /** If true, an AVS SDDC is successfully connected to the storage pool */\n avsEnabled: boolean;\n /** Azure resource ID of the AVS SDDC the storage pool is connected to */\n clusterResourceId?: string;\n}\n\nexport function azureVmwareServiceDeserializer(item: any): AzureVmwareService {\n return {\n avsEnabled: item[\"avsEnabled\"],\n clusterResourceId: item[\"sddcResourceId\"],\n };\n}\n\n/** Managed service identity (system assigned and/or user assigned identities) */\nexport interface ManagedServiceIdentity {\n /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly principalId?: string;\n /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */\n readonly tenantId?: string;\n /** The type of managed identity assigned to this resource. */\n type: ManagedServiceIdentityType;\n /** The identities assigned to this resource by the user. */\n userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;\n}\n\nexport function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any {\n return {\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\nexport function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n userAssignedIdentities: item[\"userAssignedIdentities\"],\n };\n}\n\n/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */\nexport enum KnownManagedServiceIdentityType {\n /** No managed identity. */\n None = \"None\",\n /** System assigned managed identity. */\n SystemAssigned = \"SystemAssigned\",\n /** User assigned managed identity. */\n UserAssigned = \"UserAssigned\",\n /** System and user assigned managed identity. */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \\\n * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: No managed identity. \\\n * **SystemAssigned**: System assigned managed identity. \\\n * **UserAssigned**: User assigned managed identity. \\\n * **SystemAssigned,UserAssigned**: System and user assigned managed identity.\n */\nexport type ManagedServiceIdentityType = string;\n\n/** User assigned identity properties */\nexport interface UserAssignedIdentity {\n /** The principal ID of the assigned identity. */\n readonly principalId?: string;\n /** The client ID of the assigned identity. */\n readonly clientId?: string;\n}\n\nexport function userAssignedIdentitySerializer(item: UserAssignedIdentity): any {\n return item;\n}\n\nexport function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity {\n return {\n principalId: item[\"principalId\"],\n clientId: item[\"clientId\"],\n };\n}\n\n/** The type used for update operations of the StoragePool. */\nexport interface StoragePoolUpdate {\n /** The managed service identities assigned to this resource. */\n identity?: ManagedServiceIdentity;\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: StoragePoolUpdateProperties;\n}\n\nexport function storagePoolUpdateSerializer(item: StoragePoolUpdate): any {\n return {\n identity: !item[\"identity\"]\n ? item[\"identity\"]\n : managedServiceIdentitySerializer(item[\"identity\"]),\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storagePoolUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the StoragePool. */\nexport interface StoragePoolUpdateProperties {\n /** Total bandwidth provisioned for the pool, in MB/s */\n provisionedBandwidthMbPerSec?: number;\n}\n\nexport function storagePoolUpdatePropertiesSerializer(item: StoragePoolUpdateProperties): any {\n return { provisionedBandwidthMbPerSec: item[\"provisionedBandwidthMbPerSec\"] };\n}\n\n/** The response of a StoragePool list operation. */\nexport interface _StoragePoolListResult {\n /** The StoragePool items on this page */\n value: StoragePool[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _storagePoolListResultDeserializer(item: any): _StoragePoolListResult {\n return {\n value: storagePoolArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function storagePoolArraySerializer(result: Array<StoragePool>): any[] {\n return result.map((item) => {\n return storagePoolSerializer(item);\n });\n}\n\nexport function storagePoolArrayDeserializer(result: Array<StoragePool>): any[] {\n return result.map((item) => {\n return storagePoolDeserializer(item);\n });\n}\n\n/** Health information for a storage pool */\nexport interface StoragePoolHealthInfo {\n /** Health metrics */\n health: HealthDetails;\n /** List of health alerts */\n alerts: Alert[];\n}\n\nexport function storagePoolHealthInfoDeserializer(item: any): StoragePoolHealthInfo {\n return {\n health: healthDetailsDeserializer(item[\"health\"]),\n alerts: alertArrayDeserializer(item[\"alerts\"]),\n };\n}\n\n/** Health metrics for a storage pool */\nexport interface HealthDetails {\n /** How full the pool is right now, in %, compared to the maximum size it can grow to; estimated based on current usage and data reduction ratio */\n usedCapacityPercentage: number;\n /** Bandwidth usage metrics */\n bandwidthUsage: BandwidthUsage;\n /** IOPS usage metrics */\n iopsUsage: IopsUsage;\n /** Storage space usage */\n space: Space;\n /** Data reduction ratio achieved on this pool */\n dataReductionRatio: number;\n /** Estimated maximum capacity of the pool, in bytes, based on current usage and data reduction ratio */\n estimatedMaxCapacity: number;\n}\n\nexport function healthDetailsDeserializer(item: any): HealthDetails {\n return {\n usedCapacityPercentage: item[\"usedCapacityPercentage\"],\n bandwidthUsage: bandwidthUsageDeserializer(item[\"bandwidthUsage\"]),\n iopsUsage: iopsUsageDeserializer(item[\"iopsUsage\"]),\n space: spaceDeserializer(item[\"space\"]),\n dataReductionRatio: item[\"dataReductionRatio\"],\n estimatedMaxCapacity: item[\"estimatedMaxCapacity\"],\n };\n}\n\n/** Bandwidth usage metrics */\nexport interface BandwidthUsage {\n /** Number of bytes written and read per second (maximum value over the last 10 minutes) */\n current: number;\n /** Bandwidth value currently provisioned for the storage pool, in MB/s */\n provisioned: number;\n /** Maximum bandwidth value that can be provisioned for the storage pool */\n max: number;\n}\n\nexport function bandwidthUsageDeserializer(item: any): BandwidthUsage {\n return {\n current: item[\"current\"],\n provisioned: item[\"provisioned\"],\n max: item[\"max\"],\n };\n}\n\n/** IOPS usage metrics */\nexport interface IopsUsage {\n /** Current number of IOPS (maximum value over the last 10 minutes) */\n current: number;\n /** IOPS value currently provisioned for the storage pool */\n provisioned: number;\n /** Maximum IOPS value that can be provisioned for the storage pool */\n max: number;\n}\n\nexport function iopsUsageDeserializer(item: any): IopsUsage {\n return {\n current: item[\"current\"],\n provisioned: item[\"provisioned\"],\n max: item[\"max\"],\n };\n}\n\n/** Storage space usage */\nexport interface Space {\n /** Total space occupied by customer data (i.e., being billed for), in bytes */\n totalUsed: number;\n /** Unique space occupied by customer data, in bytes; for a volume, this is the amount of storage that would be freed by deleting the volume, since snapshot and shared data would be kept */\n unique: number;\n /** Space occupied by data unique to one or more snapshots, in bytes */\n snapshots: number;\n /** Space occupied by duplicated data, meaning data shared with other volumes and snapshots as a result of data deduplication, in bytes */\n shared: number;\n}\n\nexport function spaceDeserializer(item: any): Space {\n return {\n totalUsed: item[\"totalUsed\"],\n unique: item[\"unique\"],\n snapshots: item[\"snapshots\"],\n shared: item[\"shared\"],\n };\n}\n\nexport function alertArrayDeserializer(result: Array<Alert>): any[] {\n return result.map((item) => {\n return alertDeserializer(item);\n });\n}\n\n/** Health alerts */\nexport interface Alert {\n /** Severity level */\n level: AlertLevel;\n /** A short description of the alert */\n message: string;\n}\n\nexport function alertDeserializer(item: any): Alert {\n return {\n level: item[\"level\"],\n message: item[\"message\"],\n };\n}\n\n/** Severity level of the alert */\nexport enum KnownAlertLevel {\n /** Information level */\n Info = \"info\",\n /** Warning level */\n Warning = \"warning\",\n /** Error level */\n Error = \"error\",\n}\n\n/**\n * Severity level of the alert \\\n * {@link KnownAlertLevel} can be used interchangeably with AlertLevel,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **info**: Information level \\\n * **warning**: Warning level \\\n * **error**: Error level\n */\nexport type AlertLevel = string;\n\n/** Transient information about an on-going connection to an AVS instance */\nexport interface AvsConnection {\n /** Indicates whether service initialization is complete */\n serviceInitializationCompleted: boolean;\n /** Encoded service account credentials alongside connection information */\n serviceInitializationHandleEnc?: string;\n /** Explicit service account credentials */\n serviceInitializationHandle?: ServiceInitializationHandle;\n}\n\nexport function avsConnectionDeserializer(item: any): AvsConnection {\n return {\n serviceInitializationCompleted: item[\"serviceInitializationCompleted\"],\n serviceInitializationHandleEnc: item[\"serviceInitializationHandleEnc\"],\n serviceInitializationHandle: !item[\"serviceInitializationHandle\"]\n ? item[\"serviceInitializationHandle\"]\n : serviceInitializationHandleDeserializer(item[\"serviceInitializationHandle\"]),\n };\n}\n\n/** Initialization handle used to configure the AVS SDDC to communicate with the storage pool */\nexport interface ServiceInitializationHandle {\n /** Azure resource ID of the AVS SDDC the pool is connecting to */\n clusterResourceId?: string;\n /** Requested service account username */\n serviceAccountUsername?: string;\n}\n\nexport function serviceInitializationHandleDeserializer(item: any): ServiceInitializationHandle {\n return {\n clusterResourceId: item[\"sddcResourceId\"],\n serviceAccountUsername: item[\"serviceAccountUsername\"],\n };\n}\n\n/** Status of storage pool / AVS connection */\nexport interface AvsStatus {\n /** If true, an AVS connection has been successfully completed */\n avsEnabled: boolean;\n /** Human-readable current AVS connection status */\n currentConnectionStatus: string;\n /** Azure resource ID of the AVS SDDC the pool is connected to */\n clusterResourceId?: string;\n}\n\nexport function avsStatusDeserializer(item: any): AvsStatus {\n return {\n avsEnabled: item[\"avsEnabled\"],\n currentConnectionStatus: item[\"currentConnectionStatus\"],\n clusterResourceId: item[\"sddcResourceId\"],\n };\n}\n\n/** EnableAvsConnection payload information */\nexport interface StoragePoolEnableAvsConnectionPost {\n /** Azure resource ID of the AVS SDDC to connect to */\n clusterResourceId: string;\n}\n\nexport function storagePoolEnableAvsConnectionPostSerializer(\n item: StoragePoolEnableAvsConnectionPost,\n): any {\n return { sddcResourceId: item[\"clusterResourceId\"] };\n}\n\n/** FinalizeAvsConnection payload information, either encoded or explicit */\nexport interface StoragePoolFinalizeAvsConnectionPost {\n /** Encoded AVS connection information */\n serviceInitializationDataEnc?: string;\n /** Explicit AVS connection information */\n serviceInitializationData?: ServiceInitializationInfo;\n}\n\nexport function storagePoolFinalizeAvsConnectionPostSerializer(\n item: StoragePoolFinalizeAvsConnectionPost,\n): any {\n return {\n serviceInitializationDataEnc: item[\"serviceInitializationDataEnc\"],\n serviceInitializationData: !item[\"serviceInitializationData\"]\n ? item[\"serviceInitializationData\"]\n : serviceInitializationInfoSerializer(item[\"serviceInitializationData\"]),\n };\n}\n\n/** Explicit service initialization data */\nexport interface ServiceInitializationInfo {\n /** Service account username */\n serviceAccountUsername?: string;\n /** Service account password */\n serviceAccountPassword?: string;\n /** AVS instance's vSphere IP address */\n vSphereIp?: string;\n /** AVS instance's vSphere certificate */\n vSphereCertificate?: string;\n}\n\nexport function serviceInitializationInfoSerializer(item: ServiceInitializationInfo): any {\n return {\n serviceAccountUsername: item[\"serviceAccountUsername\"],\n serviceAccountPassword: item[\"serviceAccountPassword\"],\n vSphereIp: item[\"vSphereIp\"],\n vSphereCertificate: item[\"vSphereCertificate\"],\n };\n}\n\n/** AVS storage container resource type, representing a VMware storage container in a storage pool, which can be associated to and mounted as a datastore */\nexport interface AvsStorageContainer extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: AvsStorageContainerProperties;\n}\n\nexport function avsStorageContainerDeserializer(item: any): AvsStorageContainer {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsStorageContainerPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** AVS storage container properties */\nexport interface AvsStorageContainerProperties {\n /** Storage space usage */\n readonly space?: Space;\n /** Name of the storage container */\n readonly resourceName: string;\n /** Maximum amount of bytes that can be provisioned in this storage container; it must be a multiple of 512; each time a volume is provisioned in this container, its provisionedSize will be counted against the provisionLimit and the provisioning will fail if it goes over (minimum: 1048576 (1MiB), maximum: 4503599627370496 (4PiB)); by default it is unrestricted */\n provisionedLimit?: number;\n /** VMware datastore associated with this storage container (if any) */\n readonly datastore?: string;\n /** Whether the datastore is mounted in VMware or not */\n readonly mounted?: boolean;\n}\n\nexport function avsStorageContainerPropertiesDeserializer(\n item: any,\n): AvsStorageContainerProperties {\n return {\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n resourceName: item[\"resourceName\"],\n provisionedLimit: item[\"provisionedLimit\"],\n datastore: item[\"datastore\"],\n mounted: item[\"mounted\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The response of a AvsStorageContainer list operation. */\nexport interface _AvsStorageContainerListResult {\n /** The AvsStorageContainer items on this page */\n value: AvsStorageContainer[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsStorageContainerListResultDeserializer(\n item: any,\n): _AvsStorageContainerListResult {\n return {\n value: avsStorageContainerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsStorageContainerArrayDeserializer(result: Array<AvsStorageContainer>): any[] {\n return result.map((item) => {\n return avsStorageContainerDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsStorageContainerVolume. */\nexport interface AvsStorageContainerVolumeUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsStorageContainerVolumeUpdateProperties;\n}\n\nexport function avsStorageContainerVolumeUpdateSerializer(\n item: AvsStorageContainerVolumeUpdate,\n): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsStorageContainerVolumeUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsStorageContainerVolume. */\nexport interface AvsStorageContainerVolumeUpdateProperties {\n /** Volume's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsStorageContainerVolumeUpdatePropertiesSerializer(\n item: AvsStorageContainerVolumeUpdateProperties,\n): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** Soft-deletion state */\nexport interface SoftDeletion {\n /** If false, the resource is active; if true, the resource has been destroyed; resources can be soft-deleted by setting destroyed to true, and recovered by setting it to false */\n destroyed: boolean;\n /** Date at which the resource will be eradicated and impossible to recover, as an RFC 3339 timestamp; invalid if destroyed is false; */\n readonly eradicationTimestamp?: string;\n}\n\nexport function softDeletionSerializer(item: SoftDeletion): any {\n return { destroyed: item[\"destroyed\"] };\n}\n\nexport function softDeletionDeserializer(item: any): SoftDeletion {\n return {\n destroyed: item[\"destroyed\"],\n eradicationTimestamp: item[\"eradicationTimestamp\"],\n };\n}\n\n/** A volume contained in an AVS storage container */\nexport interface AvsStorageContainerVolume extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: VolumeProperties;\n}\n\nexport function avsStorageContainerVolumeDeserializer(item: any): AvsStorageContainerVolume {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : volumePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Volume properties */\nexport interface VolumeProperties {\n /** Pure Storage's internal ID for the storage pool containing the volume */\n readonly storagePoolInternalId?: string;\n /** Azure Resource ID of the storage pool containing this volume */\n readonly storagePoolResourceId?: string;\n /** Pure Storage's internal ID for the volume */\n readonly volumeInternalId?: string;\n /** Human-readable name of the volume */\n readonly displayName?: string;\n /** Storage space usage */\n readonly space?: Space;\n /** Volume's soft-deletion state */\n softDeletion: SoftDeletion;\n /** Volume creation date, as an RFC 3339 timestamp */\n readonly createdTimestamp?: string;\n /** Currently provisioned size of the volume, in bytes */\n readonly provisionedSize?: number;\n /** Specify which control plane handles the lifecycle of the volume */\n readonly volumeType?: VolumeType;\n /** AVS-specific volume information */\n readonly avs?: AvsDiskDetails;\n /** Provisioning state of the resource */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function volumePropertiesDeserializer(item: any): VolumeProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n storagePoolResourceId: item[\"storagePoolResourceId\"],\n volumeInternalId: item[\"volumeInternalId\"],\n displayName: item[\"displayName\"],\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n softDeletion: softDeletionDeserializer(item[\"softDeletion\"]),\n createdTimestamp: item[\"createdTimestamp\"],\n provisionedSize: item[\"provisionedSize\"],\n volumeType: item[\"volumeType\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : avsDiskDetailsDeserializer(item[\"avs\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Specify which control plane handles the lifecycle of the volume */\nexport enum KnownVolumeType {\n /** AVS/VMware */\n AVS = \"avs\",\n}\n\n/**\n * Specify which control plane handles the lifecycle of the volume \\\n * {@link KnownVolumeType} can be used interchangeably with VolumeType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **avs**: AVS\\/VMware\n */\nexport type VolumeType = string;\n\n/** AVS disk/volume information */\nexport interface AvsDiskDetails {\n /** VMware ID of the disk/volume */\n diskId: string;\n /** VMware name of the disk/volume */\n diskName: string;\n /** Name of the top-level folder in the datastore that contains the disk/volume */\n folder: string;\n /** VMware ID assigned to the disk/volume */\n avsVmInternalId: string;\n /** Azure resource ID of the AVS VM connected to this disk/volume */\n avsVmResourceId: string;\n /** Name of the AVS VM connected to this disk/volume */\n avsVmName: string;\n /** Azure resource ID of the AVS storage container containing this disk/volume */\n avsStorageContainerResourceId: string;\n}\n\nexport function avsDiskDetailsDeserializer(item: any): AvsDiskDetails {\n return {\n diskId: item[\"diskId\"],\n diskName: item[\"diskName\"],\n folder: item[\"folder\"],\n avsVmInternalId: item[\"avsVmInternalId\"],\n avsVmResourceId: item[\"avsVmResourceId\"],\n avsVmName: item[\"avsVmName\"],\n avsStorageContainerResourceId: item[\"avsStorageContainerResourceId\"],\n };\n}\n\n/** The response of a AvsStorageContainerVolume list operation. */\nexport interface _AvsStorageContainerVolumeListResult {\n /** The AvsStorageContainerVolume items on this page */\n value: AvsStorageContainerVolume[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsStorageContainerVolumeListResultDeserializer(\n item: any,\n): _AvsStorageContainerVolumeListResult {\n return {\n value: avsStorageContainerVolumeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsStorageContainerVolumeArrayDeserializer(\n result: Array<AvsStorageContainerVolume>,\n): any[] {\n return result.map((item) => {\n return avsStorageContainerVolumeDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsVm. */\nexport interface AvsVmUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmUpdateProperties;\n}\n\nexport function avsVmUpdateSerializer(item: AvsVmUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsVm. */\nexport interface AvsVmUpdateProperties {\n /** AVS VM's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsVmUpdatePropertiesSerializer(item: AvsVmUpdateProperties): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** AVS VM resource type, representing all the volumes associated to an AVS VM as defined by VMware */\nexport interface AvsVm extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmProperties;\n}\n\nexport function avsVmDeserializer(item: any): AvsVm {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** AVS VM properties */\nexport interface AvsVmProperties {\n /** Pure Storage's internal ID for the storage pool */\n readonly storagePoolInternalId?: string;\n /** Azure resource ID of the storage pool */\n readonly storagePoolResourceId?: string;\n /** Human-readable name of the AVS VM */\n readonly displayName?: string;\n /** Date at which the AVS VM was created, as an RFC 3339 timestamp */\n readonly createdTimestamp?: string;\n /** AVS VM's soft-deletion state */\n softDeletion?: SoftDeletion;\n /** Specify which control plane handles the lifecycle of the volume container */\n readonly volumeContainerType?: VolumeContainerType;\n /** AVS VM details */\n readonly avs?: AvsVmDetails;\n /** Contains properties related to used Flash space */\n readonly space?: Space;\n /** Provisioning state of the resource. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function avsVmPropertiesDeserializer(item: any): AvsVmProperties {\n return {\n storagePoolInternalId: item[\"storagePoolInternalId\"],\n storagePoolResourceId: item[\"storagePoolResourceId\"],\n displayName: item[\"displayName\"],\n createdTimestamp: item[\"createdTimestamp\"],\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionDeserializer(item[\"softDeletion\"]),\n volumeContainerType: item[\"volumeContainerType\"],\n avs: !item[\"avs\"] ? item[\"avs\"] : avsVmDetailsDeserializer(item[\"avs\"]),\n space: !item[\"space\"] ? item[\"space\"] : spaceDeserializer(item[\"space\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Specify which control plane handles the lifecycle of the volume container */\nexport enum KnownVolumeContainerType {\n /** AVS/VMware */\n AVS = \"avs\",\n}\n\n/**\n * Specify which control plane handles the lifecycle of the volume container \\\n * {@link KnownVolumeContainerType} can be used interchangeably with VolumeContainerType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **avs**: AVS\\/VMware\n */\nexport type VolumeContainerType = string;\n\n/** AVS VM details */\nexport interface AvsVmDetails {\n /** ID of the AVS VM using this set of volumes */\n vmId: string;\n /** Name of the VMware VM using this set of volumes */\n vmName: string;\n /** Type of the VMware VM using this set of volumes */\n vmType: VmType;\n /** Pure Storage's internal ID for this AVS VM */\n avsVmInternalId: string;\n}\n\nexport function avsVmDetailsDeserializer(item: any): AvsVmDetails {\n return {\n vmId: item[\"vmId\"],\n vmName: item[\"vmName\"],\n vmType: item[\"vmType\"],\n avsVmInternalId: item[\"avsVmInternalId\"],\n };\n}\n\n/** AVS VM storage types */\nexport enum KnownVmType {\n /** VM using vVols as underlying storage */\n VVol = \"vvol\",\n}\n\n/**\n * AVS VM storage types \\\n * {@link KnownVmType} can be used interchangeably with VmType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **vvol**: VM using vVols as underlying storage\n */\nexport type VmType = string;\n\n/** The response of a AvsVm list operation. */\nexport interface _AvsVmListResult {\n /** The AvsVm items on this page */\n value: AvsVm[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsVmListResultDeserializer(item: any): _AvsVmListResult {\n return {\n value: avsVmArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsVmArrayDeserializer(result: Array<AvsVm>): any[] {\n return result.map((item) => {\n return avsVmDeserializer(item);\n });\n}\n\n/** The type used for update operations of the AvsVmVolume. */\nexport interface AvsVmVolumeUpdate {\n /** The resource-specific properties for this resource. */\n properties?: AvsVmVolumeUpdateProperties;\n}\n\nexport function avsVmVolumeUpdateSerializer(item: AvsVmVolumeUpdate): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : avsVmVolumeUpdatePropertiesSerializer(item[\"properties\"]),\n };\n}\n\n/** The updatable properties of the AvsVmVolume. */\nexport interface AvsVmVolumeUpdateProperties {\n /** Volume's soft-deletion state */\n softDeletion?: SoftDeletion;\n}\n\nexport function avsVmVolumeUpdatePropertiesSerializer(item: AvsVmVolumeUpdateProperties): any {\n return {\n softDeletion: !item[\"softDeletion\"]\n ? item[\"softDeletion\"]\n : softDeletionSerializer(item[\"softDeletion\"]),\n };\n}\n\n/** Any volume associated to a particular AVS VM */\nexport interface AvsVmVolume extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: VolumeProperties;\n}\n\nexport function avsVmVolumeDeserializer(item: any): AvsVmVolume {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : volumePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** The response of a AvsVmVolume list operation. */\nexport interface _AvsVmVolumeListResult {\n /** The AvsVmVolume items on this page */\n value: AvsVmVolume[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _avsVmVolumeListResultDeserializer(item: any): _AvsVmVolumeListResult {\n return {\n value: avsVmVolumeArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function avsVmVolumeArrayDeserializer(result: Array<AvsVmVolume>): any[] {\n return result.map((item) => {\n return avsVmVolumeDeserializer(item);\n });\n}\n\n/** Supported versions for PureStorage.Block. */\nexport enum KnownVersions {\n /** Version 1 stable */\n V20241101 = \"2024-11-01\",\n}\n"]}
|
|
@@ -145,7 +145,7 @@ function expandUrlTemplate(template, context, option) {
|
|
|
145
145
|
}
|
|
146
146
|
let op;
|
|
147
147
|
if (["+", "#", ".", "/", ";", "?", "&"].includes(expr[0])) {
|
|
148
|
-
(op = expr[0]), (expr = expr.slice(1));
|
|
148
|
+
((op = expr[0]), (expr = expr.slice(1)));
|
|
149
149
|
}
|
|
150
150
|
const varList = expr.split(/,/g);
|
|
151
151
|
const result = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"urlTemplate.js","sourceRoot":"","sources":["../../../src/static-helpers/urlTemplate.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAiKlC,8CAkCC;AAhLD,wBAAwB;AACxB,UAAU;AACV,wBAAwB;AACxB,SAAS,eAAe,CAAC,GAAW,EAAE,QAAk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Q,GAAG,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3D,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;gBAC9B,SAAS;YACX,CAAC;YACD,MAAM,QAAQ,GAAG,WAAW,CAAC;gBAC3B,OAAO,EAAE,MAAM,CAAC,MAAM,KAAK,CAAC;gBAC5B,EAAE;gBACF,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;gBAC9B,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;gBACpB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC;gBACpC,QAAQ,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa;aAChC,CAAC,CAAC;YACH,IAAI,QAAQ,EAAE,CAAC;gBACb,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n//---------------------\n// interfaces\n//---------------------\ninterface ValueOptions {\n isFirst: boolean; // is first value in the expression\n op?: string; // operator\n varValue?: any; // variable value\n varName?: string; // variable name\n modifier?: string; // modifier e.g *\n reserved?: boolean; // if true we'll keep reserved words with not encoding\n}\n\nexport interface UrlTemplateOptions {\n // if set to true, reserved characters will not be encoded\n allowReserved?: boolean;\n}\n\n// ---------------------\n// helpers\n// ---------------------\nfunction encodeComponent(val: string, reserved?: boolean, op?: string) {\n return (reserved ?? op === \"+\") || op === \"#\"\n ? encodeReservedComponent(val)\n : encodeRFC3986URIComponent(val);\n}\n\nfunction encodeReservedComponent(str: string) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map((part) => (!/%[0-9A-Fa-f]/.test(part) ? encodeURI(part) : part))\n .join(\"\");\n}\n\nfunction encodeRFC3986URIComponent(str: string) {\n return encodeURIComponent(str).replace(\n /[!'()*]/g,\n (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`,\n );\n}\n\nfunction isDefined(val: any) {\n return val !== undefined && val !== null;\n}\n\nfunction getNamedAndIfEmpty(op?: string): [boolean, string] {\n return [!!op && [\";\", \"?\", \"&\"].includes(op), !!op && [\"?\", \"&\"].includes(op) ? \"=\" : \"\"];\n}\n\nfunction getFirstOrSep(op?: string, isFirst = false) {\n if (isFirst) {\n return !op || op === \"+\" ? \"\" : op;\n } else if (!op || op === \"+\" || op === \"#\") {\n return \",\";\n } else if (op === \"?\") {\n return \"&\";\n } else {\n return op;\n }\n}\n\nfunction getExpandedValue(option: ValueOptions) {\n let isFirst = option.isFirst;\n const { op, varName, varValue: value, reserved } = option;\n const vals: string[] = [];\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n // prepare the following parts: separator, varName, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (named && varName) {\n vals.push(`${encodeURIComponent(varName)}`);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n const val = value[key];\n if (!isDefined(val)) {\n continue;\n }\n // prepare the following parts: separator, key, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (key) {\n vals.push(`${encodeURIComponent(key)}`);\n named && val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n }\n return vals.join(\"\");\n}\n\nfunction getNonExpandedValue(option: ValueOptions) {\n const { op, varName, varValue: value, isFirst, reserved } = option;\n const vals: string[] = [];\n const first = getFirstOrSep(op, isFirst);\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n if (named && varName) {\n vals.push(encodeComponent(varName, reserved, op));\n if (value === \"\") {\n if (!ifEmpty) {\n vals.push(ifEmpty);\n }\n return !vals.join(\"\") ? undefined : `${first}${vals.join(\"\")}`;\n }\n vals.push(\"=\");\n }\n\n const items = [];\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n items.push(encodeComponent(val, reserved, op));\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n if (!isDefined(value[key])) {\n continue;\n }\n items.push(encodeRFC3986URIComponent(key));\n items.push(encodeComponent(value[key], reserved, op));\n }\n }\n vals.push(items.join(\",\"));\n return !vals.join(\",\") ? undefined : `${first}${vals.join(\"\")}`;\n}\n\nfunction getVarValue(option: ValueOptions): string | undefined {\n const { op, varName, modifier, isFirst, reserved, varValue: value } = option;\n\n if (!isDefined(value)) {\n return undefined;\n } else if ([\"string\", \"number\", \"boolean\"].includes(typeof value)) {\n let val = value.toString();\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n const vals: string[] = [getFirstOrSep(op, isFirst)];\n if (named && varName) {\n // No need to encode varName considering it is already encoded\n vals.push(varName);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n if (modifier && modifier !== \"*\") {\n val = val.substring(0, parseInt(modifier, 10));\n }\n vals.push(encodeComponent(val, reserved, op));\n return vals.join(\"\");\n } else if (modifier === \"*\") {\n return getExpandedValue(option);\n } else {\n return getNonExpandedValue(option);\n }\n}\n\n// ---------------------------------------------------------------------------------------------------\n// This is an implementation of RFC 6570 URI Template: https://datatracker.ietf.org/doc/html/rfc6570.\n// ---------------------------------------------------------------------------------------------------\nexport function expandUrlTemplate(\n template: string,\n context: Record<string, any>,\n option?: UrlTemplateOptions,\n): string {\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, (_, expr, text) => {\n if (!expr) {\n return encodeReservedComponent(text);\n }\n let op;\n if ([\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"].includes(expr[0])) {\n (op = expr[0]), (expr = expr.slice(1));\n }\n const varList = expr.split(/,/g);\n const result = [];\n for (const varSpec of varList) {\n const varMatch = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(varSpec);\n if (!varMatch || !varMatch[1]) {\n continue;\n }\n const varValue = getVarValue({\n isFirst: result.length === 0,\n op,\n varValue: context[varMatch[1]],\n varName: varMatch[1],\n modifier: varMatch[2] || varMatch[3],\n reserved: option?.allowReserved,\n });\n if (varValue) {\n result.push(varValue);\n }\n }\n return result.join(\"\");\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"urlTemplate.js","sourceRoot":"","sources":["../../../src/static-helpers/urlTemplate.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAiKlC,8CAkCC;AAhLD,wBAAwB;AACxB,UAAU;AACV,wBAAwB;AACxB,SAAS,eAAe,CAAC,GAAW,EAAE,QAAkB,EAAE,EAAW;IACnE,OAAO,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,KAAK,GAAG,CAAC,IAAI,EAAE,KAAK,GAAG;QAC3C,CAAC,CAAC,uBAAuB,CAAC,GAAG,CAAC;QAC9B,CAAC,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,uBAAuB,CAAC,GAAW;IAC1C,OAAO,GAAG;SACP,KAAK,CAAC,oBAAoB,CAAC;SAC3B,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC,CAAC;AACd,CAAC;AAED,SAAS,yBAAyB,CAAC,GAAW;IAC5C,OAAO,kBAAkB,CAAC,GAAG,CAAC,CAAC,OAAO,CACpC,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC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AAE,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n//---------------------\n// interfaces\n//---------------------\ninterface ValueOptions {\n isFirst: boolean; // is first value in the expression\n op?: string; // operator\n varValue?: any; // variable value\n varName?: string; // variable name\n modifier?: string; // modifier e.g *\n reserved?: boolean; // if true we'll keep reserved words with not encoding\n}\n\nexport interface UrlTemplateOptions {\n // if set to true, reserved characters will not be encoded\n allowReserved?: boolean;\n}\n\n// ---------------------\n// helpers\n// ---------------------\nfunction encodeComponent(val: string, reserved?: boolean, op?: string) {\n return (reserved ?? op === \"+\") || op === \"#\"\n ? encodeReservedComponent(val)\n : encodeRFC3986URIComponent(val);\n}\n\nfunction encodeReservedComponent(str: string) {\n return str\n .split(/(%[0-9A-Fa-f]{2})/g)\n .map((part) => (!/%[0-9A-Fa-f]/.test(part) ? encodeURI(part) : part))\n .join(\"\");\n}\n\nfunction encodeRFC3986URIComponent(str: string) {\n return encodeURIComponent(str).replace(\n /[!'()*]/g,\n (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`,\n );\n}\n\nfunction isDefined(val: any) {\n return val !== undefined && val !== null;\n}\n\nfunction getNamedAndIfEmpty(op?: string): [boolean, string] {\n return [!!op && [\";\", \"?\", \"&\"].includes(op), !!op && [\"?\", \"&\"].includes(op) ? \"=\" : \"\"];\n}\n\nfunction getFirstOrSep(op?: string, isFirst = false) {\n if (isFirst) {\n return !op || op === \"+\" ? \"\" : op;\n } else if (!op || op === \"+\" || op === \"#\") {\n return \",\";\n } else if (op === \"?\") {\n return \"&\";\n } else {\n return op;\n }\n}\n\nfunction getExpandedValue(option: ValueOptions) {\n let isFirst = option.isFirst;\n const { op, varName, varValue: value, reserved } = option;\n const vals: string[] = [];\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n // prepare the following parts: separator, varName, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (named && varName) {\n vals.push(`${encodeURIComponent(varName)}`);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n const val = value[key];\n if (!isDefined(val)) {\n continue;\n }\n // prepare the following parts: separator, key, value\n vals.push(`${getFirstOrSep(op, isFirst)}`);\n if (key) {\n vals.push(`${encodeURIComponent(key)}`);\n named && val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n vals.push(encodeComponent(val, reserved, op));\n isFirst = false;\n }\n }\n return vals.join(\"\");\n}\n\nfunction getNonExpandedValue(option: ValueOptions) {\n const { op, varName, varValue: value, isFirst, reserved } = option;\n const vals: string[] = [];\n const first = getFirstOrSep(op, isFirst);\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n if (named && varName) {\n vals.push(encodeComponent(varName, reserved, op));\n if (value === \"\") {\n if (!ifEmpty) {\n vals.push(ifEmpty);\n }\n return !vals.join(\"\") ? undefined : `${first}${vals.join(\"\")}`;\n }\n vals.push(\"=\");\n }\n\n const items = [];\n if (Array.isArray(value)) {\n for (const val of value.filter(isDefined)) {\n items.push(encodeComponent(val, reserved, op));\n }\n } else if (typeof value === \"object\") {\n for (const key of Object.keys(value)) {\n if (!isDefined(value[key])) {\n continue;\n }\n items.push(encodeRFC3986URIComponent(key));\n items.push(encodeComponent(value[key], reserved, op));\n }\n }\n vals.push(items.join(\",\"));\n return !vals.join(\",\") ? undefined : `${first}${vals.join(\"\")}`;\n}\n\nfunction getVarValue(option: ValueOptions): string | undefined {\n const { op, varName, modifier, isFirst, reserved, varValue: value } = option;\n\n if (!isDefined(value)) {\n return undefined;\n } else if ([\"string\", \"number\", \"boolean\"].includes(typeof value)) {\n let val = value.toString();\n const [named, ifEmpty] = getNamedAndIfEmpty(op);\n const vals: string[] = [getFirstOrSep(op, isFirst)];\n if (named && varName) {\n // No need to encode varName considering it is already encoded\n vals.push(varName);\n val === \"\" ? vals.push(ifEmpty) : vals.push(\"=\");\n }\n if (modifier && modifier !== \"*\") {\n val = val.substring(0, parseInt(modifier, 10));\n }\n vals.push(encodeComponent(val, reserved, op));\n return vals.join(\"\");\n } else if (modifier === \"*\") {\n return getExpandedValue(option);\n } else {\n return getNonExpandedValue(option);\n }\n}\n\n// ---------------------------------------------------------------------------------------------------\n// This is an implementation of RFC 6570 URI Template: https://datatracker.ietf.org/doc/html/rfc6570.\n// ---------------------------------------------------------------------------------------------------\nexport function expandUrlTemplate(\n template: string,\n context: Record<string, any>,\n option?: UrlTemplateOptions,\n): string {\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, (_, expr, text) => {\n if (!expr) {\n return encodeReservedComponent(text);\n }\n let op;\n if ([\"+\", \"#\", \".\", \"/\", \";\", \"?\", \"&\"].includes(expr[0])) {\n ((op = expr[0]), (expr = expr.slice(1)));\n }\n const varList = expr.split(/,/g);\n const result = [];\n for (const varSpec of varList) {\n const varMatch = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(varSpec);\n if (!varMatch || !varMatch[1]) {\n continue;\n }\n const varValue = getVarValue({\n isFirst: result.length === 0,\n op,\n varValue: context[varMatch[1]],\n varName: varMatch[1],\n modifier: varMatch[2] || varMatch[3],\n reserved: option?.allowReserved,\n });\n if (varValue) {\n result.push(varValue);\n }\n }\n return result.join(\"\");\n });\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { errorResponseDeserializer, avsStorageContainerVolumeUpdateSerializer, avsStorageContainerVolumeDeserializer, _avsStorageContainerVolumeListResultDeserializer, } from "../../models/models.js";
|
|
4
|
-
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
4
|
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
5
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
6
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
7
|
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
8
8
|
export function _listByAvsStorageContainerSend(context, resourceGroupName, storagePoolName, storageContainerName, options = {
|