Class Attachment
Inherited Members
Namespace: Pulumi.AliCloud.Slb
Assembly: Pulumi.AliCloud.dll
Syntax
public class Attachment : CustomResource
Constructors
View SourceAttachment(String, AttachmentArgs, CustomResourceOptions)
Create a Attachment resource with the given unique name, arguments, and options.
Declaration
public Attachment(string name, AttachmentArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| AttachmentArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceBackendServers
The backend servers of the load balancer.
Declaration
public Output<string> BackendServers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeleteProtectionValidation
Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.
Declaration
public Output<bool?> DeleteProtectionValidation { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
InstanceIds
A list of instance ids to added backend server in the SLB.
Declaration
public Output<ImmutableArray<string>> InstanceIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
LoadBalancerId
ID of the load balancer.
Declaration
public Output<string> LoadBalancerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServerType
Type of the instances. Valid value ecs, eni. Default to ecs.
Declaration
public Output<string> ServerType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Weight
Weight of the instances. Valid value range: [0-100]. Default to 100.
Declaration
public Output<int?> Weight { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Methods
View SourceGet(String, Input<String>, AttachmentState, CustomResourceOptions)
Get an existing Attachment resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Attachment Get(string name, Input<string> id, AttachmentState 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. |
| AttachmentState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Attachment |