GuestAgentsClient Interface

public interface GuestAgentsClient

An instance of this class provides access to all the operations defined in GuestAgentsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body)

Implements GuestAgent PUT method.

abstract SyncPoller<PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, Context context)

Implements GuestAgent PUT method.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name)

Deletes an GuestAgent.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name, Context context)

Deletes an GuestAgent.

abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name)

Implements GuestAgent PUT method.

abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body)

Implements GuestAgent PUT method.

abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, Context context)

Implements GuestAgent PUT method.

abstract void delete(String resourceGroupName, String virtualMachineName, String name)

Deletes an GuestAgent.

abstract void delete(String resourceGroupName, String virtualMachineName, String name, Context context)

Deletes an GuestAgent.

abstract GuestAgentInner get(String resourceGroupName, String virtualMachineName, String name)

Gets GuestAgent.

abstract Response<GuestAgentInner> getWithResponse(String resourceGroupName, String virtualMachineName, String name, Context context)

Gets GuestAgent.

abstract PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName)

Implements GET GuestAgent in a vm.

abstract PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName, Context context)

Implements GET GuestAgent in a vm.

Method Details

beginCreate

public abstract SyncPoller<PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body)

Implements GuestAgent PUT method.

Create Or Update GuestAgent.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the guestAgents.
body - Request payload.

Returns:

the SyncPoller<T,U> for polling of defines the GuestAgent.

beginCreate

public abstract SyncPoller<PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, Context context)

Implements GuestAgent PUT method.

Create Or Update GuestAgent.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the guestAgents.
body - Request payload.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of defines the GuestAgent.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name, Context context)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

create

public abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name)

Implements GuestAgent PUT method.

Create Or Update GuestAgent.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the guestAgents.

Returns:

defines the GuestAgent.

create

public abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body)

Implements GuestAgent PUT method.

Create Or Update GuestAgent.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the guestAgents.
body - Request payload.

Returns:

defines the GuestAgent.

create

public abstract GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, Context context)

Implements GuestAgent PUT method.

Create Or Update GuestAgent.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the guestAgents.
body - Request payload.
context - The context to associate with this operation.

Returns:

defines the GuestAgent.

delete

public abstract void delete(String resourceGroupName, String virtualMachineName, String name)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.

delete

public abstract void delete(String resourceGroupName, String virtualMachineName, String name, Context context)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.
context - The context to associate with this operation.

get

public abstract GuestAgentInner get(String resourceGroupName, String virtualMachineName, String name)

Gets GuestAgent.

Implements GuestAgent GET method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.

Returns:

defines the GuestAgent.

getWithResponse

public abstract Response<GuestAgentInner> getWithResponse(String resourceGroupName, String virtualMachineName, String name, Context context)

Gets GuestAgent.

Implements GuestAgent GET method.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
name - Name of the GuestAgent.
context - The context to associate with this operation.

Returns:

defines the GuestAgent along with Response<T>.

listByVm

public abstract PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName)

Implements GET GuestAgent in a vm.

Returns the list of GuestAgent of the given vm.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.

Returns:

list of GuestAgent as paginated response with PagedIterable<T>.

listByVm

public abstract PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName, Context context)

Implements GET GuestAgent in a vm.

Returns the list of GuestAgent of the given vm.

Parameters:

resourceGroupName - The Resource Group Name.
virtualMachineName - Name of the vm.
context - The context to associate with this operation.

Returns:

list of GuestAgent as paginated response with PagedIterable<T>.

Applies to