Udostępnij za pośrednictwem


AvailableGroundStationCollection.GetIfExists 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 Azure.NullableResponse<Azure.ResourceManager.Orbital.AvailableGroundStationResource> GetIfExists (string groundStationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Orbital.AvailableGroundStationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Orbital.AvailableGroundStationResource>
Public Overridable Function GetIfExists (groundStationName As String, Optional cancellationToken As CancellationToken = Nothing) As 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