Show / Hide Table of Contents

Class Attachment

Inheritance
System.Object
Resource
CustomResource
Attachment
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.Slb
Assembly: Pulumi.AliCloud.dll
Syntax
public class Attachment : CustomResource

Constructors

View Source

Attachment(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 Source

BackendServers

The backend servers of the load balancer.

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

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>>
View Source

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>>
View Source

LoadBalancerId

ID of the load balancer.

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

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.