Share via


PlanetaryComputerGeoCatalogCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
  • Operation Id: GeoCatalog_Get
  • Default Api Version: 2025-02-11-preview
  • Resource: PlanetaryComputerGeoCatalogResource
public virtual Azure.NullableResponse<Azure.ResourceManager.PlanetaryComputer.PlanetaryComputerGeoCatalogResource> GetIfExists(string catalogName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.PlanetaryComputer.PlanetaryComputerGeoCatalogResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.PlanetaryComputer.PlanetaryComputerGeoCatalogResource>
Public Overridable Function GetIfExists (catalogName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of PlanetaryComputerGeoCatalogResource)

Parameters

catalogName
String

The name of the catalog.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

catalogName is null.

Applies to