ComputeBatchModelFactory.EnvironmentSetting(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An environment variable to be set on a Task process.
public static Azure.Compute.Batch.EnvironmentSetting EnvironmentSetting(string name = default, string value = default);
static member EnvironmentSetting : string * string -> Azure.Compute.Batch.EnvironmentSetting
Public Shared Function EnvironmentSetting (Optional name As String = Nothing, Optional value As String = Nothing) As EnvironmentSetting
Parameters
- name
- String
The name of the environment variable.
- value
- String
The value of the environment variable.
Returns
A new EnvironmentSetting instance for mocking.