tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDcInstances
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of DC instances.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetDcInstancesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var nameSelect = TencentcloudFunctions.getDcInstances(GetDcInstancesArgs.builder()
.name("t")
.build());
final var id = TencentcloudFunctions.getDcInstances(GetDcInstancesArgs.builder()
.dcxId("dc-kax48sg7")
.build());
}
}
variables:
nameSelect:
fn::invoke:
function: tencentcloud:getDcInstances
arguments:
name: t
id:
fn::invoke:
function: tencentcloud:getDcInstances
arguments:
dcxId: dc-kax48sg7
Using getDcInstances
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 getDcInstances(args: GetDcInstancesArgs, opts?: InvokeOptions): Promise<GetDcInstancesResult>
function getDcInstancesOutput(args: GetDcInstancesOutputArgs, opts?: InvokeOptions): Output<GetDcInstancesResult>
def get_dc_instances(dc_id: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDcInstancesResult
def get_dc_instances_output(dc_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDcInstancesResult]
func GetDcInstances(ctx *Context, args *GetDcInstancesArgs, opts ...InvokeOption) (*GetDcInstancesResult, error)
func GetDcInstancesOutput(ctx *Context, args *GetDcInstancesOutputArgs, opts ...InvokeOption) GetDcInstancesResultOutput
> Note: This function is named GetDcInstances
in the Go SDK.
public static class GetDcInstances
{
public static Task<GetDcInstancesResult> InvokeAsync(GetDcInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetDcInstancesResult> Invoke(GetDcInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDcInstancesResult> getDcInstances(GetDcInstancesArgs args, InvokeOptions options)
public static Output<GetDcInstancesResult> getDcInstances(GetDcInstancesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDcInstances:getDcInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Dc
Id string - ID of the DC to be queried.
- Id string
- Name string
- Name of the DC to be queried.
- Result
Output stringFile - Used to save results.
- Dc
Id string - ID of the DC to be queried.
- Id string
- Name string
- Name of the DC to be queried.
- Result
Output stringFile - Used to save results.
- dc
Id String - ID of the DC to be queried.
- id String
- name String
- Name of the DC to be queried.
- result
Output StringFile - Used to save results.
- dc
Id string - ID of the DC to be queried.
- id string
- name string
- Name of the DC to be queried.
- result
Output stringFile - Used to save results.
- dc_
id str - ID of the DC to be queried.
- id str
- name str
- Name of the DC to be queried.
- result_
output_ strfile - Used to save results.
- dc
Id String - ID of the DC to be queried.
- id String
- name String
- Name of the DC to be queried.
- result
Output StringFile - Used to save results.
getDcInstances Result
The following output properties are available:
- Id string
- Instance
Lists List<GetDc Instances Instance List> - Information list of the DC.
- Dc
Id string - ID of the DC.
- Name string
- Name of the DC.
- Result
Output stringFile
- Id string
- Instance
Lists []GetDc Instances Instance List - Information list of the DC.
- Dc
Id string - ID of the DC.
- Name string
- Name of the DC.
- Result
Output stringFile
- id String
- instance
Lists List<GetDc Instances Instance List> - Information list of the DC.
- dc
Id String - ID of the DC.
- name String
- Name of the DC.
- result
Output StringFile
- id string
- instance
Lists GetDc Instances Instance List[] - Information list of the DC.
- dc
Id string - ID of the DC.
- name string
- Name of the DC.
- result
Output stringFile
- id str
- instance_
lists Sequence[GetDc Instances Instance List] - Information list of the DC.
- dc_
id str - ID of the DC.
- name str
- Name of the DC.
- result_
output_ strfile
- id String
- instance
Lists List<Property Map> - Information list of the DC.
- dc
Id String - ID of the DC.
- name String
- Name of the DC.
- result
Output StringFile
Supporting Types
GetDcInstancesInstanceList
- Access
Point stringId - Access point ID of tne DC.
- Bandwidth double
- Bandwidth of the DC.
- Circuit
Code string - The circuit code provided by the operator for the DC.
- Create
Time string - Creation time of resource.
- Customer
Address string - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- Customer
Email string - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Customer
Name string - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Customer
Phone string - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Dc
Id string - ID of the DC to be queried.
- Enabled
Time string - Enable time of resource.
- Expired
Time string - Expire date of resource.
- Fault
Report stringContact Person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- Fault
Report stringContact Phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- Line
Operator string - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - Location string
- The DC location where the connection is located.
- Name string
- Name of the DC to be queried.
- Port
Type string - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - Redundant
Dc stringId - ID of the redundant DC.
- State string
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - Tencent
Address string - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
- Access
Point stringId - Access point ID of tne DC.
- Bandwidth float64
- Bandwidth of the DC.
- Circuit
Code string - The circuit code provided by the operator for the DC.
- Create
Time string - Creation time of resource.
- Customer
Address string - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- Customer
Email string - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Customer
Name string - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Customer
Phone string - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- Dc
Id string - ID of the DC to be queried.
- Enabled
Time string - Enable time of resource.
- Expired
Time string - Expire date of resource.
- Fault
Report stringContact Person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- Fault
Report stringContact Phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- Line
Operator string - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - Location string
- The DC location where the connection is located.
- Name string
- Name of the DC to be queried.
- Port
Type string - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - Redundant
Dc stringId - ID of the redundant DC.
- State string
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - Tencent
Address string - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
- access
Point StringId - Access point ID of tne DC.
- bandwidth Double
- Bandwidth of the DC.
- circuit
Code String - The circuit code provided by the operator for the DC.
- create
Time String - Creation time of resource.
- customer
Address String - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- customer
Email String - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Name String - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Phone String - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- dc
Id String - ID of the DC to be queried.
- enabled
Time String - Enable time of resource.
- expired
Time String - Expire date of resource.
- fault
Report StringContact Person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- fault
Report StringContact Phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- line
Operator String - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - location String
- The DC location where the connection is located.
- name String
- Name of the DC to be queried.
- port
Type String - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - redundant
Dc StringId - ID of the redundant DC.
- state String
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - tencent
Address String - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
- access
Point stringId - Access point ID of tne DC.
- bandwidth number
- Bandwidth of the DC.
- circuit
Code string - The circuit code provided by the operator for the DC.
- create
Time string - Creation time of resource.
- customer
Address string - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- customer
Email string - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Name string - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Phone string - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- dc
Id string - ID of the DC to be queried.
- enabled
Time string - Enable time of resource.
- expired
Time string - Expire date of resource.
- fault
Report stringContact Person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- fault
Report stringContact Phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- line
Operator string - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - location string
- The DC location where the connection is located.
- name string
- Name of the DC to be queried.
- port
Type string - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - redundant
Dc stringId - ID of the redundant DC.
- state string
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - tencent
Address string - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
- access_
point_ strid - Access point ID of tne DC.
- bandwidth float
- Bandwidth of the DC.
- circuit_
code str - The circuit code provided by the operator for the DC.
- create_
time str - Creation time of resource.
- customer_
address str - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- customer_
email str - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer_
name str - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer_
phone str - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- dc_
id str - ID of the DC to be queried.
- enabled_
time str - Enable time of resource.
- expired_
time str - Expire date of resource.
- fault_
report_ strcontact_ person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- fault_
report_ strcontact_ phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- line_
operator str - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - location str
- The DC location where the connection is located.
- name str
- Name of the DC to be queried.
- port_
type str - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - redundant_
dc_ strid - ID of the redundant DC.
- state str
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - tencent_
address str - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
- access
Point StringId - Access point ID of tne DC.
- bandwidth Number
- Bandwidth of the DC.
- circuit
Code String - The circuit code provided by the operator for the DC.
- create
Time String - Creation time of resource.
- customer
Address String - Interconnect IP of the DC within client. Note: This field may return null, indicating that no valid values are taken.
- customer
Email String - Applicant email of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Name String - Applicant name of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- customer
Phone String - Applicant phone number of the DC, the default is obtained from the account. Note: This field may return null, indicating that no valid values are taken.
- dc
Id String - ID of the DC to be queried.
- enabled
Time String - Enable time of resource.
- expired
Time String - Expire date of resource.
- fault
Report StringContact Person - Contact of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- fault
Report StringContact Phone - Phone number of reporting a faulty. Note: This field may return null, indicating that no valid values are taken.
- line
Operator String - Operator of the DC, and available values include
ChinaTelecom
,ChinaMobile
,ChinaUnicom
,In-houseWiring
,ChinaOther
andInternationalOperator
. - location String
- The DC location where the connection is located.
- name String
- Name of the DC to be queried.
- port
Type String - Port type of the DC in client, and available values include
100Base-T
,1000Base-T
,1000Base-LX
,10GBase-T
and10GBase-LR
. The default value is1000Base-LX
. - redundant
Dc StringId - ID of the redundant DC.
- state String
- State of the DC, and available values include
REJECTED
,TOPAY
,PAID
,ALLOCATED
,AVAILABLE
,DELETING
andDELETED
. - tencent
Address String - Interconnect IP of the DC within Tencent. Note: This field may return null, indicating that no valid values are taken.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack