Share via


SecretVolumeItem Class

Definition

Secret to be added to volume.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretVolumeItemTypeConverter))]
public class SecretVolumeItem : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISecretVolumeItem
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretVolumeItemTypeConverter))>]
type SecretVolumeItem = class
    interface ISecretVolumeItem
    interface IJsonSerializable
Public Class SecretVolumeItem
Implements ISecretVolumeItem
Inheritance
SecretVolumeItem
Attributes
Implements

Constructors

SecretVolumeItem()

Creates an new SecretVolumeItem instance.

Properties

Path

Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.

SecretRef

Name of the Container App secret from which to pull the secret value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecretVolumeItem.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecretVolumeItem.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISecretVolumeItem.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecretVolumeItem into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to