Share via


TokenProperties Class

Definition

The properties of a token.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenPropertiesTypeConverter))]
public class TokenProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITokenProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenPropertiesTypeConverter))>]
type TokenProperties = class
    interface ITokenProperties
    interface IJsonSerializable
Public Class TokenProperties
Implements ITokenProperties
Inheritance
TokenProperties
Attributes
Implements

Constructors

TokenProperties()

Creates an new TokenProperties instance.

Properties

CreationDate

The creation date of scope map.

CredentialsCertificate
CredentialsPassword
ProvisioningState

Provisioning state of the resource.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TokenProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TokenProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TokenProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to