/// <summary> /// Initializes a new instance of the Run class. /// </summary> /// <param name="id">The resource ID.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> /// <param name="runId">The unique identifier for the run.</param> /// <param name="status">The current status of the run. Possible values /// include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', /// 'Canceled', 'Error', 'Timeout'</param> /// <param name="lastUpdatedTime">The last updated time for the /// run.</param> /// <param name="runType">The type of run. Possible values include: /// 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'</param> /// <param name="agentPoolName">The dedicated agent pool for the /// run.</param> /// <param name="createTime">The time the run was scheduled.</param> /// <param name="startTime">The time the run started.</param> /// <param name="finishTime">The time the run finished.</param> /// <param name="outputImages">The list of all images that were /// generated from the run. This is applicable if the run generates /// base image dependencies.</param> /// <param name="task">The task against which run was /// scheduled.</param> /// <param name="imageUpdateTrigger">The image update trigger that /// caused the run. This is applicable if the task has base image /// trigger configured.</param> /// <param name="sourceTrigger">The source trigger that caused the /// run.</param> /// <param name="timerTrigger">The timer trigger that caused the /// run.</param> /// <param name="platform">The platform properties against which the /// run will happen.</param> /// <param name="agentConfiguration">The machine configuration of the /// run agent.</param> /// <param name="sourceRegistryAuth">The scope of the credentials that /// were used to login to the source registry during this run.</param> /// <param name="customRegistries">The list of custom registries that /// were logged in during this run.</param> /// <param name="runErrorMessage">The error message received from /// backend systems after the run is scheduled.</param> /// <param name="updateTriggerToken">The update trigger token passed /// for the Run.</param> /// <param name="logArtifact">The image description for the log /// artifact.</param> /// <param name="provisioningState">The provisioning state of a run. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed', 'Canceled'</param> /// <param name="isArchiveEnabled">The value that indicates whether /// archiving is enabled or not.</param> public Run(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string runId = default(string), string status = default(string), System.DateTime?lastUpdatedTime = default(System.DateTime?), string runType = default(string), string agentPoolName = default(string), System.DateTime?createTime = default(System.DateTime?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?finishTime = default(System.DateTime?), IList <ImageDescriptor> outputImages = default(IList <ImageDescriptor>), string task = default(string), ImageUpdateTrigger imageUpdateTrigger = default(ImageUpdateTrigger), SourceTriggerDescriptor sourceTrigger = default(SourceTriggerDescriptor), TimerTriggerDescriptor timerTrigger = default(TimerTriggerDescriptor), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string sourceRegistryAuth = default(string), IList <string> customRegistries = default(IList <string>), string runErrorMessage = default(string), string updateTriggerToken = default(string), ImageDescriptor logArtifact = default(ImageDescriptor), string provisioningState = default(string), bool?isArchiveEnabled = default(bool?)) : base(id, name, type, systemData) { RunId = runId; Status = status; LastUpdatedTime = lastUpdatedTime; RunType = runType; AgentPoolName = agentPoolName; CreateTime = createTime; StartTime = startTime; FinishTime = finishTime; OutputImages = outputImages; Task = task; ImageUpdateTrigger = imageUpdateTrigger; SourceTrigger = sourceTrigger; TimerTrigger = timerTrigger; Platform = platform; AgentConfiguration = agentConfiguration; SourceRegistryAuth = sourceRegistryAuth; CustomRegistries = customRegistries; RunErrorMessage = runErrorMessage; UpdateTriggerToken = updateTriggerToken; LogArtifact = logArtifact; ProvisioningState = provisioningState; IsArchiveEnabled = isArchiveEnabled; CustomInit(); }
/// <summary> /// Initializes a new instance of the Run class. /// </summary> /// <param name="id">The resource ID.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="runId">The unique identifier for the run.</param> /// <param name="status">The current status of the run. Possible values /// include: 'Queued', 'Started', 'Running', 'Succeeded', 'Failed', /// 'Canceled', 'Error', 'Timeout'</param> /// <param name="lastUpdatedTime">The last updated time for the /// run.</param> /// <param name="runType">The type of run. Possible values include: /// 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'</param> /// <param name="createTime">The time the run was scheduled.</param> /// <param name="startTime">The time the run started.</param> /// <param name="finishTime">The time the run finished.</param> /// <param name="outputImages">The list of all images that were /// generated from the run. This is applicable if the run generates /// base image dependencies.</param> /// <param name="task">The task against which run was /// scheduled.</param> /// <param name="imageUpdateTrigger">The image update trigger that /// caused the run. This is applicable if the task has base image /// trigger configured.</param> /// <param name="sourceTrigger">The source trigger that caused the /// run.</param> /// <param name="isArchiveEnabled">The value that indicates whether /// archiving is enabled or not.</param> /// <param name="platform">The platform properties against which the /// run will happen.</param> /// <param name="agentConfiguration">The machine configuration of the /// run agent.</param> /// <param name="provisioningState">The provisioning state of a run. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed', 'Canceled'</param> public Run(string id = default(string), string name = default(string), string type = default(string), string runId = default(string), string status = default(string), System.DateTime?lastUpdatedTime = default(System.DateTime?), string runType = default(string), System.DateTime?createTime = default(System.DateTime?), System.DateTime?startTime = default(System.DateTime?), System.DateTime?finishTime = default(System.DateTime?), IList <ImageDescriptor> outputImages = default(IList <ImageDescriptor>), string task = default(string), ImageUpdateTrigger imageUpdateTrigger = default(ImageUpdateTrigger), SourceTriggerDescriptor sourceTrigger = default(SourceTriggerDescriptor), bool?isArchiveEnabled = default(bool?), PlatformProperties platform = default(PlatformProperties), AgentProperties agentConfiguration = default(AgentProperties), string provisioningState = default(string)) : base(id, name, type) { RunId = runId; Status = status; LastUpdatedTime = lastUpdatedTime; RunType = runType; CreateTime = createTime; StartTime = startTime; FinishTime = finishTime; OutputImages = outputImages; Task = task; ImageUpdateTrigger = imageUpdateTrigger; SourceTrigger = sourceTrigger; IsArchiveEnabled = isArchiveEnabled; Platform = platform; AgentConfiguration = agentConfiguration; ProvisioningState = provisioningState; CustomInit(); }