Skip to content

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.

ArtifactHashParameterRequired

public string ArtifactHashParameter { get; set; }
  • Type: string

The name of the parameter where the hash of the bundled asset should be passed in.


IdRequired

public string Id { get; set; }
  • Type: string

Logical identifier for the asset.


OssBucketParameterRequired

public string OssBucketParameter { get; set; }
  • Type: string

Name of parameter where OSS bucket should be passed in.


OssKeyParameterRequired

public string OssKeyParameter { get; set; }
  • Type: string

Name of parameter where OSS object key should be passed in.


PackagingRequired

public string Packaging { get; set; }
  • Type: string

Requested packaging style.


PathRequired

public string Path { get; set; }
  • Type: string

Path on disk to the asset.


SourceHashRequired

public string SourceHash { get; set; }
  • Type: string

The hash of the asset source.