GetDomainExtensions

This data source provides the domain extensions associated with a server load balancer listener.

NOTE: Available in 1.60.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(AliCloud.Slb.GetDomainExtensions.InvokeAsync(new AliCloud.Slb.GetDomainExtensionsArgs
        {
            FrontendPort = "fake-port",
            Ids = 
            {
                "fake-de-id",
            },
            LoadBalancerId = "fake-lb-id",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

foo = alicloud.slb.get_domain_extensions(frontend_port="fake-port",
    ids=["fake-de-id"],
    load_balancer_id="fake-lb-id")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const foo = pulumi.output(alicloud.slb.getDomainExtensions({
    frontendPort: Number.parseFloat("fake-port"),
    ids: ["fake-de-id"],
    loadBalancerId: "fake-lb-id",
}, { async: true }));

Using GetDomainExtensions

function getDomainExtensions(args: GetDomainExtensionsArgs, opts?: InvokeOptions): Promise<GetDomainExtensionsResult>
function  get_domain_extensions(frontend_port=None, ids=None, load_balancer_id=None, output_file=None, opts=None)
func GetDomainExtensions(ctx *Context, args *GetDomainExtensionsArgs, opts ...InvokeOption) (*GetDomainExtensionsResult, error)
public static class GetDomainExtensions {
    public static Task<GetDomainExtensionsResult> InvokeAsync(GetDomainExtensionsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

Ids List<string>

IDs of the SLB domain extensions.

OutputFile string
FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

Ids []string

IDs of the SLB domain extensions.

OutputFile string
frontendPort number

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

loadBalancerId string

The ID of the SLB instance.

ids string[]

IDs of the SLB domain extensions.

outputFile string
frontend_port float

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

load_balancer_id str

The ID of the SLB instance.

ids List[str]

IDs of the SLB domain extensions.

output_file str

GetDomainExtensions Result

The following output properties are available:

Extensions List<Pulumi.AliCloud.Slb.Outputs.GetDomainExtensionsExtension>

A list of SLB domain extension. Each element contains the following attributes:

FrontendPort int
Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
LoadBalancerId string
OutputFile string
Extensions []GetDomainExtensionsExtension

A list of SLB domain extension. Each element contains the following attributes:

FrontendPort int
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
LoadBalancerId string
OutputFile string
extensions GetDomainExtensionsExtension[]

A list of SLB domain extension. Each element contains the following attributes:

frontendPort number
id string

The provider-assigned unique ID for this managed resource.

ids string[]
loadBalancerId string
outputFile string
extensions List[GetDomainExtensionsExtension]

A list of SLB domain extension. Each element contains the following attributes:

frontend_port float
id str

The provider-assigned unique ID for this managed resource.

ids List[str]
load_balancer_id str
output_file str

Supporting Types

GetDomainExtensionsExtension

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Domain string

The domain name.

Id string

The ID of the domain extension.

ServerCertificateId string

The ID of the certificate used by the domain name.

Domain string

The domain name.

Id string

The ID of the domain extension.

ServerCertificateId string

The ID of the certificate used by the domain name.

domain string

The domain name.

id string

The ID of the domain extension.

serverCertificateId string

The ID of the certificate used by the domain name.

domain str

The domain name.

id str

The ID of the domain extension.

server_certificate_id str

The ID of the certificate used by the domain name.

Package Details

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