Compartir a través de


ArmContainerRegistryModelFactory.ContainerRegistryTokenData Método

Definición

Inicializa una nueva instancia de ContainerRegistryTokenData.

public static Azure.ResourceManager.ContainerRegistry.ContainerRegistryTokenData ContainerRegistryTokenData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier scopeMapId = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenCredentials credentials = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenStatus? status = default);
static member ContainerRegistryTokenData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryProvisioningState> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenCredentials * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenStatus> -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryTokenData
Public Shared Function ContainerRegistryTokenData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of ContainerRegistryProvisioningState) = Nothing, Optional scopeMapId As ResourceIdentifier = Nothing, Optional credentials As ContainerRegistryTokenCredentials = Nothing, Optional status As Nullable(Of ContainerRegistryTokenStatus) = Nothing) As ContainerRegistryTokenData

Parámetros

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

createdOn
Nullable<DateTimeOffset>

Fecha de creación del mapa de ámbito.

provisioningState
Nullable<ContainerRegistryProvisioningState>

Estado de aprovisionamiento del recurso.

scopeMapId
ResourceIdentifier

El identificador de recurso del ámbito al que se asociará el token.

credentials
ContainerRegistryTokenCredentials

Credenciales que se pueden usar para autenticar el token.

status
Nullable<ContainerRegistryTokenStatus>

Estado del ejemplo de token habilitado o deshabilitado.

Devoluciones

ContainerRegistryTokenData Nueva instancia para simular.

Se aplica a