TokenPassword 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 password that will be used for authenticating the token of a container registry.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenPasswordTypeConverter))]
public class TokenPassword : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITokenPassword
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TokenPasswordTypeConverter))>]
type TokenPassword = class
interface ITokenPassword
interface IJsonSerializable
Public Class TokenPassword
Implements ITokenPassword
- Inheritance
-
TokenPassword
- Attributes
- Implements
Constructors
TokenPassword() |
Creates an new TokenPassword instance. |
Properties
CreationTime |
The creation datetime of the password. |
Expiry |
The expiry datetime of the password. |
Name |
The password name "password1" or "password2" |
Value |
The password value. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TokenPassword. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TokenPassword. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITokenPassword. |
FromJsonString(String) |
Creates a new instance of TokenPassword, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of TokenPassword into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |