ManagedInstanceResource.GetManagedInstanceStartStopScheduleAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the managed instance's Start/Stop schedule.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName}
- Operation Id: StartStopManagedInstanceSchedules_Get
- Default Api Version: 2022-08-01-preview
- Resource: ManagedInstanceStartStopScheduleResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>> GetManagedInstanceStartStopScheduleAsync (Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName startStopScheduleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedInstanceStartStopScheduleAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>>
override this.GetManagedInstanceStartStopScheduleAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceStartStopScheduleName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedInstanceStartStopScheduleResource>>
Public Overridable Function GetManagedInstanceStartStopScheduleAsync (startStopScheduleName As ManagedInstanceStartStopScheduleName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedInstanceStartStopScheduleResource))
Parameters
- startStopScheduleName
- ManagedInstanceStartStopScheduleName
Name of the managed instance Start/Stop schedule.
- cancellationToken
- CancellationToken
The cancellation token to use.