ArmComputeModelFactory.GalleryApplicationCustomAction Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction GalleryApplicationCustomAction(string name = default, string script = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameter> parameters = default);
static member GalleryApplicationCustomAction : string * string * string * seq<Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameter> -> Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction
Public Shared Function GalleryApplicationCustomAction (Optional name As String = Nothing, Optional script As String = Nothing, Optional description As String = Nothing, Optional parameters As IEnumerable(Of GalleryApplicationCustomActionParameter) = Nothing) As GalleryApplicationCustomAction

Parameters

name
String

The name of the custom action. Must be unique within the Gallery Application Version.

script
String

The script to run when executing this custom action.

description
String

Description to help the users understand what this custom action does.

parameters
IEnumerable<GalleryApplicationCustomActionParameter>

The parameters that this custom action uses.

Returns

A new GalleryApplicationCustomAction instance for mocking.

Applies to