你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmContainerInstanceModelFactory.ContainerEnvironmentVariable Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerEnvironmentVariable ContainerEnvironmentVariable(string name = default, string value = default, string secureValue = default, string secureValueReference = default);
static member ContainerEnvironmentVariable : string * string * string * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerEnvironmentVariable
Public Shared Function ContainerEnvironmentVariable (Optional name As String = Nothing, Optional value As String = Nothing, Optional secureValue As String = Nothing, Optional secureValueReference As String = Nothing) As ContainerEnvironmentVariable

Parameters

name
String

The name of the environment variable.

value
String

The value of the environment variable.

secureValue
String

The value of the secure environment variable.

secureValueReference
String

The reference of the secure environment variable.

Returns

A new ContainerEnvironmentVariable instance for mocking.

Applies to