@azure/arm-storsimple8000series 2.1.1-alpha.20250717.1 → 2.1.1-alpha.20250718.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/browser/lroImpl.js +11 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/models/mappers.js +367 -172
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/accessControlRecords.js +32 -39
  6. package/dist/browser/operations/accessControlRecords.js.map +1 -1
  7. package/dist/browser/operations/alerts.js +23 -40
  8. package/dist/browser/operations/alerts.js.map +1 -1
  9. package/dist/browser/operations/backupPolicies.js +43 -45
  10. package/dist/browser/operations/backupPolicies.js.map +1 -1
  11. package/dist/browser/operations/backupSchedules.js +32 -39
  12. package/dist/browser/operations/backupSchedules.js.map +1 -1
  13. package/dist/browser/operations/backups.js +56 -58
  14. package/dist/browser/operations/backups.js.map +1 -1
  15. package/dist/browser/operations/bandwidthSettings.js +32 -39
  16. package/dist/browser/operations/bandwidthSettings.js.map +1 -1
  17. package/dist/browser/operations/cloudAppliances.js +21 -33
  18. package/dist/browser/operations/cloudAppliances.js.map +1 -1
  19. package/dist/browser/operations/deviceSettings.js +56 -30
  20. package/dist/browser/operations/deviceSettings.js.map +1 -1
  21. package/dist/browser/operations/devices.js +112 -167
  22. package/dist/browser/operations/devices.js.map +1 -1
  23. package/dist/browser/operations/hardwareComponentGroups.js +21 -33
  24. package/dist/browser/operations/hardwareComponentGroups.js.map +1 -1
  25. package/dist/browser/operations/jobs.js +56 -85
  26. package/dist/browser/operations/jobs.js.map +1 -1
  27. package/dist/browser/operations/managers.js +51 -136
  28. package/dist/browser/operations/managers.js.map +1 -1
  29. package/dist/browser/operations/operations.js +23 -40
  30. package/dist/browser/operations/operations.js.map +1 -1
  31. package/dist/browser/operations/storageAccountCredentials.js +32 -39
  32. package/dist/browser/operations/storageAccountCredentials.js.map +1 -1
  33. package/dist/browser/operations/volumeContainers.js +50 -91
  34. package/dist/browser/operations/volumeContainers.js.map +1 -1
  35. package/dist/browser/operations/volumes.js +59 -117
  36. package/dist/browser/operations/volumes.js.map +1 -1
  37. package/dist/browser/pagingHelper.js +2 -4
  38. package/dist/browser/pagingHelper.js.map +1 -1
  39. package/dist/browser/storSimple8000SeriesManagementClient.js +29 -5
  40. package/dist/browser/storSimple8000SeriesManagementClient.js.map +1 -1
  41. package/dist/commonjs/lroImpl.js +11 -3
  42. package/dist/commonjs/lroImpl.js.map +1 -1
  43. package/dist/commonjs/models/mappers.js +367 -172
  44. package/dist/commonjs/models/mappers.js.map +1 -1
  45. package/dist/commonjs/operations/accessControlRecords.js +32 -38
  46. package/dist/commonjs/operations/accessControlRecords.js.map +1 -1
  47. package/dist/commonjs/operations/alerts.js +23 -39
  48. package/dist/commonjs/operations/alerts.js.map +1 -1
  49. package/dist/commonjs/operations/backupPolicies.js +43 -44
  50. package/dist/commonjs/operations/backupPolicies.js.map +1 -1
  51. package/dist/commonjs/operations/backupSchedules.js +32 -38
  52. package/dist/commonjs/operations/backupSchedules.js.map +1 -1
  53. package/dist/commonjs/operations/backups.js +56 -57
  54. package/dist/commonjs/operations/backups.js.map +1 -1
  55. package/dist/commonjs/operations/bandwidthSettings.js +32 -38
  56. package/dist/commonjs/operations/bandwidthSettings.js.map +1 -1
  57. package/dist/commonjs/operations/cloudAppliances.js +21 -32
  58. package/dist/commonjs/operations/cloudAppliances.js.map +1 -1
  59. package/dist/commonjs/operations/deviceSettings.js +56 -30
  60. package/dist/commonjs/operations/deviceSettings.js.map +1 -1
  61. package/dist/commonjs/operations/devices.js +112 -166
  62. package/dist/commonjs/operations/devices.js.map +1 -1
  63. package/dist/commonjs/operations/hardwareComponentGroups.js +21 -32
  64. package/dist/commonjs/operations/hardwareComponentGroups.js.map +1 -1
  65. package/dist/commonjs/operations/jobs.js +56 -84
  66. package/dist/commonjs/operations/jobs.js.map +1 -1
  67. package/dist/commonjs/operations/managers.js +51 -135
  68. package/dist/commonjs/operations/managers.js.map +1 -1
  69. package/dist/commonjs/operations/operations.js +23 -39
  70. package/dist/commonjs/operations/operations.js.map +1 -1
  71. package/dist/commonjs/operations/storageAccountCredentials.js +32 -38
  72. package/dist/commonjs/operations/storageAccountCredentials.js.map +1 -1
  73. package/dist/commonjs/operations/volumeContainers.js +50 -90
  74. package/dist/commonjs/operations/volumeContainers.js.map +1 -1
  75. package/dist/commonjs/operations/volumes.js +59 -116
  76. package/dist/commonjs/operations/volumes.js.map +1 -1
  77. package/dist/commonjs/pagingHelper.js +2 -4
  78. package/dist/commonjs/pagingHelper.js.map +1 -1
  79. package/dist/commonjs/storSimple8000SeriesManagementClient.js +29 -5
  80. package/dist/commonjs/storSimple8000SeriesManagementClient.js.map +1 -1
  81. package/dist/commonjs/tsdoc-metadata.json +11 -11
  82. package/dist/esm/lroImpl.js +11 -3
  83. package/dist/esm/lroImpl.js.map +1 -1
  84. package/dist/esm/models/mappers.js +367 -172
  85. package/dist/esm/models/mappers.js.map +1 -1
  86. package/dist/esm/operations/accessControlRecords.js +32 -39
  87. package/dist/esm/operations/accessControlRecords.js.map +1 -1
  88. package/dist/esm/operations/alerts.js +23 -40
  89. package/dist/esm/operations/alerts.js.map +1 -1
  90. package/dist/esm/operations/backupPolicies.js +43 -45
  91. package/dist/esm/operations/backupPolicies.js.map +1 -1
  92. package/dist/esm/operations/backupSchedules.js +32 -39
  93. package/dist/esm/operations/backupSchedules.js.map +1 -1
  94. package/dist/esm/operations/backups.js +56 -58
  95. package/dist/esm/operations/backups.js.map +1 -1
  96. package/dist/esm/operations/bandwidthSettings.js +32 -39
  97. package/dist/esm/operations/bandwidthSettings.js.map +1 -1
  98. package/dist/esm/operations/cloudAppliances.js +21 -33
  99. package/dist/esm/operations/cloudAppliances.js.map +1 -1
  100. package/dist/esm/operations/deviceSettings.js +56 -30
  101. package/dist/esm/operations/deviceSettings.js.map +1 -1
  102. package/dist/esm/operations/devices.js +112 -167
  103. package/dist/esm/operations/devices.js.map +1 -1
  104. package/dist/esm/operations/hardwareComponentGroups.js +21 -33
  105. package/dist/esm/operations/hardwareComponentGroups.js.map +1 -1
  106. package/dist/esm/operations/jobs.js +56 -85
  107. package/dist/esm/operations/jobs.js.map +1 -1
  108. package/dist/esm/operations/managers.js +51 -136
  109. package/dist/esm/operations/managers.js.map +1 -1
  110. package/dist/esm/operations/operations.js +23 -40
  111. package/dist/esm/operations/operations.js.map +1 -1
  112. package/dist/esm/operations/storageAccountCredentials.js +32 -39
  113. package/dist/esm/operations/storageAccountCredentials.js.map +1 -1
  114. package/dist/esm/operations/volumeContainers.js +50 -91
  115. package/dist/esm/operations/volumeContainers.js.map +1 -1
  116. package/dist/esm/operations/volumes.js +59 -117
  117. package/dist/esm/operations/volumes.js.map +1 -1
  118. package/dist/esm/pagingHelper.js +2 -4
  119. package/dist/esm/pagingHelper.js.map +1 -1
  120. package/dist/esm/storSimple8000SeriesManagementClient.js +29 -5
  121. package/dist/esm/storSimple8000SeriesManagementClient.js.map +1 -1
  122. package/dist/react-native/lroImpl.js +11 -3
  123. package/dist/react-native/lroImpl.js.map +1 -1
  124. package/dist/react-native/models/mappers.js +367 -172
  125. package/dist/react-native/models/mappers.js.map +1 -1
  126. package/dist/react-native/operations/accessControlRecords.js +32 -39
  127. package/dist/react-native/operations/accessControlRecords.js.map +1 -1
  128. package/dist/react-native/operations/alerts.js +23 -40
  129. package/dist/react-native/operations/alerts.js.map +1 -1
  130. package/dist/react-native/operations/backupPolicies.js +43 -45
  131. package/dist/react-native/operations/backupPolicies.js.map +1 -1
  132. package/dist/react-native/operations/backupSchedules.js +32 -39
  133. package/dist/react-native/operations/backupSchedules.js.map +1 -1
  134. package/dist/react-native/operations/backups.js +56 -58
  135. package/dist/react-native/operations/backups.js.map +1 -1
  136. package/dist/react-native/operations/bandwidthSettings.js +32 -39
  137. package/dist/react-native/operations/bandwidthSettings.js.map +1 -1
  138. package/dist/react-native/operations/cloudAppliances.js +21 -33
  139. package/dist/react-native/operations/cloudAppliances.js.map +1 -1
  140. package/dist/react-native/operations/deviceSettings.js +56 -30
  141. package/dist/react-native/operations/deviceSettings.js.map +1 -1
  142. package/dist/react-native/operations/devices.js +112 -167
  143. package/dist/react-native/operations/devices.js.map +1 -1
  144. package/dist/react-native/operations/hardwareComponentGroups.js +21 -33
  145. package/dist/react-native/operations/hardwareComponentGroups.js.map +1 -1
  146. package/dist/react-native/operations/jobs.js +56 -85
  147. package/dist/react-native/operations/jobs.js.map +1 -1
  148. package/dist/react-native/operations/managers.js +51 -136
  149. package/dist/react-native/operations/managers.js.map +1 -1
  150. package/dist/react-native/operations/operations.js +23 -40
  151. package/dist/react-native/operations/operations.js.map +1 -1
  152. package/dist/react-native/operations/storageAccountCredentials.js +32 -39
  153. package/dist/react-native/operations/storageAccountCredentials.js.map +1 -1
  154. package/dist/react-native/operations/volumeContainers.js +50 -91
  155. package/dist/react-native/operations/volumeContainers.js.map +1 -1
  156. package/dist/react-native/operations/volumes.js +59 -117
  157. package/dist/react-native/operations/volumes.js.map +1 -1
  158. package/dist/react-native/pagingHelper.js +2 -4
  159. package/dist/react-native/pagingHelper.js.map +1 -1
  160. package/dist/react-native/storSimple8000SeriesManagementClient.js +29 -5
  161. package/dist/react-native/storSimple8000SeriesManagementClient.js.map +1 -1
  162. package/package.json +2 -2
  163. package/review/arm-storsimple8000series-node.api.md +1923 -1923
