DataClient.GetCollectionPointAssetsAsync 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 |
|---|---|
| GetCollectionPointAssetsAsync(GetCollectionPointAssetsOptions, RequestContext) |
[Protocol Method] Return a list of assets for a given point in a collection.
|
| GetCollectionPointAssetsAsync(GetCollectionPointAssetsOptions, CancellationToken) |
Return a list of assets for a given point in a collection. |
GetCollectionPointAssetsAsync(GetCollectionPointAssetsOptions, RequestContext)
- Source:
- DataClient.cs
[Protocol Method] Return a list of assets for a given point in a 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> GetCollectionPointAssetsAsync(Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions options, Azure.RequestContext context);
abstract member GetCollectionPointAssetsAsync : Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetCollectionPointAssetsAsync : Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetCollectionPointAssetsAsync (options As GetCollectionPointAssetsOptions, context As RequestContext) As Task(Of Response)
Parameters
- options
- GetCollectionPointAssetsOptions
The options for the getCollectionPointAssets 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
options is null.
Service returned a non-success status code.
Applies to
GetCollectionPointAssetsAsync(GetCollectionPointAssetsOptions, CancellationToken)
- Source:
- DataClient.cs
Return a list of assets for a given point in a collection.
public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>> GetCollectionPointAssetsAsync(Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCollectionPointAssetsAsync : Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>>
override this.GetCollectionPointAssetsAsync : Azure.Analytics.PlanetaryComputer.GetCollectionPointAssetsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Analytics.PlanetaryComputer.StacItemPointAsset>>>
Public Overridable Function GetCollectionPointAssetsAsync (options As GetCollectionPointAssetsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of StacItemPointAsset)))
Parameters
- options
- GetCollectionPointAssetsOptions
The options for the getCollectionPointAssets request.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
options is null.
Service returned a non-success status code.