ArmComputeModelFactory.GalleryScriptParameter Method

Definition

public static Azure.ResourceManager.Compute.Models.GalleryScriptParameter GalleryScriptParameter(string name = default, bool? required = default, string defaultValue = default, string description = default, Azure.ResourceManager.Compute.Models.GalleryScriptParameterType? parameterType = default, string minValue = default, string maxValue = default, System.Collections.Generic.IEnumerable<string> enumValues = default);
static member GalleryScriptParameter : string * Nullable<bool> * string * string * Nullable<Azure.ResourceManager.Compute.Models.GalleryScriptParameterType> * string * string * seq<string> -> Azure.ResourceManager.Compute.Models.GalleryScriptParameter
Public Shared Function GalleryScriptParameter (Optional name As String = Nothing, Optional required As Nullable(Of Boolean) = Nothing, Optional defaultValue As String = Nothing, Optional description As String = Nothing, Optional parameterType As Nullable(Of GalleryScriptParameterType) = Nothing, Optional minValue As String = Nothing, Optional maxValue As String = Nothing, Optional enumValues As IEnumerable(Of String) = Nothing) As GalleryScriptParameter

Parameters

name
String

The name of the parameter.

required
Nullable<Boolean>

Indicates whether this parameter must be passed.

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.

parameterType
Nullable<GalleryScriptParameterType>

Specifies the type of the Gallery Script parameter. Possible values are: String, Int, Double, Boolean, Enum.

minValue
String

The minimum value of parameter.

maxValue
String

The minimum value of parameter.

enumValues
IEnumerable<String>

A list of permissible values. Only applicable values are from 'enum' values defined in 'GalleryScriptParameter'.

Returns

A new GalleryScriptParameter instance for mocking.

Applies to