Class InstanceAttachment
Inherited Members
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.Cen
Assembly: Pulumi.AliCloud.dll
Syntax
public class InstanceAttachment : CustomResource
Constructors
View SourceInstanceAttachment(String, InstanceAttachmentArgs, CustomResourceOptions)
Create a InstanceAttachment resource with the given unique name, arguments, and options.
Declaration
public InstanceAttachment(string name, InstanceAttachmentArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| InstanceAttachmentArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceChildInstanceId
The ID of the child instance to attach.
Declaration
public Output<string> ChildInstanceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ChildInstanceOwnerId
The uid of the child instance. Only used when attach a child instance of other account.
Declaration
public Output<string> ChildInstanceOwnerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ChildInstanceRegionId
The region ID of the child instance to attach.
Declaration
public Output<string> ChildInstanceRegionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceId
The ID of the CEN.
Declaration
public Output<string> InstanceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, InstanceAttachmentState, CustomResourceOptions)
Get an existing InstanceAttachment resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static InstanceAttachment Get(string name, Input<string> id, InstanceAttachmentState 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. |
| InstanceAttachmentState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| InstanceAttachment |