Share via


MockableOrbitalSubscriptionResource.GetAvailableGroundStationAsync Method

Definition

Gets the specified available ground station.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/availableGroundStations/{groundStationName}
  • Operation Id: AvailableGroundStations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Orbital.AvailableGroundStationResource>> GetAvailableGroundStationAsync (string groundStationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableGroundStationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Orbital.AvailableGroundStationResource>>
override this.GetAvailableGroundStationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Orbital.AvailableGroundStationResource>>
Public Overridable Function GetAvailableGroundStationAsync (groundStationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AvailableGroundStationResource))

Parameters

groundStationName
String

Ground Station name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

groundStationName is null.

groundStationName is an empty string, and was expected to be non-empty.

Applies to