ArmContainerRegistryModelFactory.ContainerRegistryTaskData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
A ID.
- 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.
- agentPoolName
- String
O pool de agentes dedicado para a tarefa.
As propriedades de uma etapa de tarefa. ContainerRegistryTaskStepProperties(String, IEnumerable<ContainerRegistryBaseImageDependency>, String, String) Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem ContainerRegistryDockerBuildStep(IEnumerable<ContainerRegistryBaseImageDependency>, String, String, IEnumerable<String>, Nullable<Boolean>, Nullable<Boolean>, String, String, IEnumerable<ContainerRegistryRunArgument>)e ContainerRegistryFileTaskStep(IEnumerable<ContainerRegistryBaseImageDependency>, String, String, String, String, IEnumerable<ContainerRegistryTaskOverridableValue>)ContainerRegistryEncodedTaskStep(IEnumerable<ContainerRegistryBaseImageDependency>, String, String, String, String, IEnumerable<ContainerRegistryTaskOverridableValue>) .
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.
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.