GuestAgents Interface

public interface GuestAgents

Resource collection API of GuestAgents.

Method Summary

Modifier and Type Method and Description
abstract GuestAgent create(String resourceUri, GuestAgentInner resource)

Implements GuestAgent PUT method.

abstract GuestAgent create(String resourceUri, GuestAgentInner resource, Context context)

Implements GuestAgent PUT method.

abstract void delete(String resourceUri)

Deletes a GuestAgent resource.

abstract Response<Void> deleteWithResponse(String resourceUri, Context context)

Deletes a GuestAgent resource.

abstract GuestAgent get(String resourceUri)

Gets GuestAgent.

abstract Response<GuestAgent> getWithResponse(String resourceUri, Context context)

Gets GuestAgent.

abstract PagedIterable<GuestAgent> listByVirtualMachineInstance(String resourceUri)

Implements GET GuestAgent in a vm.

abstract PagedIterable<GuestAgent> listByVirtualMachineInstance(String resourceUri, Context context)

Implements GET GuestAgent in a vm.

Method Details

create

public abstract GuestAgent create(String resourceUri, GuestAgentInner resource)

Implements GuestAgent PUT method. Create Or Update GuestAgent.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.
resource - Resource create parameters.

Returns:

defines the GuestAgent.

create

public abstract GuestAgent create(String resourceUri, GuestAgentInner resource, Context context)

Implements GuestAgent PUT method. Create Or Update GuestAgent.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.
resource - Resource create parameters.
context - The context to associate with this operation.

Returns:

defines the GuestAgent.

delete

public abstract void delete(String resourceUri)

Deletes a GuestAgent resource. Implements GuestAgent DELETE method.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceUri, Context context)

Deletes a GuestAgent resource. Implements GuestAgent DELETE method.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

get

public abstract GuestAgent get(String resourceUri)

Gets GuestAgent. Implements GuestAgent GET method.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.

Returns:

defines the GuestAgent.

getWithResponse

public abstract Response<GuestAgent> getWithResponse(String resourceUri, Context context)

Gets GuestAgent. Implements GuestAgent GET method.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

defines the GuestAgent along with Response<T>.

listByVirtualMachineInstance

public abstract PagedIterable<GuestAgent> listByVirtualMachineInstance(String resourceUri)

Implements GET GuestAgent in a vm. Returns the list of GuestAgent of the given vm.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.

Returns:

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

listByVirtualMachineInstance

public abstract PagedIterable<GuestAgent> listByVirtualMachineInstance(String resourceUri, Context context)

Implements GET GuestAgent in a vm. Returns the list of GuestAgent of the given vm.

Parameters:

resourceUri - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

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

Applies to