ArmContainerRegistryModelFactory.ContainerRegistryRunData 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.
Initializes a new instance of ContainerRegistryRunData.
public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunData ContainerRegistryRunData (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.Models.ContainerRegistryRunStatus? status = default, DateTimeOffset? lastUpdatedOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunType? runType = default, string agentPoolName = default, DateTimeOffset? createdOn = default, DateTimeOffset? startOn = default, DateTimeOffset? finishOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageDescriptor> outputImages = default, string task = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageUpdateTrigger imageUpdateTrigger = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerDescriptor sourceTrigger = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTimerTriggerDescriptor timerTrigger = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPlatformProperties platform = default, int? agentCpu = default, string sourceRegistryAuth = default, System.Collections.Generic.IEnumerable<string> customRegistries = default, string runErrorMessage = default, string updateTriggerToken = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageDescriptor logArtifact = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, bool? isArchiveEnabled = default);
static member ContainerRegistryRunData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunStatus> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryRunType> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageDescriptor> * string * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageUpdateTrigger * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerDescriptor * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTimerTriggerDescriptor * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPlatformProperties * Nullable<int> * string * seq<string> * string * string * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryImageDescriptor * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Nullable<bool> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryRunData
Public Shared Function ContainerRegistryRunData (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 ContainerRegistryRunStatus) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional runType As Nullable(Of ContainerRegistryRunType) = 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 ContainerRegistryImageDescriptor) = Nothing, Optional task As String = Nothing, Optional imageUpdateTrigger As ContainerRegistryImageUpdateTrigger = Nothing, Optional sourceTrigger As ContainerRegistrySourceTriggerDescriptor = Nothing, Optional timerTrigger As ContainerRegistryTimerTriggerDescriptor = Nothing, Optional platform As ContainerRegistryPlatformProperties = Nothing, Optional agentCpu As Nullable(Of Integer) = 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 ContainerRegistryImageDescriptor = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional isArchiveEnabled As Nullable(Of Boolean) = Nothing) As ContainerRegistryRunData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- runId
- String
The unique identifier for the run.
- status
- Nullable<ContainerRegistryRunStatus>
The current status of the run.
- lastUpdatedOn
- Nullable<DateTimeOffset>
The last updated time for the run.
- runType
- Nullable<ContainerRegistryRunType>
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<ContainerRegistryImageDescriptor>
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
- ContainerRegistryImageUpdateTrigger
The image update trigger that caused the run. This is applicable if the task has base image trigger configured.
- sourceTrigger
- ContainerRegistrySourceTriggerDescriptor
The source trigger that caused the run.
- timerTrigger
- ContainerRegistryTimerTriggerDescriptor
The timer trigger that caused the run.
- platform
- ContainerRegistryPlatformProperties
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
- ContainerRegistryImageDescriptor
The image description for the log artifact.
- provisioningState
- Nullable<ContainerRegistryProvisioningState>
The provisioning state of a run.
Returns
A new ContainerRegistryRunData instance for mocking.
Applies to
Azure SDK for .NET