StacClient.ReplaceTileSettingsAsync 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 |
|---|---|
| ReplaceTileSettingsAsync(String, TileSettings, CancellationToken) |
Update the tile settings for a given collection. |
| ReplaceTileSettingsAsync(String, RequestContent, RequestContext) |
[Protocol Method] Update the tile settings for a given collection
|
ReplaceTileSettingsAsync(String, TileSettings, CancellationToken)
- Source:
- StacClient.cs
Update the tile settings for a given collection.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TileSettings>> ReplaceTileSettingsAsync(string collectionId, Azure.Analytics.PlanetaryComputer.TileSettings body, System.Threading.CancellationToken cancellationToken = default);
abstract member ReplaceTileSettingsAsync : string * Azure.Analytics.PlanetaryComputer.TileSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TileSettings>>
override this.ReplaceTileSettingsAsync : string * Azure.Analytics.PlanetaryComputer.TileSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.PlanetaryComputer.TileSettings>>
Public Overridable Function ReplaceTileSettingsAsync (collectionId As String, body As TileSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TileSettings))
Parameters
- collectionId
- String
Unique identifier for the STAC collection.
- body
- TileSettings
Tile settings configuration to be updated.
- 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.
Applies to
ReplaceTileSettingsAsync(String, RequestContent, RequestContext)
- Source:
- StacClient.cs
[Protocol Method] Update the tile settings for a given collection
- 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> ReplaceTileSettingsAsync(string collectionId, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member ReplaceTileSettingsAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.ReplaceTileSettingsAsync : string * Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ReplaceTileSettingsAsync (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.