Partilhar via


ManagedInstanceStartStopScheduleCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName}
  • Operação IdStartStopManagedInstanceSchedules_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName startStopScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>>
Public Overridable Function GetIfExistsAsync (startStopScheduleName As ManagedInstanceStartStopScheduleName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedInstanceStartStopScheduleResource))

Parâmetros

startStopScheduleName
ManagedInstanceStartStopScheduleName

Nome do agendamento Iniciar/Parar da instância gerenciada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a