ServiceTasks class
Classe que representa um ServiceTasks.
Construtores
Service |
Crie uma ServiceTasks. |
Métodos
cancel(string, string, string, Request |
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. Este método cancela uma tarefa de serviço se estiver atualmente em fila ou em execução. |
cancel(string, string, string, Request |
|
cancel(string, string, string, Service |
|
create |
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método PUT cria uma nova tarefa de serviço ou atualiza uma existente, embora uma vez que as tarefas de serviço não têm propriedades personalizadas mutáveis, não há razão para atualizar uma existente. |
create |
|
create |
|
delete |
|
delete |
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método DELETE elimina uma tarefa de serviço, cancelando-a primeiro se estiver em execução. |
delete |
|
get(string, string, string, Service |
|
get(string, string, string, Service |
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método GET obtém informações sobre uma tarefa de serviço. |
get(string, string, string, Service |
|
list(string, string, Service |
|
list(string, string, Service |
O recurso de serviços é o recurso de nível superior que representa o Database Migration Service. Este método devolve uma lista de tarefas de nível de serviço pertencentes a um recurso de serviço. Algumas tarefas podem ter um estado de Desconhecido, o que indica que ocorreu um erro ao consultar o estado dessa tarefa. |
list(string, string, Service |
|
list |
O recurso de serviços é o recurso de nível superior que representa o Database Migration Service. Este método devolve uma lista de tarefas de nível de serviço pertencentes a um recurso de serviço. Algumas tarefas podem ter um estado de Desconhecido, o que indica que ocorreu um erro ao consultar o estado dessa tarefa. |
list |
|
list |
|
update(Project |
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método PATCH atualiza uma tarefa de serviço existente, mas como as tarefas de serviço não têm propriedades personalizadas mutáveis, não há razão para o fazer. |
update(Project |
|
update(Project |
Detalhes do Construtor
ServiceTasks(DataMigrationServiceClientContext)
Crie uma ServiceTasks.
new ServiceTasks(client: DataMigrationServiceClientContext)
Parâmetros
Referência ao cliente de serviço.
Detalhes de Método
cancel(string, string, string, RequestOptionsBase)
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. Este método cancela uma tarefa de serviço se estiver atualmente em fila ou em execução.
function cancel(groupName: string, serviceName: string, taskName: string, options?: RequestOptionsBase): Promise<ServiceTasksCancelResponse>
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksCancelResponse>
Promise<Models.ServiceTasksCancelResponse>
cancel(string, string, string, RequestOptionsBase, ServiceCallback<ProjectTask>)
function cancel(groupName: string, serviceName: string, taskName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectTask>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
- callback
A chamada de retorno
cancel(string, string, string, ServiceCallback<ProjectTask>)
function cancel(groupName: string, serviceName: string, taskName: string, callback: ServiceCallback<ProjectTask>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- callback
A chamada de retorno
createOrUpdate(ProjectTask, string, string, string, RequestOptionsBase)
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método PUT cria uma nova tarefa de serviço ou atualiza uma existente, embora uma vez que as tarefas de serviço não têm propriedades personalizadas mutáveis, não há razão para atualizar uma existente.
function createOrUpdate(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, options?: RequestOptionsBase): Promise<ServiceTasksCreateOrUpdateResponse>
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksCreateOrUpdateResponse>
Promise<Models.ServiceTasksCreateOrUpdateResponse>
createOrUpdate(ProjectTask, string, string, string, RequestOptionsBase, ServiceCallback<ProjectTask>)
function createOrUpdate(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectTask>)
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
- callback
A chamada de retorno
createOrUpdate(ProjectTask, string, string, string, ServiceCallback<ProjectTask>)
function createOrUpdate(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, callback: ServiceCallback<ProjectTask>)
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- callback
A chamada de retorno
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(groupName: string, serviceName: string, taskName: string, callback: ServiceCallback<void>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- callback
-
ServiceCallback<void>
A chamada de retorno
deleteMethod(string, string, string, ServiceTasksDeleteMethodOptionalParams)
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método DELETE elimina uma tarefa de serviço, cancelando-a primeiro se estiver em execução.
function deleteMethod(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksDeleteMethodOptionalParams): Promise<RestResponse>
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
Os parâmetros opcionais
Devoluções
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, ServiceTasksDeleteMethodOptionalParams, ServiceCallback<void>)
function deleteMethod(groupName: string, serviceName: string, taskName: string, options: ServiceTasksDeleteMethodOptionalParams, callback: ServiceCallback<void>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
Os parâmetros opcionais
- callback
-
ServiceCallback<void>
A chamada de retorno
get(string, string, string, ServiceCallback<ProjectTask>)
function get(groupName: string, serviceName: string, taskName: string, callback: ServiceCallback<ProjectTask>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- callback
A chamada de retorno
get(string, string, string, ServiceTasksGetOptionalParams)
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método GET obtém informações sobre uma tarefa de serviço.
function get(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksGetOptionalParams): Promise<ServiceTasksGetResponse>
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- ServiceTasksGetOptionalParams
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksGetResponse>
Promise<Models.ServiceTasksGetResponse>
get(string, string, string, ServiceTasksGetOptionalParams, ServiceCallback<ProjectTask>)
function get(groupName: string, serviceName: string, taskName: string, options: ServiceTasksGetOptionalParams, callback: ServiceCallback<ProjectTask>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- ServiceTasksGetOptionalParams
Os parâmetros opcionais
- callback
A chamada de retorno
list(string, string, ServiceCallback<TaskList>)
function list(groupName: string, serviceName: string, callback: ServiceCallback<TaskList>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- callback
A chamada de retorno
list(string, string, ServiceTasksListOptionalParams)
O recurso de serviços é o recurso de nível superior que representa o Database Migration Service. Este método devolve uma lista de tarefas de nível de serviço pertencentes a um recurso de serviço. Algumas tarefas podem ter um estado de Desconhecido, o que indica que ocorreu um erro ao consultar o estado dessa tarefa.
function list(groupName: string, serviceName: string, options?: ServiceTasksListOptionalParams): Promise<ServiceTasksListResponse>
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- options
- ServiceTasksListOptionalParams
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksListResponse>
Promise<Models.ServiceTasksListResponse>
list(string, string, ServiceTasksListOptionalParams, ServiceCallback<TaskList>)
function list(groupName: string, serviceName: string, options: ServiceTasksListOptionalParams, callback: ServiceCallback<TaskList>)
Parâmetros
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- options
- ServiceTasksListOptionalParams
Os parâmetros opcionais
- callback
A chamada de retorno
listNext(string, RequestOptionsBase)
O recurso de serviços é o recurso de nível superior que representa o Database Migration Service. Este método devolve uma lista de tarefas de nível de serviço pertencentes a um recurso de serviço. Algumas tarefas podem ter um estado de Desconhecido, o que indica que ocorreu um erro ao consultar o estado dessa tarefa.
function listNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ServiceTasksListNextResponse>
Parâmetros
- nextPageLink
-
string
A NextLink da chamada com êxito anterior para a operação Lista.
- options
- RequestOptionsBase
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksListNextResponse>
Promise<Models.ServiceTasksListNextResponse>
listNext(string, RequestOptionsBase, ServiceCallback<TaskList>)
function listNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<TaskList>)
Parâmetros
- nextPageLink
-
string
A NextLink da chamada com êxito anterior para a operação Lista.
- options
- RequestOptionsBase
Os parâmetros opcionais
- callback
A chamada de retorno
listNext(string, ServiceCallback<TaskList>)
function listNext(nextPageLink: string, callback: ServiceCallback<TaskList>)
Parâmetros
- nextPageLink
-
string
A NextLink da chamada com êxito anterior para a operação Lista.
- callback
A chamada de retorno
update(ProjectTask, string, string, string, RequestOptionsBase)
O recurso de tarefas de serviço é um recurso aninhado, apenas proxy, que representa o trabalho realizado por uma instância do DMS. O método PATCH atualiza uma tarefa de serviço existente, mas como as tarefas de serviço não têm propriedades personalizadas mutáveis, não há razão para o fazer.
function update(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, options?: RequestOptionsBase): Promise<ServiceTasksUpdateResponse>
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
Devoluções
Promise<ServiceTasksUpdateResponse>
Promise<Models.ServiceTasksUpdateResponse>
update(ProjectTask, string, string, string, RequestOptionsBase, ServiceCallback<ProjectTask>)
function update(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectTask>)
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- options
- RequestOptionsBase
Os parâmetros opcionais
- callback
A chamada de retorno
update(ProjectTask, string, string, string, ServiceCallback<ProjectTask>)
function update(parameters: ProjectTask, groupName: string, serviceName: string, taskName: string, callback: ServiceCallback<ProjectTask>)
Parâmetros
- parameters
- ProjectTask
Informações sobre a tarefa
- groupName
-
string
Nome do grupo de recursos
- serviceName
-
string
Nome do serviço
- taskName
-
string
Nome da Tarefa
- callback
A chamada de retorno