Triggers interface

Interface representing a Triggers.

Methods

beginCreateOrUpdate(string, string, string, Trigger, TriggersCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, Trigger, TriggersCreateOrUpdateOptionalParams)

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

beginDelete(string, string, string, TriggersDeleteOptionalParams)

Delete a trigger for the specified virtual machine image template

beginDeleteAndWait(string, string, string, TriggersDeleteOptionalParams)

Delete a trigger for the specified virtual machine image template

get(string, string, string, TriggersGetOptionalParams)

Get the specified trigger for the specified image template resource

listByImageTemplate(string, string, TriggersListByImageTemplateOptionalParams)

List all triggers for the specified Image Template resource

Method Details

beginCreateOrUpdate(string, string, string, Trigger, TriggersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, imageTemplateName: string, triggerName: string, parameters: Trigger, options?: TriggersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Trigger>, Trigger>>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

triggerName

string

The name of the trigger

parameters
Trigger

Parameters supplied to the CreateTrigger operation

options
TriggersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<Trigger>, Trigger>>

beginCreateOrUpdateAndWait(string, string, string, Trigger, TriggersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, imageTemplateName: string, triggerName: string, parameters: Trigger, options?: TriggersCreateOrUpdateOptionalParams): Promise<Trigger>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

triggerName

string

The name of the trigger

parameters
Trigger

Parameters supplied to the CreateTrigger operation

options
TriggersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Trigger>

beginDelete(string, string, string, TriggersDeleteOptionalParams)

Delete a trigger for the specified virtual machine image template

function beginDelete(resourceGroupName: string, imageTemplateName: string, triggerName: string, options?: TriggersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<TriggersDeleteHeaders>, TriggersDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

triggerName

string

The name of the trigger

options
TriggersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<TriggersDeleteHeaders>, TriggersDeleteHeaders>>

beginDeleteAndWait(string, string, string, TriggersDeleteOptionalParams)

Delete a trigger for the specified virtual machine image template

function beginDeleteAndWait(resourceGroupName: string, imageTemplateName: string, triggerName: string, options?: TriggersDeleteOptionalParams): Promise<TriggersDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

triggerName

string

The name of the trigger

options
TriggersDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, TriggersGetOptionalParams)

Get the specified trigger for the specified image template resource

function get(resourceGroupName: string, imageTemplateName: string, triggerName: string, options?: TriggersGetOptionalParams): Promise<Trigger>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

triggerName

string

The name of the trigger

options
TriggersGetOptionalParams

The options parameters.

Returns

Promise<Trigger>

listByImageTemplate(string, string, TriggersListByImageTemplateOptionalParams)

List all triggers for the specified Image Template resource

function listByImageTemplate(resourceGroupName: string, imageTemplateName: string, options?: TriggersListByImageTemplateOptionalParams): PagedAsyncIterableIterator<Trigger, Trigger[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

imageTemplateName

string

The name of the image Template

options
TriggersListByImageTemplateOptionalParams

The options parameters.

Returns