getConnections

This data source can query the public IP of the specified KVStore DBInstance.

NOTE: Available in v1.101.0+.

Using getConnections

function getConnections(args: GetConnectionsArgs, opts?: InvokeOptions): Promise<GetConnectionsResult>
def get_connections(ids: Optional[str] = None,
                    output_file: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetConnectionsResult
func GetConnections(ctx *Context, args *GetConnectionsArgs, opts ...InvokeOption) (*GetConnectionsResult, error)

Note: This function is named GetConnections in the Go SDK.

public static class GetConnections {
    public static Task<GetConnectionsResult> InvokeAsync(GetConnectionsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids string
A list of KVStore DBInstance ids, only support one item.
OutputFile string
Ids string
A list of KVStore DBInstance ids, only support one item.
OutputFile string
ids string
A list of KVStore DBInstance ids, only support one item.
outputFile string
ids str
A list of KVStore DBInstance ids, only support one item.
output_file str

getConnections Result

The following output properties are available:

Connections List<Pulumi.AliCloud.KVStore.Outputs.GetConnectionsConnection>
Public network details of the specified resource. contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids string
A list of KVStore DBInstance ids.
OutputFile string
Connections []GetConnectionsConnection
Public network details of the specified resource. contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids string
A list of KVStore DBInstance ids.
OutputFile string
connections GetConnectionsConnection[]
Public network details of the specified resource. contains the following attributes:
id string
The provider-assigned unique ID for this managed resource.
ids string
A list of KVStore DBInstance ids.
outputFile string
connections Sequence[GetConnectionsConnection]
Public network details of the specified resource. contains the following attributes:
id str
The provider-assigned unique ID for this managed resource.
ids str
A list of KVStore DBInstance ids.
output_file str

Supporting Types

GetConnectionsConnection

ConnectionString string
The connection string of the instance.
DbInstanceNetType string
The network type of the instance.
ExpiredTime string
The expiration time of the classic network address.
Id string
InstanceId string
IpAddress string
The IP address of the instance.
Port string
The port number of the instance.
Upgradeable string
The remaining validity period of the endpoint of the classic network.
VpcId string
The ID of the VPC where the instance is deployed.
VpcInstanceId string
The ID of the instance. It is returned only when the value of the DBInstanceNetType parameter is 2 (indicating VPC).
VswitchId string
The ID of the VSwitch.
ConnectionString string
The connection string of the instance.
DbInstanceNetType string
The network type of the instance.
ExpiredTime string
The expiration time of the classic network address.
Id string
InstanceId string
IpAddress string
The IP address of the instance.
Port string
The port number of the instance.
Upgradeable string
The remaining validity period of the endpoint of the classic network.
VpcId string
The ID of the VPC where the instance is deployed.
VpcInstanceId string
The ID of the instance. It is returned only when the value of the DBInstanceNetType parameter is 2 (indicating VPC).
VswitchId string
The ID of the VSwitch.
connectionString string
The connection string of the instance.
dbInstanceNetType string
The network type of the instance.
expiredTime string
The expiration time of the classic network address.
id string
instanceId string
ipAddress string
The IP address of the instance.
port string
The port number of the instance.
upgradeable string
The remaining validity period of the endpoint of the classic network.
vpcId string
The ID of the VPC where the instance is deployed.
vpcInstanceId string
The ID of the instance. It is returned only when the value of the DBInstanceNetType parameter is 2 (indicating VPC).
vswitchId string
The ID of the VSwitch.
connection_string str
The connection string of the instance.
db_instance_net_type str
The network type of the instance.
expired_time str
The expiration time of the classic network address.
id str
instance_id str
ip_address str
The IP address of the instance.
port str
The port number of the instance.
upgradeable str
The remaining validity period of the endpoint of the classic network.
vpc_id str
The ID of the VPC where the instance is deployed.
vpc_instance_id str
The ID of the instance. It is returned only when the value of the DBInstanceNetType parameter is 2 (indicating VPC).
vswitch_id str
The ID of the VSwitch.

Package Details

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