Sprog

ManagedInstanceStartStopScheduleCollection.GetAllAsync Method

Definition

Lists the managed instance's Start/Stop schedules.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules.
  • Operation Id. : StartStopManagedInstanceSchedules_ListByInstance.
  • Default Api Version. : 2025-08-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedInstanceStartStopScheduleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ManagedInstanceStartStopScheduleResource that may take multiple service requests to iterate over.

Applies to