@azure/arm-storagediscovery 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.
Files changed (146) hide show
  1. package/dist/browser/api/operations/operations.d.ts +5 -5
  2. package/dist/browser/api/operations/operations.js +10 -5
  3. package/dist/browser/api/operations/operations.js.map +1 -1
  4. package/dist/browser/api/operations/options.d.ts +1 -1
  5. package/dist/browser/api/operations/options.js.map +1 -1
  6. package/dist/browser/api/storageDiscoveryContext.d.ts +5 -2
  7. package/dist/browser/api/storageDiscoveryContext.js +18 -11
  8. package/dist/browser/api/storageDiscoveryContext.js.map +1 -1
  9. package/dist/browser/api/storageDiscoveryWorkspaces/operations.d.ts +5 -5
  10. package/dist/browser/api/storageDiscoveryWorkspaces/operations.js +48 -20
  11. package/dist/browser/api/storageDiscoveryWorkspaces/operations.js.map +1 -1
  12. package/dist/browser/api/storageDiscoveryWorkspaces/options.d.ts +1 -1
  13. package/dist/browser/api/storageDiscoveryWorkspaces/options.js.map +1 -1
  14. package/dist/browser/classic/operations/index.d.ts +4 -4
  15. package/dist/browser/classic/operations/index.js +3 -1
  16. package/dist/browser/classic/operations/index.js.map +1 -1
  17. package/dist/browser/classic/storageDiscoveryWorkspaces/index.d.ts +4 -4
  18. package/dist/browser/classic/storageDiscoveryWorkspaces/index.js +3 -1
  19. package/dist/browser/classic/storageDiscoveryWorkspaces/index.js.map +1 -1
  20. package/dist/browser/index.d.ts +2 -0
  21. package/dist/browser/index.js +2 -0
  22. package/dist/browser/index.js.map +1 -1
  23. package/dist/browser/models/models.d.ts +3 -2
  24. package/dist/browser/models/models.js +2 -1
  25. package/dist/browser/models/models.js.map +1 -1
  26. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  27. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  28. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  29. package/dist/browser/static-helpers/pagingHelpers.d.ts +1 -1
  30. package/dist/browser/static-helpers/pagingHelpers.js +31 -50
  31. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  32. package/dist/browser/static-helpers/urlTemplate.js +24 -8
  33. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  34. package/dist/browser/storageDiscoveryClient.d.ts +5 -5
  35. package/dist/browser/storageDiscoveryClient.js +14 -5
  36. package/dist/browser/storageDiscoveryClient.js.map +1 -1
  37. package/dist/commonjs/api/operations/operations.d.ts +5 -5
  38. package/dist/commonjs/api/operations/operations.js +8 -3
  39. package/dist/commonjs/api/operations/operations.js.map +1 -1
  40. package/dist/commonjs/api/operations/options.d.ts +1 -1
  41. package/dist/commonjs/api/operations/options.js.map +1 -1
  42. package/dist/commonjs/api/storageDiscoveryContext.d.ts +5 -2
  43. package/dist/commonjs/api/storageDiscoveryContext.js +18 -11
  44. package/dist/commonjs/api/storageDiscoveryContext.js.map +1 -1
  45. package/dist/commonjs/api/storageDiscoveryWorkspaces/operations.d.ts +5 -5
  46. package/dist/commonjs/api/storageDiscoveryWorkspaces/operations.js +46 -18
  47. package/dist/commonjs/api/storageDiscoveryWorkspaces/operations.js.map +1 -1
  48. package/dist/commonjs/api/storageDiscoveryWorkspaces/options.d.ts +1 -1
  49. package/dist/commonjs/api/storageDiscoveryWorkspaces/options.js.map +1 -1
  50. package/dist/commonjs/classic/operations/index.d.ts +4 -4
  51. package/dist/commonjs/classic/operations/index.js +3 -1
  52. package/dist/commonjs/classic/operations/index.js.map +1 -1
  53. package/dist/commonjs/classic/storageDiscoveryWorkspaces/index.d.ts +4 -4
  54. package/dist/commonjs/classic/storageDiscoveryWorkspaces/index.js +3 -1
  55. package/dist/commonjs/classic/storageDiscoveryWorkspaces/index.js.map +1 -1
  56. package/dist/commonjs/index.d.ts +2 -0
  57. package/dist/commonjs/index.js +3 -1
  58. package/dist/commonjs/index.js.map +1 -1
  59. package/dist/commonjs/models/models.d.ts +3 -2
  60. package/dist/commonjs/models/models.js +2 -1
  61. package/dist/commonjs/models/models.js.map +1 -1
  62. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  63. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +42 -0
  64. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -0
  65. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +1 -1
  66. package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
  67. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  68. package/dist/commonjs/static-helpers/urlTemplate.js +24 -8
  69. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  70. package/dist/commonjs/storageDiscoveryClient.d.ts +5 -5
  71. package/dist/commonjs/storageDiscoveryClient.js +12 -3
  72. package/dist/commonjs/storageDiscoveryClient.js.map +1 -1
  73. package/dist/commonjs/tsdoc-metadata.json +1 -1
  74. package/dist/esm/api/operations/operations.d.ts +5 -5
  75. package/dist/esm/api/operations/operations.js +10 -5
  76. package/dist/esm/api/operations/operations.js.map +1 -1
  77. package/dist/esm/api/operations/options.d.ts +1 -1
  78. package/dist/esm/api/operations/options.js.map +1 -1
  79. package/dist/esm/api/storageDiscoveryContext.d.ts +5 -2
  80. package/dist/esm/api/storageDiscoveryContext.js +18 -11
  81. package/dist/esm/api/storageDiscoveryContext.js.map +1 -1
  82. package/dist/esm/api/storageDiscoveryWorkspaces/operations.d.ts +5 -5
  83. package/dist/esm/api/storageDiscoveryWorkspaces/operations.js +48 -20
  84. package/dist/esm/api/storageDiscoveryWorkspaces/operations.js.map +1 -1
  85. package/dist/esm/api/storageDiscoveryWorkspaces/options.d.ts +1 -1
  86. package/dist/esm/api/storageDiscoveryWorkspaces/options.js.map +1 -1
  87. package/dist/esm/classic/operations/index.d.ts +4 -4
  88. package/dist/esm/classic/operations/index.js +3 -1
  89. package/dist/esm/classic/operations/index.js.map +1 -1
  90. package/dist/esm/classic/storageDiscoveryWorkspaces/index.d.ts +4 -4
  91. package/dist/esm/classic/storageDiscoveryWorkspaces/index.js +3 -1
  92. package/dist/esm/classic/storageDiscoveryWorkspaces/index.js.map +1 -1
  93. package/dist/esm/index.d.ts +2 -0
  94. package/dist/esm/index.js +2 -0
  95. package/dist/esm/index.js.map +1 -1
  96. package/dist/esm/models/models.d.ts +3 -2
  97. package/dist/esm/models/models.js +2 -1
  98. package/dist/esm/models/models.js.map +1 -1
  99. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  100. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  101. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  102. package/dist/esm/static-helpers/pagingHelpers.d.ts +1 -1
  103. package/dist/esm/static-helpers/pagingHelpers.js +31 -50
  104. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  105. package/dist/esm/static-helpers/urlTemplate.js +24 -8
  106. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  107. package/dist/esm/storageDiscoveryClient.d.ts +5 -5
  108. package/dist/esm/storageDiscoveryClient.js +14 -5
  109. package/dist/esm/storageDiscoveryClient.js.map +1 -1
  110. package/dist/react-native/api/operations/operations.d.ts +5 -5
  111. package/dist/react-native/api/operations/operations.js +10 -5
  112. package/dist/react-native/api/operations/operations.js.map +1 -1
  113. package/dist/react-native/api/operations/options.d.ts +1 -1
  114. package/dist/react-native/api/operations/options.js.map +1 -1
  115. package/dist/react-native/api/storageDiscoveryContext.d.ts +5 -2
  116. package/dist/react-native/api/storageDiscoveryContext.js +18 -11
  117. package/dist/react-native/api/storageDiscoveryContext.js.map +1 -1
  118. package/dist/react-native/api/storageDiscoveryWorkspaces/operations.d.ts +5 -5
  119. package/dist/react-native/api/storageDiscoveryWorkspaces/operations.js +48 -20
  120. package/dist/react-native/api/storageDiscoveryWorkspaces/operations.js.map +1 -1
  121. package/dist/react-native/api/storageDiscoveryWorkspaces/options.d.ts +1 -1
  122. package/dist/react-native/api/storageDiscoveryWorkspaces/options.js.map +1 -1
  123. package/dist/react-native/classic/operations/index.d.ts +4 -4
  124. package/dist/react-native/classic/operations/index.js +3 -1
  125. package/dist/react-native/classic/operations/index.js.map +1 -1
  126. package/dist/react-native/classic/storageDiscoveryWorkspaces/index.d.ts +4 -4
  127. package/dist/react-native/classic/storageDiscoveryWorkspaces/index.js +3 -1
  128. package/dist/react-native/classic/storageDiscoveryWorkspaces/index.js.map +1 -1
  129. package/dist/react-native/index.d.ts +2 -0
  130. package/dist/react-native/index.js +2 -0
  131. package/dist/react-native/index.js.map +1 -1
  132. package/dist/react-native/models/models.d.ts +3 -2
  133. package/dist/react-native/models/models.js +2 -1
  134. package/dist/react-native/models/models.js.map +1 -1
  135. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  136. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  137. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  138. package/dist/react-native/static-helpers/pagingHelpers.d.ts +1 -1
  139. package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
  140. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  141. package/dist/react-native/static-helpers/urlTemplate.js +24 -8
  142. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  143. package/dist/react-native/storageDiscoveryClient.d.ts +5 -5
  144. package/dist/react-native/storageDiscoveryClient.js +14 -5
  145. package/dist/react-native/storageDiscoveryClient.js.map +1 -1
  146. package/package.json +6 -6
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/storageDiscoveryWorkspaces/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,mCAAmC,EACnC,qCAAqC,EACrC,yBAAyB,EAEzB,yCAAyC,EAEzC,gDAAgD,GACjD,MAAM,wBAAwB,CAAC;AAShC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OA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;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,sCAAsC;AACtC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StorageDiscoveryContext as Client } from \"../index.js\";\nimport {\n StorageDiscoveryWorkspace,\n storageDiscoveryWorkspaceSerializer,\n storageDiscoveryWorkspaceDeserializer,\n errorResponseDeserializer,\n StorageDiscoveryWorkspaceUpdate,\n storageDiscoveryWorkspaceUpdateSerializer,\n _StorageDiscoveryWorkspaceListResult,\n _storageDiscoveryWorkspaceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StorageDiscoveryWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _storageDiscoveryWorkspaceListResultDeserializer(result.body);\n}\n\n/** List StorageDiscoveryWorkspace resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StorageDiscoveryWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StorageDiscoveryWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _storageDiscoveryWorkspaceListResultDeserializer(result.body);\n}\n\n/** List StorageDiscoveryWorkspace resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StorageDiscoveryWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a StorageDiscoveryWorkspace */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options: StorageDiscoveryWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: storageDiscoveryWorkspaceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Update a StorageDiscoveryWorkspace */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options: StorageDiscoveryWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: storageDiscoveryWorkspaceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Create a StorageDiscoveryWorkspace */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n resource,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Get a StorageDiscoveryWorkspace */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesGetOptionalParams = { requestOptions: {} },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _getSend(context, resourceGroupName, storageDiscoveryWorkspaceName, options);\n return _getDeserialize(result);\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/storageDiscoveryWorkspaces/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EACL,mCAAmC,EACnC,qCAAqC,EACrC,yBAAyB,EACzB,yCAAyC,EACzC,gDAAgD,GACjD,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAUxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,uBAAuB,CACrC,OAAe,EACf,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,IAAI,GAAG,iBAAiB,CAC5B,iHAAiH,EACjH;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC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AAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,kBAAkB;YAC1B,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO;SACnC;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,qCAAqC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5D,CAAC;AAED,sCAAsC;AACtC,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { StorageDiscoveryContext as Client } from \"../index.js\";\nimport type {\n StorageDiscoveryWorkspace,\n StorageDiscoveryWorkspaceUpdate,\n _StorageDiscoveryWorkspaceListResult,\n} from \"../../models/models.js\";\nimport {\n storageDiscoveryWorkspaceSerializer,\n storageDiscoveryWorkspaceDeserializer,\n errorResponseDeserializer,\n storageDiscoveryWorkspaceUpdateSerializer,\n _storageDiscoveryWorkspaceListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StorageDiscoveryWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _storageDiscoveryWorkspaceListResultDeserializer(result.body);\n}\n\n/** List StorageDiscoveryWorkspace resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StorageDiscoveryWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StorageDiscoveryWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _storageDiscoveryWorkspaceListResultDeserializer(result.body);\n}\n\n/** List StorageDiscoveryWorkspace resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StorageDiscoveryWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Delete a StorageDiscoveryWorkspace */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options: StorageDiscoveryWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: storageDiscoveryWorkspaceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Update a StorageDiscoveryWorkspace */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options: StorageDiscoveryWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: storageDiscoveryWorkspaceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Create a StorageDiscoveryWorkspace */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n storageDiscoveryWorkspaceName,\n resource,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n storageDiscoveryWorkspaceName: storageDiscoveryWorkspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StorageDiscoveryWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return storageDiscoveryWorkspaceDeserializer(result.body);\n}\n\n/** Get a StorageDiscoveryWorkspace */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options: StorageDiscoveryWorkspacesGetOptionalParams = { requestOptions: {} },\n): Promise<StorageDiscoveryWorkspace> {\n const result = await _getSend(context, resourceGroupName, storageDiscoveryWorkspaceName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { OperationOptions } from "@azure-rest/core-client";
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
2
  /** Optional parameters. */
