Interface SqlAgentsClient
public interface SqlAgentsClient
An instance of this class provides access to all the operations defined in SqlAgentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.com.azure.core.http.rest.Response<SqlAgentConfigurationInner>createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters, com.azure.core.util.Context context) Puts new sql agent configuration to instance.Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.Gets current instance sql agent configuration.Gets current instance sql agent configuration.com.azure.core.http.rest.Response<SqlAgentConfigurationInner>getWithResponse(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets current instance sql agent configuration.Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>>getWithResponseAsync(String resourceGroupName, String managedInstanceName) Gets current instance sql agent configuration.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName) Gets current instance sql agent configuration.- Parameters:
resourceGroupName- 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- The name of the managed instance.- Returns:
- current instance sql agent configuration along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Gets current instance sql agent configuration.- Parameters:
resourceGroupName- 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- The name of the managed instance.- Returns:
- current instance sql agent configuration on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SqlAgentConfigurationInner> getWithResponse(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets current instance sql agent configuration.- Parameters:
resourceGroupName- 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- The name of the managed instance.context- The context to associate with this operation.- Returns:
- current instance sql agent configuration along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets current instance sql agent configuration.- Parameters:
resourceGroupName- 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- The name of the managed instance.- Returns:
- current instance sql agent configuration.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SqlAgentConfigurationInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.- Parameters:
resourceGroupName- 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- The name of the managed instance.parameters- A recoverable managed database resource.- Returns:
- a recoverable managed database resource along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SqlAgentConfigurationInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.- Parameters:
resourceGroupName- 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- The name of the managed instance.parameters- A recoverable managed database resource.- Returns:
- a recoverable managed database resource on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SqlAgentConfigurationInner> createOrUpdateWithResponse(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters, com.azure.core.util.Context context) Puts new sql agent configuration to instance.- Parameters:
resourceGroupName- 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- The name of the managed instance.parameters- A recoverable managed database resource.context- The context to associate with this operation.- Returns:
- a recoverable managed database resource along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SqlAgentConfigurationInner createOrUpdate(String resourceGroupName, String managedInstanceName, SqlAgentConfigurationInner parameters) Puts new sql agent configuration to instance.- Parameters:
resourceGroupName- 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- The name of the managed instance.parameters- A recoverable managed database resource.- Returns:
- a recoverable managed database resource.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-