TriggersClient Interface

public interface TriggersClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<TriggerInner>,TriggerInner> beginCreateOrUpdate(String resourceGroupName, String imageTemplateName, String triggerName, TriggerInner parameters)

Create or update a trigger for the specified virtual machine image template.

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

Create or update a trigger for the specified virtual machine image template.

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

Delete a trigger for the specified virtual machine image template.

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

Delete a trigger for the specified virtual machine image template.

abstract TriggerInner createOrUpdate(String resourceGroupName, String imageTemplateName, String triggerName, TriggerInner parameters)

Create or update a trigger for the specified virtual machine image template.

abstract TriggerInner createOrUpdate(String resourceGroupName, String imageTemplateName, String triggerName, TriggerInner parameters, Context context)

Create or update a trigger for the specified virtual machine image template.

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 TriggerInner get(String resourceGroupName, String imageTemplateName, String triggerName)

Get the specified trigger for the specified image template resource.

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

Get the specified trigger for the specified image template resource.

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

List all triggers for the specified Image Template resource.

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

List all triggers for the specified Image Template resource.

Method Details

beginCreateOrUpdate

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

Create or update 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.
parameters - Parameters supplied to the CreateTrigger operation.

Returns:

the SyncPoller<T,U> for polling of represents a trigger that can invoke an image template build.

beginCreateOrUpdate

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

Create or update 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.
parameters - Parameters supplied to the CreateTrigger operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents a trigger that can invoke an image template build.

beginDelete

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

Returns:

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

beginDelete

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

Returns:

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

createOrUpdate

public abstract TriggerInner createOrUpdate(String resourceGroupName, String imageTemplateName, String triggerName, TriggerInner parameters)

Create or update 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.
parameters - Parameters supplied to the CreateTrigger operation.

Returns:

represents a trigger that can invoke an image template build.

createOrUpdate

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

Create or update 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.
parameters - Parameters supplied to the CreateTrigger operation.
context - The context to associate with this operation.

Returns:

represents a trigger that can invoke an image template build.

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.

get

public abstract TriggerInner 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.

getWithResponse

public abstract Response<TriggerInner> 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<TriggerInner> 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<TriggerInner> 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