Partager via


ManagedInstanceStartStopScheduleCollection.GetIfExistsAsync Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName}
  • IdStartStopManagedInstanceSchedules_Get d’opération
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))

Paramètres

startStopScheduleName
ManagedInstanceStartStopScheduleName

Nom de la planification de démarrage/d’arrêt de l’instance gérée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à