3
3
  export interface StorageDiscoveryWorkspacesListBySubscriptionOptionalParams extends OperationOptions {
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/storageDiscoveryWorkspaces/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesListBySubscriptionOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesListByResourceGroupOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesGetOptionalParams extends OperationOptions {}\n"]}
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/storageDiscoveryWorkspaces/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesListBySubscriptionOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesListByResourceGroupOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StorageDiscoveryWorkspacesGetOptionalParams extends OperationOptions {}\n"]}
@@ -1,7 +1,7 @@
1
- import { StorageDiscoveryContext } from "../../api/storageDiscoveryContext.js";
2
- import { Operation } from "../../models/models.js";
3
- import { OperationsListOptionalParams } from "../../api/operations/options.js";
4
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
1
+ import type { StorageDiscoveryContext } from "../../api/storageDiscoveryContext.js";
2
+ import type { OperationsListOptionalParams } from "../../api/operations/options.js";
3
+ import type { Operation } from "../../models/models.js";
4
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  /** Interface representing a Operations operations. */
6
6
  export interface OperationsOperations {
7
7
  /** List the operations for the provider */
@@ -7,6 +7,8 @@ function _getOperations(context) {
7
7
  };
8
8
  }
9
9
  export function _getOperationsOperations(context) {
10
- return Object.assign({}, _getOperations(context));
10
+ return {
11
+ ..._getOperations(context),
12
+ };
11
13
  }
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAKlC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAS1D,SAAS,cAAc,CAAC,OAAgC;IACtD,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;KACzE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgC;IACvE,yBACK,cAAc,CAAC,OAAO,CAAC,EAC1B;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StorageDiscoveryContext } from \"../../api/storageDiscoveryContext.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"../../api/operations/options.js\";\nimport { list } from \"../../api/operations/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nfunction _getOperations(context: StorageDiscoveryContext) {\n return {\n list: (options?: OperationsListOptionalParams) => list(context, options),\n };\n}\n\nexport function _getOperationsOperations(context: StorageDiscoveryContext): OperationsOperations {\n return {\n ..._getOperations(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAW1D,SAAS,cAAc,CAAC,OAAgC;IACtD,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;KACzE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,OAAgC;IACvE,OAAO;QACL,GAAG,cAAc,CAAC,OAAO,CAAC;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { StorageDiscoveryContext } from \"../../api/storageDiscoveryContext.js\";\nimport { list } from \"../../api/operations/operations.js\";\nimport type { OperationsListOptionalParams } from \"../../api/operations/options.js\";\nimport type { Operation } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nfunction _getOperations(context: StorageDiscoveryContext) {\n return {\n list: (options?: OperationsListOptionalParams) => list(context, options),\n };\n}\n\nexport function _getOperationsOperations(context: StorageDiscoveryContext): OperationsOperations {\n return {\n ..._getOperations(context),\n };\n}\n"]}
@@ -1,7 +1,7 @@
1
- import { StorageDiscoveryContext } from "../../api/storageDiscoveryContext.js";
2
- import { StorageDiscoveryWorkspace, StorageDiscoveryWorkspaceUpdate } from "../../models/models.js";
3
- import { StorageDiscoveryWorkspacesListBySubscriptionOptionalParams, StorageDiscoveryWorkspacesListByResourceGroupOptionalParams, StorageDiscoveryWorkspacesDeleteOptionalParams, StorageDiscoveryWorkspacesUpdateOptionalParams, StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams, StorageDiscoveryWorkspacesGetOptionalParams } from "../../api/storageDiscoveryWorkspaces/options.js";
4
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
1
+ import type { StorageDiscoveryContext } from "../../api/storageDiscoveryContext.js";
2
+ import type { StorageDiscoveryWorkspacesListBySubscriptionOptionalParams, StorageDiscoveryWorkspacesListByResourceGroupOptionalParams, StorageDiscoveryWorkspacesDeleteOptionalParams, StorageDiscoveryWorkspacesUpdateOptionalParams, StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams, StorageDiscoveryWorkspacesGetOptionalParams } from "../../api/storageDiscoveryWorkspaces/options.js";
3
+ import type { StorageDiscoveryWorkspace, StorageDiscoveryWorkspaceUpdate } from "../../models/models.js";
4
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  /** Interface representing a StorageDiscoveryWorkspaces operations. */
6
6
  export interface StorageDiscoveryWorkspacesOperations {
7
7
  /** List StorageDiscoveryWorkspace resources by subscription ID */
@@ -12,6 +12,8 @@ function _getStorageDiscoveryWorkspaces(context) {
12
12
  };
13
13
  }
