Table of Contents

Class InfrastructureNode

Namespace
C4.Net
Assembly
C4.Net.Core.dll

Represents an infrastructure node, which is something like:

  • Load balancer
  • Firewall
  • DNS service
  • etc
[DataContract]
public sealed class InfrastructureNode : DeploymentElement
Inheritance
InfrastructureNode
Inherited Members

Properties

CanonicalName

Gets the canonical name for this infrastructure node.

public override string CanonicalName { get; }

Property Value

string

Parent

The parent DeploymentNode, or null if there is no parent.

public override Element Parent { get; set; }

Property Value

Element

Technology

The technology or product used to provide this infrastructure capability.

[DataMember(Name = "technology", EmitDefaultValue = false)]
public string Technology { get; set; }

Property Value

string

Methods

GetRequiredTags()

Returns the tags that are always applied to infrastructure nodes.

public override List<string> GetRequiredTags()

Returns

List<string>

The required infrastructure node tags.

Uses(DeploymentElement, string, string)

Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).

public Relationship Uses(DeploymentElement destination, string description, string technology)

Parameters

destination DeploymentElement

the destination DeploymentElement

description string

a short description of the relationship

technology string

the technology

Returns

Relationship

a Relationship object

Uses(DeploymentElement, string, string, InteractionStyle)

Adds a relationship between this and another deployment element (deployment node, infrastructure node, or container instance).

public Relationship Uses(DeploymentElement destination, string description, string technology, InteractionStyle interactionStyle)

Parameters

destination DeploymentElement

the destination DeploymentElement

description string

a short description of the relationship

technology string

the technology

interactionStyle InteractionStyle

the interaction style (Synchronous vs Asynchronous)

Returns

Relationship

a Relationship object