FileAssetMetadataEntry
Metadata Entry spec for files.
Example
IDictionary<string, string> entry = new Dictionary<string, string> {
{ "packaging", "file" },
{ "ossBucketParameter", "bucket-parameter" },
{ "ossKeyParameter", "key-parameter" },
{ "artifactHashParameter", "hash-parameter" }
};
Initializer
using AlibabaCloud.SDK.ROS.CDK.Assembly.Schema;
new FileAssetMetadataEntry {
string ArtifactHashParameter,
string Id,
string OssBucketParameter,
string OssKeyParameter,
string Packaging,
string Path,
string SourceHash
};
Properties
Name | Type | Description |
---|---|---|
ArtifactHashParameter |
string |
The name of the parameter where the hash of the bundled asset should be passed in. |
Id |
string |
Logical identifier for the asset. |
OssBucketParameter |
string |
Name of parameter where OSS bucket should be passed in. |
OssKeyParameter |
string |
Name of parameter where OSS object key should be passed in. |
Packaging |
string |
Requested packaging style. |
Path |
string |
Path on disk to the asset. |
SourceHash |
string |
The hash of the asset source. |
ArtifactHashParameter
Required
public string ArtifactHashParameter { get; set; }
- Type: string
The name of the parameter where the hash of the bundled asset should be passed in.
Id
Required
public string Id { get; set; }
- Type: string
Logical identifier for the asset.
OssBucketParameter
Required
public string OssBucketParameter { get; set; }
- Type: string
Name of parameter where OSS bucket should be passed in.
OssKeyParameter
Required
public string OssKeyParameter { get; set; }
- Type: string
Name of parameter where OSS object key should be passed in.
Packaging
Required
public string Packaging { get; set; }
- Type: string
Requested packaging style.
Path
Required
public string Path { get; set; }
- Type: string
Path on disk to the asset.
SourceHash
Required
public string SourceHash { get; set; }
- Type: string
The hash of the asset source.