Compartilhar via


ArmContainerRegistryModelFactory.ContainerRegistryTaskData Método

Definição

Inicializa uma nova instância de ContainerRegistryTaskData.

public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryTaskData ContainerRegistryTaskData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStatus? status = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPlatformProperties platform = default, int? agentCpu = default, string agentPoolName = default, int? timeoutInSeconds = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStepProperties step = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTriggerProperties trigger = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentials credentials = default, string logTemplate = default, bool? isSystemTask = default);
static member ContainerRegistryTaskData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStatus> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryPlatformProperties * Nullable<int> * string * Nullable<int> * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTaskStepProperties * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTriggerProperties * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryCredentials * string * Nullable<bool> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryTaskData
Public Shared Function ContainerRegistryTaskData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of ContainerRegistryTaskStatus) = Nothing, Optional platform As ContainerRegistryPlatformProperties = Nothing, Optional agentCpu As Nullable(Of Integer) = Nothing, Optional agentPoolName As String = Nothing, Optional timeoutInSeconds As Nullable(Of Integer) = Nothing, Optional step As ContainerRegistryTaskStepProperties = Nothing, Optional trigger As ContainerRegistryTriggerProperties = Nothing, Optional credentials As ContainerRegistryCredentials = Nothing, Optional logTemplate As String = Nothing, Optional isSystemTask As Nullable(Of Boolean) = Nothing) As ContainerRegistryTaskData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

identity
ManagedServiceIdentity

Identidade do recurso.

provisioningState
Nullable<ContainerRegistryProvisioningState>

O estado de provisionamento da tarefa.

createdOn
Nullable<DateTimeOffset>

A data de criação da tarefa.

status
Nullable<ContainerRegistryTaskStatus>

O status atual da tarefa.

platform
ContainerRegistryPlatformProperties

As propriedades da plataforma nas quais a execução deve acontecer.

agentCpu
Nullable<Int32>

A configuração do computador do agente de execução.

agentPoolName
String

O pool de agentes dedicado para a tarefa.

timeoutInSeconds
Nullable<Int32>

Tempo limite de execução em segundos.

trigger
ContainerRegistryTriggerProperties

As propriedades que descrevem todos os gatilhos para a tarefa.

credentials
ContainerRegistryCredentials

As propriedades que descrevem um conjunto de credenciais que serão usadas quando essa execução for invocada.

logTemplate
String

O modelo que descreve o repositório e as informações de marca para executar o artefato de log.

isSystemTask
Nullable<Boolean>

O valor dessa propriedade indica se o recurso de tarefa é uma tarefa do sistema ou não.

Retornos

Uma nova ContainerRegistryTaskData instância para zombar.

Aplica-se a