SqlAgent interface
Interface representing a SqlAgent.
Methods
create |
Puts new sql agent configuration to instance. |
get(string, string, Sql |
Gets current instance sql agent configuration. |
Method Details
createOrUpdate(string, string, SqlAgentConfiguration, SqlAgentCreateOrUpdateOptionalParams)
Puts new sql agent configuration to instance.
function createOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: SqlAgentConfiguration, options?: SqlAgentCreateOrUpdateOptionalParams): Promise<SqlAgentConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- parameters
- SqlAgentConfiguration
A recoverable managed database resource.
The options parameters.
Returns
Promise<SqlAgentConfiguration>
get(string, string, SqlAgentGetOptionalParams)
Gets current instance sql agent configuration.
function get(resourceGroupName: string, managedInstanceName: string, options?: SqlAgentGetOptionalParams): Promise<SqlAgentConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- managedInstanceName
-
string
The name of the managed instance.
- options
- SqlAgentGetOptionalParams
The options parameters.
Returns
Promise<SqlAgentConfiguration>