StacClient.GetCollectionConfigurationAsync Method

Definition

Overloads

Name Description
GetCollectionConfigurationAsync(String, RequestContext)

[Protocol Method] Get the complete user configuration for a given collection

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

Get the complete user configuration for a given collection.

GetCollectionConfigurationAsync(String, RequestContext)

Source:
StacClient.cs

[Protocol Method] Get the complete user configuration for a given collection

  • 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> GetCollectionConfigurationAsync(string collectionId, Azure.RequestContext context);
abstract member GetCollectionConfigurationAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetCollectionConfigurationAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetCollectionConfigurationAsync (collectionId As String, context As RequestContext) As Task(Of Response)

Parameters

collectionId
String

Unique identifier for the STAC collection.

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

GetCollectionConfigurationAsync(String, CancellationToken)

Source:
StacClient.cs

Get the complete user configuration for a given collection.

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

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