Show / Hide Table of Contents

Class InstanceClusterAttachment

Provides an EDAS instance cluster attachment resource.

NOTE: Available in 1.82.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var @default = new AliCloud.Edas.InstanceClusterAttachment("default", new AliCloud.Edas.InstanceClusterAttachmentArgs
    {
        ClusterId = @var.Cluster_id,
        InstanceIds = @var.Instance_ids,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
InstanceClusterAttachment
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public class InstanceClusterAttachment : CustomResource

Constructors

View Source

InstanceClusterAttachment(String, InstanceClusterAttachmentArgs, CustomResourceOptions)

Create a InstanceClusterAttachment resource with the given unique name, arguments, and options.

Declaration
public InstanceClusterAttachment(string name, InstanceClusterAttachmentArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

InstanceClusterAttachmentArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ClusterId

The ID of the cluster that you want to create the application.

Declaration
public Output<string> ClusterId { get; }
Property Value
Type Description
Output<System.String>
View Source

ClusterMemberIds

The cluster members map of the resource supplied above. The key is instance_id and the value is cluster_member_id.

Declaration
public Output<ImmutableDictionary<string, string>> ClusterMemberIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

EcuMap

The ecu map of the resource supplied above. The key is instance_id and the value is ecu_id.

Declaration
public Output<ImmutableDictionary<string, string>> EcuMap { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

InstanceIds

The ID of instance. Type: list.

Declaration
public Output<ImmutableArray<string>> InstanceIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

StatusMap

The status map of the resource supplied above. The key is instance_id and the values are 1(running) 0(converting) -1(failed) and -2(offline).

Declaration
public Output<ImmutableDictionary<string, int>> StatusMap { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Int32>>

Methods

View Source

Get(String, Input<String>, InstanceClusterAttachmentState, CustomResourceOptions)

Get an existing InstanceClusterAttachment resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static InstanceClusterAttachment Get(string name, Input<string> id, InstanceClusterAttachmentState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

InstanceClusterAttachmentState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
InstanceClusterAttachment
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.