HybridComputeManagementClient class

Extends

Constructors

HybridComputeManagementClient(TokenCredential, string, HybridComputeManagementClientOptionalParams)

Initializes a new instance of the HybridComputeManagementClient class.

Properties

$host
apiVersion
machineExtensions
machines
operations
privateEndpointConnections
privateLinkResources
privateLinkScopes
subscriptionId

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

beginUpgradeExtensions(string, string, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams)

The operation to Upgrade Machine Extensions.

beginUpgradeExtensionsAndWait(string, string, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams)

The operation to Upgrade Machine Extensions.

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

HybridComputeManagementClient(TokenCredential, string, HybridComputeManagementClientOptionalParams)

Initializes a new instance of the HybridComputeManagementClient class.

new HybridComputeManagementClient(credentials: TokenCredential, subscriptionId: string, options?: HybridComputeManagementClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

The ID of the target subscription.

options
HybridComputeManagementClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

machineExtensions

machineExtensions: MachineExtensions

Property Value

machines

machines: Machines

Property Value

operations

operations: Operations

Property Value

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

Property Value

privateLinkResources

privateLinkResources: PrivateLinkResources

Property Value

privateLinkScopes

privateLinkScopes: PrivateLinkScopes

Property Value

subscriptionId

subscriptionId: string

Property Value

string

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Method Details

beginUpgradeExtensions(string, string, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams)

The operation to Upgrade Machine Extensions.

function beginUpgradeExtensions(resourceGroupName: string, machineName: string, extensionUpgradeParameters: MachineExtensionUpgrade, options?: UpgradeExtensionsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

extensionUpgradeParameters
MachineExtensionUpgrade

Parameters supplied to the Upgrade Extensions operation.

options
UpgradeExtensionsOptionalParams

The options parameters.

Returns

Promise<PollerLike<PollOperationState<void>, void>>

beginUpgradeExtensionsAndWait(string, string, MachineExtensionUpgrade, UpgradeExtensionsOptionalParams)

The operation to Upgrade Machine Extensions.

function beginUpgradeExtensionsAndWait(resourceGroupName: string, machineName: string, extensionUpgradeParameters: MachineExtensionUpgrade, options?: UpgradeExtensionsOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

machineName

string

The name of the hybrid machine.

extensionUpgradeParameters
MachineExtensionUpgrade

Parameters supplied to the Upgrade Extensions operation.

options
UpgradeExtensionsOptionalParams

The options parameters.

Returns

Promise<void>

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest