你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TokenCertificate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The properties of a certificate used for authenticating a token.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenCertificateTypeConverter))]
public class TokenCertificate : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITokenCertificate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenCertificateTypeConverter))>]
type TokenCertificate = class
interface ITokenCertificate
interface IJsonSerializable
Public Class TokenCertificate
Implements ITokenCertificate
- Inheritance
-
TokenCertificate
- Attributes
- Implements
Constructors
TokenCertificate() |
Creates an new TokenCertificate instance. |
Properties
EncodedPemCertificate |
Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token. |
Expiry |
The expiry datetime of the certificate. |
Name | |
Thumbprint |
The thumbprint of the certificate. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TokenCertificate. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TokenCertificate. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITokenCertificate. |
FromJsonString(String) |
Creates a new instance of TokenCertificate, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of TokenCertificate into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |