@azure/arm-hybridcompute 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/api/extensionMetadata/operations.js +3 -3
- package/dist/browser/api/extensionMetadata/operations.js.map +1 -1
- package/dist/browser/api/extensionMetadata/options.js.map +1 -1
- package/dist/browser/api/extensionMetadataV2/operations.js +3 -3
- package/dist/browser/api/extensionMetadataV2/operations.js.map +1 -1
- package/dist/browser/api/extensionMetadataV2/options.js.map +1 -1
- package/dist/browser/api/extensionPublisher/operations.js +2 -2
- package/dist/browser/api/extensionPublisher/operations.js.map +1 -1
- package/dist/browser/api/extensionType/operations.js +2 -2
- package/dist/browser/api/extensionType/operations.js.map +1 -1
- package/dist/browser/api/gateways/operations.js +10 -10
- package/dist/browser/api/gateways/operations.js.map +1 -1
- package/dist/browser/api/gateways/options.js.map +1 -1
- package/dist/browser/api/hybridComputeManagementContext.js +6 -2
- package/dist/browser/api/hybridComputeManagementContext.js.map +1 -1
- package/dist/browser/api/licenseProfiles/operations.js +9 -9
- package/dist/browser/api/licenseProfiles/operations.js.map +1 -1
- package/dist/browser/api/licenseProfiles/options.js.map +1 -1
- package/dist/browser/api/licenses/operations.js +13 -13
- package/dist/browser/api/licenses/operations.js.map +1 -1
- package/dist/browser/api/licenses/options.js.map +1 -1
- package/dist/browser/api/machineExtensions/operations.js +9 -9
- package/dist/browser/api/machineExtensions/operations.js.map +1 -1
- package/dist/browser/api/machineExtensions/options.js.map +1 -1
- package/dist/browser/api/machineRunCommands/operations.js +7 -7
- package/dist/browser/api/machineRunCommands/operations.js.map +1 -1
- package/dist/browser/api/machineRunCommands/options.js.map +1 -1
- package/dist/browser/api/machines/operations.js +13 -13
- package/dist/browser/api/machines/operations.js.map +1 -1
- package/dist/browser/api/machines/options.js.map +1 -1
- package/dist/browser/api/networkProfileOperations/operations.js +1 -1
- package/dist/browser/api/networkProfileOperations/operations.js.map +1 -1
- package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js +5 -5
- package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -1
- package/dist/browser/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/operations.js +4 -4
- package/dist/browser/api/operations.js.map +1 -1
- package/dist/browser/api/options.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +7 -7
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +3 -3
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/options.js.map +1 -1
- package/dist/browser/api/privateLinkScopes/operations.js +11 -11
- package/dist/browser/api/privateLinkScopes/operations.js.map +1 -1
- package/dist/browser/api/privateLinkScopes/options.js.map +1 -1
- package/dist/browser/api/settings/operations.js +3 -3
- package/dist/browser/api/settings/operations.js.map +1 -1
- package/dist/browser/api/settings/options.js.map +1 -1
- package/dist/browser/api/vmApplications/index.d.ts +3 -0
- package/dist/browser/api/vmApplications/index.js +4 -0
- package/dist/browser/api/vmApplications/index.js.map +1 -0
- package/dist/browser/api/vmApplications/operations.d.ts +31 -0
- package/dist/browser/api/vmApplications/operations.js +210 -0
- package/dist/browser/api/vmApplications/operations.js.map +1 -0
- package/dist/browser/api/vmApplications/options.d.ts +30 -0
- package/dist/browser/api/vmApplications/options.js +4 -0
- package/dist/browser/api/vmApplications/options.js.map +1 -0
- package/dist/browser/classic/extensionMetadata/index.js.map +1 -1
- package/dist/browser/classic/extensionMetadataV2/index.js.map +1 -1
- package/dist/browser/classic/extensionPublisher/index.js.map +1 -1
- package/dist/browser/classic/extensionType/index.js.map +1 -1
- package/dist/browser/classic/gateways/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/licenseProfiles/index.js.map +1 -1
- package/dist/browser/classic/licenses/index.js.map +1 -1
- package/dist/browser/classic/machineExtensions/index.js.map +1 -1
- package/dist/browser/classic/machineRunCommands/index.js.map +1 -1
- package/dist/browser/classic/machines/index.js.map +1 -1
- package/dist/browser/classic/networkProfileOperations/index.js.map +1 -1
- package/dist/browser/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -1
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/browser/classic/privateLinkResources/index.js.map +1 -1
- package/dist/browser/classic/privateLinkScopes/index.js.map +1 -1
- package/dist/browser/classic/settings/index.js.map +1 -1
- package/dist/browser/classic/vmApplications/index.d.ts +35 -0
- package/dist/browser/classic/vmApplications/index.js +44 -0
- package/dist/browser/classic/vmApplications/index.js.map +1 -0
- package/dist/browser/hybridComputeManagementClient.d.ts +3 -0
- package/dist/browser/hybridComputeManagementClient.js +4 -0
- package/dist/browser/hybridComputeManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts +3 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +95 -3
- package/dist/browser/models/models.js +112 -0
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/package.json +6 -1
- package/dist/browser/restorePollerHelpers.js +9 -2
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +4 -2
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/extensionMetadata/operations.js +3 -3
- package/dist/commonjs/api/extensionMetadata/operations.js.map +2 -2
- package/dist/commonjs/api/extensionMetadata/options.js.map +1 -1
- package/dist/commonjs/api/extensionMetadataV2/operations.js +3 -3
- package/dist/commonjs/api/extensionMetadataV2/operations.js.map +2 -2
- package/dist/commonjs/api/extensionMetadataV2/options.js.map +1 -1
- package/dist/commonjs/api/extensionPublisher/operations.js +2 -2
- package/dist/commonjs/api/extensionPublisher/operations.js.map +2 -2
- package/dist/commonjs/api/extensionType/operations.js +2 -2
- package/dist/commonjs/api/extensionType/operations.js.map +2 -2
- package/dist/commonjs/api/gateways/operations.js +10 -10
- package/dist/commonjs/api/gateways/operations.js.map +2 -2
- package/dist/commonjs/api/gateways/options.js.map +1 -1
- package/dist/commonjs/api/hybridComputeManagementContext.js +16 -2
- package/dist/commonjs/api/hybridComputeManagementContext.js.map +3 -3
- package/dist/commonjs/api/licenseProfiles/operations.js +9 -9
- package/dist/commonjs/api/licenseProfiles/operations.js.map +2 -2
- package/dist/commonjs/api/licenseProfiles/options.js.map +1 -1
- package/dist/commonjs/api/licenses/operations.js +13 -13
- package/dist/commonjs/api/licenses/operations.js.map +2 -2
- package/dist/commonjs/api/licenses/options.js.map +1 -1
- package/dist/commonjs/api/machineExtensions/operations.js +9 -9
- package/dist/commonjs/api/machineExtensions/operations.js.map +2 -2
- package/dist/commonjs/api/machineExtensions/options.js.map +1 -1
- package/dist/commonjs/api/machineRunCommands/operations.js +7 -7
- package/dist/commonjs/api/machineRunCommands/operations.js.map +2 -2
- package/dist/commonjs/api/machineRunCommands/options.js.map +1 -1
- package/dist/commonjs/api/machines/operations.js +13 -13
- package/dist/commonjs/api/machines/operations.js.map +2 -2
- package/dist/commonjs/api/machines/options.js.map +1 -1
- package/dist/commonjs/api/networkProfileOperations/operations.js +1 -1
- package/dist/commonjs/api/networkProfileOperations/operations.js.map +2 -2
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js +5 -5
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js.map +2 -2
- package/dist/commonjs/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +2 -2
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/operations.js +4 -4
- package/dist/commonjs/api/operations.js.map +2 -2
- package/dist/commonjs/api/options.js.map +1 -1
- package/dist/commonjs/api/privateEndpointConnections/operations.js +7 -7
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
- package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/commonjs/api/privateLinkResources/operations.js +3 -3
- package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
- package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
- package/dist/commonjs/api/privateLinkScopes/operations.js +11 -11
- package/dist/commonjs/api/privateLinkScopes/operations.js.map +2 -2
- package/dist/commonjs/api/privateLinkScopes/options.js.map +1 -1
- package/dist/commonjs/api/settings/operations.js +3 -3
- package/dist/commonjs/api/settings/operations.js.map +2 -2
- package/dist/commonjs/api/settings/options.js.map +1 -1
- package/dist/commonjs/api/vmApplications/index.d.ts +3 -0
- package/dist/commonjs/api/vmApplications/index.js +38 -0
- package/dist/commonjs/api/vmApplications/index.js.map +7 -0
- package/dist/commonjs/api/vmApplications/operations.d.ts +31 -0
- package/dist/commonjs/api/vmApplications/operations.js +305 -0
- package/dist/commonjs/api/vmApplications/operations.js.map +7 -0
- package/dist/commonjs/api/vmApplications/options.d.ts +30 -0
- package/dist/commonjs/api/vmApplications/options.js +16 -0
- package/dist/commonjs/api/vmApplications/options.js.map +7 -0
- package/dist/commonjs/classic/extensionMetadata/index.js.map +2 -2
- package/dist/commonjs/classic/extensionMetadataV2/index.js.map +2 -2
- package/dist/commonjs/classic/extensionPublisher/index.js.map +2 -2
- package/dist/commonjs/classic/extensionType/index.js.map +2 -2
- package/dist/commonjs/classic/gateways/index.js.map +2 -2
- package/dist/commonjs/classic/index.d.ts +1 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/licenseProfiles/index.js.map +2 -2
- package/dist/commonjs/classic/licenses/index.js.map +2 -2
- package/dist/commonjs/classic/machineExtensions/index.js.map +2 -2
- package/dist/commonjs/classic/machineRunCommands/index.js.map +2 -2
- package/dist/commonjs/classic/machines/index.js.map +2 -2
- package/dist/commonjs/classic/networkProfileOperations/index.js.map +2 -2
- package/dist/commonjs/classic/networkSecurityPerimeterConfigurations/index.js.map +2 -2
- package/dist/commonjs/classic/operations/index.js.map +2 -2
- package/dist/commonjs/classic/privateEndpointConnections/index.js.map +2 -2
- package/dist/commonjs/classic/privateLinkResources/index.js.map +2 -2
- package/dist/commonjs/classic/privateLinkScopes/index.js.map +2 -2
- package/dist/commonjs/classic/settings/index.js.map +2 -2
- package/dist/commonjs/classic/vmApplications/index.d.ts +35 -0
- package/dist/commonjs/classic/vmApplications/index.js +96 -0
- package/dist/commonjs/classic/vmApplications/index.js.map +7 -0
- package/dist/commonjs/hybridComputeManagementClient.d.ts +3 -0
- package/dist/commonjs/hybridComputeManagementClient.js +4 -0
- package/dist/commonjs/hybridComputeManagementClient.js.map +2 -2
- package/dist/commonjs/index.d.ts +3 -2
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +95 -3
- package/dist/commonjs/models/models.js +123 -3
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/package.json +6 -1
- package/dist/commonjs/restorePollerHelpers.js +27 -20
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/urlTemplate.js +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js.map +2 -2
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/extensionMetadata/operations.js +3 -3
- package/dist/esm/api/extensionMetadata/operations.js.map +1 -1
- package/dist/esm/api/extensionMetadata/options.js.map +1 -1
- package/dist/esm/api/extensionMetadataV2/operations.js +3 -3
- package/dist/esm/api/extensionMetadataV2/operations.js.map +1 -1
- package/dist/esm/api/extensionMetadataV2/options.js.map +1 -1
- package/dist/esm/api/extensionPublisher/operations.js +2 -2
- package/dist/esm/api/extensionPublisher/operations.js.map +1 -1
- package/dist/esm/api/extensionType/operations.js +2 -2
- package/dist/esm/api/extensionType/operations.js.map +1 -1
- package/dist/esm/api/gateways/operations.js +10 -10
- package/dist/esm/api/gateways/operations.js.map +1 -1
- package/dist/esm/api/gateways/options.js.map +1 -1
- package/dist/esm/api/hybridComputeManagementContext.js +6 -2
- package/dist/esm/api/hybridComputeManagementContext.js.map +1 -1
- package/dist/esm/api/licenseProfiles/operations.js +9 -9
- package/dist/esm/api/licenseProfiles/operations.js.map +1 -1
- package/dist/esm/api/licenseProfiles/options.js.map +1 -1
- package/dist/esm/api/licenses/operations.js +13 -13
- package/dist/esm/api/licenses/operations.js.map +1 -1
- package/dist/esm/api/licenses/options.js.map +1 -1
- package/dist/esm/api/machineExtensions/operations.js +9 -9
- package/dist/esm/api/machineExtensions/operations.js.map +1 -1
- package/dist/esm/api/machineExtensions/options.js.map +1 -1
- package/dist/esm/api/machineRunCommands/operations.js +7 -7
- package/dist/esm/api/machineRunCommands/operations.js.map +1 -1
- package/dist/esm/api/machineRunCommands/options.js.map +1 -1
- package/dist/esm/api/machines/operations.js +13 -13
- package/dist/esm/api/machines/operations.js.map +1 -1
- package/dist/esm/api/machines/options.js.map +1 -1
- package/dist/esm/api/networkProfileOperations/operations.js +1 -1
- package/dist/esm/api/networkProfileOperations/operations.js.map +1 -1
- package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js +5 -5
- package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -1
- package/dist/esm/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
- package/dist/esm/api/operations/operations.js +2 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/operations.js +4 -4
- package/dist/esm/api/operations.js.map +1 -1
- package/dist/esm/api/options.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.js +7 -7
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +3 -3
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/options.js.map +1 -1
- package/dist/esm/api/privateLinkScopes/operations.js +11 -11
- package/dist/esm/api/privateLinkScopes/operations.js.map +1 -1
- package/dist/esm/api/privateLinkScopes/options.js.map +1 -1
- package/dist/esm/api/settings/operations.js +3 -3
- package/dist/esm/api/settings/operations.js.map +1 -1
- package/dist/esm/api/settings/options.js.map +1 -1
- package/dist/esm/api/vmApplications/index.d.ts +3 -0
- package/dist/esm/api/vmApplications/index.js +4 -0
- package/dist/esm/api/vmApplications/index.js.map +1 -0
- package/dist/esm/api/vmApplications/operations.d.ts +31 -0
- package/dist/esm/api/vmApplications/operations.js +210 -0
- package/dist/esm/api/vmApplications/operations.js.map +1 -0
- package/dist/esm/api/vmApplications/options.d.ts +30 -0
- package/dist/esm/api/vmApplications/options.js +4 -0
- package/dist/esm/api/vmApplications/options.js.map +1 -0
- package/dist/esm/classic/extensionMetadata/index.js.map +1 -1
- package/dist/esm/classic/extensionMetadataV2/index.js.map +1 -1
- package/dist/esm/classic/extensionPublisher/index.js.map +1 -1
- package/dist/esm/classic/extensionType/index.js.map +1 -1
- package/dist/esm/classic/gateways/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +1 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/licenseProfiles/index.js.map +1 -1
- package/dist/esm/classic/licenses/index.js.map +1 -1
- package/dist/esm/classic/machineExtensions/index.js.map +1 -1
- package/dist/esm/classic/machineRunCommands/index.js.map +1 -1
- package/dist/esm/classic/machines/index.js.map +1 -1
- package/dist/esm/classic/networkProfileOperations/index.js.map +1 -1
- package/dist/esm/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -1
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
- package/dist/esm/classic/privateLinkResources/index.js.map +1 -1
- package/dist/esm/classic/privateLinkScopes/index.js.map +1 -1
- package/dist/esm/classic/settings/index.js.map +1 -1
- package/dist/esm/classic/vmApplications/index.d.ts +35 -0
- package/dist/esm/classic/vmApplications/index.js +44 -0
- package/dist/esm/classic/vmApplications/index.js.map +1 -0
- package/dist/esm/hybridComputeManagementClient.d.ts +3 -0
- package/dist/esm/hybridComputeManagementClient.js +4 -0
- package/dist/esm/hybridComputeManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +95 -3
- package/dist/esm/models/models.js +112 -0
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/package.json +6 -1
- package/dist/esm/restorePollerHelpers.js +9 -2
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +4 -2
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +28 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/gateways/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type { Gateway, GatewayUpdate, _GatewaysListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n gatewaySerializer,\n gatewayDeserializer,\n gatewayUpdateSerializer,\n _gatewaysListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n GatewaysListBySubscriptionOptionalParams,\n GatewaysListByResourceGroupOptionalParams,\n GatewaysDeleteOptionalParams,\n GatewaysUpdateOptionalParams,\n GatewaysCreateOrUpdateOptionalParams,\n GatewaysGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: GatewaysListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GatewaysListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _gatewaysListResultDeserializer(result.body);\n}\n/** The operation to get all gateways of a non-Azure machine */\nexport function listBySubscription(\n context: Client,\n options: GatewaysListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Gateway> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-15\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: GatewaysListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GatewaysListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _gatewaysListResultDeserializer(result.body);\n}\n/** The operation to get all gateways of a non-Azure machine */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: GatewaysListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Gateway> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-15\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\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 = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n/** The operation to delete a gateway. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, gatewayName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: GatewayUpdate,\n options: GatewaysUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: gatewayUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n/** The operation to update a gateway. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: GatewayUpdate,\n options: GatewaysUpdateOptionalParams = { requestOptions: {} },\n): Promise<Gateway> {\n const result = await _updateSend(context, resourceGroupName, gatewayName, parameters, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: Gateway,\n options: GatewaysCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: gatewaySerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n/** The operation to create or update a gateway. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: Gateway,\n options: GatewaysCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Gateway>, Gateway> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, gatewayName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<Gateway>, Gateway>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n/** Retrieves information about the view of a gateway. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysGetOptionalParams = { requestOptions: {} },\n): Promise<Gateway> {\n const result = await _getSend(context, resourceGroupName, gatewayName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAUlC,yBAAqE;AAG9D,SAAS,wBACd,SACA,UAAoD,EAAE,gBAAgB,CAAC,EAAE,GACvD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,+BACpB,QAC8B;AAC9B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,+CAAgC,OAAO,IAAI;AACpD;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type { Gateway, GatewayUpdate, _GatewaysListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n gatewaySerializer,\n gatewayDeserializer,\n gatewayUpdateSerializer,\n _gatewaysListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n GatewaysListBySubscriptionOptionalParams,\n GatewaysListByResourceGroupOptionalParams,\n GatewaysDeleteOptionalParams,\n GatewaysUpdateOptionalParams,\n GatewaysCreateOrUpdateOptionalParams,\n GatewaysGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: GatewaysListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/gateways{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GatewaysListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _gatewaysListResultDeserializer(result.body);\n}\n\n/** The operation to get all gateways of a non-Azure machine */\nexport function listBySubscription(\n context: Client,\n options: GatewaysListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Gateway> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-09-01\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: GatewaysListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_GatewaysListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _gatewaysListResultDeserializer(result.body);\n}\n\n/** The operation to get all gateways of a non-Azure machine */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: GatewaysListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Gateway> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-09-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\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 = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** The operation to delete a gateway. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, gatewayName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: GatewayUpdate,\n options: GatewaysUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: gatewayUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n\n/** The operation to update a gateway. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: GatewayUpdate,\n options: GatewaysUpdateOptionalParams = { requestOptions: {} },\n): Promise<Gateway> {\n const result = await _updateSend(context, resourceGroupName, gatewayName, parameters, options);\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: Gateway,\n options: GatewaysCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: gatewaySerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n\n/** The operation to create or update a gateway. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n parameters: Gateway,\n options: GatewaysCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<Gateway>, Gateway> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, gatewayName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<Gateway>, Gateway>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/gateways/{gatewayName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n gatewayName: gatewayName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Gateway> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return gatewayDeserializer(result.body);\n}\n\n/** Retrieves information about the view of a gateway. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n gatewayName: string,\n options: GatewaysGetOptionalParams = { requestOptions: {} },\n): Promise<Gateway> {\n const result = await _getSend(context, resourceGroupName, gatewayName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAUlC,yBAAqE;AAG9D,SAAS,wBACd,SACA,UAAoD,EAAE,gBAAgB,CAAC,EAAE,GACvD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ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oC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,gBAAgB,QAAiD;AACrF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,mCAAoB,OAAO,IAAI;AACxC;AAGA,eAAsB,IACpB,SACA,mBACA,aACA,UAAqC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAClB,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,aAAa,OAAO;AAC9E,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/gateways/options.ts"],
|
|
4
|
-
"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 GatewaysListBySubscriptionOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface GatewaysListByResourceGroupOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface GatewaysDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface GatewaysUpdateOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface GatewaysCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface GatewaysGetOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"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 GatewaysListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface GatewaysListByResourceGroupOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface GatewaysDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface GatewaysUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface GatewaysCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface GatewaysGetOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
var hybridComputeManagementContext_exports = {};
|
|
19
29
|
__export(hybridComputeManagementContext_exports, {
|
|
@@ -21,17 +31,21 @@ __export(hybridComputeManagementContext_exports, {
|
|
|
21
31
|
});
|
|
22
32
|
module.exports = __toCommonJS(hybridComputeManagementContext_exports);
|
|
23
33
|
var import_logger = require("../logger.js");
|
|
34
|
+
var import_package = __toESM(require("@azure/arm-hybridcompute/package.json"));
|
|
24
35
|
var import_cloudSettingHelpers = require("../static-helpers/cloudSettingHelpers.js");
|
|
25
36
|
var import_core_client = require("@azure-rest/core-client");
|
|
26
37
|
function createHybridComputeManagement(credential, subscriptionId, options = {}) {
|
|
27
38
|
const endpointUrl = options.endpoint ?? (0, import_cloudSettingHelpers.getArmEndpoint)(options.cloudSetting) ?? "https://management.azure.com";
|
|
28
39
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
29
|
-
const userAgentInfo = `azsdk-js-arm-hybridcompute
|
|
40
|
+
const userAgentInfo = `azsdk-js-arm-hybridcompute/${import_package.default.version}`;
|
|
30
41
|
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} ${userAgentInfo}` : `${userAgentInfo}`;
|
|
31
42
|
const { apiVersion: _, ...updatedOptions } = {
|
|
32
43
|
...options,
|
|
33
44
|
userAgentOptions: { userAgentPrefix },
|
|
34
|
-
loggingOptions: {
|
|
45
|
+
loggingOptions: {
|
|
46
|
+
...options.loggingOptions,
|
|
47
|
+
logger: options.loggingOptions?.logger ?? import_logger.logger.info
|
|
48
|
+
},
|
|
35
49
|
credentials: {
|
|
36
50
|
scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"]
|
|
37
51
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/api/hybridComputeManagementContext.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport type { AzureSupportedClouds } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\n/** Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources. */\nexport interface HybridComputeManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface HybridComputeManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources. */\nexport function createHybridComputeManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: HybridComputeManagementClientOptionalParams = {},\n): HybridComputeManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-hybridcompute
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport pkgJson from \"@azure/arm-hybridcompute/package.json\" with { type: \"json\" };\nimport { KnownVersions } from \"../models/models.js\";\nimport type { AzureSupportedClouds } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { TokenCredential } from \"@azure/core-auth\";\n\n/** Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources. */\nexport interface HybridComputeManagementContext extends Client {\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface HybridComputeManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Azure Arc API reference for managing connected machines, machine extensions, run commands, gateways, licenses, license profiles, private link scopes, and related HybridCompute resources. */\nexport function createHybridComputeManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: HybridComputeManagementClientOptionalParams = {},\n): HybridComputeManagementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-hybridcompute/${pkgJson.version}`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} ${userAgentInfo}`\n : `${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: {\n ...options.loggingOptions,\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, subscriptionId } as HybridComputeManagementContext;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AACvB,qBAAoB;AAGpB,iCAA+B;AAE/B,yBAA0B;AAsBnB,SAAS,8BACd,YACA,gBACA,UAAuD,CAAC,GACxB;AAChC,QAAM,cACJ,QAAQ,gBAAY,2CAAe,QAAQ,YAAY,KAAK;AAC9D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB,8BAA8B,eAAAA,QAAQ,OAAO;AACnE,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,IAAI,aAAa,KACrC,GAAG,aAAa;AACpB,QAAM,EAAE,YAAY,GAAG,GAAG,eAAe,IAAI;AAAA,IAC3C,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB;AAAA,MACd,GAAG,QAAQ;AAAA,MACX,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO;AAAA,IACnD;AAAA,IACA,aAAa;AAAA,MACX,QAAQ,QAAQ,aAAa,UAAU,CAAC,uCAAuC;AAAA,IACjF;AAAA,EACF;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,aAAa,QAAQ;AAC3B,SAAO,EAAE,GAAG,eAAe,YAAY,eAAe;AACxD;",
|
|
6
|
+
"names": ["pkgJson"]
|
|
7
7
|
}
|
|
@@ -46,7 +46,7 @@ function _listSend(context, resourceGroupName, machineName, options = { requestO
|
|
|
46
46
|
subscriptionId: context.subscriptionId,
|
|
47
47
|
resourceGroupName,
|
|
48
48
|
machineName,
|
|
49
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
49
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -74,7 +74,7 @@ function list(context, resourceGroupName, machineName, options = { requestOption
|
|
|
74
74
|
() => _listSend(context, resourceGroupName, machineName, options),
|
|
75
75
|
_listDeserialize,
|
|
76
76
|
["200"],
|
|
77
|
-
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-
|
|
77
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-09-01" }
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
function _$deleteSend(context, resourceGroupName, machineName, options = { requestOptions: {} }) {
|
|
@@ -85,7 +85,7 @@ function _$deleteSend(context, resourceGroupName, machineName, options = { reque
|
|
|
85
85
|
resourceGroupName,
|
|
86
86
|
machineName,
|
|
87
87
|
licenseProfileName: "default",
|
|
88
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
88
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -110,7 +110,7 @@ function $delete(context, resourceGroupName, machineName, options = { requestOpt
|
|
|
110
110
|
abortSignal: options?.abortSignal,
|
|
111
111
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, machineName, options),
|
|
112
112
|
resourceLocationConfig: "location",
|
|
113
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
113
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
function _updateSend(context, resourceGroupName, machineName, parameters, options = { requestOptions: {} }) {
|
|
@@ -121,7 +121,7 @@ function _updateSend(context, resourceGroupName, machineName, parameters, option
|
|
|
121
121
|
resourceGroupName,
|
|
122
122
|
machineName,
|
|
123
123
|
licenseProfileName: "default",
|
|
124
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
124
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -151,7 +151,7 @@ function update(context, resourceGroupName, machineName, parameters, options = {
|
|
|
151
151
|
abortSignal: options?.abortSignal,
|
|
152
152
|
getInitialResponse: () => _updateSend(context, resourceGroupName, machineName, parameters, options),
|
|
153
153
|
resourceLocationConfig: "location",
|
|
154
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
154
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
function _createOrUpdateSend(context, resourceGroupName, machineName, parameters, options = { requestOptions: {} }) {
|
|
@@ -162,7 +162,7 @@ function _createOrUpdateSend(context, resourceGroupName, machineName, parameters
|
|
|
162
162
|
resourceGroupName,
|
|
163
163
|
machineName,
|
|
164
164
|
licenseProfileName: "default",
|
|
165
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
165
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -192,7 +192,7 @@ function createOrUpdate(context, resourceGroupName, machineName, parameters, opt
|
|
|
192
192
|
abortSignal: options?.abortSignal,
|
|
193
193
|
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, machineName, parameters, options),
|
|
194
194
|
resourceLocationConfig: "location",
|
|
195
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
195
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
function _getSend(context, resourceGroupName, machineName, options = { requestOptions: {} }) {
|
|
@@ -203,7 +203,7 @@ function _getSend(context, resourceGroupName, machineName, options = { requestOp
|
|
|
203
203
|
resourceGroupName,
|
|
204
204
|
machineName,
|
|
205
205
|
licenseProfileName: "default",
|
|
206
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
206
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/licenseProfiles/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type {\n LicenseProfile,\n LicenseProfileUpdate,\n _LicenseProfilesListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n licenseProfileSerializer,\n licenseProfileDeserializer,\n licenseProfileUpdateSerializer,\n _licenseProfilesListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n LicenseProfilesListOptionalParams,\n LicenseProfilesDeleteOptionalParams,\n LicenseProfilesUpdateOptionalParams,\n LicenseProfilesCreateOrUpdateOptionalParams,\n LicenseProfilesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicenseProfilesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licenseProfilesListResultDeserializer(result.body);\n}\n/** The operation to get all license profiles of a non-Azure machine */\nexport function list(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<LicenseProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, machineName, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-15\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\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 = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n/** The operation to delete a license profile. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, machineName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfileUpdate,\n options: LicenseProfilesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseProfileUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n/** The operation to update a license profile. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfileUpdate,\n options: LicenseProfilesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<LicenseProfile>, LicenseProfile> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, machineName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<LicenseProfile>, LicenseProfile>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfile,\n options: LicenseProfilesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseProfileSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n/** The operation to create or update a license profile. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfile,\n options: LicenseProfilesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<LicenseProfile>, LicenseProfile> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, machineName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<LicenseProfile>, LicenseProfile>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n/** Retrieves information about the view of a license profile. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesGetOptionalParams = { requestOptions: {} },\n): Promise<LicenseProfile> {\n const result = await _getSend(context, resourceGroupName, machineName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AASlC,yBAAqE;AAG9D,SAAS,UACd,SACA,mBACA,aACA,UAA6C,EAAE,gBAAgB,CAAC,EAAE,GAChD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,iBACpB,QACqC;AACrC,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,sDAAuC,OAAO,IAAI;AAC3D;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type {\n LicenseProfile,\n LicenseProfileUpdate,\n _LicenseProfilesListResult,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n licenseProfileSerializer,\n licenseProfileDeserializer,\n licenseProfileUpdateSerializer,\n _licenseProfilesListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n LicenseProfilesListOptionalParams,\n LicenseProfilesDeleteOptionalParams,\n LicenseProfilesUpdateOptionalParams,\n LicenseProfilesCreateOrUpdateOptionalParams,\n LicenseProfilesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicenseProfilesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licenseProfilesListResultDeserializer(result.body);\n}\n\n/** The operation to get all license profiles of a non-Azure machine */\nexport function list(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<LicenseProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, machineName, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-09-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\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 = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** The operation to delete a license profile. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, machineName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfileUpdate,\n options: LicenseProfilesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseProfileUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n\n/** The operation to update a license profile. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfileUpdate,\n options: LicenseProfilesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<LicenseProfile>, LicenseProfile> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, machineName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<LicenseProfile>, LicenseProfile>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfile,\n options: LicenseProfilesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseProfileSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n\n/** The operation to create or update a license profile. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n parameters: LicenseProfile,\n options: LicenseProfilesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<LicenseProfile>, LicenseProfile> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, machineName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<LicenseProfile>, LicenseProfile>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/licenseProfiles/{licenseProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n machineName: machineName,\n licenseProfileName: \"default\",\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<LicenseProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseProfileDeserializer(result.body);\n}\n\n/** Retrieves information about the view of a license profile. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n machineName: string,\n options: LicenseProfilesGetOptionalParams = { requestOptions: {} },\n): Promise<LicenseProfile> {\n const result = await _getSend(context, resourceGroupName, machineName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AASlC,yBAAqE;AAG9D,SAAS,UACd,SACA,mBACA,aACA,UAA6C,EAAE,gBAAgB,CAAC,EAAE,GAChD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB;AAAA,MACA;AAAA,MACA,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAg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["// 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 LicenseProfilesListOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface LicenseProfilesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicenseProfilesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicenseProfilesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicenseProfilesGetOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"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 LicenseProfilesListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface LicenseProfilesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicenseProfilesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicenseProfilesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicenseProfilesGetOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -50,7 +50,7 @@ function _validateLicenseSend(context, parameters, options = { requestOptions: {
|
|
|
50
50
|
"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense{?api%2Dversion}",
|
|
51
51
|
{
|
|
52
52
|
subscriptionId: context.subscriptionId,
|
|
53
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
53
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -80,7 +80,7 @@ function validateLicense(context, parameters, options = { requestOptions: {} })
|
|
|
80
80
|
abortSignal: options?.abortSignal,
|
|
81
81
|
getInitialResponse: () => _validateLicenseSend(context, parameters, options),
|
|
82
82
|
resourceLocationConfig: "location",
|
|
83
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
83
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
@@ -88,7 +88,7 @@ function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
|
88
88
|
"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses{?api%2Dversion}",
|
|
89
89
|
{
|
|
90
90
|
subscriptionId: context.subscriptionId,
|
|
91
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
91
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -116,7 +116,7 @@ function listBySubscription(context, options = { requestOptions: {} }) {
|
|
|
116
116
|
() => _listBySubscriptionSend(context, options),
|
|
117
117
|
_listBySubscriptionDeserialize,
|
|
118
118
|
["200"],
|
|
119
|
-
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-
|
|
119
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-09-01" }
|
|
120
120
|
);
|
|
121
121
|
}
|
|
122
122
|
function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
@@ -125,7 +125,7 @@ function _listByResourceGroupSend(context, resourceGroupName, options = { reques
|
|
|
125
125
|
{
|
|
126
126
|
subscriptionId: context.subscriptionId,
|
|
127
127
|
resourceGroupName,
|
|
128
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
128
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -153,7 +153,7 @@ function listByResourceGroup(context, resourceGroupName, options = { requestOpti
|
|
|
153
153
|
() => _listByResourceGroupSend(context, resourceGroupName, options),
|
|
154
154
|
_listByResourceGroupDeserialize,
|
|
155
155
|
["200"],
|
|
156
|
-
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-
|
|
156
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-09-01" }
|
|
157
157
|
);
|
|
158
158
|
}
|
|
159
159
|
function _$deleteSend(context, resourceGroupName, licenseName, options = { requestOptions: {} }) {
|
|
@@ -163,7 +163,7 @@ function _$deleteSend(context, resourceGroupName, licenseName, options = { reque
|
|
|
163
163
|
subscriptionId: context.subscriptionId,
|
|
164
164
|
resourceGroupName,
|
|
165
165
|
licenseName,
|
|
166
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
166
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -188,7 +188,7 @@ function $delete(context, resourceGroupName, licenseName, options = { requestOpt
|
|
|
188
188
|
abortSignal: options?.abortSignal,
|
|
189
189
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, licenseName, options),
|
|
190
190
|
resourceLocationConfig: "location",
|
|
191
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
191
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
194
|
function _updateSend(context, resourceGroupName, licenseName, parameters, options = { requestOptions: {} }) {
|
|
@@ -198,7 +198,7 @@ function _updateSend(context, resourceGroupName, licenseName, parameters, option
|
|
|
198
198
|
subscriptionId: context.subscriptionId,
|
|
199
199
|
resourceGroupName,
|
|
200
200
|
licenseName,
|
|
201
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
201
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -228,7 +228,7 @@ function update(context, resourceGroupName, licenseName, parameters, options = {
|
|
|
228
228
|
abortSignal: options?.abortSignal,
|
|
229
229
|
getInitialResponse: () => _updateSend(context, resourceGroupName, licenseName, parameters, options),
|
|
230
230
|
resourceLocationConfig: "location",
|
|
231
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
231
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
function _createOrUpdateSend(context, resourceGroupName, licenseName, parameters, options = { requestOptions: {} }) {
|
|
@@ -238,7 +238,7 @@ function _createOrUpdateSend(context, resourceGroupName, licenseName, parameters
|
|
|
238
238
|
subscriptionId: context.subscriptionId,
|
|
239
239
|
resourceGroupName,
|
|
240
240
|
licenseName,
|
|
241
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
241
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -268,7 +268,7 @@ function createOrUpdate(context, resourceGroupName, licenseName, parameters, opt
|
|
|
268
268
|
abortSignal: options?.abortSignal,
|
|
269
269
|
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, licenseName, parameters, options),
|
|
270
270
|
resourceLocationConfig: "location",
|
|
271
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
271
|
+
apiVersion: context.apiVersion ?? "2026-09-01"
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
function _getSend(context, resourceGroupName, licenseName, options = { requestOptions: {} }) {
|
|
@@ -278,7 +278,7 @@ function _getSend(context, resourceGroupName, licenseName, options = { requestOp
|
|
|
278
278
|
subscriptionId: context.subscriptionId,
|
|
279
279
|
resourceGroupName,
|
|
280
280
|
licenseName,
|
|
281
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
281
|
+
"api%2Dversion": context.apiVersion ?? "2026-09-01"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/licenses/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type { License, LicenseUpdate, _LicensesListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n licenseSerializer,\n licenseDeserializer,\n licenseUpdateSerializer,\n _licensesListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n LicensesValidateLicenseOptionalParams,\n LicensesListBySubscriptionOptionalParams,\n LicensesListByResourceGroupOptionalParams,\n LicensesDeleteOptionalParams,\n LicensesUpdateOptionalParams,\n LicensesCreateOrUpdateOptionalParams,\n LicensesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _validateLicenseSend(\n context: Client,\n parameters: License,\n options: LicensesValidateLicenseOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseSerializer(parameters),\n });\n}\n\nexport async function _validateLicenseDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n/** The operation to validate a license. */\nexport function validateLicense(\n context: Client,\n parameters: License,\n options: LicensesValidateLicenseOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _validateLicenseDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _validateLicenseSend(context, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: LicensesListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicensesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licensesListResultDeserializer(result.body);\n}\n/** The operation to get all licenses of a non-Azure machine */\nexport function listBySubscription(\n context: Client,\n options: LicensesListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<License> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-15\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: LicensesListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicensesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licensesListResultDeserializer(result.body);\n}\n/** The operation to get all licenses of a non-Azure machine */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: LicensesListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<License> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-07-15\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\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\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n/** The operation to delete a license. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"204\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, licenseName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: LicenseUpdate,\n options: LicensesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n/** The operation to update a license. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: LicenseUpdate,\n options: LicensesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, licenseName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: License,\n options: LicensesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n/** The operation to create or update a license. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: License,\n options: LicensesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, licenseName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-07-15\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-07-15\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n/** Retrieves information about the view of a license. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesGetOptionalParams = { requestOptions: {} },\n): Promise<License> {\n const result = await _getSend(context, resourceGroupName, licenseName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAWlC,yBAAqE;AAG9D,SAAS,qBACd,SACA,YACA,UAAiD,EAAE,gBAAgB,CAAC,EAAE,GACpD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,IAC1E,UAAM,iCAAkB,UAAU;AAAA,EACpC,CAAC;AACH;AAEA,eAAsB,4BAA4B,QAAiD;AACjG,QAAM,mBAAmB,CAAC,OAAO,OAAO,KAAK;AAC7C,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,mCAAoB,OAAO,IAAI;AACxC;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { HybridComputeManagementContext as Client } from \"../index.js\";\nimport type { License, LicenseUpdate, _LicensesListResult } from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n licenseSerializer,\n licenseDeserializer,\n licenseUpdateSerializer,\n _licensesListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n LicensesValidateLicenseOptionalParams,\n LicensesListBySubscriptionOptionalParams,\n LicensesListByResourceGroupOptionalParams,\n LicensesDeleteOptionalParams,\n LicensesUpdateOptionalParams,\n LicensesCreateOrUpdateOptionalParams,\n LicensesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _validateLicenseSend(\n context: Client,\n parameters: License,\n options: LicensesValidateLicenseOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/validateLicense{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseSerializer(parameters),\n });\n}\n\nexport async function _validateLicenseDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n\n/** The operation to validate a license. */\nexport function validateLicense(\n context: Client,\n parameters: License,\n options: LicensesValidateLicenseOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _validateLicenseDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _validateLicenseSend(context, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: LicensesListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/licenses{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicensesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licensesListResultDeserializer(result.body);\n}\n\n/** The operation to get all licenses of a non-Azure machine */\nexport function listBySubscription(\n context: Client,\n options: LicensesListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<License> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-09-01\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: LicensesListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_LicensesListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _licensesListResultDeserializer(result.body);\n}\n\n/** The operation to get all licenses of a non-Azure machine */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: LicensesListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<License> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-09-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\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\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** The operation to delete a license. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"204\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, licenseName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: LicenseUpdate,\n options: LicensesUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseUpdateSerializer(parameters),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n\n/** The operation to update a license. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: LicenseUpdate,\n options: LicensesUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, licenseName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: License,\n options: LicensesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: licenseSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n\n/** The operation to create or update a license. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n parameters: License,\n options: LicensesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<License>, License> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, licenseName, parameters, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-09-01\",\n }) as PollerLike<OperationState<License>, License>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/licenses/{licenseName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n licenseName: licenseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-09-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<License> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return licenseDeserializer(result.body);\n}\n\n/** Retrieves information about the view of a license. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n licenseName: string,\n options: LicensesGetOptionalParams = { requestOptions: {} },\n): Promise<License> {\n const result = await _getSend(context, resourceGroupName, licenseName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAMO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;AAWlC,yBAAqE;AAG9D,SAAS,qBACd,SACA,YACA,UAAiD,EAAE,gBAAgB,CAAC,EAAE,GACpD;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,gBAAgB,QAAQ;AAAA,MACxB,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,IAC1E,UAAM,iCAAkB,UAAU;AAAA,EACpC,CAAC;AACH;AAEA,eAAsB,4BAA4B,QAAiD;AACjG,QAAM,mBAAmB,CAAC,OAAO,OAAO,KAAK;AAC7C,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,mCAAoB,OAAO,IAAI;AACxC;AAGO,SAAS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BACA,aACA,UAAqC,EAAE,gBAAgB,CAAC,EAAE,GACxC;AAClB,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,aAAa,OAAO;AAC9E,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/licenses/options.ts"],
|
|
4
|
-
"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 LicensesValidateLicenseOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicensesListBySubscriptionOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface LicensesListByResourceGroupOptionalParams extends OperationOptions {}\n/** Optional parameters. */\nexport interface LicensesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicensesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicensesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n/** Optional parameters. */\nexport interface LicensesGetOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"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 LicensesValidateLicenseOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicensesListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface LicensesListByResourceGroupOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface LicensesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicensesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicensesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface LicensesGetOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|