tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getPrivateDnsPrivateZoneList
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 privatedns private_zone_list
Example Usage
Get All PrivateZones:
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getPrivateDnsPrivateZoneList({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_private_dns_private_zone_list()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetPrivateDnsPrivateZoneList(ctx, &tencentcloud.GetPrivateDnsPrivateZoneListArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetPrivateDnsPrivateZoneList.Invoke();
});
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.GetPrivateDnsPrivateZoneListArgs;
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 example = TencentcloudFunctions.getPrivateDnsPrivateZoneList();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getPrivateDnsPrivateZoneList
arguments: {}
Get PrivateZone By ZoneId:
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getPrivateDnsPrivateZoneList({
filters: [{
name: "ZoneId",
values: ["zone-6xg5xgky1"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_private_dns_private_zone_list(filters=[{
"name": "ZoneId",
"values": ["zone-6xg5xgky1"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetPrivateDnsPrivateZoneList(ctx, &tencentcloud.GetPrivateDnsPrivateZoneListArgs{
Filters: []tencentcloud.GetPrivateDnsPrivateZoneListFilter{
{
Name: "ZoneId",
Values: []string{
"zone-6xg5xgky1",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetPrivateDnsPrivateZoneList.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetPrivateDnsPrivateZoneListFilterInputArgs
{
Name = "ZoneId",
Values = new[]
{
"zone-6xg5xgky1",
},
},
},
});
});
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.GetPrivateDnsPrivateZoneListArgs;
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 example = TencentcloudFunctions.getPrivateDnsPrivateZoneList(GetPrivateDnsPrivateZoneListArgs.builder()
.filters(GetPrivateDnsPrivateZoneListFilterArgs.builder()
.name("ZoneId")
.values("zone-6xg5xgky1")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getPrivateDnsPrivateZoneList
arguments:
filters:
- name: ZoneId
values:
- zone-6xg5xgky1
Get PrivateZone By Domain:
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getPrivateDnsPrivateZoneList({
filters: [{
name: "Domain",
values: ["domain.com"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_private_dns_private_zone_list(filters=[{
"name": "Domain",
"values": ["domain.com"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetPrivateDnsPrivateZoneList(ctx, &tencentcloud.GetPrivateDnsPrivateZoneListArgs{
Filters: []tencentcloud.GetPrivateDnsPrivateZoneListFilter{
{
Name: "Domain",
Values: []string{
"domain.com",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetPrivateDnsPrivateZoneList.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetPrivateDnsPrivateZoneListFilterInputArgs
{
Name = "Domain",
Values = new[]
{
"domain.com",
},
},
},
});
});
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.GetPrivateDnsPrivateZoneListArgs;
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 example = TencentcloudFunctions.getPrivateDnsPrivateZoneList(GetPrivateDnsPrivateZoneListArgs.builder()
.filters(GetPrivateDnsPrivateZoneListFilterArgs.builder()
.name("Domain")
.values("domain.com")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getPrivateDnsPrivateZoneList
arguments:
filters:
- name: Domain
values:
- domain.com
Get PrivateZone By Vpc:
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getPrivateDnsPrivateZoneList({
filters: [{
name: "Vpc",
values: ["vpc-axrsmmrv"],
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_private_dns_private_zone_list(filters=[{
"name": "Vpc",
"values": ["vpc-axrsmmrv"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetPrivateDnsPrivateZoneList(ctx, &tencentcloud.GetPrivateDnsPrivateZoneListArgs{
Filters: []tencentcloud.GetPrivateDnsPrivateZoneListFilter{
{
Name: "Vpc",
Values: []string{
"vpc-axrsmmrv",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetPrivateDnsPrivateZoneList.Invoke(new()
{
Filters = new[]
{
new Tencentcloud.Inputs.GetPrivateDnsPrivateZoneListFilterInputArgs
{
Name = "Vpc",
Values = new[]
{
"vpc-axrsmmrv",
},
},
},
});
});
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.GetPrivateDnsPrivateZoneListArgs;
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 example = TencentcloudFunctions.getPrivateDnsPrivateZoneList(GetPrivateDnsPrivateZoneListArgs.builder()
.filters(GetPrivateDnsPrivateZoneListFilterArgs.builder()
.name("Vpc")
.values("vpc-axrsmmrv")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getPrivateDnsPrivateZoneList
arguments:
filters:
- name: Vpc
values:
- vpc-axrsmmrv
Using getPrivateDnsPrivateZoneList
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 getPrivateDnsPrivateZoneList(args: GetPrivateDnsPrivateZoneListArgs, opts?: InvokeOptions): Promise<GetPrivateDnsPrivateZoneListResult>
function getPrivateDnsPrivateZoneListOutput(args: GetPrivateDnsPrivateZoneListOutputArgs, opts?: InvokeOptions): Output<GetPrivateDnsPrivateZoneListResult>
def get_private_dns_private_zone_list(filters: Optional[Sequence[GetPrivateDnsPrivateZoneListFilter]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateDnsPrivateZoneListResult
def get_private_dns_private_zone_list_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPrivateDnsPrivateZoneListFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateDnsPrivateZoneListResult]
func GetPrivateDnsPrivateZoneList(ctx *Context, args *GetPrivateDnsPrivateZoneListArgs, opts ...InvokeOption) (*GetPrivateDnsPrivateZoneListResult, error)
func GetPrivateDnsPrivateZoneListOutput(ctx *Context, args *GetPrivateDnsPrivateZoneListOutputArgs, opts ...InvokeOption) GetPrivateDnsPrivateZoneListResultOutput
> Note: This function is named GetPrivateDnsPrivateZoneList
in the Go SDK.
public static class GetPrivateDnsPrivateZoneList
{
public static Task<GetPrivateDnsPrivateZoneListResult> InvokeAsync(GetPrivateDnsPrivateZoneListArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateDnsPrivateZoneListResult> Invoke(GetPrivateDnsPrivateZoneListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateDnsPrivateZoneListResult> getPrivateDnsPrivateZoneList(GetPrivateDnsPrivateZoneListArgs args, InvokeOptions options)
public static Output<GetPrivateDnsPrivateZoneListResult> getPrivateDnsPrivateZoneList(GetPrivateDnsPrivateZoneListArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getPrivateDnsPrivateZoneList:getPrivateDnsPrivateZoneList
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Private Dns Private Zone List Filter> - filters.
- Id string
- Result
Output stringFile - Used to save results.
- Filters
[]Get
Private Dns Private Zone List Filter - filters.
- Id string
- Result
Output stringFile - Used to save results.
- filters
List<Get
Private Dns Private Zone List Filter> - filters.
- id String
- result
Output StringFile - Used to save results.
- filters
Get
Private Dns Private Zone List Filter[] - filters.
- id string
- result
Output stringFile - Used to save results.
- filters
Sequence[Get
Private Dns Private Zone List Filter] - filters.
- id str
- result_
output_ strfile - Used to save results.
- filters List<Property Map>
- filters.
- id String
- result
Output StringFile - Used to save results.
getPrivateDnsPrivateZoneList Result
The following output properties are available:
- Id string
- Private
Zone List<GetSets Private Dns Private Zone List Private Zone Set> - Private Zone Set.
- Filters
List<Get
Private Dns Private Zone List Filter> - Result
Output stringFile
- Id string
- Private
Zone []GetSets Private Dns Private Zone List Private Zone Set - Private Zone Set.
- Filters
[]Get
Private Dns Private Zone List Filter - Result
Output stringFile
- id String
- private
Zone List<GetSets Private Dns Private Zone List Private Zone Set> - Private Zone Set.
- filters
List<Get
Private Dns Private Zone List Filter> - result
Output StringFile
- id string
- private
Zone GetSets Private Dns Private Zone List Private Zone Set[] - Private Zone Set.
- filters
Get
Private Dns Private Zone List Filter[] - result
Output stringFile
- id String
- private
Zone List<Property Map>Sets - Private Zone Set.
- filters List<Property Map>
- result
Output StringFile
Supporting Types
GetPrivateDnsPrivateZoneListFilter
GetPrivateDnsPrivateZoneListPrivateZoneSet
- Account
Vpc List<GetSets Private Dns Private Zone List Private Zone Set Account Vpc Set> - VPC list of bound associated accounts.
- Cname
Speedup stringStatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- Created
On string - Create time.
- Deleted
Vpc List<GetSets Private Dns Private Zone List Private Zone Set Deleted Vpc Set> - List of deleted VPCs.
- Dns
Forward stringStatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- Domain string
- Domain.
- End
Point stringName - End point name.
- Forward
Address string - Forwarded address.
- Forward
Rule stringName - Forwarding rule name.
- Forward
Rule stringType - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- Is
Custom boolTld - Custom TLD.
- Owner
Uin double - Owner Uin.
- Record
Count double - Record count.
- Remark string
- Remark.
- Status string
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- List<Get
Private Dns Private Zone List Private Zone Set Tag> - tags.
- Updated
On string - Update time.
- Vpc
Sets List<GetPrivate Dns Private Zone List Private Zone Set Vpc Set> - Vpc list.
- Zone
Id string - PrivateZone ID.
- Account
Vpc []GetSets Private Dns Private Zone List Private Zone Set Account Vpc Set - VPC list of bound associated accounts.
- Cname
Speedup stringStatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- Created
On string - Create time.
- Deleted
Vpc []GetSets Private Dns Private Zone List Private Zone Set Deleted Vpc Set - List of deleted VPCs.
- Dns
Forward stringStatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- Domain string
- Domain.
- End
Point stringName - End point name.
- Forward
Address string - Forwarded address.
- Forward
Rule stringName - Forwarding rule name.
- Forward
Rule stringType - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- Is
Custom boolTld - Custom TLD.
- Owner
Uin float64 - Owner Uin.
- Record
Count float64 - Record count.
- Remark string
- Remark.
- Status string
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- []Get
Private Dns Private Zone List Private Zone Set Tag - tags.
- Updated
On string - Update time.
- Vpc
Sets []GetPrivate Dns Private Zone List Private Zone Set Vpc Set - Vpc list.
- Zone
Id string - PrivateZone ID.
- account
Vpc List<GetSets Private Dns Private Zone List Private Zone Set Account Vpc Set> - VPC list of bound associated accounts.
- cname
Speedup StringStatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- created
On String - Create time.
- deleted
Vpc List<GetSets Private Dns Private Zone List Private Zone Set Deleted Vpc Set> - List of deleted VPCs.
- dns
Forward StringStatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- domain String
- Domain.
- end
Point StringName - End point name.
- forward
Address String - Forwarded address.
- forward
Rule StringName - Forwarding rule name.
- forward
Rule StringType - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- is
Custom BooleanTld - Custom TLD.
- owner
Uin Double - Owner Uin.
- record
Count Double - Record count.
- remark String
- Remark.
- status String
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- List<Get
Private Dns Private Zone List Private Zone Set Tag> - tags.
- updated
On String - Update time.
- vpc
Sets List<GetPrivate Dns Private Zone List Private Zone Set Vpc Set> - Vpc list.
- zone
Id String - PrivateZone ID.
- account
Vpc GetSets Private Dns Private Zone List Private Zone Set Account Vpc Set[] - VPC list of bound associated accounts.
- cname
Speedup stringStatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- created
On string - Create time.
- deleted
Vpc GetSets Private Dns Private Zone List Private Zone Set Deleted Vpc Set[] - List of deleted VPCs.
- dns
Forward stringStatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- domain string
- Domain.
- end
Point stringName - End point name.
- forward
Address string - Forwarded address.
- forward
Rule stringName - Forwarding rule name.
- forward
Rule stringType - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- is
Custom booleanTld - Custom TLD.
- owner
Uin number - Owner Uin.
- record
Count number - Record count.
- remark string
- Remark.
- status string
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- Get
Private Dns Private Zone List Private Zone Set Tag[] - tags.
- updated
On string - Update time.
- vpc
Sets GetPrivate Dns Private Zone List Private Zone Set Vpc Set[] - Vpc list.
- zone
Id string - PrivateZone ID.
- account_
vpc_ Sequence[Getsets Private Dns Private Zone List Private Zone Set Account Vpc Set] - VPC list of bound associated accounts.
- cname_
speedup_ strstatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- created_
on str - Create time.
- deleted_
vpc_ Sequence[Getsets Private Dns Private Zone List Private Zone Set Deleted Vpc Set] - List of deleted VPCs.
- dns_
forward_ strstatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- domain str
- Domain.
- end_
point_ strname - End point name.
- forward_
address str - Forwarded address.
- forward_
rule_ strname - Forwarding rule name.
- forward_
rule_ strtype - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- is_
custom_ booltld - Custom TLD.
- owner_
uin float - Owner Uin.
- record_
count float - Record count.
- remark str
- Remark.
- status str
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- Sequence[Get
Private Dns Private Zone List Private Zone Set Tag] - tags.
- updated_
on str - Update time.
- vpc_
sets Sequence[GetPrivate Dns Private Zone List Private Zone Set Vpc Set] - Vpc list.
- zone_
id str - PrivateZone ID.
- account
Vpc List<Property Map>Sets - VPC list of bound associated accounts.
- cname
Speedup StringStatus - CNAME acceleration status: enabled: ENABLED, off, DISABLED.
- created
On String - Create time.
- deleted
Vpc List<Property Map>Sets - List of deleted VPCs.
- dns
Forward StringStatus - Domain name recursive resolution status: enabled: ENABLED, disabled, DISABLED.
- domain String
- Domain.
- end
Point StringName - End point name.
- forward
Address String - Forwarded address.
- forward
Rule StringName - Forwarding rule name.
- forward
Rule StringType - Forwarding rule type: from cloud to cloud, DOWN; From cloud to cloud, UP, currently only supports DOWN.
- is
Custom BooleanTld - Custom TLD.
- owner
Uin Number - Owner Uin.
- record
Count Number - Record count.
- remark String
- Remark.
- status String
- Private domain bound VPC status, not associated with vpc: SUSPEND, associated with VPC: ENABLED, associated with VPC failed: FAILED.
- List<Property Map>
- tags.
- updated
On String - Update time.
- vpc
Sets List<Property Map> - Vpc list.
- zone
Id String - PrivateZone ID.
GetPrivateDnsPrivateZoneListPrivateZoneSetAccountVpcSet
- region str
- Region.
- uin str
- uin.
- uniq_
vpc_ strid - Vpc Id.
GetPrivateDnsPrivateZoneListPrivateZoneSetDeletedVpcSet
- region str
- Region.
- uniq_
vpc_ strid - Vpc Id.
GetPrivateDnsPrivateZoneListPrivateZoneSetTag
GetPrivateDnsPrivateZoneListPrivateZoneSetVpcSet
- region str
- Region.
- uniq_
vpc_ strid - Vpc Id.
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