alicloud_accountalicloud_action_trailalicloud_cas_certificatealicloud_cms_monitor_hostalicloud_cs_kubernetes_clusteralicloud_cs_kubernetes_cluster_nodealicloud_ecs_auto_provisioning_groupalicloud_ecs_autoscaling_groupalicloud_ecs_diskalicloud_ecs_disk_metric_read_iopsalicloud_ecs_disk_metric_read_iops_dailyalicloud_ecs_disk_metric_read_iops_hourlyalicloud_ecs_disk_metric_write_iopsalicloud_ecs_disk_metric_write_iops_dailyalicloud_ecs_disk_metric_write_iops_hourlyalicloud_ecs_imagealicloud_ecs_instancealicloud_ecs_instance_metric_cpu_utilization_dailyalicloud_ecs_instance_metric_cpu_utilization_hourlyalicloud_ecs_key_pairalicloud_ecs_launch_templatealicloud_ecs_network_interfacealicloud_ecs_regionalicloud_ecs_security_groupalicloud_ecs_snapshotalicloud_ecs_zonealicloud_kms_keyalicloud_kms_secretalicloud_oss_bucketalicloud_ram_access_keyalicloud_ram_credential_reportalicloud_ram_groupalicloud_ram_password_policyalicloud_ram_policyalicloud_ram_rolealicloud_ram_security_preferencealicloud_ram_useralicloud_rds_backupalicloud_rds_databasealicloud_rds_instancealicloud_rds_instance_metric_connectionsalicloud_rds_instance_metric_connections_dailyalicloud_rds_instance_metric_cpu_utilizationalicloud_rds_instance_metric_cpu_utilization_dailyalicloud_rds_instance_metric_cpu_utilization_hourlyalicloud_security_center_field_statisticsalicloud_security_center_versionalicloud_slb_load_balanceralicloud_vpcalicloud_vpc_dhcp_options_setalicloud_vpc_eipalicloud_vpc_flow_logalicloud_vpc_nat_gatewayalicloud_vpc_network_aclalicloud_vpc_route_entryalicloud_vpc_route_tablealicloud_vpc_ssl_vpn_client_certalicloud_vpc_ssl_vpn_serveralicloud_vpc_vpn_connectionalicloud_vpc_vpn_customer_gatewayalicloud_vpc_vpn_gatewayalicloud_vpc_vswitch
Table: alicloud_slb_load_balancer
Server Load Balancer (SLB) distributes network traffic across groups of backend servers to improve the service capability and application availability. It Includes Layer 4 Network Load Balancer (NLB), Layer 7 Application Load Balancer (ALB), and Classic Load Balancer (CLB). It is the Official Cloud-Native Gateway of Alibaba Cloud.
Examples
Basic info
select load_balancer_name, load_balancer_id, load_balancer_status, address, address_type, vpc_id, network_typefrom alicloud_slb_load_balancer;
Get VPC details associated with SLB load balancers
select s.load_balancer_name, s.load_balancer_id, s.vpc_id, v.is_default, v.cidr_blockfrom alicloud_slb_load_balancer as s, alicloud_vpc as v;
List SLB load balancers that have deletion protection enabled
select load_balancer_name, load_balancer_id, load_balancer_status, delete_protectionfrom alicloud_slb_load_balancerwhere delete_protection = 'on';
List SLB load balancers created in the last 30 days
select load_balancer_name, load_balancer_id, load_balancer_statusfrom alicloud_slb_load_balancerwhere create_time >= now() - interval '30' day;
.inspect alicloud_slb_load_balancer
Alicloud Server Load Balancer
Name | Type | Description |
---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. |
account_id | text | The Alicloud Account ID in which the resource is located. |
address | inet | The service IP address of the SLB instance. |
address_ip_version | text | The IP version. Valid values: ipv4 and ipv6. |
address_type | text | The network type of the SLB instance. Valid values: internet|intranet. |
bandwidth | bigint | The maximum bandwidth of the listener. Unit: Mbit/s. |
create_time | timestamp with time zone | The time when the SLB instance was created. |
create_time_stamp | timestamp with time zone | The timestamp when the instance was created. |
delete_protection | text | Indicates whether deletion protection is enabled for the SLB instance. |
internet_charge_type | text | The metering method of Internet data transfer. Valid values: paybybandwidth|paybytraffic. |
internet_charge_type_alias | text | The alias for metering method of Internet data transfer. |
load_balancer_id | text | The ID of the SLB instance. |
load_balancer_name | text | The name of the SLB instance. |
load_balancer_spec | text | The specification of the SLB instance. |
load_balancer_status | text | The status of the SLB instance. Valid values: inactive|active|locked. |
master_zone_id | text | The ID of the primary zone to which the SLB instance belongs. |
modification_protection_reason | text | The reason why the configuration read-only mode is enabled. |
modification_protection_status | text | Indicates whether the configuration read-only mode is enabled for the SLB instance. |
network_type | text | The network type of the internal-facing SLB instance. Valid values: vpc|classic. |
pay_type | text | The billing method of the SLB instance. Valid values: PayOnDemand. |
region | text | The Alicloud region in which the resource is located. |
resource_group_id | text | The ID of the resource group. |
slave_zone_id | text | The ID of the secondary zone to which the SLB instance belongs. |
tags | text | A map of tags for the resource. |
tags_src | jsonb | A list of tags. |
title | text | Title of the resource. |
v_switch_id | text | The ID of the vSwitch to which the SLB instance belongs. |
vpc_id | text | The ID of the virtual private cloud (VPC) to which the SLB instance belongs. |