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:
- Frontend
Port int The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.
- Load
Balancer stringId The ID of the SLB instance.
- Ids List<string>
IDs of the SLB domain extensions.
- Output
File string
- Frontend
Port int The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.
- Load
Balancer stringId The ID of the SLB instance.
- Ids []string
IDs of the SLB domain extensions.
- Output
File string
- frontend
Port number The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.
- load
Balancer stringId The ID of the SLB instance.
- ids string[]
IDs of the SLB domain extensions.
- output
File string
- frontend_
port float The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.
- load_
balancer_ strid 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.
Ali Cloud. Slb. Outputs. Get Domain Extensions Extension> A list of SLB domain extension. Each element contains the following attributes:
- Frontend
Port int - Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Load
Balancer stringId - Output
File string
- Extensions
[]Get
Domain Extensions Extension A list of SLB domain extension. Each element contains the following attributes:
- Frontend
Port int - Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Load
Balancer stringId - Output
File string
- extensions
Get
Domain Extensions Extension[] A list of SLB domain extension. Each element contains the following attributes:
- frontend
Port number - id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- load
Balancer stringId - output
File string
- extensions
List[Get
Domain Extensions Extension] 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_ strid - 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.