Skip to content

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.

OutdirOptional

  • Type: string

The output directory, uses temporary directory if undefined.


PropsOptional


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.

IdRequired

  • Type: string

The ID of the artifact.


ManifestRequired

  • 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.

MissingRequired

  • 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.

OptionsOptional


CreateNestedAssembly

private CloudAssemblyBuilder CreateNestedAssembly(string ArtifactId, string DisplayName)

Creates a nested cloud assembly.

ArtifactIdRequired

  • Type: string

DisplayNameRequired

  • 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.

AssetOutdirRequired

public string AssetOutdir { get; }
  • Type: string

The directory where assets of this Cloud Assembly should be stored.


OutdirRequired

public string Outdir { get; }
  • Type: string

The root directory of the resulting cloud assembly.