14
14
  export function _getStorageDiscoveryWorkspacesOperations(context) {
15
- return Object.assign({}, _getStorageDiscoveryWorkspaces(context));
15
+ return {
16
+ ..._getStorageDiscoveryWorkspaces(context),
17
+ };
16
18
  }
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/storageDiscoveryWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,oDAAoD,CAAC;AA+C5D,SAAS,8BAA8B,CAAC,OAAgC;IACtE,OAAO;QACL,kBAAkB,EAAE,CAAC,OAAoE,EAAE,EAAE,CAC3F,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC;QACtC,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAqE,EACrE,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC7D,MAAM,EAAE,CACN,iBAAyB,EACzB,6BAAqC,EACrC,OAAwD,EACxD,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC;QAChF,MAAM,EAAE,CACN,iBAAyB,EACzB,6BAAqC,EACrC,UAA2C,EAC3C,OAAwD,EACxD,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,UAAU,EAAE,OAAO,CAAC;QAC3F,cAAc,EAAE,CACd,iBAAyB,EACzB,6BAAqC,EACrC,QAAmC,EACnC,OAAgE,EAChE,EAAE,CACF,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC9F,GAAG,EAAE,CACH,iBAAyB,EACzB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC;KAC7E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,OAAgC;IAEhC,yBACK,8BAA8B,CAAC,OAAO,CAAC,EAC1C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StorageDiscoveryContext } from \"../../api/storageDiscoveryContext.js\";\nimport { StorageDiscoveryWorkspace, StorageDiscoveryWorkspaceUpdate } from \"../../models/models.js\";\nimport {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"../../api/storageDiscoveryWorkspaces/options.js\";\nimport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/storageDiscoveryWorkspaces/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a StorageDiscoveryWorkspaces operations. */\nexport interface StorageDiscoveryWorkspacesOperations {\n /** List StorageDiscoveryWorkspace resources by subscription ID */\n listBySubscription: (\n options?: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<StorageDiscoveryWorkspace>;\n /** List StorageDiscoveryWorkspace resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<StorageDiscoveryWorkspace>;\n /** Delete a StorageDiscoveryWorkspace */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesDeleteOptionalParams,\n ) => Promise<void>;\n /** Update a StorageDiscoveryWorkspace */\n update: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options?: StorageDiscoveryWorkspacesUpdateOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n /** Create a StorageDiscoveryWorkspace */\n createOrUpdate: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options?: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n /** Get a StorageDiscoveryWorkspace */\n get: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesGetOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n}\n\nfunction _getStorageDiscoveryWorkspaces(context: StorageDiscoveryContext) {\n return {\n listBySubscription: (options?: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams) =>\n listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, storageDiscoveryWorkspaceName, options),\n update: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options?: StorageDiscoveryWorkspacesUpdateOptionalParams,\n ) => update(context, resourceGroupName, storageDiscoveryWorkspaceName, properties, options),\n createOrUpdate: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options?: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n ) =>\n createOrUpdate(context, resourceGroupName, storageDiscoveryWorkspaceName, resource, options),\n get: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesGetOptionalParams,\n ) => get(context, resourceGroupName, storageDiscoveryWorkspaceName, options),\n };\n}\n\nexport function _getStorageDiscoveryWorkspacesOperations(\n context: StorageDiscoveryContext,\n): StorageDiscoveryWorkspacesOperations {\n return {\n ..._getStorageDiscoveryWorkspaces(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/storageDiscoveryWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,oDAAoD,CAAC;AA2D5D,SAAS,8BAA8B,CAAC,OAAgC;IACtE,OAAO;QACL,kBAAkB,EAAE,CAAC,OAAoE,EAAE,EAAE,CAC3F,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC;QACtC,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAAqE,EACrE,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC7D,MAAM,EAAE,CACN,iBAAyB,EACzB,6BAAqC,EACrC,OAAwD,EACxD,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC;QAChF,MAAM,EAAE,CACN,iBAAyB,EACzB,6BAAqC,EACrC,UAA2C,EAC3C,OAAwD,EACxD,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,UAAU,EAAE,OAAO,CAAC;QAC3F,cAAc,EAAE,CACd,iBAAyB,EACzB,6BAAqC,EACrC,QAAmC,EACnC,OAAgE,EAChE,EAAE,CACF,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC9F,GAAG,EAAE,CACH,iBAAyB,EACzB,6BAAqC,EACrC,OAAqD,EACrD,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC;KAC7E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,OAAgC;IAEhC,OAAO;QACL,GAAG,8BAA8B,CAAC,OAAO,CAAC;KAC3C,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { StorageDiscoveryContext } from \"../../api/storageDiscoveryContext.js\";\nimport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/storageDiscoveryWorkspaces/operations.js\";\nimport type {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"../../api/storageDiscoveryWorkspaces/options.js\";\nimport type {\n StorageDiscoveryWorkspace,\n StorageDiscoveryWorkspaceUpdate,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a StorageDiscoveryWorkspaces operations. */\nexport interface StorageDiscoveryWorkspacesOperations {\n /** List StorageDiscoveryWorkspace resources by subscription ID */\n listBySubscription: (\n options?: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<StorageDiscoveryWorkspace>;\n /** List StorageDiscoveryWorkspace resources by resource group */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<StorageDiscoveryWorkspace>;\n /** Delete a StorageDiscoveryWorkspace */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesDeleteOptionalParams,\n ) => Promise<void>;\n /** Update a StorageDiscoveryWorkspace */\n update: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options?: StorageDiscoveryWorkspacesUpdateOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n /** Create a StorageDiscoveryWorkspace */\n createOrUpdate: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options?: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n /** Get a StorageDiscoveryWorkspace */\n get: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesGetOptionalParams,\n ) => Promise<StorageDiscoveryWorkspace>;\n}\n\nfunction _getStorageDiscoveryWorkspaces(context: StorageDiscoveryContext) {\n return {\n listBySubscription: (options?: StorageDiscoveryWorkspacesListBySubscriptionOptionalParams) =>\n listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, storageDiscoveryWorkspaceName, options),\n update: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n properties: StorageDiscoveryWorkspaceUpdate,\n options?: StorageDiscoveryWorkspacesUpdateOptionalParams,\n ) => update(context, resourceGroupName, storageDiscoveryWorkspaceName, properties, options),\n createOrUpdate: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n resource: StorageDiscoveryWorkspace,\n options?: StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n ) =>\n createOrUpdate(context, resourceGroupName, storageDiscoveryWorkspaceName, resource, options),\n get: (\n resourceGroupName: string,\n storageDiscoveryWorkspaceName: string,\n options?: StorageDiscoveryWorkspacesGetOptionalParams,\n ) => get(context, resourceGroupName, storageDiscoveryWorkspaceName, options),\n };\n}\n\nexport function _getStorageDiscoveryWorkspacesOperations(\n context: StorageDiscoveryContext,\n): StorageDiscoveryWorkspacesOperations {\n return {\n ..._getStorageDiscoveryWorkspaces(context),\n };\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import { AzureClouds, AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
1
2
  import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
2
3
  export { StorageDiscoveryClient } from "./storageDiscoveryClient.js";
3
4
  export { StorageDiscoveryWorkspace, StorageDiscoveryWorkspaceProperties, KnownStorageDiscoverySku, StorageDiscoverySku, StorageDiscoveryScope, KnownStorageDiscoveryResourceType, StorageDiscoveryResourceType, KnownResourceProvisioningState, ResourceProvisioningState, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, StorageDiscoveryWorkspaceUpdate, StorageDiscoveryWorkspacePropertiesUpdate, Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, KnownApiVersion, } from "./models/index.js";
@@ -6,4 +7,5 @@ export { OperationsListOptionalParams } from "./api/operations/index.js";
6
7
  export { StorageDiscoveryWorkspacesListBySubscriptionOptionalParams, StorageDiscoveryWorkspacesListByResourceGroupOptionalParams, StorageDiscoveryWorkspacesDeleteOptionalParams, StorageDiscoveryWorkspacesUpdateOptionalParams, StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams, StorageDiscoveryWorkspacesGetOptionalParams, } from "./api/storageDiscoveryWorkspaces/index.js";
7
8
  export { OperationsOperations, StorageDiscoveryWorkspacesOperations } from "./classic/index.js";
8
9
  export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
10
+ export { AzureClouds, AzureSupportedClouds };
9
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
+ import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
3
4
  export { StorageDiscoveryClient } from "./storageDiscoveryClient.js";
