ArmAutomationModelFactory.AutomationActivityParameterDefinition Method

Definition

Initializes a new instance of AutomationActivityParameterDefinition.

public static Azure.ResourceManager.Automation.Models.AutomationActivityParameterDefinition AutomationActivityParameterDefinition (string name = default, string activityParameterType = default, bool? isMandatory = default, bool? isDynamic = default, long? position = default, bool? canTakeValueFromPipeline = default, bool? canTakeValueFromPipelineByPropertyName = default, bool? canTakeValueValueFromRemainingArguments = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.Models.AutomationActivityParameterValidationSet> validationSet = default);
static member AutomationActivityParameterDefinition : string * string * Nullable<bool> * Nullable<bool> * Nullable<int64> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * seq<Azure.ResourceManager.Automation.Models.AutomationActivityParameterValidationSet> -> Azure.ResourceManager.Automation.Models.AutomationActivityParameterDefinition
Public Shared Function AutomationActivityParameterDefinition (Optional name As String = Nothing, Optional activityParameterType As String = Nothing, Optional isMandatory As Nullable(Of Boolean) = Nothing, Optional isDynamic As Nullable(Of Boolean) = Nothing, Optional position As Nullable(Of Long) = Nothing, Optional canTakeValueFromPipeline As Nullable(Of Boolean) = Nothing, Optional canTakeValueFromPipelineByPropertyName As Nullable(Of Boolean) = Nothing, Optional canTakeValueValueFromRemainingArguments As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional validationSet As IEnumerable(Of AutomationActivityParameterValidationSet) = Nothing) As AutomationActivityParameterDefinition

Parameters

name
String

Gets or sets the name of the activity parameter.

activityParameterType
String

Gets or sets the type of the activity parameter.

isMandatory
Nullable<Boolean>

Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.

isDynamic
Nullable<Boolean>

Gets or sets a Boolean value that indicates true if the parameter is dynamic.

position
Nullable<Int64>

Gets or sets the position of the activity parameter.

canTakeValueFromPipeline
Nullable<Boolean>

Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object.

canTakeValueFromPipelineByPropertyName
Nullable<Boolean>

Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name.

canTakeValueValueFromRemainingArguments
Nullable<Boolean>

Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values.

description
String

Gets or sets the description of the activity parameter.

validationSet
IEnumerable<AutomationActivityParameterValidationSet>

Gets or sets the validation set of activity parameter.

Returns

A new AutomationActivityParameterDefinition instance for mocking.

Applies to