共用方式為


GalleryApplicationCustomAction(String, String) Constructor

Definition

Initializes a new instance of GalleryApplicationCustomAction.

public GalleryApplicationCustomAction (string name, string script);
new Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction : string * string -> Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction
Public Sub New (name As String, script As String)

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.

Exceptions

name or script is null.

Applies to