4
5
  export { KnownStorageDiscoverySku, KnownStorageDiscoveryResourceType, KnownResourceProvisioningState, KnownCreatedByType, KnownOrigin, KnownActionType, KnownApiVersion, } from "./models/index.js";
6
+ export { AzureClouds };
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAGL,wBAAwB,EAGxB,iCAAiC,EAEjC,8BAA8B,EAK9B,kBAAkB,EASlB,WAAW,EAEX,eAAe,EAEf,eAAe,GAChB,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { StorageDiscoveryClient } from \"./storageDiscoveryClient.js\";\nexport {\n StorageDiscoveryWorkspace,\n StorageDiscoveryWorkspaceProperties,\n KnownStorageDiscoverySku,\n StorageDiscoverySku,\n StorageDiscoveryScope,\n KnownStorageDiscoveryResourceType,\n StorageDiscoveryResourceType,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n StorageDiscoveryWorkspaceUpdate,\n StorageDiscoveryWorkspacePropertiesUpdate,\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n KnownApiVersion,\n} from \"./models/index.js\";\nexport { StorageDiscoveryClientOptionalParams } from \"./api/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"./api/storageDiscoveryWorkspaces/index.js\";\nexport { OperationsOperations, StorageDiscoveryWorkspacesOperations } from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,WAAW,EAAwB,MAAM,yCAAyC,CAAC;AAO5F,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAGL,wBAAwB,EAGxB,iCAAiC,EAEjC,8BAA8B,EAK9B,kBAAkB,EASlB,WAAW,EAEX,eAAe,EAEf,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAa3B,OAAO,EAAE,WAAW,EAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AzureClouds, AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { StorageDiscoveryClient } from \"./storageDiscoveryClient.js\";\nexport {\n StorageDiscoveryWorkspace,\n StorageDiscoveryWorkspaceProperties,\n KnownStorageDiscoverySku,\n StorageDiscoverySku,\n StorageDiscoveryScope,\n KnownStorageDiscoveryResourceType,\n StorageDiscoveryResourceType,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n StorageDiscoveryWorkspaceUpdate,\n StorageDiscoveryWorkspacePropertiesUpdate,\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n KnownApiVersion,\n} from \"./models/index.js\";\nexport { StorageDiscoveryClientOptionalParams } from \"./api/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n StorageDiscoveryWorkspacesListBySubscriptionOptionalParams,\n StorageDiscoveryWorkspacesListByResourceGroupOptionalParams,\n StorageDiscoveryWorkspacesDeleteOptionalParams,\n StorageDiscoveryWorkspacesUpdateOptionalParams,\n StorageDiscoveryWorkspacesCreateOrUpdateOptionalParams,\n StorageDiscoveryWorkspacesGetOptionalParams,\n} from \"./api/storageDiscoveryWorkspaces/index.js\";\nexport { OperationsOperations, StorageDiscoveryWorkspacesOperations } from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds, AzureSupportedClouds };\n"]}
@@ -134,7 +134,7 @@ export declare enum KnownCreatedByType {
134
134
  }
