VirtualMachineImageTemplatesClient Interface

public interface VirtualMachineImageTemplatesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String imageTemplateName)

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

abstract SyncPoller<PollResult<Void>,Void> beginCancel(String resourceGroupName, String imageTemplateName, Context context)

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

abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginCreateOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters)

Create or update a virtual machine image template.

abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginCreateOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters, Context context)

Create or update a virtual machine image template.

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

Delete a virtual machine image template.

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

Delete a virtual machine image template.

abstract SyncPoller<PollResult<Void>,Void> beginRun(String resourceGroupName, String imageTemplateName)

Create artifacts from a existing image template.

abstract SyncPoller<PollResult<Void>,Void> beginRun(String resourceGroupName, String imageTemplateName, Context context)

Create artifacts from a existing image template.

abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters)

Update the tags for this Virtual Machine Image Template.

abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters, Context context)

Update the tags for this Virtual Machine Image Template.

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 ImageTemplateInner createOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters)

Create or update a virtual machine image template.

abstract ImageTemplateInner createOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters, Context context)

Create or update a virtual machine image template.

abstract void delete(String resourceGroupName, String imageTemplateName)

Delete a virtual machine image template.

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

Delete a virtual machine image template.

abstract ImageTemplateInner getByResourceGroup(String resourceGroupName, String imageTemplateName)

Get information about a virtual machine image template.

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

Get information about a virtual machine image template.

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

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

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

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

abstract PagedIterable<ImageTemplateInner> list()

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

abstract PagedIterable<ImageTemplateInner> list(Context context)

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

abstract PagedIterable<ImageTemplateInner> listByResourceGroup(String resourceGroupName)

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

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

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

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

List all run outputs for the specified Image Template resource.

abstract PagedIterable<RunOutputInner> 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.

abstract ImageTemplateInner update(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters)

Update the tags for this Virtual Machine Image Template.

abstract ImageTemplateInner update(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters, Context context)

Update the tags for this Virtual Machine Image Template.

Method Details

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(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.

Returns:

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

beginCancel

public abstract SyncPoller<PollResult<Void>,Void> beginCancel(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.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginCreateOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters)

Create or update a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Parameters supplied to the CreateImageTemplate operation.

Returns:

the SyncPoller<T,U> for polling of image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginCreateOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters, Context context)

Create or update a virtual machine image template.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(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.

Returns:

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

beginRun

public abstract SyncPoller<PollResult<Void>,Void> beginRun(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.

Returns:

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

beginRun

public abstract SyncPoller<PollResult<Void>,Void> beginRun(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.

Returns:

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

beginUpdate

public abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters)

Update the tags for this Virtual Machine Image Template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Additional parameters for Image Template update.

Returns:

the SyncPoller<T,U> for polling of image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

beginUpdate

public abstract SyncPoller<PollResult<ImageTemplateInner>,ImageTemplateInner> beginUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters, Context context)

Update the tags for this Virtual Machine Image Template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Additional parameters for Image Template update.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

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.

createOrUpdate

public abstract ImageTemplateInner createOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters)

Create or update a virtual machine image template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Parameters supplied to the CreateImageTemplate operation.

Returns:

image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

createOrUpdate

public abstract ImageTemplateInner createOrUpdate(String resourceGroupName, String imageTemplateName, ImageTemplateInner parameters, Context context)

Create or update a virtual machine image template.

Parameters:

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

Returns:

image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

delete

public abstract void delete(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.

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.

getByResourceGroup

public abstract ImageTemplateInner 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<ImageTemplateInner> 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 RunOutputInner 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<RunOutputInner> 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<ImageTemplateInner> 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<ImageTemplateInner> 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<ImageTemplateInner> 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<ImageTemplateInner> 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<RunOutputInner> 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<RunOutputInner> 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.

update

public abstract ImageTemplateInner update(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters)

Update the tags for this Virtual Machine Image Template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Additional parameters for Image Template update.

Returns:

image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

update

public abstract ImageTemplateInner update(String resourceGroupName, String imageTemplateName, ImageTemplateUpdateParameters parameters, Context context)

Update the tags for this Virtual Machine Image Template.

Parameters:

resourceGroupName - The name of the resource group.
imageTemplateName - The name of the image Template.
parameters - Additional parameters for Image Template update.
context - The context to associate with this operation.

Returns:

image template is an ARM resource managed by Microsoft.VirtualMachineImages provider.

Applies to