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,
});
}
}
Inherited Members
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public class SlbAttachment : CustomResource
Constructors
View SourceSlbAttachment(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 SourceAppId
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> |
ListenerPort
The listening port for the bound SLB instance.
Declaration
public Output<int?> ListenerPort { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
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> |
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> |
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> |
Type
The type of the bound SLB instance.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
VswitchId
VPC related vswitch ID.
Declaration
public Output<string> VswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |