ArmAutomationModelFactory.AutomationActivityParameterDefinition 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.
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.
Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.
Gets or sets a Boolean value that indicates true if the parameter is dynamic.
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.
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.
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.