CloudAssemblyBuilder
Can be used to build a cloud assembly.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Cxapi;
new CloudAssemblyBuilder(string Outdir = null, CloudAssemblyBuilderProps Props = null);
Name | Type | Description |
---|---|---|
Outdir |
string |
The output directory, uses temporary directory if undefined. |
Props |
CloudAssemblyBuilderProps |
No description. |
Outdir
Optional
- Type: string
The output directory, uses temporary directory if undefined.
Props
Optional
Methods
Name | Description |
---|---|
AddArtifact |
Adds an artifact into the cloud assembly. |
AddMissing |
Reports that some context is missing in order for this cloud assembly to be fully synthesized. |
BuildAssembly |
Finalizes the cloud assembly into the output directory returns a 'CloudAssembly' object that can be used to inspect the assembly. |
CreateNestedAssembly |
Creates a nested cloud assembly. |
AddArtifact
private void AddArtifact(string Id, ArtifactManifest Manifest)
Adds an artifact into the cloud assembly.
- Type: string
The ID of the artifact.
- Type: AlibabaCloud.SDK.ROS.CDK.Assembly.Schema.ArtifactManifest
The artifact manifest.
AddMissing
private void AddMissing(MissingContext Missing)
Reports that some context is missing in order for this cloud assembly to be fully synthesized.
- Type: AlibabaCloud.SDK.ROS.CDK.Assembly.Schema.MissingContext
Missing context information.
BuildAssembly
private CloudAssembly BuildAssembly(AssemblyBuildOptions Options = null)
Finalizes the cloud assembly into the output directory returns a 'CloudAssembly' object that can be used to inspect the assembly.
- Type: AssemblyBuildOptions
CreateNestedAssembly
private CloudAssemblyBuilder CreateNestedAssembly(string ArtifactId, string DisplayName)
Creates a nested cloud assembly.
- Type: string
- Type: string
Properties
Name | Type | Description |
---|---|---|
AssetOutdir |
string |
The directory where assets of this Cloud Assembly should be stored. |
Outdir |
string |
The root directory of the resulting cloud assembly. |
AssetOutdir
Required
public string AssetOutdir { get; }
- Type: string
The directory where assets of this Cloud Assembly should be stored.
Outdir
Required
public string Outdir { get; }
- Type: string
The root directory of the resulting cloud assembly.