Share via


Activity Constructors

Definition

Overloads

Activity()

Initializes a new instance of the Activity class.

Activity(String, String, String, IList<ActivityParameterSet>, IList<ActivityOutputType>, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Activity class.

Activity()

Initializes a new instance of the Activity class.

public Activity ();
Public Sub New ()

Applies to

Activity(String, String, String, IList<ActivityParameterSet>, IList<ActivityOutputType>, DateTimeOffset, DateTimeOffset, String)

Initializes a new instance of the Activity class.

public Activity (string id = default, string name = default, string definition = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.ActivityParameterSet> parameterSets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.ActivityOutputType> outputTypes = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string description = default);
new Microsoft.Azure.Management.Automation.Models.Activity : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.ActivityParameterSet> * System.Collections.Generic.IList<Microsoft.Azure.Management.Automation.Models.ActivityOutputType> * DateTimeOffset * DateTimeOffset * string -> Microsoft.Azure.Management.Automation.Models.Activity
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional definition As String = Nothing, Optional parameterSets As IList(Of ActivityParameterSet) = Nothing, Optional outputTypes As IList(Of ActivityOutputType) = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional description As String = Nothing)

Parameters

id
String

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
IList<ActivityParameterSet>

Gets or sets the parameter sets of the activity.

outputTypes
IList<ActivityOutputType>

Gets or sets the output types of the activity.

creationTime
DateTimeOffset

Gets or sets the creation time.

lastModifiedTime
DateTimeOffset

Gets or sets the last modified time.

description
String

Gets or sets the description.

Applies to