ArmComputeModelFactory.GalleryApplicationCustomActionParameter Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameter GalleryApplicationCustomActionParameter(string name = default, bool? isRequired = default, Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameterType? parameterType = default, string defaultValue = default, string description = default);
static member GalleryApplicationCustomActionParameter : string * Nullable<bool> * Nullable<Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameterType> * string * string -> Azure.ResourceManager.Compute.Models.GalleryApplicationCustomActionParameter
Public Shared Function GalleryApplicationCustomActionParameter (Optional name As String = Nothing, Optional isRequired As Nullable(Of Boolean) = Nothing, Optional parameterType As Nullable(Of GalleryApplicationCustomActionParameterType) = Nothing, Optional defaultValue As String = Nothing, Optional description As String = Nothing) As GalleryApplicationCustomActionParameter

Parameters

name
String

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

isRequired
Nullable<Boolean>

Indicates whether this parameter must be passed when running the custom action.

parameterType
Nullable<GalleryApplicationCustomActionParameterType>

Specifies the type of the custom action parameter. Possible values are: String, ConfigurationDataBlob or LogOutputBlob.

defaultValue
String

The default value of the parameter. Only applies to string types.

description
String

A description to help users understand what this parameter means.

Returns

A new GalleryApplicationCustomActionParameter instance for mocking.

Applies to