@azure/arm-resourceconnector 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +1754 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/appliancesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/appliancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesGetSample.js +31 -0
- package/dist-esm/samples-dev/appliancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js +32 -0
- package/dist-esm/samples-dev/appliancesGetUpgradeGraphSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/appliancesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/appliancesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js +31 -0
- package/dist-esm/samples-dev/appliancesListClusterCustomerUserCredentialSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js +31 -0
- package/dist-esm/samples-dev/appliancesListClusterUserCredentialSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesListOperationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesListOperationsSample.js +43 -0
- package/dist-esm/samples-dev/appliancesListOperationsSample.js.map +1 -0
- package/dist-esm/samples-dev/appliancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/appliancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/appliancesUpdateSample.js +33 -0
- package/dist-esm/samples-dev/appliancesUpdateSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +617 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +102 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +26 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +709 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +124 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/appliances.d.ts +144 -0
- package/dist-esm/src/operations/appliances.d.ts.map +1 -0
- package/dist-esm/src/operations/appliances.js +651 -0
- package/dist-esm/src/operations/appliances.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/appliances.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/appliances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/appliances.js +9 -0
- package/dist-esm/src/operationsInterfaces/appliances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/resourceConnectorManagementClient.d.ts +20 -0
- package/dist-esm/src/resourceConnectorManagementClient.d.ts.map +1 -0
- package/dist-esm/src/resourceConnectorManagementClient.js +95 -0
- package/dist-esm/src/resourceConnectorManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +38 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +121 -0
- package/review/arm-resourceconnector.api.md +400 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +684 -0
- package/src/models/mappers.ts +748 -0
- package/src/models/parameters.ts +145 -0
- package/src/operations/appliances.ts +839 -0
- package/src/operations/index.ts +9 -0
- package/src/operationsInterfaces/appliances.ts +172 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/src/resourceConnectorManagementClient.ts +131 -0
- package/tsconfig.json +33 -0
- package/types/arm-resourceconnector.d.ts +792 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/appliances.ts","../src/resourceConnectorManagementClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Lists of Appliances operations. */\nexport interface ApplianceOperationsList {\n /** Next page of operations. */\n nextLink?: string;\n /** Array of applianceOperation */\n value: ApplianceOperation[];\n}\n\n/** Appliances operation. */\nexport interface ApplianceOperation {\n /**\n * Is this Operation a data plane operation\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /**\n * The name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The origin of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: string;\n /**\n * The description of the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The display name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The resource provider for the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The display name of the resource the operation applies to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The List Appliances operation response. */\nexport interface ApplianceListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Appliances.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Appliance[];\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n}\n\n/** Contains infrastructure information about the Appliance */\nexport interface AppliancePropertiesInfrastructureConfig {\n /** Information about the connected appliance. */\n provider?: Provider;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The Appliances patchable resource definition. */\nexport interface PatchableAppliance {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** The List Cluster Customer User Credential Results appliance. */\nexport interface ApplianceListClusterCustomerUserCredentialResults {\n /**\n * The list of appliance kubeconfigs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: ApplianceCredentialKubeconfig[];\n /**\n * Map of Customer User Public and Private SSH Keys\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly sshKeys?: { [propertyName: string]: SSHKey };\n}\n\n/** Cluster User Credential appliance. */\nexport interface ApplianceCredentialKubeconfig {\n /**\n * Name which contains the role of the kubeconfig.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: AccessProfileType;\n /**\n * Contains the kubeconfig value.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n}\n\n/** Appliance SSHKey definition. */\nexport interface SSHKey {\n /** User Private Key. */\n privateKey?: string;\n /** User Public Key. */\n publicKey?: string;\n}\n\n/** The List Cluster User Credential appliance. */\nexport interface ApplianceListCredentialResults {\n /**\n * Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS).\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionConfig?: HybridConnectionConfig;\n /**\n * The list of appliance kubeconfigs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly kubeconfigs?: ApplianceCredentialKubeconfig[];\n}\n\n/** Contains the REP (rendezvous endpoint) and “Listener” access token from notification service (NS). */\nexport interface HybridConnectionConfig {\n /**\n * Timestamp when this token will be expired.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly expirationTime?: number;\n /**\n * Name of the connection\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly hybridConnectionName?: string;\n /**\n * Name of the notification service.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly relay?: string;\n /**\n * Listener access token\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly token?: string;\n}\n\n/** The Upgrade Graph for appliance. */\nexport interface UpgradeGraph {\n /**\n * The appliance resource path\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The release train name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /** The properties of supported version */\n properties?: UpgradeGraphProperties;\n}\n\n/** The Upgrade Graph Properties for appliance. */\nexport interface UpgradeGraphProperties {\n /**\n * The current appliance version\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly applianceVersion?: string;\n /**\n * This contains the current version and supported upgrade versions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly supportedVersions?: SupportedVersion[];\n}\n\n/** The SupportedVersion object for appliance. */\nexport interface SupportedVersion {\n /**\n * This is the metadata of the supported newer version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly metadata?: SupportedVersionMetadata;\n /**\n * The newer version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly version?: string;\n}\n\n/** The SupportedVersionMetadata object for appliance. */\nexport interface SupportedVersionMetadata {\n /**\n * The newer supported version catalog version.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly catalogVersion?: SupportedVersionCatalogVersion;\n}\n\n/** The SupportedVersionCatalogVersion object for appliance. */\nexport interface SupportedVersionCatalogVersion {\n /**\n * The newer supported version catalog version data.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly data?: SupportedVersionCatalogVersionData;\n /**\n * The catalog version name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The catalog version namespace for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly namespace?: string;\n}\n\n/** The SupportedVersionCatalogVersionData object for appliance. */\nexport interface SupportedVersionCatalogVersionData {\n /**\n * The image audience name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly audience?: string;\n /**\n * The image catalog name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly catalog?: string;\n /**\n * The image offer name for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly offer?: string;\n /**\n * The image version for the version available for upgrade.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly version?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** Appliances definition. */\nexport interface Appliance extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Represents a supported Fabric/Infra. (AKSEdge etc...). */\n distro?: Distro;\n /** Contains infrastructure information about the Appliance */\n infrastructureConfig?: AppliancePropertiesInfrastructureConfig;\n /**\n * The current deployment or provisioning state, which only appears in the response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: string;\n /** Certificates pair used to download MSI certificate from HIS */\n publicKey?: string;\n /**\n * Appliance’s health and state of connection to on-prem\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly status?: Status;\n /** Version of the Appliance */\n version?: string;\n}\n\n/** Known values of {@link ResourceIdentityType} that the service accepts. */\nexport enum KnownResourceIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for ResourceIdentityType. \\\n * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SystemAssigned** \\\n * **None**\n */\nexport type ResourceIdentityType = string;\n\n/** Known values of {@link Distro} that the service accepts. */\nexport enum KnownDistro {\n /** AKSEdge */\n AKSEdge = \"AKSEdge\"\n}\n\n/**\n * Defines values for Distro. \\\n * {@link KnownDistro} can be used interchangeably with Distro,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **AKSEdge**\n */\nexport type Distro = string;\n\n/** Known values of {@link Provider} that the service accepts. */\nexport enum KnownProvider {\n /** VMWare */\n VMWare = \"VMWare\",\n /** HCI */\n HCI = \"HCI\",\n /** Scvmm */\n Scvmm = \"SCVMM\",\n /** KubeVirt */\n KubeVirt = \"KubeVirt\",\n /** OpenStack */\n OpenStack = \"OpenStack\"\n}\n\n/**\n * Defines values for Provider. \\\n * {@link KnownProvider} can be used interchangeably with Provider,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **VMWare** \\\n * **HCI** \\\n * **SCVMM** \\\n * **KubeVirt** \\\n * **OpenStack**\n */\nexport type Provider = string;\n\n/** Known values of {@link Status} that the service accepts. */\nexport enum KnownStatus {\n /** WaitingForHeartbeat */\n WaitingForHeartbeat = \"WaitingForHeartbeat\",\n /** Validating */\n Validating = \"Validating\",\n /** Connecting */\n Connecting = \"Connecting\",\n /** Connected */\n Connected = \"Connected\",\n /** Running */\n Running = \"Running\",\n /** PreparingForUpgrade */\n PreparingForUpgrade = \"PreparingForUpgrade\",\n /** UpgradePrerequisitesCompleted */\n UpgradePrerequisitesCompleted = \"UpgradePrerequisitesCompleted\",\n /** PreUpgrade */\n PreUpgrade = \"PreUpgrade\",\n /** UpdatingCloudOperator */\n UpdatingCloudOperator = \"UpdatingCloudOperator\",\n /** WaitingForCloudOperator */\n WaitingForCloudOperator = \"WaitingForCloudOperator\",\n /** UpdatingCapi */\n UpdatingCapi = \"UpdatingCAPI\",\n /** UpdatingCluster */\n UpdatingCluster = \"UpdatingCluster\",\n /** PostUpgrade */\n PostUpgrade = \"PostUpgrade\",\n /** UpgradeComplete */\n UpgradeComplete = \"UpgradeComplete\",\n /** UpgradeClusterExtensionFailedToDelete */\n UpgradeClusterExtensionFailedToDelete = \"UpgradeClusterExtensionFailedToDelete\",\n /** UpgradeFailed */\n UpgradeFailed = \"UpgradeFailed\",\n /** Offline */\n Offline = \"Offline\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for Status. \\\n * {@link KnownStatus} can be used interchangeably with Status,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **WaitingForHeartbeat** \\\n * **Validating** \\\n * **Connecting** \\\n * **Connected** \\\n * **Running** \\\n * **PreparingForUpgrade** \\\n * **UpgradePrerequisitesCompleted** \\\n * **PreUpgrade** \\\n * **UpdatingCloudOperator** \\\n * **WaitingForCloudOperator** \\\n * **UpdatingCAPI** \\\n * **UpdatingCluster** \\\n * **PostUpgrade** \\\n * **UpgradeComplete** \\\n * **UpgradeClusterExtensionFailedToDelete** \\\n * **UpgradeFailed** \\\n * **Offline** \\\n * **None**\n */\nexport type Status = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link AccessProfileType} that the service accepts. */\nexport enum KnownAccessProfileType {\n /** ClusterUser */\n ClusterUser = \"clusterUser\",\n /** ClusterCustomerUser */\n ClusterCustomerUser = \"clusterCustomerUser\"\n}\n\n/**\n * Defines values for AccessProfileType. \\\n * {@link KnownAccessProfileType} can be used interchangeably with AccessProfileType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **clusterUser** \\\n * **clusterCustomerUser**\n */\nexport type AccessProfileType = string;\n\n/** Known values of {@link SSHKeyType} that the service accepts. */\nexport enum KnownSSHKeyType {\n /** SSHCustomerUser */\n SSHCustomerUser = \"SSHCustomerUser\"\n}\n\n/**\n * Defines values for SSHKeyType. \\\n * {@link KnownSSHKeyType} can be used interchangeably with SSHKeyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SSHCustomerUser**\n */\nexport type SSHKeyType = string;\n\n/** Optional parameters. */\nexport interface AppliancesListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type AppliancesListOperationsResponse = ApplianceOperationsList;\n\n/** Optional parameters. */\nexport interface AppliancesListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type AppliancesListBySubscriptionResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type AppliancesListByResourceGroupResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type AppliancesGetResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type AppliancesCreateOrUpdateResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface AppliancesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** Contains response data for the update operation. */\nexport type AppliancesUpdateResponse = Appliance;\n\n/** Optional parameters. */\nexport interface AppliancesListClusterCustomerUserCredentialOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listClusterCustomerUserCredential operation. */\nexport type AppliancesListClusterCustomerUserCredentialResponse = ApplianceListClusterCustomerUserCredentialResults;\n\n/** Optional parameters. */\nexport interface AppliancesListClusterUserCredentialOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listClusterUserCredential operation. */\nexport type AppliancesListClusterUserCredentialResponse = ApplianceListCredentialResults;\n\n/** Optional parameters. */\nexport interface AppliancesGetUpgradeGraphOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getUpgradeGraph operation. */\nexport type AppliancesGetUpgradeGraphResponse = UpgradeGraph;\n\n/** Optional parameters. */\nexport interface AppliancesListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type AppliancesListOperationsNextResponse = ApplianceOperationsList;\n\n/** Optional parameters. */\nexport interface AppliancesListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type AppliancesListBySubscriptionNextResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface AppliancesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type AppliancesListByResourceGroupNextResponse = ApplianceListResult;\n\n/** Optional parameters. */\nexport interface ResourceConnectorManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ApplianceOperationsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperationsList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ApplianceOperation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceOperation\",\n modelProperties: {\n isDataAction: {\n serializedName: \"isDataAction\",\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n origin: {\n serializedName: \"origin\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"display.description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"display.operation\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n provider: {\n serializedName: \"display.provider\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"display.resource\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n }\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ApplianceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListResult\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Appliance\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AppliancePropertiesInfrastructureConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AppliancePropertiesInfrastructureConfig\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PatchableAppliance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PatchableAppliance\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ApplianceListClusterCustomerUserCredentialResults: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListClusterCustomerUserCredentialResults\",\n modelProperties: {\n kubeconfigs: {\n serializedName: \"kubeconfigs\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\"\n }\n }\n }\n },\n sshKeys: {\n serializedName: \"sshKeys\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Composite\", className: \"SSHKey\" } }\n }\n }\n }\n }\n};\n\nexport const ApplianceCredentialKubeconfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SSHKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SSHKey\",\n modelProperties: {\n privateKey: {\n serializedName: \"privateKey\",\n type: {\n name: \"String\"\n }\n },\n publicKey: {\n serializedName: \"publicKey\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplianceListCredentialResults: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplianceListCredentialResults\",\n modelProperties: {\n hybridConnectionConfig: {\n serializedName: \"hybridConnectionConfig\",\n type: {\n name: \"Composite\",\n className: \"HybridConnectionConfig\"\n }\n },\n kubeconfigs: {\n serializedName: \"kubeconfigs\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplianceCredentialKubeconfig\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const HybridConnectionConfig: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"HybridConnectionConfig\",\n modelProperties: {\n expirationTime: {\n serializedName: \"expirationTime\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n hybridConnectionName: {\n serializedName: \"hybridConnectionName\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n relay: {\n serializedName: \"relay\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n token: {\n serializedName: \"token\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const UpgradeGraph: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpgradeGraph\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"UpgradeGraphProperties\"\n }\n }\n }\n }\n};\n\nexport const UpgradeGraphProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"UpgradeGraphProperties\",\n modelProperties: {\n applianceVersion: {\n serializedName: \"applianceVersion\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n supportedVersions: {\n serializedName: \"supportedVersions\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SupportedVersion\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SupportedVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersion\",\n modelProperties: {\n metadata: {\n serializedName: \"metadata\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionMetadata\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionMetadata: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionMetadata\",\n modelProperties: {\n catalogVersion: {\n serializedName: \"catalogVersion\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersion\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionCatalogVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersion\",\n modelProperties: {\n data: {\n serializedName: \"data\",\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersionData\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n namespace: {\n serializedName: \"namespace\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SupportedVersionCatalogVersionData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SupportedVersionCatalogVersionData\",\n modelProperties: {\n audience: {\n serializedName: \"audience\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n catalog: {\n serializedName: \"catalog\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n offer: {\n serializedName: \"offer\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Appliance: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Appliance\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n },\n distro: {\n defaultValue: \"AKSEdge\",\n serializedName: \"properties.distro\",\n type: {\n name: \"String\"\n }\n },\n infrastructureConfig: {\n serializedName: \"properties.infrastructureConfig\",\n type: {\n name: \"Composite\",\n className: \"AppliancePropertiesInfrastructureConfig\"\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n publicKey: {\n serializedName: \"properties.publicKey\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"properties.status\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"properties.version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Appliance as ApplianceMapper,\n PatchableAppliance as PatchableApplianceMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-04-15-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n MinLength: 1\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$\"\n ),\n MaxLength: 63,\n MinLength: 1\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplianceMapper\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: PatchableApplianceMapper\n};\n\nexport const upgradeGraph: OperationURLParameter = {\n parameterPath: \"upgradeGraph\",\n mapper: {\n serializedName: \"upgradeGraph\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Appliances } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ResourceConnectorManagementClient } from \"../resourceConnectorManagementClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n ApplianceOperation,\n AppliancesListOperationsNextOptionalParams,\n AppliancesListOperationsOptionalParams,\n Appliance,\n AppliancesListBySubscriptionNextOptionalParams,\n AppliancesListBySubscriptionOptionalParams,\n AppliancesListByResourceGroupNextOptionalParams,\n AppliancesListByResourceGroupOptionalParams,\n AppliancesListOperationsResponse,\n AppliancesListBySubscriptionResponse,\n AppliancesListByResourceGroupResponse,\n AppliancesGetOptionalParams,\n AppliancesGetResponse,\n AppliancesCreateOrUpdateOptionalParams,\n AppliancesCreateOrUpdateResponse,\n AppliancesDeleteOptionalParams,\n AppliancesUpdateOptionalParams,\n AppliancesUpdateResponse,\n AppliancesListClusterCustomerUserCredentialOptionalParams,\n AppliancesListClusterCustomerUserCredentialResponse,\n AppliancesListClusterUserCredentialOptionalParams,\n AppliancesListClusterUserCredentialResponse,\n AppliancesGetUpgradeGraphOptionalParams,\n AppliancesGetUpgradeGraphResponse,\n AppliancesListOperationsNextResponse,\n AppliancesListBySubscriptionNextResponse,\n AppliancesListByResourceGroupNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Appliances operations. */\nexport class AppliancesImpl implements Appliances {\n private readonly client: ResourceConnectorManagementClient;\n\n /**\n * Initialize a new instance of the class Appliances class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceConnectorManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available Appliances operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: AppliancesListOperationsOptionalParams\n ): PagedAsyncIterableIterator<ApplianceOperation> {\n const iter = this.listOperationsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listOperationsPagingPage(options);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: AppliancesListOperationsOptionalParams\n ): AsyncIterableIterator<ApplianceOperation[]> {\n let result = await this._listOperations(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listOperationsPagingAll(\n options?: AppliancesListOperationsOptionalParams\n ): AsyncIterableIterator<ApplianceOperation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Appliances in the specified subscription. The operation returns properties of each\n * Appliance\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: AppliancesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Appliance> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: AppliancesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Appliance[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: AppliancesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Appliance> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Appliances in the specified subscription and resource group. The operation returns\n * properties of each Appliance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: AppliancesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Appliance> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByResourceGroupPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: AppliancesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Appliance[]> {\n let result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: AppliancesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Appliance> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all available Appliances operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: AppliancesListOperationsOptionalParams\n ): Promise<AppliancesListOperationsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listOperationsOperationSpec\n );\n }\n\n /**\n * Gets a list of Appliances in the specified subscription. The operation returns properties of each\n * Appliance\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: AppliancesListBySubscriptionOptionalParams\n ): Promise<AppliancesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of Appliances in the specified subscription and resource group. The operation returns\n * properties of each Appliance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: AppliancesListByResourceGroupOptionalParams\n ): Promise<AppliancesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the details of an Appliance with a specified resource group and name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesGetOptionalParams\n ): Promise<AppliancesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates an Appliance in the specified Subscription and Resource Group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param parameters Parameters supplied to create or update an Appliance.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Appliance,\n options?: AppliancesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AppliancesCreateOrUpdateResponse>,\n AppliancesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<AppliancesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an Appliance in the specified Subscription and Resource Group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param parameters Parameters supplied to create or update an Appliance.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n parameters: Appliance,\n options?: AppliancesCreateOrUpdateOptionalParams\n ): Promise<AppliancesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an Appliance with the specified Resource Name in the specified Resource Group and\n * Subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesUpdateOptionalParams\n ): Promise<AppliancesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Returns the cluster customer user credentials for the dedicated appliance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n listClusterCustomerUserCredential(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesListClusterCustomerUserCredentialOptionalParams\n ): Promise<AppliancesListClusterCustomerUserCredentialResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listClusterCustomerUserCredentialOperationSpec\n );\n }\n\n /**\n * Returns the cluster user credentials for the dedicated appliance.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param options The options parameters.\n */\n listClusterUserCredential(\n resourceGroupName: string,\n resourceName: string,\n options?: AppliancesListClusterUserCredentialOptionalParams\n ): Promise<AppliancesListClusterUserCredentialResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listClusterUserCredentialOperationSpec\n );\n }\n\n /**\n * Gets the upgrade graph of an Appliance with a specified resource group and name and specific release\n * train.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Appliances name.\n * @param upgradeGraph Upgrade graph version, ex - stable\n * @param options The options parameters.\n */\n getUpgradeGraph(\n resourceGroupName: string,\n resourceName: string,\n upgradeGraph: string,\n options?: AppliancesGetUpgradeGraphOptionalParams\n ): Promise<AppliancesGetUpgradeGraphResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, upgradeGraph, options },\n getUpgradeGraphOperationSpec\n );\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: AppliancesListOperationsNextOptionalParams\n ): Promise<AppliancesListOperationsNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: AppliancesListBySubscriptionNextOptionalParams\n ): Promise<AppliancesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: AppliancesListByResourceGroupNextOptionalParams\n ): Promise<AppliancesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ResourceConnector/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceConnector/appliances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Appliance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Appliance\n },\n 201: {\n bodyMapper: Mappers.Appliance\n },\n 202: {\n bodyMapper: Mappers.Appliance\n },\n 204: {\n bodyMapper: Mappers.Appliance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Appliance\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: {\n parameterPath: { tags: [\"options\", \"tags\"] },\n mapper: { ...Mappers.PatchableAppliance, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listClusterCustomerUserCredentialOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listClusterCustomerUserCredential\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListClusterCustomerUserCredentialResults\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listClusterUserCredentialOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listClusterUserCredential\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListCredentialResults\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getUpgradeGraphOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/upgradeGraphs/{upgradeGraph}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UpgradeGraph\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.upgradeGraph\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplianceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { AppliancesImpl } from \"./operations\";\nimport { Appliances } from \"./operationsInterfaces\";\nimport { ResourceConnectorManagementClientOptionalParams } from \"./models\";\n\nexport class ResourceConnectorManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ResourceConnectorManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ResourceConnectorManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ResourceConnectorManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-resourceconnector/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-04-15-preview\";\n this.appliances = new AppliancesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n appliances: Appliances;\n}\n"],"names":["KnownResourceIdentityType","KnownDistro","KnownProvider","KnownStatus","KnownCreatedByType","KnownAccessProfileType","KnownSSHKeyType","ApplianceMapper","__rest","__await","__asyncValues","__asyncDelegator","__awaiter","LroEngine","coreClient","Mappers.ApplianceOperationsList","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.accept","Mappers.ApplianceListResult","Parameters.subscriptionId","Parameters.resourceGroupName","Mappers.Appliance","Parameters.resourceName","Parameters.parameters","Parameters.contentType","Mappers.PatchableAppliance","Mappers.ApplianceListClusterCustomerUserCredentialResults","Mappers.ApplianceListCredentialResults","Mappers.UpgradeGraph","Parameters.upgradeGraph","Parameters.nextLink","coreRestPipeline"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAgYH;AACYA,2CAKX;AALD,CAAA,UAAY,yBAAyB,EAAA;;AAEnC,IAAA,yBAAA,CAAA,gBAAA,CAAA,GAAA,gBAAiC,CAAA;;AAEjC,IAAA,yBAAA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C3C;AAGF;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(t){if(t&&t.__esModule)return t;var a=Object.create(null);return t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),a.default=t,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownResourceIdentityType=void 0,function(e){e.SystemAssigned="SystemAssigned",e.None="None"}(exports.KnownResourceIdentityType||(exports.KnownResourceIdentityType={})),exports.KnownDistro=void 0,(exports.KnownDistro||(exports.KnownDistro={})).AKSEdge="AKSEdge",exports.KnownProvider=void 0,function(e){e.VMWare="VMWare",e.HCI="HCI",e.Scvmm="SCVMM",e.KubeVirt="KubeVirt",e.OpenStack="OpenStack"}(exports.KnownProvider||(exports.KnownProvider={})),exports.KnownStatus=void 0,function(e){e.WaitingForHeartbeat="WaitingForHeartbeat",e.Validating="Validating",e.Connecting="Connecting",e.Connected="Connected",e.Running="Running",e.PreparingForUpgrade="PreparingForUpgrade",e.UpgradePrerequisitesCompleted="UpgradePrerequisitesCompleted",e.PreUpgrade="PreUpgrade",e.UpdatingCloudOperator="UpdatingCloudOperator",e.WaitingForCloudOperator="WaitingForCloudOperator",e.UpdatingCapi="UpdatingCAPI",e.UpdatingCluster="UpdatingCluster",e.PostUpgrade="PostUpgrade",e.UpgradeComplete="UpgradeComplete",e.UpgradeClusterExtensionFailedToDelete="UpgradeClusterExtensionFailedToDelete",e.UpgradeFailed="UpgradeFailed",e.Offline="Offline",e.None="None"}(exports.KnownStatus||(exports.KnownStatus={})),exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownAccessProfileType=void 0,function(e){e.ClusterUser="clusterUser",e.ClusterCustomerUser="clusterCustomerUser"}(exports.KnownAccessProfileType||(exports.KnownAccessProfileType={})),exports.KnownSSHKeyType=void 0,(exports.KnownSSHKeyType||(exports.KnownSSHKeyType={})).SSHCustomerUser="SSHCustomerUser";const ApplianceOperationsList={type:{name:"Composite",className:"ApplianceOperationsList",modelProperties:{nextLink:{serializedName:"nextLink",type:{name:"String"}},value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ApplianceOperation"}}}}}}},ApplianceOperation={type:{name:"Composite",className:"ApplianceOperation",modelProperties:{isDataAction:{serializedName:"isDataAction",readOnly:!0,type:{name:"Boolean"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},origin:{serializedName:"origin",readOnly:!0,type:{name:"String"}},description:{serializedName:"display.description",readOnly:!0,type:{name:"String"}},operation:{serializedName:"display.operation",readOnly:!0,type:{name:"String"}},provider:{serializedName:"display.provider",readOnly:!0,type:{name:"String"}},resource:{serializedName:"display.resource",readOnly:!0,type:{name:"String"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorDetail"}}}}},ErrorDetail={type:{name:"Composite",className:"ErrorDetail",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorDetail"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ApplianceListResult={type:{name:"Composite",className:"ApplianceListResult",modelProperties:{nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}},value:{serializedName:"value",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"Appliance"}}}}}}},Identity={type:{name:"Composite",className:"Identity",modelProperties:{principalId:{serializedName:"principalId",readOnly:!0,type:{name:"String"}},tenantId:{serializedName:"tenantId",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},AppliancePropertiesInfrastructureConfig={type:{name:"Composite",className:"AppliancePropertiesInfrastructureConfig",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}}}}},PatchableAppliance={type:{name:"Composite",className:"PatchableAppliance",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},ApplianceListClusterCustomerUserCredentialResults={type:{name:"Composite",className:"ApplianceListClusterCustomerUserCredentialResults",modelProperties:{kubeconfigs:{serializedName:"kubeconfigs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ApplianceCredentialKubeconfig"}}}},sshKeys:{serializedName:"sshKeys",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"SSHKey"}}}}}}},ApplianceCredentialKubeconfig={type:{name:"Composite",className:"ApplianceCredentialKubeconfig",modelProperties:{name:{serializedName:"name",readOnly:!0,type:{name:"String"}},value:{serializedName:"value",readOnly:!0,type:{name:"String"}}}}},SSHKey={type:{name:"Composite",className:"SSHKey",modelProperties:{privateKey:{serializedName:"privateKey",type:{name:"String"}},publicKey:{serializedName:"publicKey",type:{name:"String"}}}}},ApplianceListCredentialResults={type:{name:"Composite",className:"ApplianceListCredentialResults",modelProperties:{hybridConnectionConfig:{serializedName:"hybridConnectionConfig",type:{name:"Composite",className:"HybridConnectionConfig"}},kubeconfigs:{serializedName:"kubeconfigs",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ApplianceCredentialKubeconfig"}}}}}}},HybridConnectionConfig={type:{name:"Composite",className:"HybridConnectionConfig",modelProperties:{expirationTime:{serializedName:"expirationTime",readOnly:!0,type:{name:"Number"}},hybridConnectionName:{serializedName:"hybridConnectionName",readOnly:!0,type:{name:"String"}},relay:{serializedName:"relay",readOnly:!0,type:{name:"String"}},token:{serializedName:"token",readOnly:!0,type:{name:"String"}}}}},UpgradeGraph={type:{name:"Composite",className:"UpgradeGraph",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"UpgradeGraphProperties"}}}}},UpgradeGraphProperties={type:{name:"Composite",className:"UpgradeGraphProperties",modelProperties:{applianceVersion:{serializedName:"applianceVersion",readOnly:!0,type:{name:"String"}},supportedVersions:{serializedName:"supportedVersions",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"SupportedVersion"}}}}}}},SupportedVersion={type:{name:"Composite",className:"SupportedVersion",modelProperties:{metadata:{serializedName:"metadata",type:{name:"Composite",className:"SupportedVersionMetadata"}},version:{serializedName:"version",readOnly:!0,type:{name:"String"}}}}},SupportedVersionMetadata={type:{name:"Composite",className:"SupportedVersionMetadata",modelProperties:{catalogVersion:{serializedName:"catalogVersion",type:{name:"Composite",className:"SupportedVersionCatalogVersion"}}}}},SupportedVersionCatalogVersion={type:{name:"Composite",className:"SupportedVersionCatalogVersion",modelProperties:{data:{serializedName:"data",type:{name:"Composite",className:"SupportedVersionCatalogVersionData"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},namespace:{serializedName:"namespace",readOnly:!0,type:{name:"String"}}}}},SupportedVersionCatalogVersionData={type:{name:"Composite",className:"SupportedVersionCatalogVersionData",modelProperties:{audience:{serializedName:"audience",readOnly:!0,type:{name:"String"}},catalog:{serializedName:"catalog",readOnly:!0,type:{name:"String"}},offer:{serializedName:"offer",readOnly:!0,type:{name:"String"}},version:{serializedName:"version",readOnly:!0,type:{name:"String"}}}}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},location:{serializedName:"location",required:!0,type:{name:"String"}}})}},Appliance={type:{name:"Composite",className:"Appliance",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{identity:{serializedName:"identity",type:{name:"Composite",className:"Identity"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}},distro:{defaultValue:"AKSEdge",serializedName:"properties.distro",type:{name:"String"}},infrastructureConfig:{serializedName:"properties.infrastructureConfig",type:{name:"Composite",className:"AppliancePropertiesInfrastructureConfig"}},provisioningState:{serializedName:"properties.provisioningState",readOnly:!0,type:{name:"String"}},publicKey:{serializedName:"properties.publicKey",type:{name:"String"}},status:{serializedName:"properties.status",readOnly:!0,type:{name:"String"}},version:{serializedName:"properties.version",type:{name:"String"}}})}};var Mappers=Object.freeze({__proto__:null,ApplianceOperationsList:ApplianceOperationsList,ApplianceOperation:ApplianceOperation,ErrorResponse:ErrorResponse,ErrorDetail:ErrorDetail,ErrorAdditionalInfo:ErrorAdditionalInfo,ApplianceListResult:ApplianceListResult,Identity:Identity,AppliancePropertiesInfrastructureConfig:AppliancePropertiesInfrastructureConfig,SystemData:SystemData,Resource:Resource,PatchableAppliance:PatchableAppliance,ApplianceListClusterCustomerUserCredentialResults:ApplianceListClusterCustomerUserCredentialResults,ApplianceCredentialKubeconfig:ApplianceCredentialKubeconfig,SSHKey:SSHKey,ApplianceListCredentialResults:ApplianceListCredentialResults,HybridConnectionConfig:HybridConnectionConfig,UpgradeGraph:UpgradeGraph,UpgradeGraphProperties:UpgradeGraphProperties,SupportedVersion:SupportedVersion,SupportedVersionMetadata:SupportedVersionMetadata,SupportedVersionCatalogVersion:SupportedVersionCatalogVersion,SupportedVersionCatalogVersionData:SupportedVersionCatalogVersionData,TrackedResource:TrackedResource,Appliance:Appliance});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2022-04-15-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{constraints:{MinLength:1},serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},resourceName={parameterPath:"resourceName",mapper:{constraints:{Pattern:new RegExp("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"),MaxLength:63,MinLength:1},serializedName:"resourceName",required:!0,type:{name:"String"}}},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:Appliance},upgradeGraph={parameterPath:"upgradeGraph",mapper:{serializedName:"upgradeGraph",required:!0,type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0};class LroImpl{constructor(e,r,t,a=t.path,i=t.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=t,this.requestPath=a,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class AppliancesImpl{constructor(e){this.client=e}listOperations(e){const r=this.listOperationsPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listOperationsPagingPage(e)}}listOperationsPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listOperations(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listOperationsNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listOperationsPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listOperationsPagingPage(s));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(t));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listBySubscriptionNext(r,t)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listBySubscriptionPagingPage(s));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(t,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(t,a));yield yield tslib.__await(e.value||[]);let r=e.nextLink;for(;r;)e=yield tslib.__await(this._listByResourceGroupNext(t,r,a)),r=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(s,n));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}_listOperations(e){return this.client.sendOperationRequest({options:e},listOperationsOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},getOperationSpec)}beginCreateOrUpdate(t,a,i,n){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const a=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==a&&void 0!==a&&a(e,r)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:t,resourceName:a,parameters:i,options:n},createOrUpdateOperationSpec);const r=new coreLro.LroEngine(e,{resumeFrom:null==n?void 0:n.resumeFrom,intervalInMs:null==n?void 0:n.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield r.poll(),r})}beginCreateOrUpdateAndWait(r,t,a,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(r,t,a,i);return e.pollUntilDone()})}beginDelete(t,a,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const a=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==a&&void 0!==a&&a(e,r)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:t,resourceName:a,options:i},deleteOperationSpec);const r=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs,lroResourceLocationConfig:"azure-async-operation"});return yield r.poll(),r})}beginDeleteAndWait(r,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(r,t,a);return e.pollUntilDone()})}update(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},updateOperationSpec)}listClusterCustomerUserCredential(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},listClusterCustomerUserCredentialOperationSpec)}listClusterUserCredential(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,options:t},listClusterUserCredentialOperationSpec)}getUpgradeGraph(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,resourceName:r,upgradeGraph:t,options:a},getUpgradeGraphOperationSpec)}_listOperationsNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listOperationsNextOperationSpec)}_listBySubscriptionNext(e,r){return this.client.sendOperationRequest({nextLink:e,options:r},listBySubscriptionNextOperationSpec)}_listByResourceGroupNext(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:r,options:t},listByResourceGroupNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationsOperationSpec={path:"/providers/Microsoft.ResourceConnector/operations",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceOperationsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceConnector/appliances",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}",httpMethod:"GET",responses:{200:{bodyMapper:Appliance},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}",httpMethod:"PUT",responses:{200:{bodyMapper:Appliance},201:{bodyMapper:Appliance},202:{bodyMapper:Appliance},204:{bodyMapper:Appliance},default:{bodyMapper:ErrorResponse}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept],serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Appliance},default:{bodyMapper:ErrorResponse}},requestBody:{parameterPath:{tags:["options","tags"]},mapper:Object.assign(Object.assign({},PatchableAppliance),{required:!0})},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer},listClusterCustomerUserCredentialOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listClusterCustomerUserCredential",httpMethod:"POST",responses:{200:{bodyMapper:ApplianceListClusterCustomerUserCredentialResults},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept],serializer:serializer},listClusterUserCredentialOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listClusterUserCredential",httpMethod:"POST",responses:{200:{bodyMapper:ApplianceListCredentialResults},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName],headerParameters:[accept],serializer:serializer},getUpgradeGraphOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/upgradeGraphs/{upgradeGraph}",httpMethod:"GET",responses:{200:{bodyMapper:UpgradeGraph},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,resourceName,upgradeGraph],headerParameters:[accept],serializer:serializer},listOperationsNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceOperationsList},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ApplianceListResult},default:{bodyMapper:ErrorResponse}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer};class ResourceConnectorManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var a="azsdk-js-arm-resourceconnector/1.0.0-beta.1",a=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+a:a,e=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=t.endpoint)?e:t.baseUri)?a:"https://management.azure.com"});if(super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length){const i=t.pipeline.getOrderedPolicies();i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2022-04-15-preview",this.appliances=new AppliancesImpl(this),this.addCustomApiVersionPolicy(t.apiVersion)}addCustomApiVersionPolicy(i){i&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(t,a){return tslib.__awaiter(this,void 0,void 0,function*(){const e=t.url.split("?");if(1<e.length){const r=e[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+i:e);t.url=e[0]+"?"+r.join("&")}return a(t)})}})}}exports.ResourceConnectorManagementClient=ResourceConnectorManagementClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/appliances.ts","../src/resourceConnectorManagementClient.ts"],"names":["KnownResourceIdentityType","KnownDistro","KnownProvider","KnownStatus","KnownCreatedByType","KnownAccessProfileType","KnownSSHKeyType","ApplianceOperationsList","type","name","className","modelProperties","nextLink","serializedName","value","required","element","ApplianceOperation","isDataAction","readOnly","origin","description","operation","provider","resource","ErrorResponse","error","ErrorDetail","code","message","target","details","additionalInfo","ErrorAdditionalInfo","info","ApplianceListResult","Identity","principalId","tenantId","AppliancePropertiesInfrastructureConfig","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","Resource","id","PatchableAppliance","tags","ApplianceListClusterCustomerUserCredentialResults","kubeconfigs","sshKeys","ApplianceCredentialKubeconfig","SSHKey","privateKey","publicKey","ApplianceListCredentialResults","hybridConnectionConfig","HybridConnectionConfig","expirationTime","hybridConnectionName","relay","token","UpgradeGraph","properties","UpgradeGraphProperties","applianceVersion","supportedVersions","SupportedVersion","metadata","version","SupportedVersionMetadata","catalogVersion","SupportedVersionCatalogVersion","data","namespace","SupportedVersionCatalogVersionData","audience","catalog","offer","TrackedResource","Object","assign","location","Appliance","identity","systemData","distro","defaultValue","infrastructureConfig","provisioningState","status","accept","parameterPath","mapper","isConstant","$host","skipEncoding","apiVersion","subscriptionId","constraints","MinLength","resourceGroupName","MaxLength","resourceName","Pattern","RegExp","contentType","parameters","ApplianceMapper","upgradeGraph","LroImpl","constructor","sendOperationFn","args","spec","requestPath","path","requestMethod","httpMethod","this","sendInitialRequest","sendPollRequest","_a","restSpec","__rest","AppliancesImpl","client","listOperations","options","iter","listOperationsPagingAll","next","Symbol","asyncIterator","byPage","listOperationsPagingPage","let","result","__await","_listOperations","continuationToken","_listOperationsNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","_listBySubscriptionNext","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","sendOperationRequest","listOperationsOperationSpec","listBySubscriptionOperationSpec","listByResourceGroupOperationSpec","get","getOperationSpec","beginCreateOrUpdate","directSendOperation","__awaiter","lro","currentRawResponse","undefined","providedCallback","onResponse","updatedArgs","rawResponse","flatResponse","statusCode","body","parsedBody","headers","toJSON","createOrUpdateOperationSpec","poller","LroEngine","resumeFrom","intervalInMs","updateIntervalInMs","lroResourceLocationConfig","poll","beginCreateOrUpdateAndWait","pollUntilDone","beginDelete","deleteOperationSpec","beginDeleteAndWait","update","updateOperationSpec","listClusterCustomerUserCredential","listClusterCustomerUserCredentialOperationSpec","listClusterUserCredential","listClusterUserCredentialOperationSpec","getUpgradeGraph","getUpgradeGraphOperationSpec","listOperationsNextOperationSpec","listBySubscriptionNextOperationSpec","listByResourceGroupNextOperationSpec","serializer","coreClient","createSerializer","Mappers","responses","200","bodyMapper","Mappers.ApplianceOperationsList","default","Mappers.ErrorResponse","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Mappers.ApplianceListResult","Parameters.subscriptionId","Parameters.resourceGroupName","Mappers.Appliance","Parameters.resourceName","201","202","204","requestBody","Parameters.parameters","Parameters.contentType","mediaType","Mappers.PatchableAppliance","Mappers.ApplianceListClusterCustomerUserCredentialResults","Mappers.ApplianceListCredentialResults","Mappers.UpgradeGraph","Parameters.upgradeGraph","Parameters.nextLink","ResourceConnectorManagementClient","ServiceClient","credentials","Error","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","requestContentType","credential","baseUri","endpoint","super","pipeline","getOrderedPolicies","length","pipelinePolicies","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","appliances","addCustomApiVersionPolicy","sendRequest","request","param","url","split","newParams","map","item","indexOf","join"],"mappings":"soBAuYYA,QAAAA,+BAAAA,EAAZ,SAAYA,GAEVA,EAAA,eAAA,iBAEAA,EAAA,KAAA,OAJF,CAAYA,QAAAA,4BAAAA,QAAAA,0BAKX,KAaWC,QAAAA,iBAAAA,GAAAA,QAAAA,cAAAA,QAAAA,YAGX,KADC,QAAA,UAaUC,QAAAA,mBAAAA,EAAZ,SAAYA,GAEVA,EAAA,OAAA,SAEAA,EAAA,IAAA,MAEAA,EAAA,MAAA,QAEAA,EAAA,SAAA,WAEAA,EAAA,UAAA,YAVF,CAAYA,QAAAA,gBAAAA,QAAAA,cAWX,KAgBWC,QAAAA,iBAAAA,EAAZ,SAAYA,GAEVA,EAAA,oBAAA,sBAEAA,EAAA,WAAA,aAEAA,EAAA,WAAA,aAEAA,EAAA,UAAA,YAEAA,EAAA,QAAA,UAEAA,EAAA,oBAAA,sBAEAA,EAAA,8BAAA,gCAEAA,EAAA,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Aa,IAAI7I,eAAeN,MACrCA,KAAKoJ,0BAA0B3I,EAAQ/B,YAIjC0K,0BAA0B1K,GAC3BA,GAuBLsB,KAAKoI,SAASS,UApBW,CACvB9P,KAAM,yBACAsQ,YACJC,EACA1I,G,sDAEA,MAAM2I,EAAQD,EAAQE,IAAIC,MAAM,KAChC,GAAmB,EAAfF,EAAMjB,OAAY,CACpB,MAAMoB,EAAYH,EAAM,GAAGE,MAAM,KAAKE,IAAI,IACL,EAA/BC,EAAKC,QAAQ,eACR,eAAiBnL,EAEjBkL,GAGXN,EAAQE,IAAMD,EAAM,GAAK,IAAMG,EAAUI,KAAK,KAEhD,OAAOlJ,EAAK0I,S"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appliancesCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Creates or updates an Appliance in the specified Subscription and Resource Group.
|
|
15
|
+
*
|
|
16
|
+
* @summary Creates or updates an Appliance in the specified Subscription and Resource Group.
|
|
17
|
+
* x-ms-original-file: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/preview/2022-04-15-preview/examples/AppliancesCreate_Update.json
|
|
18
|
+
*/
|
|
19
|
+
function createOrUpdateAppliance() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "11111111-2222-3333-4444-555555555555";
|
|
22
|
+
const resourceGroupName = "testresourcegroup";
|
|
23
|
+
const resourceName = "appliance01";
|
|
24
|
+
const parameters = {
|
|
25
|
+
distro: "AKSEdge",
|
|
26
|
+
infrastructureConfig: { provider: "VMWare" },
|
|
27
|
+
location: "West US"
|
|
28
|
+
};
|
|
29
|
+
const credential = new DefaultAzureCredential();
|
|
30
|
+
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
|
|
31
|
+
const result = yield client.appliances.beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters);
|
|
32
|
+
console.log(result);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
createOrUpdateAppliance().catch(console.error);
|
|
36
|
+
//# sourceMappingURL=appliancesCreateOrUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/appliancesCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAc;YAC5B,MAAM,EAAE,SAAS;YACjB,oBAAoB,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE;YAC5C,QAAQ,EAAE,SAAS;SACpB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,0BAA0B,CAC/D,iBAAiB,EACjB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appliancesDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
|
|
15
|
+
*
|
|
16
|
+
* @summary Deletes an Appliance with the specified Resource Name, Resource Group, and Subscription Id.
|
|
17
|
+
* x-ms-original-file: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/preview/2022-04-15-preview/examples/AppliancesDelete.json
|
|
18
|
+
*/
|
|
19
|
+
function deleteAppliance() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "11111111-2222-3333-4444-555555555555";
|
|
22
|
+
const resourceGroupName = "testresourcegroup";
|
|
23
|
+
const resourceName = "appliance01";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.appliances.beginDeleteAndWait(resourceGroupName, resourceName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
deleteAppliance().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=appliancesDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/appliancesDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,eAAe;;QAC5B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,kBAAkB,CACvD,iBAAiB,EACjB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,eAAe,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appliancesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets the details of an Appliance with a specified resource group and name.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets the details of an Appliance with a specified resource group and name.
|
|
17
|
+
* x-ms-original-file: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/preview/2022-04-15-preview/examples/AppliancesGet.json
|
|
18
|
+
*/
|
|
19
|
+
function getAppliance() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "11111111-2222-3333-4444-555555555555";
|
|
22
|
+
const resourceGroupName = "testresourcegroup";
|
|
23
|
+
const resourceName = "appliance01";
|
|
24
|
+
const credential = new DefaultAzureCredential();
|
|
25
|
+
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
|
|
26
|
+
const result = yield client.appliances.get(resourceGroupName, resourceName);
|
|
27
|
+
console.log(result);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
getAppliance().catch(console.error);
|
|
31
|
+
//# sourceMappingURL=appliancesGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesGetSample.js","sourceRoot":"","sources":["../../samples-dev/appliancesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC5E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,YAAY,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesGetUpgradeGraphSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appliancesGetUpgradeGraphSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { ResourceConnectorManagementClient } from "@azure/arm-resourceconnector";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets the upgrade graph of an Appliance with a specified resource group and name and specific release train.
|
|
17
|
+
* x-ms-original-file: specification/resourceconnector/resource-manager/Microsoft.ResourceConnector/preview/2022-04-15-preview/examples/UpgradeGraph.json
|
|
18
|
+
*/
|
|
19
|
+
function getApplianceUpgradeGraph() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "11111111-2222-3333-4444-555555555555";
|
|
22
|
+
const resourceGroupName = "testresourcegroup";
|
|
23
|
+
const resourceName = "appliance01";
|
|
24
|
+
const upgradeGraph = "stable";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new ResourceConnectorManagementClient(credential, subscriptionId);
|
|
27
|
+
const result = yield client.appliances.getUpgradeGraph(resourceGroupName, resourceName, upgradeGraph);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
getApplianceUpgradeGraph().catch(console.error);
|
|
32
|
+
//# sourceMappingURL=appliancesGetUpgradeGraphSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appliancesGetUpgradeGraphSample.js","sourceRoot":"","sources":["../../samples-dev/appliancesGetUpgradeGraphSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;QAC9C,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,eAAe,CACpD,iBAAiB,EACjB,YAAY,EACZ,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|