VirtualMachineImageTemplates Interface

public interface VirtualMachineImageTemplates

Resource collection API of VirtualMachineImageTemplates.

Method Summary

Modifier and Type Method and Description
abstract void cancel(String resourceGroupName, String imageTemplateName)

Cancel the long running image build based on the image template.

abstract void cancel(String resourceGroupName, String imageTemplateName, Context context)

Cancel the long running image build based on the image template.

abstract Blank define(String name)

Begins definition for a new ImageTemplate resource.

abstract void delete(String resourceGroupName, String imageTemplateName, Context context)

Delete a virtual machine image template.

abstract void deleteById(String id)

Delete a virtual machine image template.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a virtual machine image template.

abstract void deleteByResourceGroup(String resourceGroupName, String imageTemplateName)

Delete a virtual machine image template.

abstract ImageTemplate getById(String id)

Get information about a virtual machine image template.

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

Get information about a virtual machine image template.

abstract ImageTemplate getByResourceGroup(String resourceGroupName, String imageTemplateName)

Get information about a virtual machine image template.

abstract Response<ImageTemplate> getByResourceGroupWithResponse(String resourceGroupName, String imageTemplateName, Context context)

Get information about a virtual machine image template.

abstract RunOutput getRunOutput(String resourceGroupName, String imageTemplateName, String runOutputName)

Get the specified run output for the specified image template resource.

abstract Response<RunOutput> getRunOutputWithResponse(String resourceGroupName, String imageTemplateName, String runOutputName, Context context)

Get the specified run output for the specified image template resource.

abstract PagedIterable<ImageTemplate> list()

Gets information about the VM image templates associated with the subscription.

abstract PagedIterable<ImageTemplate> list(Context context)

Gets information about the VM image templates associated with the subscription.

abstract PagedIterable<ImageTemplate> listByResourceGroup(String resourceGroupName)

Gets information about the VM image templates associated with the specified resource group.

abstract PagedIterable<ImageTemplate> listByResourceGroup(String resourceGroupName, Context context)

Gets information about the VM image templates associated with the specified resource group.

abstract PagedIterable<RunOutput> listRunOutputs(String resourceGroupName, String imageTemplateName)

List all run outputs for the specified Image Template resource.

abstract PagedIterable<RunOutput> listRunOutputs(String resourceGroupName, String imageTemplateName, Context context)

List all run outputs for the specified Image Template resource.

abstract void run(String resourceGroupName, String imageTemplateName)

Create artifacts from a existing image template.

abstract void run(String resourceGroupName, String imageTemplateName, Context context)

Create artifacts from a existing image template.

Method Details

cancel

public abstract void cancel(String resourceGroupName, String imageTemplateName)

Cancel the long running image build based on the image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.

cancel

public abstract void cancel(String resourceGroupName, String imageTemplateName, Context context)

Cancel the long running image build based on the image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
context - The context to associate with this operation.

define

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

Begins definition for a new ImageTemplate resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ImageTemplate definition.

delete

public abstract void delete(String resourceGroupName, String imageTemplateName, Context context)

Delete a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Delete a virtual machine image template.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a virtual machine image template.

Parameters:

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

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String imageTemplateName)

Delete a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.

getById

public abstract ImageTemplate getById(String id)

Get information about a virtual machine image template.

Parameters:

id - the resource ID.

Returns:

information about a virtual machine image template along with Response<T>.

getByIdWithResponse

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

Get information about a virtual machine image template.

Parameters:

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

Returns:

information about a virtual machine image template along with Response<T>.

getByResourceGroup

public abstract ImageTemplate getByResourceGroup(String resourceGroupName, String imageTemplateName)

Get information about a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.

Returns:

information about a virtual machine image template.

getByResourceGroupWithResponse

public abstract Response<ImageTemplate> getByResourceGroupWithResponse(String resourceGroupName, String imageTemplateName, Context context)

Get information about a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
context - The context to associate with this operation.

Returns:

information about a virtual machine image template along with Response<T>.

getRunOutput

public abstract RunOutput getRunOutput(String resourceGroupName, String imageTemplateName, String runOutputName)

Get the specified run output for the specified image template resource.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
runOutputName - The name of the run output.

Returns:

the specified run output for the specified image template resource.

getRunOutputWithResponse

public abstract Response<RunOutput> getRunOutputWithResponse(String resourceGroupName, String imageTemplateName, String runOutputName, Context context)

Get the specified run output for the specified image template resource.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
runOutputName - The name of the run output.
context - The context to associate with this operation.

Returns:

the specified run output for the specified image template resource along with Response<T>.

list

public abstract PagedIterable<ImageTemplate> list()

Gets information about the VM image templates associated with the subscription.

Returns:

information about the VM image templates associated with the subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ImageTemplate> list(Context context)

Gets information about the VM image templates associated with the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

information about the VM image templates associated with the subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ImageTemplate> listByResourceGroup(String resourceGroupName)

Gets information about the VM image templates associated with the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

information about the VM image templates associated with the specified resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ImageTemplate> listByResourceGroup(String resourceGroupName, Context context)

Gets information about the VM image templates associated with the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

information about the VM image templates associated with the specified resource group as paginated response with PagedIterable<T>.

listRunOutputs

public abstract PagedIterable<RunOutput> listRunOutputs(String resourceGroupName, String imageTemplateName)

List all run outputs for the specified Image Template resource.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.

Returns:

the result of List run outputs operation as paginated response with PagedIterable<T>.

listRunOutputs

public abstract PagedIterable<RunOutput> listRunOutputs(String resourceGroupName, String imageTemplateName, Context context)

List all run outputs for the specified Image Template resource.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
context - The context to associate with this operation.

Returns:

the result of List run outputs operation as paginated response with PagedIterable<T>.

run

public abstract void run(String resourceGroupName, String imageTemplateName)

Create artifacts from a existing image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.

run

public abstract void run(String resourceGroupName, String imageTemplateName, Context context)

Create artifacts from a existing image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
context - The context to associate with this operation.

Applies to