Token Class

Definition

An object that represents a token for a container registry.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenTypeConverter))]
public class Token : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IToken, Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenTypeConverter))>]
type Token = class
    interface IToken
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class Token
Implements IToken, IValidates
Inheritance
Token
Attributes
Implements

Constructors

Token()

Creates an new Token instance.

Properties

CreationDate

The creation date of scope map.

CredentialsCertificate
CredentialsPassword
Id

The resource ID.

Name

The name of the resource.

ProvisioningState

Provisioning state of the resource.

ResourceGroupName

Gets the resource group name

ScopeMapId

The resource ID of the scope map to which the token will be associated with.

Status

The status of the token example enabled or disabled.

SystemData

Metadata pertaining to creation and last modification of the resource.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource modification (UTC).

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Token.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Token.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IToken.

FromJsonString(String)

Creates a new instance of Token, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Token into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to