Share via


ScheduleOperations Classe

Você não deve instanciar essa classe diretamente. Em vez disso, você deve criar uma instância do MLClient que a instancie para você e a anexa como um atributo.

Herança
azure.ai.ml._scope_dependent_operations._ScopeDependentOperations
ScheduleOperations

Construtor

ScheduleOperations(operation_scope: OperationScope, operation_config: OperationConfig, service_client_06_2023_preview: AzureMachineLearningWorkspaces, all_operations: OperationsContainer, credential: TokenCredential, **kwargs: Any)

Parâmetros

operation_scope
Obrigatório
operation_config
Obrigatório
service_client_06_2023_preview
Obrigatório
all_operations
Obrigatório
credential
Obrigatório

Métodos

begin_create_or_update

Criar ou atualizar agendamento.

begin_delete

Excluir agendamento.

begin_disable

Desabilitar uma agenda.

begin_enable

Habilite um agendamento.

get

Obtenha uma agenda.

list

Listar agendamentos no workspace especificado.

begin_create_or_update

Criar ou atualizar agendamento.

begin_create_or_update(schedule: Schedule, **kwargs: Any) -> LROPoller[Schedule]

Parâmetros

schedule
Schedule
Obrigatório

Definição de agendamento.

Retornos

Uma instância de LROPoller que retorna Schedule se no_wait=True ou Schedule se no_wait=False

Tipo de retorno

Union[<xref:LROPoller>, Schedule],
Union[<xref:LROPoller>, Schedule]

begin_delete

Excluir agendamento.

begin_delete(name: str, **kwargs: Any) -> LROPoller[None]

Parâmetros

name
str
Obrigatório

Nome da agenda.

Retornos

Um sondador para exclusão status

Tipo de retorno

<xref:LROPoller>[None]

begin_disable

Desabilitar uma agenda.

begin_disable(name: str, **kwargs: Any) -> LROPoller[Schedule]

Parâmetros

name
str
Obrigatório

Nome da agenda.

Retornos

Uma instância de LROPoller que retorna Schedule se no_wait=True ou Schedule se no_wait=False

Tipo de retorno

<xref:LROPoller>

begin_enable

Habilite um agendamento.

begin_enable(name: str, **kwargs: Any) -> LROPoller[Schedule]

Parâmetros

name
str
Obrigatório

Nome da agenda.

Retornos

Uma instância de LROPoller que retorna Schedule

Tipo de retorno

<xref:LROPoller>

get

Obtenha uma agenda.

get(name: str, **kwargs: Any) -> Schedule

Parâmetros

name
str
Obrigatório

Nome da agenda.

Retornos

O objeto schedule.

Tipo de retorno

list

Listar agendamentos no workspace especificado.

list(*, list_view_type: ScheduleListViewType = ScheduleListViewType.ENABLED_ONLY, **kwargs: Any) -> Iterable[Schedule]

Keyword-Only Parameters

list_view_type

Tipo de exibição para incluir/excluir (por exemplo) agendas arquivadas. Padrão: ENABLED_ONLY.

Retornos

Um iterador para listar Agendamento.

Tipo de retorno