Share via


SecretObject Constructors

Definition

Overloads

SecretObject()

Initializes a new instance of the SecretObject class.

SecretObject(String, String)

Initializes a new instance of the SecretObject class.

SecretObject()

Initializes a new instance of the SecretObject class.

public SecretObject ();
Public Sub New ()

Applies to

SecretObject(String, String)

Initializes a new instance of the SecretObject class.

public SecretObject (string value = default, string type = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject : string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.SecretObject
Public Sub New (Optional value As String = Nothing, Optional type As String = Nothing)

Parameters

value
String

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.

type
String

The type of the secret object which determines how the value of the secret object has to be interpreted. Possible values include: 'Opaque', 'Vaultsecret'

Applies to