Otter SDK Reference
Version:

Servers_CreateOrUpdateServer(string Server_Name, string RoutineExecutionType_Code, int? Host_Id, string ServerRoleIds_Csv, string EnvironmentIds_Csv, string Agent_Configuration, int? Raft_Id, Inedo.Data.YNIndicator? Active_Indicator, int? Server_Id) Method

Creates a new server, or updates an existing one. If the Roles or Environments are not passed in as a parameter, then they will not be changed; however, passing in an empty string will remove the server from the corresponding groups.

Syntax

public static int? Servers_CreateOrUpdateServer(string Server_Name, string RoutineExecutionType_Code, int? Host_Id, string ServerRoleIds_Csv, string EnvironmentIds_Csv, string Agent_Configuration, int? Raft_Id, Inedo.Data.YNIndicator? Active_Indicator, int? Server_Id)

Parameters

Server_Name
Type: string
RoutineExecutionType_Code
Type: string
Host_Id
Type: int?
ServerRoleIds_Csv
Type: string
EnvironmentIds_Csv
Type: string
Agent_Configuration
Type: string
Raft_Id
Type: int?
Active_Indicator
Type: Inedo.Data.YNIndicator?
Server_Id
Type: int?