ArmAutomationModelFactory.AutomationActivity 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 AutomationActivity.
public static Azure.ResourceManager.Automation.Models.AutomationActivity AutomationActivity (Azure.Core.ResourceIdentifier id = default, string name = default, string definition = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.Models.AutomationActivityParameterSet> parameterSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Automation.Models.AutomationActivityOutputType> outputTypes = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default);
static member AutomationActivity : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.Automation.Models.AutomationActivityParameterSet> * seq<Azure.ResourceManager.Automation.Models.AutomationActivityOutputType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Automation.Models.AutomationActivity
Public Shared Function AutomationActivity (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional definition As String = Nothing, Optional parameterSets As IEnumerable(Of AutomationActivityParameterSet) = Nothing, Optional outputTypes As IEnumerable(Of AutomationActivityOutputType) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing) As AutomationActivity
Parameters
Gets or sets the id of the resource.
- name
- String
Gets the name of the activity.
- definition
- String
Gets or sets the user name of the activity.
- parameterSets
- IEnumerable<AutomationActivityParameterSet>
Gets or sets the parameter sets of the activity.
- outputTypes
- IEnumerable<AutomationActivityOutputType>
Gets or sets the output types of the activity.
- createdOn
- Nullable<DateTimeOffset>
Gets or sets the creation time.
- lastModifiedOn
- Nullable<DateTimeOffset>
Gets or sets the last modified time.
- description
- String
Gets or sets the description.
Returns
A new AutomationActivity instance for mocking.