StacClient.ReplaceQueryable Method

Definition

Overloads

Name Description
ReplaceQueryable(String, String, StacQueryable, CancellationToken)

Updates a queryable given a queryable definition and corresponding collection id.

ReplaceQueryable(String, String, RequestContent, RequestContext)

[Protocol Method] Updates a queryable given a queryable definition and corresponding collection id.

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

ReplaceQueryable(String, String, StacQueryable, CancellationToken)

Source:
StacClient.cs

Updates a queryable given a queryable definition and corresponding collection id.

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

queryableName
String

Name of the queryable property to operate on.

body
StacQueryable

Request queryable definition body.

cancellationToken
CancellationToken

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

Returns

Exceptions

collectionId, queryableName or body is null.

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

Service returned a non-success status code.

Applies to

ReplaceQueryable(String, String, RequestContent, RequestContext)

Source:
StacClient.cs

[Protocol Method] Updates a queryable given a queryable definition and corresponding collection id.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response ReplaceQueryable(string collectionId, string queryableName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ReplaceQueryable : string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.ReplaceQueryable : string * string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function ReplaceQueryable (collectionId As String, queryableName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response

Parameters

collectionId
String

Unique identifier for the STAC collection.

queryableName
String

Name of the queryable property to operate on.

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, queryableName or content is null.

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

Service returned a non-success status code.

Applies to