Freigeben über


ArmContainerRegistryModelFactory.ContainerRegistryTokenData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

createdOn
Nullable<DateTimeOffset>

Das Erstellungsdatum der Bereichszuordnung.

provisioningState
Nullable<ContainerRegistryProvisioningState>

Bereitstellungsstatus der Ressource.

scopeMapId
ResourceIdentifier

Die Ressourcen-ID des Bereichs, dem das Token zugeordnet wird.

credentials
ContainerRegistryTokenCredentials

Die Anmeldeinformationen, die für die Authentifizierung des Tokens verwendet werden können.

status
Nullable<ContainerRegistryTokenStatus>

Die status des Tokenbeispiels aktiviert oder deaktiviert.

Gibt zurück

Eine neue ContainerRegistryTokenData instance zum Mocking.

Gilt für: