Delen via


AvailableGroundStationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

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

Parameters

groundStationName
String

Ground Station name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

groundStationName is null.

Applies to