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,
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.edas.SlbAttachment("default",
    app_id=var["app_id"],
    slb_id=var["slb_id"],
    slb_ip=var["slb_ip"],
    type=var["type"],
    listener_port=var["listener_port"],
    vserver_group_id=var["vserver_group_id"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.edas.SlbAttachment("default", {
    appId: _var.app_id,
    slbId: _var.slb_id,
    slbIp: _var.slb_ip,
    type: _var.type,
    listenerPort: _var.listener_port,
    vserverGroupId: _var.vserver_group_id,
});

Create a SlbAttachment Resource

def SlbAttachment(resource_name, opts=None, app_id=None, listener_port=None, slb_id=None, slb_ip=None, type=None, vserver_group_id=None, __props__=None);
name string
The unique name of the resource.
args SlbAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SlbAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SlbAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SlbAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SlbAttachment resource accepts the following input properties:

AppId string

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

SlbId string

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

SlbIp string

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

Type string

The type of the bound SLB instance.

ListenerPort int

The listening port for the bound SLB instance.

VserverGroupId string

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

AppId string

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

SlbId string

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

SlbIp string

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

Type string

The type of the bound SLB instance.

ListenerPort int

The listening port for the bound SLB instance.

VserverGroupId string

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

appId string

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

slbId string

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

slbIp string

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

type string

The type of the bound SLB instance.

listenerPort number

The listening port for the bound SLB instance.

vserverGroupId string

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

app_id str

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

slb_id str

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

slb_ip str

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

type str

The type of the bound SLB instance.

listener_port float

The listening port for the bound SLB instance.

vserver_group_id str

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

Outputs

All input properties are implicitly available as output properties. Additionally, the SlbAttachment resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
SlbStatus string

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.

VswitchId string

VPC related vswitch ID.

Id string
The provider-assigned unique ID for this managed resource.
SlbStatus string

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.

VswitchId string

VPC related vswitch ID.

id string
The provider-assigned unique ID for this managed resource.
slbStatus string

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.

vswitchId string

VPC related vswitch ID.

id str
The provider-assigned unique ID for this managed resource.
slb_status str

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.

vswitch_id str

VPC related vswitch ID.

Look up an Existing SlbAttachment Resource

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

public static get(name: string, id: Input<ID>, state?: SlbAttachmentState, opts?: CustomResourceOptions): SlbAttachment
static get(resource_name, id, opts=None, app_id=None, listener_port=None, slb_id=None, slb_ip=None, slb_status=None, type=None, vserver_group_id=None, vswitch_id=None, __props__=None);
func GetSlbAttachment(ctx *Context, name string, id IDInput, state *SlbAttachmentState, opts ...ResourceOption) (*SlbAttachment, error)
public static SlbAttachment Get(string name, Input<string> id, SlbAttachmentState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AppId string

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

ListenerPort int

The listening port for the bound SLB instance.

SlbId string

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

SlbIp string

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

SlbStatus string

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.

Type string

The type of the bound SLB instance.

VserverGroupId string

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

VswitchId string

VPC related vswitch ID.

AppId string

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

ListenerPort int

The listening port for the bound SLB instance.

SlbId string

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

SlbIp string

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

SlbStatus string

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.

Type string

The type of the bound SLB instance.

VserverGroupId string

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

VswitchId string

VPC related vswitch ID.

appId string

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

listenerPort number

The listening port for the bound SLB instance.

slbId string

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

slbIp string

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

slbStatus string

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.

type string

The type of the bound SLB instance.

vserverGroupId string

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

vswitchId string

VPC related vswitch ID.

app_id str

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

listener_port float

The listening port for the bound SLB instance.

slb_id str

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

slb_ip str

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

slb_status str

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.

type str

The type of the bound SLB instance.

vserver_group_id str

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

vswitch_id str

VPC related vswitch ID.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.