public interface JobAgentsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters)
Creates or updates a job agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters,
com.azure.core.util.Context context)
Creates or updates a job agent.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters)
Creates or updates a job agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String jobAgentName)
Deletes a job agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String jobAgentName,
com.azure.core.util.Context context)
Deletes a job agent.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Deletes a job agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags)
Updates a job agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a job agent.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> |
beginUpdateAsync(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags)
Updates a job agent.
|
JobAgentInner |
createOrUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters)
Creates or updates a job agent.
|
JobAgentInner |
createOrUpdate(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters,
com.azure.core.util.Context context)
Creates or updates a job agent.
|
Mono<JobAgentInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters)
Creates or updates a job agent.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String jobAgentName,
JobAgentInner parameters)
Creates or updates a job agent.
|
void |
delete(String resourceGroupName,
String serverName,
String jobAgentName)
Deletes a job agent.
|
void |
delete(String resourceGroupName,
String serverName,
String jobAgentName,
com.azure.core.util.Context context)
Deletes a job agent.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Deletes a job agent.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Deletes a job agent.
|
JobAgentInner |
get(String resourceGroupName,
String serverName,
String jobAgentName)
Gets a job agent.
|
Mono<JobAgentInner> |
getAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Gets a job agent.
|
com.azure.core.http.rest.Response<JobAgentInner> |
getWithResponse(String resourceGroupName,
String serverName,
String jobAgentName,
com.azure.core.util.Context context)
Gets a job agent.
|
Mono<com.azure.core.http.rest.Response<JobAgentInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Gets a job agent.
|
com.azure.core.http.rest.PagedIterable<JobAgentInner> |
listByServer(String resourceGroupName,
String serverName)
Gets a list of job agents in a server.
|
com.azure.core.http.rest.PagedIterable<JobAgentInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Gets a list of job agents in a server.
|
com.azure.core.http.rest.PagedFlux<JobAgentInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Gets a list of job agents in a server.
|
JobAgentInner |
update(String resourceGroupName,
String serverName,
String jobAgentName)
Updates a job agent.
|
JobAgentInner |
update(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags)
Updates a job agent.
|
JobAgentInner |
update(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a job agent.
|
Mono<JobAgentInner> |
updateAsync(String resourceGroupName,
String serverName,
String jobAgentName)
Updates a job agent.
|
Mono<JobAgentInner> |
updateAsync(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags)
Updates a job agent.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String serverName,
String jobAgentName,
Map<String,String> tags)
Updates a job agent.
|
com.azure.core.http.rest.PagedFlux<JobAgentInner> listByServerAsync(String resourceGroupName, String serverName)
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.serverName - The name of the server.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.com.azure.core.http.rest.PagedIterable<JobAgentInner> listByServer(String resourceGroupName, String serverName)
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.serverName - The name of the server.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.com.azure.core.http.rest.PagedIterable<JobAgentInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
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.serverName - The name of the server.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<JobAgentInner>> getWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be retrieved.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.Mono<JobAgentInner> getAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be retrieved.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.JobAgentInner get(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be retrieved.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.com.azure.core.http.rest.Response<JobAgentInner> getWithResponse(String resourceGroupName, String serverName, String jobAgentName, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be retrieved.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner 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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner 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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner 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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.context - The context to associate with this operation.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.Mono<JobAgentInner> createOrUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner 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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.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.JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner 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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.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.JobAgentInner createOrUpdate(String resourceGroupName, String serverName, String jobAgentName, JobAgentInner parameters, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be created or updated.parameters - An Azure SQL job agent.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String jobAgentName, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.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.void delete(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.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.void delete(String resourceGroupName, String serverName, String jobAgentName, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be deleted.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginUpdateAsync(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JobAgentInner>,JobAgentInner> beginUpdate(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.context - The context to associate with this operation.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.Mono<JobAgentInner> updateAsync(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.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.Mono<JobAgentInner> updateAsync(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.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.JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.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.JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName, Map<String,String> tags, com.azure.core.util.Context context)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.tags - Resource tags.context - The context to associate with this operation.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.JobAgentInner update(String resourceGroupName, String serverName, String jobAgentName)
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.serverName - The name of the server.jobAgentName - The name of the job agent to be updated.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.Copyright © 2020 Microsoft Corporation. All rights reserved.