1. Packages
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. privatezone
  6. getPrivateZone
Viewing docs for bytepluscc v0.0.28
published on Thursday, May 21, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.28
published on Thursday, May 21, 2026 by Byteplus

    Data Source schema for Byteplus::PrivateZone::PrivateZone

    Using getPrivateZone

    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 getPrivateZone(args: GetPrivateZoneArgs, opts?: InvokeOptions): Promise<GetPrivateZoneResult>
    function getPrivateZoneOutput(args: GetPrivateZoneOutputArgs, opts?: InvokeOptions): Output<GetPrivateZoneResult>
    def get_private_zone(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetPrivateZoneResult
    def get_private_zone_output(id: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetPrivateZoneResult]
    func LookupPrivateZone(ctx *Context, args *LookupPrivateZoneArgs, opts ...InvokeOption) (*LookupPrivateZoneResult, error)
    func LookupPrivateZoneOutput(ctx *Context, args *LookupPrivateZoneOutputArgs, opts ...InvokeOption) LookupPrivateZoneResultOutput

    > Note: This function is named LookupPrivateZone in the Go SDK.

    public static class GetPrivateZone 
    {
        public static Task<GetPrivateZoneResult> InvokeAsync(GetPrivateZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetPrivateZoneResult> Invoke(GetPrivateZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrivateZoneResult> getPrivateZone(GetPrivateZoneArgs args, InvokeOptions options)
    public static Output<GetPrivateZoneResult> getPrivateZone(GetPrivateZoneArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:privatezone/getPrivateZone:getPrivateZone
      arguments:
        # arguments dictionary
    data "bytepluscc_privatezone_getprivatezone" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getPrivateZone Result

    The following output properties are available:

    CreatedAt string
    Domain creation time
    Id string
    Uniquely identifies the resource.
    LastOperator string
    Most recent operator
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecordCount int
    Number of DNS records under the domain name
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags List<Byteplus.GetPrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    UpdatedAt string
    Most recent update time of the domain
    Vpcs List<Byteplus.GetPrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    Zid string
    Unique ID identifying the domain name
    ZoneName string
    Domain name, can be a second-level or multi-level domain
    CreatedAt string
    Domain creation time
    Id string
    Uniquely identifies the resource.
    LastOperator string
    Most recent operator
    LineMode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    ProjectName string
    Name of the project the domain belongs to. Default is default
    RecordCount int
    Number of DNS records under the domain name
    RecursionMode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    Remark string
    Remarks. Default is an empty string
    Tags []GetPrivateZoneTag
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    UpdatedAt string
    Most recent update time of the domain
    Vpcs []GetPrivateZoneVpc
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    Zid string
    Unique ID identifying the domain name
    ZoneName string
    Domain name, can be a second-level or multi-level domain
    created_at string
    Domain creation time
    id string
    Uniquely identifies the resource.
    last_operator string
    Most recent operator
    line_mode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name string
    Name of the project the domain belongs to. Default is default
    record_count number
    Number of DNS records under the domain name
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags list(object)
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    updated_at string
    Most recent update time of the domain
    vpcs list(object)
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    zid string
    Unique ID identifying the domain name
    zone_name string
    Domain name, can be a second-level or multi-level domain
    createdAt String
    Domain creation time
    id String
    Uniquely identifies the resource.
    lastOperator String
    Most recent operator
    lineMode Integer
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recordCount Integer
    Number of DNS records under the domain name
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<GetPrivateZoneTag>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    updatedAt String
    Most recent update time of the domain
    vpcs List<GetPrivateZoneVpc>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    zid String
    Unique ID identifying the domain name
    zoneName String
    Domain name, can be a second-level or multi-level domain
    createdAt string
    Domain creation time
    id string
    Uniquely identifies the resource.
    lastOperator string
    Most recent operator
    lineMode number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName string
    Name of the project the domain belongs to. Default is default
    recordCount number
    Number of DNS records under the domain name
    recursionMode boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark string
    Remarks. Default is an empty string
    tags GetPrivateZoneTag[]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    updatedAt string
    Most recent update time of the domain
    vpcs GetPrivateZoneVpc[]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    zid string
    Unique ID identifying the domain name
    zoneName string
    Domain name, can be a second-level or multi-level domain
    created_at str
    Domain creation time
    id str
    Uniquely identifies the resource.
    last_operator str
    Most recent operator
    line_mode int
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    project_name str
    Name of the project the domain belongs to. Default is default
    record_count int
    Number of DNS records under the domain name
    recursion_mode bool
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark str
    Remarks. Default is an empty string
    tags Sequence[GetPrivateZoneTag]
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    updated_at str
    Most recent update time of the domain
    vpcs Sequence[GetPrivateZoneVpc]
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    zid str
    Unique ID identifying the domain name
    zone_name str
    Domain name, can be a second-level or multi-level domain
    createdAt String
    Domain creation time
    id String
    Uniquely identifies the resource.
    lastOperator String
    Most recent operator
    lineMode Number
    Enable load balancing: 0 to disable, 1 to enable. Default is 0
    projectName String
    Name of the project the domain belongs to. Default is default
    recordCount Number
    Number of DNS records under the domain name
    recursionMode Boolean
    Enable recursive resolution: true to enable, false to disable. Default is false
    remark String
    Remarks. Default is an empty string
    tags List<Property Map>
    One or more tags associated with the domain. A resource can be associated with up to 50 tags
    updatedAt String
    Most recent update time of the domain
    vpcs List<Property Map>
    One or more VPCs associated with the domain. Domain resolution is only effective within the associated VPCs
    zid String
    Unique ID identifying the domain name
    zoneName String
    Domain name, can be a second-level or multi-level domain

    Supporting Types

    GetPrivateZoneTag

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key string
    Tag key
    value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    GetPrivateZoneVpc

    AccountId string
    Account ID to which the VPC belongs
    Region string
    Region where the VPC is located
    RegionName string
    Name of the region where the VPC is located
    VpcId string
    VPC ID
    AccountId string
    Account ID to which the VPC belongs
    Region string
    Region where the VPC is located
    RegionName string
    Name of the region where the VPC is located
    VpcId string
    VPC ID
    account_id string
    Account ID to which the VPC belongs
    region string
    Region where the VPC is located
    region_name string
    Name of the region where the VPC is located
    vpc_id string
    VPC ID
    accountId String
    Account ID to which the VPC belongs
    region String
    Region where the VPC is located
    regionName String
    Name of the region where the VPC is located
    vpcId String
    VPC ID
    accountId string
    Account ID to which the VPC belongs
    region string
    Region where the VPC is located
    regionName string
    Name of the region where the VPC is located
    vpcId string
    VPC ID
    account_id str
    Account ID to which the VPC belongs
    region str
    Region where the VPC is located
    region_name str
    Name of the region where the VPC is located
    vpc_id str
    VPC ID
    accountId String
    Account ID to which the VPC belongs
    region String
    Region where the VPC is located
    regionName String
    Name of the region where the VPC is located
    vpcId String
    VPC ID

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.28
    published on Thursday, May 21, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial