DataClient.GetCollectionInfoAsync Method

Definition

Overloads

Name Description
GetCollectionInfoAsync(String, RequestContext)

[Protocol Method] Return search query info from a STAC collection identifier.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetCollectionInfoAsync(String, CancellationToken)

Return search query info from a STAC collection identifier.

GetCollectionInfoAsync(String, RequestContext)

Source:
DataClient.cs

[Protocol Method] Return search query info from a STAC collection identifier.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetCollectionInfoAsync(string collectionId, Azure.RequestContext context);
abstract member GetCollectionInfoAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetCollectionInfoAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetCollectionInfoAsync (collectionId As String, context As RequestContext) As Task(Of Response)

Parameters

collectionId
String

STAC Collection Identifier.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

collectionId is null.

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

Service returned a non-success status code.

Applies to

GetCollectionInfoAsync(String, CancellationToken)

Source:
DataClient.cs

Return search query info from a STAC collection identifier.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TilerStacSearchRegistration>> GetCollectionInfoAsync(string collectionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCollectionInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TilerStacSearchRegistration>>
override this.GetCollectionInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TilerStacSearchRegistration>>
Public Overridable Function GetCollectionInfoAsync (collectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TilerStacSearchRegistration))

Parameters

collectionId
String

STAC Collection Identifier.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

collectionId is null.

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

Service returned a non-success status code.

Applies to