Show / Hide Table of Contents

Class SlbAttachment

Binds SLB to an EDAS application.

NOTE: Available in 1.82.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var @default = new AliCloud.Edas.SlbAttachment("default", new AliCloud.Edas.SlbAttachmentArgs
    {
        AppId = @var.App_id,
        SlbId = @var.Slb_id,
        SlbIp = @var.Slb_ip,
        Type = @var.Type,
        ListenerPort = @var.Listener_port,
        VserverGroupId = @var.Vserver_group_id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
SlbAttachment
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 SlbAttachment : CustomResource

Constructors

View Source

SlbAttachment(String, SlbAttachmentArgs, CustomResourceOptions)

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

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

The unique name of the resource

SlbAttachmentArgs 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

AppId

The ID of the applicaton to which you want to bind an SLB instance.

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

ListenerPort

The listening port for the bound SLB instance.

Declaration
public Output<int?> ListenerPort { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

SlbId

The ID of the SLB instance that is going to be bound.

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

SlbIp

The IP address that is allocated to the bound SLB instance.

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

SlbStatus

Running Status of SLB instance. Inactive:The instance is stopped, and listener will not monitor and foward traffic. Active:The instance is running. After the instance is created, the default state is active. Locked:The instance is locked, the instance has been owed or locked by Alibaba Cloud. Expired: The instance has expired.

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

Type

The type of the bound SLB instance.

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

VserverGroupId

The ID of the virtual server (VServer) group associated with the intranet SLB instance.

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

VswitchId

VPC related vswitch ID.

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

Methods

View Source

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

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

Declaration
public static SlbAttachment Get(string name, Input<string> id, SlbAttachmentState 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.

SlbAttachmentState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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