Infrastructure Manager v1 API - Class DeploymentUnit (1.12.0)

public sealed class DeploymentUnit : IMessage<DeploymentUnit>, IEquatable<DeploymentUnit>, IDeepCloneable<DeploymentUnit>, IBufferMessage, IMessage

Reference documentation and code samples for the Infrastructure Manager v1 API class DeploymentUnit.

A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a provisionDeploymentRequest.

Inheritance

object > DeploymentUnit

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Constructors

DeploymentUnit()

public DeploymentUnit()

DeploymentUnit(DeploymentUnit)

public DeploymentUnit(DeploymentUnit other)
Parameter
Name Description
other DeploymentUnit

Properties

Dependencies

public RepeatedField<string> Dependencies { get; }

Required. The IDs of the deployment units within the deployment group that this unit depends on.

Property Value
Type Description
RepeatedFieldstring

Deployment

public string Deployment { get; set; }

Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

Property Value
Type Description
string

DeploymentAsDeploymentName

public DeploymentName DeploymentAsDeploymentName { get; set; }

DeploymentName-typed view over the Deployment resource name property.

Property Value
Type Description
DeploymentName

HasDeployment

public bool HasDeployment { get; }

Gets whether the "deployment" field is set

Property Value
Type Description
bool

Id

public string Id { get; set; }

The id of the deployment unit. Must be unique within the deployment group.

Property Value
Type Description
string