TaskRun Constructors
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.
Overloads
TaskRun() |
Initializes a new instance of the TaskRun class. |
TaskRun(String, String, String, SystemData, IdentityProperties, String, RunRequest, Run, String, String) |
Initializes a new instance of the TaskRun class. |
TaskRun()
Initializes a new instance of the TaskRun class.
public TaskRun ();
Public Sub New ()
Applies to
TaskRun(String, String, String, SystemData, IdentityProperties, String, RunRequest, Run, String, String)
Initializes a new instance of the TaskRun class.
public TaskRun (string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties identity = default, string provisioningState = default, Microsoft.Azure.Management.ContainerRegistry.Models.RunRequest runRequest = default, Microsoft.Azure.Management.ContainerRegistry.Models.Run runResult = default, string forceUpdateTag = default, string location = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun : string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * Microsoft.Azure.Management.ContainerRegistry.Models.IdentityProperties * string * Microsoft.Azure.Management.ContainerRegistry.Models.RunRequest * Microsoft.Azure.Management.ContainerRegistry.Models.Run * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.TaskRun
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional identity As IdentityProperties = Nothing, Optional provisioningState As String = Nothing, Optional runRequest As RunRequest = Nothing, Optional runResult As Run = Nothing, Optional forceUpdateTag As String = Nothing, Optional location As String = Nothing)
Parameters
- id
- String
The resource ID.
- name
- String
The name of the resource.
- type
- String
The type of the resource.
- systemData
- SystemData
Metadata pertaining to creation and last modification of the resource.
- identity
- IdentityProperties
Identity for the resource.
- provisioningState
- String
The provisioning state of this task run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
- runRequest
- RunRequest
The request (parameters) for the run
- runResult
- Run
The result of this task run
- forceUpdateTag
- String
How the run should be forced to rerun even if the run request configuration has not changed
- location
- String
The location of the resource
Applies to
Azure SDK for .NET