Partager via


ManagedInstanceStartStopScheduleCollection.GetIfExists Méthode

Définition

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

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName}
  • IdStartStopManagedInstanceSchedules_Get d’opération
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource> GetIfExists (Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName startStopScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
override this.GetIfExists : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
Public Overridable Function GetIfExists (startStopScheduleName As ManagedInstanceStartStopScheduleName, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of ManagedInstanceStartStopScheduleResource)

Paramètres

startStopScheduleName
ManagedInstanceStartStopScheduleName

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à