DbAgentsOperations interface

Interface representing a DbAgents operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
createOrUpdate

Enables or disables the database agent for a flexible server.

get

Gets the database agent configuration for a flexible server.

list

Lists the database agent configuration for a flexible server.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<DbAgent>, DbAgent>>

Property Value

(resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<DbAgent>, DbAgent>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => Promise<DbAgent>

Property Value

(resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => Promise<DbAgent>

createOrUpdate

Enables or disables the database agent for a flexible server.

createOrUpdate: (resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<DbAgent>, DbAgent>

Property Value

(resourceGroupName: string, serverName: string, resource: DbAgentForUpdate, options?: DbAgentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<DbAgent>, DbAgent>

get

Gets the database agent configuration for a flexible server.

get: (resourceGroupName: string, serverName: string, options?: DbAgentsGetOptionalParams) => Promise<DbAgent>

Property Value

(resourceGroupName: string, serverName: string, options?: DbAgentsGetOptionalParams) => Promise<DbAgent>

list

Lists the database agent configuration for a flexible server.

list: (resourceGroupName: string, serverName: string, options?: DbAgentsListOptionalParams) => PagedAsyncIterableIterator<DbAgent, DbAgent[], PageSettings>

Property Value

(resourceGroupName: string, serverName: string, options?: DbAgentsListOptionalParams) => PagedAsyncIterableIterator<DbAgent, DbAgent[], PageSettings>