StacClient.SearchAsync Method

Definition

Overloads

Name Description
SearchAsync(StacSearchParameters, Nullable<StacAssetUrlSigningMode>, Nullable<Int32>, CancellationToken)

STAC search operation.

SearchAsync(RequestContent, String, Nullable<Int32>, RequestContext)

[Protocol Method] STAC search operation.

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

SearchAsync(StacSearchParameters, Nullable<StacAssetUrlSigningMode>, Nullable<Int32>, CancellationToken)

Source:
StacClient.cs

STAC search operation.

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

Parameters

body
StacSearchParameters

Request body.

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

body is null.

Service returned a non-success status code.

Applies to

SearchAsync(RequestContent, String, Nullable<Int32>, RequestContext)

Source:
StacClient.cs

[Protocol Method] STAC search operation.

  • 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> SearchAsync(Azure.Core.RequestContent content, string sign = default, int? durationInMinutes = default, Azure.RequestContext context = default);
abstract member SearchAsync : Azure.Core.RequestContent * string * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.SearchAsync : Azure.Core.RequestContent * string * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SearchAsync (content As RequestContent, Optional sign As String = Nothing, Optional durationInMinutes As Nullable(Of Integer) = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

content
RequestContent

The content to send as the body of the request.

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

content is null.

Service returned a non-success status code.

Applies to