ArmContainerRegistryTasksModelFactory.RunData Method
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.
public static Azure.ResourceManager.ContainerRegistry.Tasks.RunData RunData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string runId = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskRunStatus? status = default, DateTimeOffset? lastUpdatedOn = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskRunType? runType = default, string agentPoolName = default, DateTimeOffset? createdOn = default, DateTimeOffset? startOn = default, DateTimeOffset? finishOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageDescriptor> outputImages = default, string task = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageUpdateTrigger imageUpdateTrigger = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerDescriptor sourceTrigger = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskTimerTriggerDescriptor timerTrigger = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskPlatformProperties platform = default, string sourceRegistryAuth = default, System.Collections.Generic.IEnumerable<string> customRegistries = default, string runErrorMessage = default, string updateTriggerToken = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageDescriptor logArtifact = default, Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskProvisioningState? provisioningState = default, bool? isArchiveEnabled = default, int? agentCpu = default);
static member RunData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskRunStatus> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskRunType> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageDescriptor> * string * Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageUpdateTrigger * Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskSourceTriggerDescriptor * Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskTimerTriggerDescriptor * Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskPlatformProperties * string * seq<string> * string * string * Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskImageDescriptor * Nullable<Azure.ResourceManager.ContainerRegistry.Tasks.Models.ContainerRegistryTaskProvisioningState> * Nullable<bool> * Nullable<int> -> Azure.ResourceManager.ContainerRegistry.Tasks.RunData
Public Shared Function RunData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional runId As String = Nothing, Optional status As Nullable(Of ContainerRegistryTaskRunStatus) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional runType As Nullable(Of ContainerRegistryTaskRunType) = Nothing, Optional agentPoolName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional finishOn As Nullable(Of DateTimeOffset) = Nothing, Optional outputImages As IEnumerable(Of ContainerRegistryTaskImageDescriptor) = Nothing, Optional task As String = Nothing, Optional imageUpdateTrigger As ContainerRegistryTaskImageUpdateTrigger = Nothing, Optional sourceTrigger As ContainerRegistryTaskSourceTriggerDescriptor = Nothing, Optional timerTrigger As ContainerRegistryTaskTimerTriggerDescriptor = Nothing, Optional platform As ContainerRegistryTaskPlatformProperties = Nothing, Optional sourceRegistryAuth As String = Nothing, Optional customRegistries As IEnumerable(Of String) = Nothing, Optional runErrorMessage As String = Nothing, Optional updateTriggerToken As String = Nothing, Optional logArtifact As ContainerRegistryTaskImageDescriptor = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryTaskProvisioningState) = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing, Optional agentCpu As Nullable(Of Integer) = Nothing) As RunData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- runId
- String
The unique identifier for the run.
The current status of the run.
- lastUpdatedOn
- Nullable<DateTimeOffset>
The last updated time for the run.
- runType
- Nullable<ContainerRegistryTaskRunType>
The type of run.
- agentPoolName
- String
The dedicated agent pool for the run.
- createdOn
- Nullable<DateTimeOffset>
The time the run was scheduled.
- startOn
- Nullable<DateTimeOffset>
The time the run started.
- finishOn
- Nullable<DateTimeOffset>
The time the run finished.
- outputImages
- IEnumerable<ContainerRegistryTaskImageDescriptor>
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
- ContainerRegistryTaskImageUpdateTrigger
The image update trigger that caused the run. This is applicable if the task has base image trigger configured.
- sourceTrigger
- ContainerRegistryTaskSourceTriggerDescriptor
The source trigger that caused the run.
- timerTrigger
- ContainerRegistryTaskTimerTriggerDescriptor
The timer trigger that caused the run.
The platform properties against which the run will happen.
- sourceRegistryAuth
- String
The scope of the credentials that were used to login to the source registry during this run.
- customRegistries
- IEnumerable<String>
The list of custom registries that were logged in 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
- ContainerRegistryTaskImageDescriptor
The image description for the log artifact.
- provisioningState
- Nullable<ContainerRegistryTaskProvisioningState>
The provisioning state of a run.
Returns
A new RunData instance for mocking.