GuestAgents interface

Interface representing a GuestAgents.

Methods

beginCreate(string, GuestAgent, GuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

beginCreateAndWait(string, GuestAgent, GuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

delete(string, GuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

get(string, GuestAgentsGetOptionalParams)

Implements GuestAgent GET method.

listByVirtualMachineInstance(string, GuestAgentsListByVirtualMachineInstanceOptionalParams)

Returns the list of GuestAgent of the given vm.

Method Details

beginCreate(string, GuestAgent, GuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

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

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the resource.

resource
GuestAgent

Resource create parameters.

options
GuestAgentsCreateOptionalParams

The options parameters.

Returns

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

beginCreateAndWait(string, GuestAgent, GuestAgentsCreateOptionalParams)

Create Or Update GuestAgent.

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

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the resource.

resource
GuestAgent

Resource create parameters.

options
GuestAgentsCreateOptionalParams

The options parameters.

Returns

Promise<GuestAgent>

delete(string, GuestAgentsDeleteOptionalParams)

Implements GuestAgent DELETE method.

function delete(resourceUri: string, options?: GuestAgentsDeleteOptionalParams): Promise<void>

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the resource.

options
GuestAgentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, GuestAgentsGetOptionalParams)

Implements GuestAgent GET method.

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

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the resource.

options
GuestAgentsGetOptionalParams

The options parameters.

Returns

Promise<GuestAgent>

listByVirtualMachineInstance(string, GuestAgentsListByVirtualMachineInstanceOptionalParams)

Returns the list of GuestAgent of the given vm.

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

Parameters

resourceUri

string

The fully qualified Azure Resource manager identifier of the resource.

Returns