StacClient.ReplaceMosaic Method

Definition

Overloads

Name Description
ReplaceMosaic(String, String, StacMosaic, CancellationToken)

Update a mosaic definition from a given collection.

ReplaceMosaic(String, String, RequestContent, RequestContext)

[Protocol Method] Update a mosaic definition from a given collection

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

ReplaceMosaic(String, String, StacMosaic, CancellationToken)

Source:
StacClient.cs

Update a mosaic definition from a given collection.

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

mosaicId
String

Unique identifier for the mosaic configuration.

body
StacMosaic

Mosaic definition to be created or updated.

cancellationToken
CancellationToken

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

Returns

Exceptions

collectionId, mosaicId or body is null.

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

Service returned a non-success status code.

Applies to

ReplaceMosaic(String, String, RequestContent, RequestContext)

Source:
StacClient.cs

[Protocol Method] Update a mosaic definition from a given collection

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

Parameters

collectionId
String

Unique identifier for the STAC collection.

mosaicId
String

Unique identifier for the mosaic configuration.

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

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

Service returned a non-success status code.

Applies to