AzureSqlElasticJobCommunicator.CreateOrUpdateAgent 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.
PUT: Creates an Azure SQL Database Agent
public Microsoft.Azure.Management.Sql.Models.JobAgent CreateOrUpdateAgent (string resourceGroupName, string serverName, string agentName, Microsoft.Azure.Management.Sql.Models.JobAgent parameters);
member this.CreateOrUpdateAgent : string * string * string * Microsoft.Azure.Management.Sql.Models.JobAgent -> Microsoft.Azure.Management.Sql.Models.JobAgent
Public Function CreateOrUpdateAgent (resourceGroupName As String, serverName As String, agentName As String, parameters As JobAgent) As JobAgent
Parameters
- resourceGroupName
- String
The resource group name
- serverName
- String
The server name
- agentName
- String
The agent name
- parameters
- JobAgent
The agent's create parameters
Returns
The newly created agent