JobAgents interface

Interface representing a JobAgents.

Methods

beginCreateOrUpdate(string, string, string, JobAgent, JobAgentsCreateOrUpdateOptionalParams)

Creates or updates a job agent.

beginCreateOrUpdateAndWait(string, string, string, JobAgent, JobAgentsCreateOrUpdateOptionalParams)

Creates or updates a job agent.

beginDelete(string, string, string, JobAgentsDeleteOptionalParams)

Deletes a job agent.

beginDeleteAndWait(string, string, string, JobAgentsDeleteOptionalParams)

Deletes a job agent.

beginUpdate(string, string, string, JobAgentUpdate, JobAgentsUpdateOptionalParams)

Updates a job agent.

beginUpdateAndWait(string, string, string, JobAgentUpdate, JobAgentsUpdateOptionalParams)

Updates a job agent.

get(string, string, string, JobAgentsGetOptionalParams)

Gets a job agent.

listByServer(string, string, JobAgentsListByServerOptionalParams)

Gets a list of job agents in a server.

Method Details

beginCreateOrUpdate(string, string, string, JobAgent, JobAgentsCreateOrUpdateOptionalParams)

Creates or updates a job agent.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgent, options?: JobAgentsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JobAgent>, JobAgent>>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be created or updated.

parameters
JobAgent

The requested job agent resource state.

options
JobAgentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<JobAgent>, JobAgent>>

beginCreateOrUpdateAndWait(string, string, string, JobAgent, JobAgentsCreateOrUpdateOptionalParams)

Creates or updates a job agent.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgent, options?: JobAgentsCreateOrUpdateOptionalParams): Promise<JobAgent>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be created or updated.

parameters
JobAgent

The requested job agent resource state.

options
JobAgentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<JobAgent>

beginDelete(string, string, string, JobAgentsDeleteOptionalParams)

Deletes a job agent.

function beginDelete(resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be deleted.

options
JobAgentsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, JobAgentsDeleteOptionalParams)

Deletes a job agent.

function beginDeleteAndWait(resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsDeleteOptionalParams): Promise<void>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be deleted.

options
JobAgentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, JobAgentUpdate, JobAgentsUpdateOptionalParams)

Updates a job agent.

function beginUpdate(resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgentUpdate, options?: JobAgentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<JobAgent>, JobAgent>>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be updated.

parameters
JobAgentUpdate

The update to the job agent.

options
JobAgentsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<JobAgent>, JobAgent>>

beginUpdateAndWait(string, string, string, JobAgentUpdate, JobAgentsUpdateOptionalParams)

Updates a job agent.

function beginUpdateAndWait(resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgentUpdate, options?: JobAgentsUpdateOptionalParams): Promise<JobAgent>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be updated.

parameters
JobAgentUpdate

The update to the job agent.

options
JobAgentsUpdateOptionalParams

The options parameters.

Returns

Promise<JobAgent>

get(string, string, string, JobAgentsGetOptionalParams)

Gets a job agent.

function get(resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsGetOptionalParams): Promise<JobAgent>

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.

serverName

string

The name of the server.

jobAgentName

string

The name of the job agent to be retrieved.

options
JobAgentsGetOptionalParams

The options parameters.

Returns

Promise<JobAgent>

listByServer(string, string, JobAgentsListByServerOptionalParams)

Gets a list of job agents in a server.

function listByServer(resourceGroupName: string, serverName: string, options?: JobAgentsListByServerOptionalParams): PagedAsyncIterableIterator<JobAgent, JobAgent[], PageSettings>

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.

serverName

string

The name of the server.

options
JobAgentsListByServerOptionalParams

The options parameters.

Returns