Otter SDK Reference
Version:

Variables_CreateOrUpdateVariable(string Variable_Name, string ValueType_Code, byte[] Variable_Value, int? Server_Id, int? Environment_Id, int? ServerRole_Id, int? Job_Id, int? Host_Id, Inedo.Data.YNIndicator? Sensitive_Indicator, Inedo.Data.YNIndicator? EvaluateVariables_Indicator, int? Variable_Id) Method

Creates a new variable, or updates an existing variable with the specified ID or matching scope.

Syntax

public int? Variables_CreateOrUpdateVariable(string Variable_Name, string ValueType_Code, byte[] Variable_Value, int? Server_Id, int? Environment_Id, int? ServerRole_Id, int? Job_Id, int? Host_Id, Inedo.Data.YNIndicator? Sensitive_Indicator, Inedo.Data.YNIndicator? EvaluateVariables_Indicator, int? Variable_Id)

Parameters

Variable_Name
Type: string
ValueType_Code
Type: string
Variable_Value
Type: byte[]
Server_Id
Type: int?
Environment_Id
Type: int?
ServerRole_Id
Type: int?
Job_Id
Type: int?
Host_Id
Type: int?
Sensitive_Indicator
Type: Inedo.Data.YNIndicator?
EvaluateVariables_Indicator
Type: Inedo.Data.YNIndicator?
Variable_Id
Type: int?