VMInstanceGuestAgents interface

Interface representing a VMInstanceGuestAgents.

Methods

beginCreate(string, VMInstanceGuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

beginCreateAndWait(string, VMInstanceGuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

beginDelete(string, VMInstanceGuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

beginDeleteAndWait(string, VMInstanceGuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

get(string, VMInstanceGuestAgentsGetOptionalParams)

Implements GuestAgent GET method.

list(string, VMInstanceGuestAgentsListOptionalParams)

Returns the list of GuestAgent of the given vm.

Method Details

beginCreate(string, VMInstanceGuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

function beginCreate(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<GuestAgent>, GuestAgent>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<GuestAgent>, GuestAgent>>

beginCreateAndWait(string, VMInstanceGuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

function beginCreateAndWait(resourceUri: string, options?: VMInstanceGuestAgentsCreateOptionalParams): Promise<GuestAgent>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsCreateOptionalParams

The options parameters.

Returns

Promise<GuestAgent>

beginDelete(string, VMInstanceGuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

function beginDelete(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VMInstanceGuestAgentsDeleteHeaders>, VMInstanceGuestAgentsDeleteHeaders>>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, VMInstanceGuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

function beginDeleteAndWait(resourceUri: string, options?: VMInstanceGuestAgentsDeleteOptionalParams): Promise<VMInstanceGuestAgentsDeleteHeaders>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsDeleteOptionalParams

The options parameters.

Returns

get(string, VMInstanceGuestAgentsGetOptionalParams)

Implements GuestAgent GET method.

function get(resourceUri: string, options?: VMInstanceGuestAgentsGetOptionalParams): Promise<GuestAgent>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsGetOptionalParams

The options parameters.

Returns

Promise<GuestAgent>

list(string, VMInstanceGuestAgentsListOptionalParams)

Returns the list of GuestAgent of the given vm.

function list(resourceUri: string, options?: VMInstanceGuestAgentsListOptionalParams): PagedAsyncIterableIterator<GuestAgent, GuestAgent[], PageSettings>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.

options
VMInstanceGuestAgentsListOptionalParams

The options parameters.

Returns