Triggers Interface

public interface Triggers

Resource collection API of Triggers.

Method Summary

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

Begins definition for a new Trigger resource.

abstract void delete(String resourceGroupName, String imageTemplateName, String triggerName)

Delete a trigger for the specified virtual machine image template.

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

Delete a trigger for the specified virtual machine image template.

abstract void deleteById(String id)

Delete a trigger for the specified virtual machine image template.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a trigger for the specified virtual machine image template.

abstract Trigger get(String resourceGroupName, String imageTemplateName, String triggerName)

Get the specified trigger for the specified image template resource.

abstract Trigger getById(String id)

Get the specified trigger for the specified image template resource.

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

Get the specified trigger for the specified image template resource.

abstract Response<Trigger> getWithResponse(String resourceGroupName, String imageTemplateName, String triggerName, Context context)

Get the specified trigger for the specified image template resource.

abstract PagedIterable<Trigger> listByImageTemplate(String resourceGroupName, String imageTemplateName)

List all triggers for the specified Image Template resource.

abstract PagedIterable<Trigger> listByImageTemplate(String resourceGroupName, String imageTemplateName, Context context)

List all triggers for the specified Image Template resource.

Method Details

define

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

Begins definition for a new Trigger resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Trigger definition.

delete

public abstract void delete(String resourceGroupName, String imageTemplateName, String triggerName)

Delete a trigger for the specified virtual machine image template.

Parameters:

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

delete

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

Delete a trigger for the specified virtual machine image template.

Parameters:

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

deleteById

public abstract void deleteById(String id)

Delete a trigger for the specified virtual machine image template.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a trigger for the specified virtual machine image template.

Parameters:

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

get

public abstract Trigger get(String resourceGroupName, String imageTemplateName, String triggerName)

Get the specified trigger for the specified image template resource.

Parameters:

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

Returns:

the specified trigger for the specified image template resource.

getById

public abstract Trigger getById(String id)

Get the specified trigger for the specified image template resource.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

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

Get the specified trigger for the specified image template resource.

Parameters:

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

Returns:

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

getWithResponse

public abstract Response<Trigger> getWithResponse(String resourceGroupName, String imageTemplateName, String triggerName, Context context)

Get the specified trigger for the specified image template resource.

Parameters:

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

Returns:

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

listByImageTemplate

public abstract PagedIterable<Trigger> listByImageTemplate(String resourceGroupName, String imageTemplateName)

List all triggers 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 triggers operation as paginated response with PagedIterable<T>.

listByImageTemplate

public abstract PagedIterable<Trigger> listByImageTemplate(String resourceGroupName, String imageTemplateName, Context context)

List all triggers 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 triggers operation as paginated response with PagedIterable<T>.

Applies to