MachineExtensions Interface

public interface MachineExtensions

Resource collection API of MachineExtensions.

Method Summary

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

Begins definition for a new MachineExtension resource.

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

The operation to delete the extension.

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

The operation to delete the extension.

abstract void deleteById(String id)

The operation to delete the extension.

abstract void deleteByIdWithResponse(String id, Context context)

The operation to delete the extension.

abstract MachineExtension get(String resourceGroupName, String name, String extensionName)

The operation to get the extension.

abstract MachineExtension getById(String id)

The operation to get the extension.

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

The operation to get the extension.

abstract Response<MachineExtension> getWithResponse(String resourceGroupName, String name, String extensionName, Context context)

The operation to get the extension.

abstract PagedIterable<MachineExtension> list(String resourceGroupName, String name)

The operation to get all extensions of a non-Azure machine.

abstract PagedIterable<MachineExtension> list(String resourceGroupName, String name, String expand, Context context)

The operation to get all extensions of a non-Azure machine.

Method Details

define

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

Begins definition for a new MachineExtension resource.

Parameters:

name - resource name.

Returns:

the first stage of the new MachineExtension definition.

delete

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

The operation to delete the extension.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine where the extension should be deleted.
extensionName - The name of the machine extension.

delete

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

The operation to delete the extension.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine where the extension should be deleted.
extensionName - The name of the machine extension.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

The operation to delete the extension.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

The operation to delete the extension.

Parameters:

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

get

public abstract MachineExtension get(String resourceGroupName, String name, String extensionName)

The operation to get the extension.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine containing the extension.
extensionName - The name of the machine extension.

Returns:

describes a Machine Extension.

getById

public abstract MachineExtension getById(String id)

The operation to get the extension.

Parameters:

id - the resource ID.

Returns:

describes a Machine Extension along with Response<T>.

getByIdWithResponse

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

The operation to get the extension.

Parameters:

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

Returns:

describes a Machine Extension along with Response<T>.

getWithResponse

public abstract Response<MachineExtension> getWithResponse(String resourceGroupName, String name, String extensionName, Context context)

The operation to get the extension.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine containing the extension.
extensionName - The name of the machine extension.
context - The context to associate with this operation.

Returns:

describes a Machine Extension along with Response<T>.

list

public abstract PagedIterable<MachineExtension> list(String resourceGroupName, String name)

The operation to get all extensions of a non-Azure machine.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine containing the extension.

Returns:

describes the Machine Extensions List Result as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<MachineExtension> list(String resourceGroupName, String name, String expand, Context context)

The operation to get all extensions of a non-Azure machine.

Parameters:

resourceGroupName - The Resource Group Name.
name - The name of the machine containing the extension.
expand - The expand expression to apply on the operation.
context - The context to associate with this operation.

Returns:

describes the Machine Extensions List Result as paginated response with PagedIterable<T>.

Applies to