Bagikan melalui


SecretObject Class

Definition

Describes the properties of a secret object value.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SecretObjectTypeConverter))]
public class SecretObject : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISecretObject
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SecretObjectTypeConverter))>]
type SecretObject = class
    interface ISecretObject
    interface IJsonSerializable
Public Class SecretObject
Implements ISecretObject
Inheritance
SecretObject
Attributes
Implements

Constructors

SecretObject()

Creates an new SecretObject instance.

Properties

Type

The type of the secret object which determines how the value of the secret object has to be interpreted.

Value

The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecretObject.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecretObject.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISecretObject.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecretObject into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to