ArmComputeModelFactory.GalleryScriptParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.