PlanetaryComputerModelFactory.StacAsset 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.
https://github.com/radiantearth/stac-spec/blob/v1.0.0/item-spec/item-spec.md#asset-object Represents a STAC asset, which is a file or resource associated with a STAC item.
public static Azure.Analytics.PlanetaryComputer.StacAsset StacAsset(string platform = default, System.Collections.Generic.IEnumerable<string> instruments = default, string constellation = default, string mission = default, System.Collections.Generic.IEnumerable<Azure.Analytics.PlanetaryComputer.StacProvider> providers = default, float? gsd = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string title = default, string description = default, string href = default, string kind = default, System.Collections.Generic.IEnumerable<string> roles = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member StacAsset : string * seq<string> * string * string * seq<Azure.Analytics.PlanetaryComputer.StacProvider> * Nullable<single> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * seq<string> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.Analytics.PlanetaryComputer.StacAsset
Public Shared Function StacAsset (Optional platform As String = Nothing, Optional instruments As IEnumerable(Of String) = Nothing, Optional constellation As String = Nothing, Optional mission As String = Nothing, Optional providers As IEnumerable(Of StacProvider) = Nothing, Optional gsd As Nullable(Of Single) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional href As String = Nothing, Optional kind As String = Nothing, Optional roles As IEnumerable(Of String) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As StacAsset
Parameters
- platform
- String
Platform that acquired the data.
- instruments
- IEnumerable<String>
Instruments that acquired the data.
- constellation
- String
Constellation of satellites that acquired the data.
- mission
- String
Mission associated with the data.
- providers
- IEnumerable<StacProvider>
Organizations or individuals who provide the data.
- createdOn
- Nullable<DateTimeOffset>
Creation timestamp of the data.
- updatedOn
- Nullable<DateTimeOffset>
Last update timestamp of the data.
- title
- String
Human-readable title for the asset.
- description
- String
Detailed description of the asset.
- href
- String
URL to the asset file.
- kind
- String
Media type of the asset.
- roles
- IEnumerable<String>
Roles of the asset within the item.
- additionalProperties
- IDictionary<String,BinaryData>
Returns
A new StacAsset instance for mocking.