共用方式為


TaskInner Constructors

Definition

Overloads

TaskInner()

Initializes a new instance of the TaskInner class.

TaskInner(PlatformProperties, TaskStepProperties, String, String, String, String, IDictionary<String,String>, String, Nullable<DateTime>, String, AgentProperties, Nullable<Int32>, TriggerProperties)

Initializes a new instance of the TaskInner class.

TaskInner()

Initializes a new instance of the TaskInner class.

public TaskInner ();
Public Sub New ()

Applies to

TaskInner(PlatformProperties, TaskStepProperties, String, String, String, String, IDictionary<String,String>, String, Nullable<DateTime>, String, AgentProperties, Nullable<Int32>, TriggerProperties)

Initializes a new instance of the TaskInner class.

public TaskInner (Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.PlatformProperties platform, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TaskStepProperties step, string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string provisioningState = default, DateTime? creationDate = default, string status = default, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AgentProperties agentConfiguration = default, int? timeout = default, Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TriggerProperties trigger = default);
new Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TaskInner : Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.PlatformProperties * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TaskStepProperties * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<DateTime> * string * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.AgentProperties * Nullable<int> * Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TriggerProperties -> Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.TaskInner
Public Sub New (platform As PlatformProperties, step As TaskStepProperties, Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing, Optional creationDate As Nullable(Of DateTime) = Nothing, Optional status As String = Nothing, Optional agentConfiguration As AgentProperties = Nothing, Optional timeout As Nullable(Of Integer) = Nothing, Optional trigger As TriggerProperties = Nothing)

Parameters

platform
PlatformProperties

The platform properties against which the run has to happen.

step
TaskStepProperties

The properties of a task step.

location
String
id
String
name
String
type
String
provisioningState
String

The provisioning state of the task. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'

creationDate
Nullable<DateTime>

The creation date of task.

status
String

The current status of task. Possible values include: 'Disabled', 'Enabled'

agentConfiguration
AgentProperties

The machine configuration of the run agent.

timeout
Nullable<Int32>

Run timeout in seconds.

trigger
TriggerProperties

The properties that describe all triggers for the task.

Applies to