StacClient.GetCollections Method

Definition

Overloads

Name Description
GetCollections(Nullable<StacAssetUrlSigningMode>, Nullable<Int32>, CancellationToken)

List all collections in the GeoCatalog instance.

GetCollections(String, Nullable<Int32>, RequestContext)

[Protocol Method] List all collections in the GeoCatalog instance

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetCollections(Nullable<StacAssetUrlSigningMode>, Nullable<Int32>, CancellationToken)

Source:
StacClient.cs

List all collections in the GeoCatalog instance.

public virtual Azure.Response<Azure.Analytics.PlanetaryComputer.StacCatalogCollections> GetCollections(Azure.Analytics.PlanetaryComputer.StacAssetUrlSigningMode? sign = default, int? durationInMinutes = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCollections : Nullable<Azure.Analytics.PlanetaryComputer.StacAssetUrlSigningMode> * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.StacCatalogCollections>
override this.GetCollections : Nullable<Azure.Analytics.PlanetaryComputer.StacAssetUrlSigningMode> * Nullable<int> * System.Threading.CancellationToken -> Azure.Response<Azure.Analytics.PlanetaryComputer.StacCatalogCollections>
Public Overridable Function GetCollections (Optional sign As Nullable(Of StacAssetUrlSigningMode) = Nothing, Optional durationInMinutes As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StacCatalogCollections)

Parameters

sign
Nullable<StacAssetUrlSigningMode>

Whether to sign asset URLs in the response.

durationInMinutes
Nullable<Int32>

URL signature duration in minutes.

cancellationToken
CancellationToken

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

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetCollections(String, Nullable<Int32>, RequestContext)

Source:
StacClient.cs

[Protocol Method] List all collections in the GeoCatalog instance

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response GetCollections(string sign, int? durationInMinutes, Azure.RequestContext context);
abstract member GetCollections : string * Nullable<int> * Azure.RequestContext -> Azure.Response
override this.GetCollections : string * Nullable<int> * Azure.RequestContext -> Azure.Response
Public Overridable Function GetCollections (sign As String, durationInMinutes As Nullable(Of Integer), context As RequestContext) As Response

Parameters

sign
String

Whether to sign asset URLs in the response.

durationInMinutes
Nullable<Int32>

URL signature duration in minutes.

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

Service returned a non-success status code.

Applies to