Run 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
Run()
Initializes a new instance of the Run class.
public Run();
Public Sub New ()
Applies to
Run(String, String, String, SystemData, String, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, IList<ImageDescriptor>, String, ImageUpdateTrigger, SourceTriggerDescriptor, TimerTriggerDescriptor, PlatformProperties, AgentProperties, String, IList<String>, String, String, ImageDescriptor, String, Nullable<Boolean>)
Initializes a new instance of the Run class.
public Run(string id = default, string name = default, string type = default, Microsoft.Azure.Management.ContainerRegistry.Models.SystemData systemData = default, string runId = default, string status = default, DateTime? lastUpdatedTime = default, string runType = default, string agentPoolName = default, DateTime? createTime = default, DateTime? startTime = default, DateTime? finishTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.ImageDescriptor> outputImages = default, string task = default, Microsoft.Azure.Management.ContainerRegistry.Models.ImageUpdateTrigger imageUpdateTrigger = default, Microsoft.Azure.Management.ContainerRegistry.Models.SourceTriggerDescriptor sourceTrigger = default, Microsoft.Azure.Management.ContainerRegistry.Models.TimerTriggerDescriptor timerTrigger = default, Microsoft.Azure.Management.ContainerRegistry.Models.PlatformProperties platform = default, Microsoft.Azure.Management.ContainerRegistry.Models.AgentProperties agentConfiguration = default, string sourceRegistryAuth = default, System.Collections.Generic.IList<string> customRegistries = default, string runErrorMessage = default, string updateTriggerToken = default, Microsoft.Azure.Management.ContainerRegistry.Models.ImageDescriptor logArtifact = default, string provisioningState = default, bool? isArchiveEnabled = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Run : string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.SystemData * string * string * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerRegistry.Models.ImageDescriptor> * string * Microsoft.Azure.Management.ContainerRegistry.Models.ImageUpdateTrigger * Microsoft.Azure.Management.ContainerRegistry.Models.SourceTriggerDescriptor * Microsoft.Azure.Management.ContainerRegistry.Models.TimerTriggerDescriptor * Microsoft.Azure.Management.ContainerRegistry.Models.PlatformProperties * Microsoft.Azure.Management.ContainerRegistry.Models.AgentProperties * string * System.Collections.Generic.IList<string> * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.ImageDescriptor * string * Nullable<bool> -> Microsoft.Azure.Management.ContainerRegistry.Models.Run
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional runId As String = Nothing, Optional status As String = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing, Optional runType As String = Nothing, Optional agentPoolName As String = Nothing, Optional createTime As Nullable(Of DateTime) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional finishTime As Nullable(Of DateTime) = Nothing, Optional outputImages As IList(Of ImageDescriptor) = Nothing, Optional task As String = Nothing, Optional imageUpdateTrigger As ImageUpdateTrigger = Nothing, Optional sourceTrigger As SourceTriggerDescriptor = Nothing, Optional timerTrigger As TimerTriggerDescriptor = Nothing, Optional platform As PlatformProperties = Nothing, Optional agentConfiguration As AgentProperties = Nothing, Optional sourceRegistryAuth As String = Nothing, Optional customRegistries As IList(Of String) = Nothing, Optional runErrorMessage As String = Nothing, Optional updateTriggerToken As String = Nothing, Optional logArtifact As ImageDescriptor = Nothing, Optional provisioningState As String = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = 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.
- runId
- String
The unique identifier for the run.
- status
- String
The current status of the run. Possible values include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', 'Canceled', 'Error', 'Timeout'
- runType
- String
The type of run. Possible values include: 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
- agentPoolName
- String
The dedicated agent pool for the run.
- outputImages
- IList<ImageDescriptor>
The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.
- task
- String
The task against which run was scheduled.
- imageUpdateTrigger
- ImageUpdateTrigger
The image update trigger that caused the run. This is applicable if the task has base image trigger configured.
- sourceTrigger
- SourceTriggerDescriptor
The source trigger that caused the run.
- timerTrigger
- TimerTriggerDescriptor
The timer trigger that caused the run.
- platform
- PlatformProperties
The platform properties against which the run will happen.
- agentConfiguration
- AgentProperties
The machine configuration of the run agent.
- sourceRegistryAuth
- String
The scope of the credentials that were used to login to the source registry during this run.
- runErrorMessage
- String
The error message received from backend systems after the run is scheduled.
- updateTriggerToken
- String
The update trigger token passed for the Run.
- logArtifact
- ImageDescriptor
The image description for the log artifact.
- provisioningState
- String
The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
Applies to
Azure SDK for .NET