GalleryScriptParameter Class

Definition

The definition of a parameter that can be passed to a script of a Gallery Script Version.

public class GalleryScriptParameter : Microsoft.Azure.Management.Compute.Models.GenericGalleryParameter
type GalleryScriptParameter = class
    inherit GenericGalleryParameter
Public Class GalleryScriptParameter
Inherits GenericGalleryParameter
Inheritance
GalleryScriptParameter

Constructors

Name Description
GalleryScriptParameter()

Initializes a new instance of the GalleryScriptParameter class.

GalleryScriptParameter(String, Nullable<Boolean>, String, String, String, String, String, IList<String>)

Initializes a new instance of the GalleryScriptParameter class.

Properties

Name Description
DefaultValue

Gets or sets the default value of the parameter, only applies to string types.

(Inherited from GenericGalleryParameter)
Description

Gets or sets a description to help users understand what this parameter means

(Inherited from GenericGalleryParameter)
EnumValues

Gets or sets a list of permissible values. Only applicable values are from 'enum' values defined in 'GalleryScriptParameter'.

MaxValue

Gets or sets the minimum value of parameter.

MinValue

Gets or sets the minimum value of parameter.

Name

Gets or sets the name of the parameter.

(Inherited from GenericGalleryParameter)
Required

Gets or sets indicates whether this parameter must be passed.

(Inherited from GenericGalleryParameter)
Type

Gets or sets specifies the type of the Gallery Script parameter. Possible values are: String, Int, Double, Boolean, Enum Possible values include: 'String', 'Int', 'Double', 'Boolean', 'Enum'

Methods

Name Description
Validate()

Validate the object.

Applies to