Share via


EnvironmentVariable Class

Definition

The environment variable to set within the container instance.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariableTypeConverter))]
public class EnvironmentVariable : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEnvironmentVariable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.EnvironmentVariableTypeConverter))>]
type EnvironmentVariable = class
    interface IEnvironmentVariable
    interface IJsonSerializable
Public Class EnvironmentVariable
Implements IEnvironmentVariable
Inheritance
EnvironmentVariable
Attributes
Implements

Constructors

EnvironmentVariable()

Creates an new EnvironmentVariable instance.

Properties

Name

The name of the environment variable.

SecureValue

The value of the secure environment variable.

Value

The value of the environment variable.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EnvironmentVariable.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EnvironmentVariable.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.IEnvironmentVariable.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EnvironmentVariable into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to