@@ -1 +1 @@
1
- {"version":3,"file":"storSimple8000SeriesManagementClient.js","sourceRoot":"","sources":["../../src/storSimple8000SeriesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,wBAAwB,EACxB,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,WA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C,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAkBF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagersImpl,\n AccessControlRecordsImpl,\n AlertsImpl,\n BandwidthSettingsImpl,\n CloudAppliancesImpl,\n DevicesImpl,\n DeviceSettingsImpl,\n BackupPoliciesImpl,\n BackupSchedulesImpl,\n BackupsImpl,\n HardwareComponentGroupsImpl,\n JobsImpl,\n VolumeContainersImpl,\n VolumesImpl,\n StorageAccountCredentialsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Managers,\n AccessControlRecords,\n Alerts,\n BandwidthSettings,\n CloudAppliances,\n Devices,\n DeviceSettings,\n BackupPolicies,\n BackupSchedules,\n Backups,\n HardwareComponentGroups,\n Jobs,\n VolumeContainers,\n Volumes,\n StorageAccountCredentials\n} from \"./operationsInterfaces/index.js\";\nimport { StorSimple8000SeriesManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class StorSimple8000SeriesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorSimple8000SeriesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription id\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorSimple8000SeriesManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorSimple8000SeriesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-storsimple8000series/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2017-06-01\";\n this.operations = new OperationsImpl(this);\n this.managers = new ManagersImpl(this);\n this.accessControlRecords = new AccessControlRecordsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.bandwidthSettings = new BandwidthSettingsImpl(this);\n this.cloudAppliances = new CloudAppliancesImpl(this);\n this.devices = new DevicesImpl(this);\n this.deviceSettings = new DeviceSettingsImpl(this);\n this.backupPolicies = new BackupPoliciesImpl(this);\n this.backupSchedules = new BackupSchedulesImpl(this);\n this.backups = new BackupsImpl(this);\n this.hardwareComponentGroups = new HardwareComponentGroupsImpl(this);\n this.jobs = new JobsImpl(this);\n this.volumeContainers = new VolumeContainersImpl(this);\n this.volumes = new VolumesImpl(this);\n this.storageAccountCredentials = new StorageAccountCredentialsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managers: Managers;\n accessControlRecords: AccessControlRecords;\n alerts: Alerts;\n bandwidthSettings: BandwidthSettings;\n cloudAppliances: CloudAppliances;\n devices: Devices;\n deviceSettings: DeviceSettings;\n backupPolicies: BackupPolicies;\n backupSchedules: BackupSchedules;\n backups: Backups;\n hardwareComponentGroups: HardwareComponentGroups;\n jobs: Jobs;\n volumeContainers: VolumeContainers;\n volumes: Volumes;\n storageAccountCredentials: StorageAccountCredentials;\n}\n"]}
1
+ {"version":3,"file":"storSimple8000SeriesManagementClient.js","sourceRoot":"","sources":["../../src/storSimple8000SeriesManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,YAAY,EACZ,wBAAwB,EACxB,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,2BAA2B,EAC3B,QAAQ,EACR,oBAAoB,EACpB,WAAW,EACX,6BAA6B,EAC9B,MAAM,uBAAuB,CAAC;AAqB/B,MAAM,OAAO,oCAAqC,SAAQ,UAAU,CAAC,aAAa;IAChF,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA4D;QAE5D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM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AAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,UAAU,CAAa;IACvB,QAAQ,CAAW;IACnB,oBAAoB,CAAuB;IAC3C,MAAM,CAAS;IACf,iBAAiB,CAAoB;IACrC,eAAe,CAAkB;IACjC,OAAO,CAAU;IACjB,cAAc,CAAiB;IAC/B,cAAc,CAAiB;IAC/B,eAAe,CAAkB;IACjC,OAAO,CAAU;IACjB,uBAAuB,CAA0B;IACjD,IAAI,CAAO;IACX,gBAAgB,CAAmB;IACnC,OAAO,CAAU;IACjB,yBAAyB,CAA4B;CACtD","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n ManagersImpl,\n AccessControlRecordsImpl,\n AlertsImpl,\n BandwidthSettingsImpl,\n CloudAppliancesImpl,\n DevicesImpl,\n DeviceSettingsImpl,\n BackupPoliciesImpl,\n BackupSchedulesImpl,\n BackupsImpl,\n HardwareComponentGroupsImpl,\n JobsImpl,\n VolumeContainersImpl,\n VolumesImpl,\n StorageAccountCredentialsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Managers,\n AccessControlRecords,\n Alerts,\n BandwidthSettings,\n CloudAppliances,\n Devices,\n DeviceSettings,\n BackupPolicies,\n BackupSchedules,\n Backups,\n HardwareComponentGroups,\n Jobs,\n VolumeContainers,\n Volumes,\n StorageAccountCredentials\n} from \"./operationsInterfaces/index.js\";\nimport { StorSimple8000SeriesManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class StorSimple8000SeriesManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the StorSimple8000SeriesManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The subscription id\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: StorSimple8000SeriesManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: StorSimple8000SeriesManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-storsimple8000series/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2017-06-01\";\n this.operations = new OperationsImpl(this);\n this.managers = new ManagersImpl(this);\n this.accessControlRecords = new AccessControlRecordsImpl(this);\n this.alerts = new AlertsImpl(this);\n this.bandwidthSettings = new BandwidthSettingsImpl(this);\n this.cloudAppliances = new CloudAppliancesImpl(this);\n this.devices = new DevicesImpl(this);\n this.deviceSettings = new DeviceSettingsImpl(this);\n this.backupPolicies = new BackupPoliciesImpl(this);\n this.backupSchedules = new BackupSchedulesImpl(this);\n this.backups = new BackupsImpl(this);\n this.hardwareComponentGroups = new HardwareComponentGroupsImpl(this);\n this.jobs = new JobsImpl(this);\n this.volumeContainers = new VolumeContainersImpl(this);\n this.volumes = new VolumesImpl(this);\n this.storageAccountCredentials = new StorageAccountCredentialsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n managers: Managers;\n accessControlRecords: AccessControlRecords;\n alerts: Alerts;\n bandwidthSettings: BandwidthSettings;\n cloudAppliances: CloudAppliances;\n devices: Devices;\n deviceSettings: DeviceSettings;\n backupPolicies: BackupPolicies;\n backupSchedules: BackupSchedules;\n backups: Backups;\n hardwareComponentGroups: HardwareComponentGroups;\n jobs: Jobs;\n volumeContainers: VolumeContainers;\n volumes: Volumes;\n storageAccountCredentials: StorageAccountCredentials;\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for StorSimple8000SeriesManagementClient.",
6
- "version": "2.1.1-alpha.20250717.1",
6
+ "version": "2.1.1-alpha.20250718.2",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "type": "module",
95
95
  "tshy": {
96
- "project": "./tsconfig.src.json",
96
+ "project": "../../../tsconfig.src.build.json",
97
97
  "exports": {
98
98
  "./package.json": "./package.json",
99
99
  ".": "./src/index.ts"