StacClient.ReplaceRenderOption Method

Definition

Overloads

Name Description
ReplaceRenderOption(String, String, RequestContent, RequestContext)

[Protocol Method] Update a render option for a given collection

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

Update a render option for a given collection.

ReplaceRenderOption(String, String, RequestContent, RequestContext)

Source:
StacClient.cs

[Protocol Method] Update a render option for a given collection

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

renderOptionId
String

Unique identifier for the render option.

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

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

Service returned a non-success status code.

Applies to

ReplaceRenderOption(String, String, RenderConfiguration, CancellationToken)

Source:
StacClient.cs

Update a render option for a given collection.

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

renderOptionId
String

Unique identifier for the render option.

body
RenderConfiguration

Render option configuration to be created or updated.

cancellationToken
CancellationToken

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

Returns

Exceptions

collectionId, renderOptionId or body is null.

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

Service returned a non-success status code.

Applies to