135
135
  /**
136
136
  * The kind of entity that created the resource. \
137
- * {@link KnownCreatedByType} can be used interchangeably with createdByType,
137
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
138
138
  * this enum contains the known values that the service supports.
139
139
  * ### Known values supported by the service
140
140
  * **User**: The entity was created by a user. \
@@ -272,6 +272,7 @@ export declare enum KnownActionType {
272
272
  export type ActionType = string;
273
273
  /** Known values of {@link ApiVersion} that the service accepts. */
274
274
  export declare enum KnownApiVersion {
275
- V20250601Preview = "2025-06-01-preview"
275
+ /** 2025-09-01 */
276
+ V20250901 = "2025-09-01"
276
277
  }
277
278
  //# sourceMappingURL=models.d.ts.map
@@ -274,6 +274,7 @@ export var KnownActionType;
274
274
  /** Known values of {@link ApiVersion} that the service accepts. */
275
275
  export var KnownApiVersion;
276
276
  (function (KnownApiVersion) {
277
- KnownApiVersion["V20250601Preview"] = "2025-06-01-preview";
277
+ /** 2025-09-01 */
278
+ KnownApiVersion["V20250901"] = "2025-09-01";
278
279
  })(KnownApiVersion || (KnownApiVersion = {}));
279
280
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,mCAAmC,CAAC,IAA+B;IACjF,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,UAAU,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;YAC7B,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;YACpB,CAAC,CAAC,6CAA6C,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACtE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS;IAC7D,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,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,Y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OtB;AAaD,gHAAgH;AAChH,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,0DAAuC,CAAA;AACzC,CAAC,EAFW,eAAe,KAAf,eAAe,QAE1B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A Storage Discovery Workspace resource. This resource configures the collection of storage account metrics. */\nexport interface StorageDiscoveryWorkspace extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: StorageDiscoveryWorkspaceProperties;\n}\n\nexport function storageDiscoveryWorkspaceSerializer(item: StorageDiscoveryWorkspace): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storageDiscoveryWorkspacePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function storageDiscoveryWorkspaceDeserializer(item: any): StorageDiscoveryWorkspace {\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 : storageDiscoveryWorkspacePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Storage Discovery Workspace Properties */\nexport interface StorageDiscoveryWorkspaceProperties {\n /** The storage discovery sku */\n sku?: StorageDiscoverySku;\n /** The description of the storage discovery workspace */\n description?: string;\n /** The view level storage discovery data estate */\n workspaceRoots: string[];\n /** The scopes of the storage discovery workspace. */\n scopes: StorageDiscoveryScope[];\n /** The status of the last operation. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function storageDiscoveryWorkspacePropertiesSerializer(\n item: StorageDiscoveryWorkspaceProperties,\n): any {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: storageDiscoveryScopeArraySerializer(item[\"scopes\"]),\n };\n}\n\nexport function storageDiscoveryWorkspacePropertiesDeserializer(\n item: any,\n): StorageDiscoveryWorkspaceProperties {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: storageDiscoveryScopeArrayDeserializer(item[\"scopes\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Storage Discovery Sku */\nexport enum KnownStorageDiscoverySku {\n /** Standard Sku */\n Standard = \"Standard\",\n /** Free Sku */\n Free = \"Free\",\n}\n\n/**\n * Storage Discovery Sku \\\n * {@link KnownStorageDiscoverySku} can be used interchangeably with StorageDiscoverySku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard**: Standard Sku \\\n * **Free**: Free Sku\n */\nexport type StorageDiscoverySku = string;\n\nexport function storageDiscoveryScopeArraySerializer(result: Array<StorageDiscoveryScope>): any[] {\n return result.map((item) => {\n return storageDiscoveryScopeSerializer(item);\n });\n}\n\nexport function storageDiscoveryScopeArrayDeserializer(\n result: Array<StorageDiscoveryScope>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryScopeDeserializer(item);\n });\n}\n\n/** Storage Discovery Scope. This had added validations */\nexport interface StorageDiscoveryScope {\n /** Display name of the collection */\n displayName: string;\n /** Resource types for the collection */\n resourceTypes: StorageDiscoveryResourceType[];\n /** The storage account tags keys to filter */\n tagKeysOnly?: string[];\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function storageDiscoveryScopeSerializer(item: StorageDiscoveryScope): any {\n return {\n displayName: item[\"displayName\"],\n resourceTypes: item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n tagKeysOnly: !item[\"tagKeysOnly\"]\n ? item[\"tagKeysOnly\"]\n : item[\"tagKeysOnly\"].map((p: any) => {\n return p;\n }),\n tags: item[\"tags\"],\n };\n}\n\nexport function storageDiscoveryScopeDeserializer(item: any): StorageDiscoveryScope {\n return {\n displayName: item[\"displayName\"],\n resourceTypes: item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n tagKeysOnly: !item[\"tagKeysOnly\"]\n ? item[\"tagKeysOnly\"]\n : item[\"tagKeysOnly\"].map((p: any) => {\n return p;\n }),\n tags: item[\"tags\"],\n };\n}\n\n/** Storage Discovery Resource Type */\nexport enum KnownStorageDiscoveryResourceType {\n /** Storage Account Resource Type */\n StorageAccounts = \"Microsoft.Storage/storageAccounts\",\n}\n\n/**\n * Storage Discovery Resource Type \\\n * {@link KnownStorageDiscoveryResourceType} can be used interchangeably with StorageDiscoveryResourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.Storage\\/storageAccounts**: Storage Account Resource Type\n */\nexport type StorageDiscoveryResourceType = 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 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/** 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/** The template for adding updateable properties. */\nexport interface StorageDiscoveryWorkspaceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: StorageDiscoveryWorkspacePropertiesUpdate;\n}\n\nexport function storageDiscoveryWorkspaceUpdateSerializer(\n item: StorageDiscoveryWorkspaceUpdate,\n): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storageDiscoveryWorkspacePropertiesUpdateSerializer(item[\"properties\"]),\n };\n}\n\n/** The template for adding updateable properties. */\nexport interface StorageDiscoveryWorkspacePropertiesUpdate {\n /** The storage discovery sku */\n sku?: StorageDiscoverySku;\n /** The description of the storage discovery workspace */\n description?: string;\n /** The view level storage discovery data estate */\n workspaceRoots?: string[];\n /** The scopes of the storage discovery workspace. */\n scopes?: StorageDiscoveryScope[];\n}\n\nexport function storageDiscoveryWorkspacePropertiesUpdateSerializer(\n item: StorageDiscoveryWorkspacePropertiesUpdate,\n): any {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: !item[\"workspaceRoots\"]\n ? item[\"workspaceRoots\"]\n : item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: !item[\"scopes\"] ? item[\"scopes\"] : storageDiscoveryScopeArraySerializer(item[\"scopes\"]),\n };\n}\n\n/** The response of a StorageDiscoveryWorkspace list operation. */\nexport interface _StorageDiscoveryWorkspaceListResult {\n /** The StorageDiscoveryWorkspace items on this page */\n value: StorageDiscoveryWorkspace[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _storageDiscoveryWorkspaceListResultDeserializer(\n item: any,\n): _StorageDiscoveryWorkspaceListResult {\n return {\n value: storageDiscoveryWorkspaceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function storageDiscoveryWorkspaceArraySerializer(\n result: Array<StorageDiscoveryWorkspace>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryWorkspaceSerializer(item);\n });\n}\n\nexport function storageDiscoveryWorkspaceArrayDeserializer(\n result: Array<StorageDiscoveryWorkspace>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryWorkspaceDeserializer(item);\n });\n}\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/** Known values of {@link ApiVersion} that the service accepts. */\nexport enum KnownApiVersion {\n V20250601Preview = \"2025-06-01-preview\",\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src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AAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3F,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,UAAU,EAAE,IAAI,CAAC,YAAY,CAAC;KAC/B,CAAC;AACJ,CAAC;AAcD,MAAM,UAAU,4BAA4B,CAAC,IAAS;IACpD,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;KACjC,CAAC;AACJ,CAAC;AAED,2IAA2I;AAC3I,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,sDAAsD;IACtD,4BAAa,CAAA;IACb,wDAAwD;IACxD,gCAAiB,CAAA;IACjB,gEAAgE;IAChE,yCAA0B,CAAA;AAC5B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,gHAAgH;AAChH,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,0CAA0C;IAC1C,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B;AAWD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,iBAAiB;IACjB,2CAAwB,CAAA;AAC1B,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** A Storage Discovery Workspace resource. This resource configures the collection of storage account metrics. */\nexport interface StorageDiscoveryWorkspace extends TrackedResource {\n /** The resource-specific properties for this resource. */\n properties?: StorageDiscoveryWorkspaceProperties;\n}\n\nexport function storageDiscoveryWorkspaceSerializer(item: StorageDiscoveryWorkspace): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storageDiscoveryWorkspacePropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function storageDiscoveryWorkspaceDeserializer(item: any): StorageDiscoveryWorkspace {\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 : storageDiscoveryWorkspacePropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** Storage Discovery Workspace Properties */\nexport interface StorageDiscoveryWorkspaceProperties {\n /** The storage discovery sku */\n sku?: StorageDiscoverySku;\n /** The description of the storage discovery workspace */\n description?: string;\n /** The view level storage discovery data estate */\n workspaceRoots: string[];\n /** The scopes of the storage discovery workspace. */\n scopes: StorageDiscoveryScope[];\n /** The status of the last operation. */\n readonly provisioningState?: ResourceProvisioningState;\n}\n\nexport function storageDiscoveryWorkspacePropertiesSerializer(\n item: StorageDiscoveryWorkspaceProperties,\n): any {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: storageDiscoveryScopeArraySerializer(item[\"scopes\"]),\n };\n}\n\nexport function storageDiscoveryWorkspacePropertiesDeserializer(\n item: any,\n): StorageDiscoveryWorkspaceProperties {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: storageDiscoveryScopeArrayDeserializer(item[\"scopes\"]),\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** Storage Discovery Sku */\nexport enum KnownStorageDiscoverySku {\n /** Standard Sku */\n Standard = \"Standard\",\n /** Free Sku */\n Free = \"Free\",\n}\n\n/**\n * Storage Discovery Sku \\\n * {@link KnownStorageDiscoverySku} can be used interchangeably with StorageDiscoverySku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard**: Standard Sku \\\n * **Free**: Free Sku\n */\nexport type StorageDiscoverySku = string;\n\nexport function storageDiscoveryScopeArraySerializer(result: Array<StorageDiscoveryScope>): any[] {\n return result.map((item) => {\n return storageDiscoveryScopeSerializer(item);\n });\n}\n\nexport function storageDiscoveryScopeArrayDeserializer(\n result: Array<StorageDiscoveryScope>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryScopeDeserializer(item);\n });\n}\n\n/** Storage Discovery Scope. This had added validations */\nexport interface StorageDiscoveryScope {\n /** Display name of the collection */\n displayName: string;\n /** Resource types for the collection */\n resourceTypes: StorageDiscoveryResourceType[];\n /** The storage account tags keys to filter */\n tagKeysOnly?: string[];\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function storageDiscoveryScopeSerializer(item: StorageDiscoveryScope): any {\n return {\n displayName: item[\"displayName\"],\n resourceTypes: item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n tagKeysOnly: !item[\"tagKeysOnly\"]\n ? item[\"tagKeysOnly\"]\n : item[\"tagKeysOnly\"].map((p: any) => {\n return p;\n }),\n tags: item[\"tags\"],\n };\n}\n\nexport function storageDiscoveryScopeDeserializer(item: any): StorageDiscoveryScope {\n return {\n displayName: item[\"displayName\"],\n resourceTypes: item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n tagKeysOnly: !item[\"tagKeysOnly\"]\n ? item[\"tagKeysOnly\"]\n : item[\"tagKeysOnly\"].map((p: any) => {\n return p;\n }),\n tags: item[\"tags\"],\n };\n}\n\n/** Storage Discovery Resource Type */\nexport enum KnownStorageDiscoveryResourceType {\n /** Storage Account Resource Type */\n StorageAccounts = \"Microsoft.Storage/storageAccounts\",\n}\n\n/**\n * Storage Discovery Resource Type \\\n * {@link KnownStorageDiscoveryResourceType} can be used interchangeably with StorageDiscoveryResourceType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Microsoft.Storage\\/storageAccounts**: Storage Account Resource Type\n */\nexport type StorageDiscoveryResourceType = 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 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/** 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/** The template for adding updateable properties. */\nexport interface StorageDiscoveryWorkspaceUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The resource-specific properties for this resource. */\n properties?: StorageDiscoveryWorkspacePropertiesUpdate;\n}\n\nexport function storageDiscoveryWorkspaceUpdateSerializer(\n item: StorageDiscoveryWorkspaceUpdate,\n): any {\n return {\n tags: item[\"tags\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : storageDiscoveryWorkspacePropertiesUpdateSerializer(item[\"properties\"]),\n };\n}\n\n/** The template for adding updateable properties. */\nexport interface StorageDiscoveryWorkspacePropertiesUpdate {\n /** The storage discovery sku */\n sku?: StorageDiscoverySku;\n /** The description of the storage discovery workspace */\n description?: string;\n /** The view level storage discovery data estate */\n workspaceRoots?: string[];\n /** The scopes of the storage discovery workspace. */\n scopes?: StorageDiscoveryScope[];\n}\n\nexport function storageDiscoveryWorkspacePropertiesUpdateSerializer(\n item: StorageDiscoveryWorkspacePropertiesUpdate,\n): any {\n return {\n sku: item[\"sku\"],\n description: item[\"description\"],\n workspaceRoots: !item[\"workspaceRoots\"]\n ? item[\"workspaceRoots\"]\n : item[\"workspaceRoots\"].map((p: any) => {\n return p;\n }),\n scopes: !item[\"scopes\"] ? item[\"scopes\"] : storageDiscoveryScopeArraySerializer(item[\"scopes\"]),\n };\n}\n\n/** The response of a StorageDiscoveryWorkspace list operation. */\nexport interface _StorageDiscoveryWorkspaceListResult {\n /** The StorageDiscoveryWorkspace items on this page */\n value: StorageDiscoveryWorkspace[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _storageDiscoveryWorkspaceListResultDeserializer(\n item: any,\n): _StorageDiscoveryWorkspaceListResult {\n return {\n value: storageDiscoveryWorkspaceArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function storageDiscoveryWorkspaceArraySerializer(\n result: Array<StorageDiscoveryWorkspace>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryWorkspaceSerializer(item);\n });\n}\n\nexport function storageDiscoveryWorkspaceArrayDeserializer(\n result: Array<StorageDiscoveryWorkspace>,\n): any[] {\n return result.map((item) => {\n return storageDiscoveryWorkspaceDeserializer(item);\n });\n}\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/** Known values of {@link ApiVersion} that the service accepts. */\nexport enum KnownApiVersion {\n /** 2025-09-01 */\n V20250901 = \"2025-09-01\",\n}\n"]}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * An enum to describe Azure Cloud environments.
3
+ * @enum {string}
4
+ */
5
+ export declare enum AzureClouds {
6
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
7
+ AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
8
+ /** Azure China cloud */
9
+ AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
10
+ /** Azure US government cloud */
11
+ AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
12
+ }
13
+ /** The supported values for cloud setting as a string literal type */
14
+ export type AzureSupportedClouds = `${AzureClouds}`;
15
+ /**
16
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
17
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
18
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
19
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
20
+ */
21
+ export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
22
+ //# sourceMappingURL=cloudSettingHelpers.d.ts.map
@@ -0,0 +1,38 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ /**
4
+ * An enum to describe Azure Cloud environments.
5
+ * @enum {string}
6
+ */
7
+ export var AzureClouds;
8
+ (function (AzureClouds) {
9
+ /** Azure public cloud, which is the default cloud for Azure SDKs. */
10
+ AzureClouds["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
11
+ /** Azure China cloud */
12
+ AzureClouds["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
13
+ /** Azure US government cloud */
14
+ AzureClouds["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
15
+ })(AzureClouds || (AzureClouds = {}));
16
+ /**
17
+ * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
18
+ * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
19
+ * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
20
+ * @throws {Error} Throws an error if an unknown cloud setting is provided.
21
+ */
22
+ export function getArmEndpoint(cloudSetting) {
23
+ if (cloudSetting === undefined) {
24
+ return undefined;
25
+ }
26
+ const cloudEndpoints = {
27
+ AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
28
+ AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
29
+ AZURE_PUBLIC_CLOUD: "https://management.azure.com/",
30
+ };
31
+ if (cloudSetting in cloudEndpoints) {
32
+ return cloudEndpoints[cloudSetting];
33
+ }
34
+ else {
35
+ throw new Error(`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`);
36
+ }
37
+ }
38
+ //# sourceMappingURL=cloudSettingHelpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudSettingHelpers.js","sourceRoot":"","sources":["../../../src/static-helpers/cloudSettingHelpers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;;GAGG;AACH,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,qEAAqE;IACrE,wDAAyC,CAAA;IACzC,wBAAwB;IACxB,sDAAuC,CAAA;IACvC,gCAAgC;IAChC,0DAA2C,CAAA;AAC7C,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAKD;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAAC,YAAmC;IAChE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;QAC/B,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,cAAc,GAA6C;QAC/D,iBAAiB,EAAE,sCAAsC;QACzD,mBAAmB,EAAE,uCAAuC;QAC5D,kBAAkB,EAAE,+BAA+B;KACpD,CAAC;IACF,IAAI,YAAY,IAAI,cAAc,EAAE,CAAC;QACnC,OAAO,cAAc,CAAC,YAAY,CAAC,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CACb,0BAA0B,YAAY,6DAA6D,CACpG,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
1
+ import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
2
2
  /**
3
3
  * Options for the byPage method
4
4
  */