共用方式為


OrbitalExtensions.GetAvailableGroundStationAsync Method

Definition

Gets the specified available ground station.

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

groundStationName
String

Ground Station name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or groundStationName is null.

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

Applies to