Partilhar via


Schedules interface

Interface que representa um Schedules.

Métodos

beginCreateOrUpdate(string, string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma Agenda.

beginCreateOrUpdateAndWait(string, string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma Agenda.

beginDelete(string, string, string, string, SchedulesDeleteOptionalParams)

Exclui um agendado.

beginDeleteAndWait(string, string, string, string, SchedulesDeleteOptionalParams)

Exclui um agendado.

beginUpdate(string, string, string, string, ScheduleUpdate, SchedulesUpdateOptionalParams)

Atualiza parcialmente um Agendado.

beginUpdateAndWait(string, string, string, string, ScheduleUpdate, SchedulesUpdateOptionalParams)

Atualiza parcialmente um Agendado.

get(string, string, string, string, SchedulesGetOptionalParams)

Obtém um recurso de agendamento.

listByPool(string, string, string, SchedulesListByPoolOptionalParams)

Lista agendas para um pool

Detalhes de Método

beginCreateOrUpdate(string, string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma Agenda.

function beginCreateOrUpdate(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

body
Schedule

Representa uma tarefa agendada

options
SchedulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Devoluções

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

beginCreateOrUpdateAndWait(string, string, string, string, Schedule, SchedulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma Agenda.

function beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise<Schedule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

body
Schedule

Representa uma tarefa agendada

options
SchedulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Devoluções

Promise<Schedule>

beginDelete(string, string, string, string, SchedulesDeleteOptionalParams)

Exclui um agendado.

function beginDelete(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SchedulesDeleteHeaders>, SchedulesDeleteHeaders>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

options
SchedulesDeleteOptionalParams

Os parâmetros de opções.

Devoluções

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

beginDeleteAndWait(string, string, string, string, SchedulesDeleteOptionalParams)

Exclui um agendado.

function beginDeleteAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise<SchedulesDeleteHeaders>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

options
SchedulesDeleteOptionalParams

Os parâmetros de opções.

Devoluções

beginUpdate(string, string, string, string, ScheduleUpdate, SchedulesUpdateOptionalParams)

Atualiza parcialmente um Agendado.

function beginUpdate(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Schedule>, Schedule>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

body
ScheduleUpdate

Representa uma tarefa agendada.

options
SchedulesUpdateOptionalParams

Os parâmetros de opções.

Devoluções

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

beginUpdateAndWait(string, string, string, string, ScheduleUpdate, SchedulesUpdateOptionalParams)

Atualiza parcialmente um Agendado.

function beginUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise<Schedule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

body
ScheduleUpdate

Representa uma tarefa agendada.

options
SchedulesUpdateOptionalParams

Os parâmetros de opções.

Devoluções

Promise<Schedule>

get(string, string, string, string, SchedulesGetOptionalParams)

Obtém um recurso de agendamento.

function get(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesGetOptionalParams): Promise<Schedule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

scheduleName

string

O nome da agenda que a identifica exclusivamente.

options
SchedulesGetOptionalParams

Os parâmetros de opções.

Devoluções

Promise<Schedule>

listByPool(string, string, string, SchedulesListByPoolOptionalParams)

Lista agendas para um pool

function listByPool(resourceGroupName: string, projectName: string, poolName: string, options?: SchedulesListByPoolOptionalParams): PagedAsyncIterableIterator<Schedule, Schedule[], PageSettings>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

projectName

string

O nome do projeto.

poolName

string

Nome do pool.

options
SchedulesListByPoolOptionalParams

Os parâmetros de opções.

Devoluções