StacClient.CreateQueryablesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateQueryablesAsync(String, RequestContent, RequestContext) |
[Protocol Method] Set queryables for a collection given a list of queryable definitions
|
| CreateQueryablesAsync(String, IEnumerable<StacQueryable>, CancellationToken) |
Set queryables for a collection given a list of queryable definitions. |
CreateQueryablesAsync(String, RequestContent, RequestContext)
- Source:
- StacClient.cs
[Protocol Method] Set queryables for a collection given a list of queryable definitions
- 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> CreateQueryablesAsync(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member CreateQueryablesAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CreateQueryablesAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CreateQueryablesAsync (collectionId As String, content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)
Parameters
- collectionId
- String
Unique identifier for the STAC collection.
- content
- RequestContent
The content to send as the body of the request.
- 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 or content is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
CreateQueryablesAsync(String, IEnumerable<StacQueryable>, CancellationToken)
- Source:
- StacClient.cs
Set queryables for a collection given a list of queryable definitions.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacQueryable>>> CreateQueryablesAsync(string collectionId, System.Collections.Generic.IEnumerable<Azure.Analytics.PlanetaryComputer.StacQueryable> body, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateQueryablesAsync : string * seq<Azure.Analytics.PlanetaryComputer.StacQueryable> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacQueryable>>>
override this.CreateQueryablesAsync : string * seq<Azure.Analytics.PlanetaryComputer.StacQueryable> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacQueryable>>>
Public Overridable Function CreateQueryablesAsync (collectionId As String, body As IEnumerable(Of StacQueryable), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of StacQueryable)))
Parameters
- collectionId
- String
Unique identifier for the STAC collection.
- body
- IEnumerable<StacQueryable>
Request queryable definition body.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
collectionId or body is null.
collectionId is an empty string, and was expected to be non-empty.
Service returned a non-success status code.