Partager via


ManagedInstanceStartStopScheduleResource.Update Méthode

Définition

Crée ou met à jour la planification start/stop de l’instance managée.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName}
  • IdStartStopManagedInstanceSchedules_CreateOrUpdate d’opération
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
Public Overridable Function Update (waitUntil As WaitUntil, data As ManagedInstanceStartStopScheduleData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ManagedInstanceStartStopScheduleResource)

Paramètres

waitUntil
WaitUntil

Completed si la méthode doit attendre pour retourner jusqu’à ce que l’opération de longue durée soit terminée sur le service ; Started si elle doit être retournée après le démarrage de l’opération. Pour plus d’informations sur les opérations de longue durée, consultez Exemples d’opérations de Long-Running Azure.Core.

data
ManagedInstanceStartStopScheduleData

La planification de démarrage/d’arrêt de l’instance managée demandée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

data a la valeur null.

S’applique à