Share via


EnvironmentVar Class

Definition

Container App container environment variable.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.EnvironmentVarTypeConverter))]
public class EnvironmentVar : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IEnvironmentVar
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.EnvironmentVarTypeConverter))>]
type EnvironmentVar = class
    interface IEnvironmentVar
    interface IJsonSerializable
Public Class EnvironmentVar
Implements IEnvironmentVar
Inheritance
EnvironmentVar
Attributes
Implements

Constructors

EnvironmentVar()

Creates an new EnvironmentVar instance.

Properties

Name

Environment variable name.

SecretRef

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

Value

Non-secret environment variable value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentVar.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentVar.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IEnvironmentVar.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentVar into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to