GuestAgents Interface

public interface GuestAgents

Resource collection API of GuestAgents.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new GuestAgent resource.

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 void deleteById(String id)

Deletes an GuestAgent.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes an GuestAgent.

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

Gets GuestAgent.

abstract GuestAgent getById(String id)

Gets GuestAgent.

abstract Response<GuestAgent> getByIdWithResponse(String id, Context context)

Gets GuestAgent.

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

Gets GuestAgent.

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

Implements GET GuestAgent in a vm.

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

Implements GET GuestAgent in a vm.

Method Details

define

public abstract GuestAgent.DefinitionStages.Blank define(String name)

Begins definition for a new GuestAgent resource.

Parameters:

name - resource name.

Returns:

the first stage of the new GuestAgent definition.

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.

deleteById

public abstract void deleteById(String id)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes an GuestAgent.

Implements GuestAgent DELETE method.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract GuestAgent 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.

getById

public abstract GuestAgent getById(String id)

Gets GuestAgent.

Implements GuestAgent GET method.

Parameters:

id - the resource ID.

Returns:

defines the GuestAgent along with Response<T>.

getByIdWithResponse

public abstract Response<GuestAgent> getByIdWithResponse(String id, Context context)

Gets GuestAgent.

Implements GuestAgent GET method.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

defines the GuestAgent along with Response<T>.

getWithResponse

public abstract Response<GuestAgent> 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<GuestAgent> 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<GuestAgent> 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