다음을 통해 공유


ManagedInstanceStartStopScheduleCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • 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 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)

Parameters

startStopScheduleName
ManagedInstanceStartStopScheduleName

Name of the managed instance Start/Stop schedule.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to