Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.alb.Listeners
Explore with Pulumi AI
Use this data source to query detailed information of alb listeners
Using Listeners
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listeners(args: ListenersArgs, opts?: InvokeOptions): Promise<ListenersResult>
function listenersOutput(args: ListenersOutputArgs, opts?: InvokeOptions): Output<ListenersResult>def listeners(ids: Optional[Sequence[str]] = None,
              listener_name: Optional[str] = None,
              load_balancer_id: Optional[str] = None,
              name_regex: Optional[str] = None,
              output_file: Optional[str] = None,
              project_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> ListenersResult
def listeners_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
              listener_name: Optional[pulumi.Input[str]] = None,
              load_balancer_id: Optional[pulumi.Input[str]] = None,
              name_regex: Optional[pulumi.Input[str]] = None,
              output_file: Optional[pulumi.Input[str]] = None,
              project_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[ListenersResult]func Listeners(ctx *Context, args *ListenersArgs, opts ...InvokeOption) (*ListenersResult, error)
func ListenersOutput(ctx *Context, args *ListenersOutputArgs, opts ...InvokeOption) ListenersResultOutputpublic static class Listeners 
{
    public static Task<ListenersResult> InvokeAsync(ListenersArgs args, InvokeOptions? opts = null)
    public static Output<ListenersResult> Invoke(ListenersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
public static Output<ListenersResult> listeners(ListenersArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:alb:Listeners
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Listener IDs.
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The id of the Alb.
- NameRegex string
- A Name Regex of Listener.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the listener.
- Ids []string
- A list of Listener IDs.
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The id of the Alb.
- NameRegex string
- A Name Regex of Listener.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the listener.
- ids List<String>
- A list of Listener IDs.
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The id of the Alb.
- nameRegex String
- A Name Regex of Listener.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the listener.
- ids string[]
- A list of Listener IDs.
- listenerName string
- The name of the Listener.
- loadBalancer stringId 
- The id of the Alb.
- nameRegex string
- A Name Regex of Listener.
- outputFile string
- File name where to save data source results.
- projectName string
- The project name of the listener.
- ids Sequence[str]
- A list of Listener IDs.
- listener_name str
- The name of the Listener.
- load_balancer_ strid 
- The id of the Alb.
- name_regex str
- A Name Regex of Listener.
- output_file str
- File name where to save data source results.
- project_name str
- The project name of the listener.
- ids List<String>
- A list of Listener IDs.
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The id of the Alb.
- nameRegex String
- A Name Regex of Listener.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the listener.
Listeners Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
List<ListenersListener> 
- The collection of Listener query.
- TotalCount int
- The total count of Listener query.
- Ids List<string>
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The load balancer ID that the listener belongs to.
- NameRegex string
- OutputFile string
- ProjectName string
- The project name of the listener.
- Id string
- The provider-assigned unique ID for this managed resource.
- Listeners
[]ListenersListener 
- The collection of Listener query.
- TotalCount int
- The total count of Listener query.
- Ids []string
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The load balancer ID that the listener belongs to.
- NameRegex string
- OutputFile string
- ProjectName string
- The project name of the listener.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners
List<ListenersListener> 
- The collection of Listener query.
- totalCount Integer
- The total count of Listener query.
- ids List<String>
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The load balancer ID that the listener belongs to.
- nameRegex String
- outputFile String
- projectName String
- The project name of the listener.
- id string
- The provider-assigned unique ID for this managed resource.
- listeners
ListenersListener[] 
- The collection of Listener query.
- totalCount number
- The total count of Listener query.
- ids string[]
- listenerName string
- The name of the Listener.
- loadBalancer stringId 
- The load balancer ID that the listener belongs to.
- nameRegex string
- outputFile string
- projectName string
- The project name of the listener.
- id str
- The provider-assigned unique ID for this managed resource.
- listeners
Sequence[ListenersListener] 
- The collection of Listener query.
- total_count int
- The total count of Listener query.
- ids Sequence[str]
- listener_name str
- The name of the Listener.
- load_balancer_ strid 
- The load balancer ID that the listener belongs to.
- name_regex str
- output_file str
- project_name str
- The project name of the listener.
- id String
- The provider-assigned unique ID for this managed resource.
- listeners List<Property Map>
- The collection of Listener query.
- totalCount Number
- The total count of Listener query.
- ids List<String>
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The load balancer ID that the listener belongs to.
- nameRegex String
- outputFile String
- projectName String
- The project name of the listener.
Supporting Types
ListenersListener 
- AclIds List<string>
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- AclStatus string
- Whether to enable the access control function,valid value is on or off.
- AclType string
- The access control type.
- CaCertificate stringId 
- CA certificate ID associated with HTTPS listener.
- CertificateId string
- The server certificate ID that domain used.
- CreateTime string
- The create time of the Listener.
- CustomizedCfg stringId 
- The customized configuration ID, the value is empty string when not bound.
- Description string
- The description of listener.
- DomainExtensions List<ListenersListener Domain Extension> 
- The HTTPS listener association list of extension domains for.
- EnableHttp2 string
- The HTTP2 feature switch,valid value is on or off.
- EnableQuic string
- The QUIC feature switch,valid value is on or off.
- Enabled string
- The enable status of the Listener.
- Id string
- The ID of the Listener.
- ListenerId string
- The ID of the Listener.
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The id of the Alb.
- Port int
- The port receiving request of the Listener.
- ProjectName string
- The project name of the listener.
- Protocol string
- The protocol of the Listener.
- ServerGroup stringId 
- The ID of server group.
- ServerGroups List<ListenersListener Server Group> 
- The list of server groups with associated listeners.
- Status string
- The status of the Listener.
- UpdateTime string
- The update time of the Listener.
- AclIds []string
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- AclStatus string
- Whether to enable the access control function,valid value is on or off.
- AclType string
- The access control type.
- CaCertificate stringId 
- CA certificate ID associated with HTTPS listener.
- CertificateId string
- The server certificate ID that domain used.
- CreateTime string
- The create time of the Listener.
- CustomizedCfg stringId 
- The customized configuration ID, the value is empty string when not bound.
- Description string
- The description of listener.
- DomainExtensions []ListenersListener Domain Extension 
- The HTTPS listener association list of extension domains for.
- EnableHttp2 string
- The HTTP2 feature switch,valid value is on or off.
- EnableQuic string
- The QUIC feature switch,valid value is on or off.
- Enabled string
- The enable status of the Listener.
- Id string
- The ID of the Listener.
- ListenerId string
- The ID of the Listener.
- ListenerName string
- The name of the Listener.
- LoadBalancer stringId 
- The id of the Alb.
- Port int
- The port receiving request of the Listener.
- ProjectName string
- The project name of the listener.
- Protocol string
- The protocol of the Listener.
- ServerGroup stringId 
- The ID of server group.
- ServerGroups []ListenersListener Server Group 
- The list of server groups with associated listeners.
- Status string
- The status of the Listener.
- UpdateTime string
- The update time of the Listener.
- aclIds List<String>
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- aclStatus String
- Whether to enable the access control function,valid value is on or off.
- aclType String
- The access control type.
- caCertificate StringId 
- CA certificate ID associated with HTTPS listener.
- certificateId String
- The server certificate ID that domain used.
- createTime String
- The create time of the Listener.
- customizedCfg StringId 
- The customized configuration ID, the value is empty string when not bound.
- description String
- The description of listener.
- domainExtensions List<ListenersListener Domain Extension> 
- The HTTPS listener association list of extension domains for.
- enableHttp2 String
- The HTTP2 feature switch,valid value is on or off.
- enableQuic String
- The QUIC feature switch,valid value is on or off.
- enabled String
- The enable status of the Listener.
- id String
- The ID of the Listener.
- listenerId String
- The ID of the Listener.
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The id of the Alb.
- port Integer
- The port receiving request of the Listener.
- projectName String
- The project name of the listener.
- protocol String
- The protocol of the Listener.
- serverGroup StringId 
- The ID of server group.
- serverGroups List<ListenersListener Server Group> 
- The list of server groups with associated listeners.
- status String
- The status of the Listener.
- updateTime String
- The update time of the Listener.
- aclIds string[]
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- aclStatus string
- Whether to enable the access control function,valid value is on or off.
- aclType string
- The access control type.
- caCertificate stringId 
- CA certificate ID associated with HTTPS listener.
- certificateId string
- The server certificate ID that domain used.
- createTime string
- The create time of the Listener.
- customizedCfg stringId 
- The customized configuration ID, the value is empty string when not bound.
- description string
- The description of listener.
- domainExtensions ListenersListener Domain Extension[] 
- The HTTPS listener association list of extension domains for.
- enableHttp2 string
- The HTTP2 feature switch,valid value is on or off.
- enableQuic string
- The QUIC feature switch,valid value is on or off.
- enabled string
- The enable status of the Listener.
- id string
- The ID of the Listener.
- listenerId string
- The ID of the Listener.
- listenerName string
- The name of the Listener.
- loadBalancer stringId 
- The id of the Alb.
- port number
- The port receiving request of the Listener.
- projectName string
- The project name of the listener.
- protocol string
- The protocol of the Listener.
- serverGroup stringId 
- The ID of server group.
- serverGroups ListenersListener Server Group[] 
- The list of server groups with associated listeners.
- status string
- The status of the Listener.
- updateTime string
- The update time of the Listener.
- acl_ids Sequence[str]
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- acl_status str
- Whether to enable the access control function,valid value is on or off.
- acl_type str
- The access control type.
- ca_certificate_ strid 
- CA certificate ID associated with HTTPS listener.
- certificate_id str
- The server certificate ID that domain used.
- create_time str
- The create time of the Listener.
- customized_cfg_ strid 
- The customized configuration ID, the value is empty string when not bound.
- description str
- The description of listener.
- domain_extensions Sequence[ListenersListener Domain Extension] 
- The HTTPS listener association list of extension domains for.
- enable_http2 str
- The HTTP2 feature switch,valid value is on or off.
- enable_quic str
- The QUIC feature switch,valid value is on or off.
- enabled str
- The enable status of the Listener.
- id str
- The ID of the Listener.
- listener_id str
- The ID of the Listener.
- listener_name str
- The name of the Listener.
- load_balancer_ strid 
- The id of the Alb.
- port int
- The port receiving request of the Listener.
- project_name str
- The project name of the listener.
- protocol str
- The protocol of the Listener.
- server_group_ strid 
- The ID of server group.
- server_groups Sequence[ListenersListener Server Group] 
- The list of server groups with associated listeners.
- status str
- The status of the Listener.
- update_time str
- The update time of the Listener.
- aclIds List<String>
- The ID of the access control policy group bound to the listener, only returned when the AclStatus parameter is on.
- aclStatus String
- Whether to enable the access control function,valid value is on or off.
- aclType String
- The access control type.
- caCertificate StringId 
- CA certificate ID associated with HTTPS listener.
- certificateId String
- The server certificate ID that domain used.
- createTime String
- The create time of the Listener.
- customizedCfg StringId 
- The customized configuration ID, the value is empty string when not bound.
- description String
- The description of listener.
- domainExtensions List<Property Map>
- The HTTPS listener association list of extension domains for.
- enableHttp2 String
- The HTTP2 feature switch,valid value is on or off.
- enableQuic String
- The QUIC feature switch,valid value is on or off.
- enabled String
- The enable status of the Listener.
- id String
- The ID of the Listener.
- listenerId String
- The ID of the Listener.
- listenerName String
- The name of the Listener.
- loadBalancer StringId 
- The id of the Alb.
- port Number
- The port receiving request of the Listener.
- projectName String
- The project name of the listener.
- protocol String
- The protocol of the Listener.
- serverGroup StringId 
- The ID of server group.
- serverGroups List<Property Map>
- The list of server groups with associated listeners.
- status String
- The status of the Listener.
- updateTime String
- The update time of the Listener.
ListenersListenerDomainExtension   
- CertificateId string
- The server certificate ID that domain used.
- Domain string
- The domain.
- DomainExtension stringId 
- The extension domain ID.
- ListenerId string
- The ID of the Listener.
- CertificateId string
- The server certificate ID that domain used.
- Domain string
- The domain.
- DomainExtension stringId 
- The extension domain ID.
- ListenerId string
- The ID of the Listener.
- certificateId String
- The server certificate ID that domain used.
- domain String
- The domain.
- domainExtension StringId 
- The extension domain ID.
- listenerId String
- The ID of the Listener.
- certificateId string
- The server certificate ID that domain used.
- domain string
- The domain.
- domainExtension stringId 
- The extension domain ID.
- listenerId string
- The ID of the Listener.
- certificate_id str
- The server certificate ID that domain used.
- domain str
- The domain.
- domain_extension_ strid 
- The extension domain ID.
- listener_id str
- The ID of the Listener.
- certificateId String
- The server certificate ID that domain used.
- domain String
- The domain.
- domainExtension StringId 
- The extension domain ID.
- listenerId String
- The ID of the Listener.
ListenersListenerServerGroup   
- ServerGroup stringId 
- The ID of server group.
- ServerGroup stringName 
- The name of server group.
- ServerGroup stringId 
- The ID of server group.
- ServerGroup stringName 
- The name of server group.
- serverGroup StringId 
- The ID of server group.
- serverGroup StringName 
- The name of server group.
- serverGroup stringId 
- The ID of server group.
- serverGroup stringName 
- The name of server group.
- server_group_ strid 
- The ID of server group.
- server_group_ strname 
- The name of server group.
- serverGroup StringId 
- The ID of server group.
- serverGroup StringName 
- The name of server group.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.