This page is not yet available in Spanish. We are working on its translation. If you have any questions or feedback about our current translation project, feel free to reach out to us!
Use the Cloudcraft API to programmatically access and render your architecture diagrams as JSON objects. The following is an example JSON object of a Service bus namespace component:
type: string: The type of component. Must be a string of value azuresbnamespace for this component.
id: string, uuid: The unique identifier for the component. The API uses a UUID v4 internally but accepts any unique string.
resourceId: string: The globally unique identifier for the component within Azure.
region: string: The Azure region for the component. The API supports all global regions, except China.
mapPos: array: The position of the component in the blueprint. The API uses a unique X and Y coordinate pair to express positioning.
mapSize: array: The size of the component in the blueprint. The API uses a unique X and Y coordinate pair to express size.
nodes: array: The services running inside the namespace. Accepts an array of unique identifiers for the Service Bus Queue and Service Bus Topic components.
name: string: The name of the namespace. Defaults to Namespace.
tier: string: The service tier for the namespace. Accepts one of three values, Basic, Standard, and Premium. Defaults to Basic.
messagingUnits: number: The number of messaging units available for the namespace. Accepts a number from 1 to 16. Defaults to 1.
color: object: The fill color for the component body.
isometric: string: A hexadecimal color for the component body in 3D view. Defaults to #CEE0F5.
2d: string: A hexadecimal color for the component body in 2D view. Defaults to null.
accentColor: object: The accent color for the component logo.
isometric: string: A hexadecimal color for the component logo in 3D view. Defaults to #0078D4.
2d: string: A hexadecimal color for the component logo in 2D view. Defaults to null.
link: string, uri: A URI that links the component to another diagram or an external website. Accepts one of two formats, blueprint:// or https://.
locked: boolean: Whether to allow changes to the position of the component through the web interface. Defaults to false.