Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.private_zone.getRecords
Explore with Pulumi AI
Use this data source to query detailed information of private zone records
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.private_zone.getRecords({
recordId: "907925684878276****",
zid: 2450000,
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.private_zone.get_records(record_id="907925684878276****",
zid=2450000)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/private_zone"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := private_zone.GetRecords(ctx, &private_zone.GetRecordsArgs{
RecordId: pulumi.StringRef("907925684878276****"),
Zid: pulumi.IntRef(2450000),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Private_zone.GetRecords.Invoke(new()
{
RecordId = "907925684878276****",
Zid = 2450000,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.private_zone.Private_zoneFunctions;
import com.pulumi.volcengine.private_zone.inputs.GetRecordsArgs;
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 foo = Private_zoneFunctions.getRecords(GetRecordsArgs.builder()
.recordId("907925684878276****")
.zid(2450000)
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:private_zone:getRecords
Arguments:
recordId: 907925684878276****
zid: 2.45e+06
Using getRecords
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 getRecords(args: GetRecordsArgs, opts?: InvokeOptions): Promise<GetRecordsResult>
function getRecordsOutput(args: GetRecordsOutputArgs, opts?: InvokeOptions): Output<GetRecordsResult>
def get_records(host: Optional[str] = None,
last_operator: Optional[str] = None,
line: Optional[str] = None,
name: Optional[str] = None,
output_file: Optional[str] = None,
record_id: Optional[str] = None,
search_mode: Optional[str] = None,
type: Optional[str] = None,
value: Optional[str] = None,
zid: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetRecordsResult
def get_records_output(host: Optional[pulumi.Input[str]] = None,
last_operator: Optional[pulumi.Input[str]] = None,
line: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
record_id: Optional[pulumi.Input[str]] = None,
search_mode: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
value: Optional[pulumi.Input[str]] = None,
zid: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRecordsResult]
func GetRecords(ctx *Context, args *GetRecordsArgs, opts ...InvokeOption) (*GetRecordsResult, error)
func GetRecordsOutput(ctx *Context, args *GetRecordsOutputArgs, opts ...InvokeOption) GetRecordsResultOutput
> Note: This function is named GetRecords
in the Go SDK.
public static class GetRecords
{
public static Task<GetRecordsResult> InvokeAsync(GetRecordsArgs args, InvokeOptions? opts = null)
public static Output<GetRecordsResult> Invoke(GetRecordsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRecordsResult> getRecords(GetRecordsArgs args, InvokeOptions options)
public static Output<GetRecordsResult> getRecords(GetRecordsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:private_zone/getRecords:getRecords
arguments:
# arguments dictionary
The following arguments are supported:
- Host string
- The host of Private Zone Record.
- Last
Operator string - The last operator account id of Private Zone Record.
- Line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - Name string
- The domain name of Private Zone Record.
- Output
File string - File name where to save data source results.
- Record
Id string - The id of Private Zone Record.
- Search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - Type string
- The type of Private Zone Record.
- Value string
- The value of Private Zone Record.
- Zid int
- The zid of Private Zone.
- Host string
- The host of Private Zone Record.
- Last
Operator string - The last operator account id of Private Zone Record.
- Line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - Name string
- The domain name of Private Zone Record.
- Output
File string - File name where to save data source results.
- Record
Id string - The id of Private Zone Record.
- Search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - Type string
- The type of Private Zone Record.
- Value string
- The value of Private Zone Record.
- Zid int
- The zid of Private Zone.
- host String
- The host of Private Zone Record.
- last
Operator String - The last operator account id of Private Zone Record.
- line String
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - name String
- The domain name of Private Zone Record.
- output
File String - File name where to save data source results.
- record
Id String - The id of Private Zone Record.
- search
Mode String - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - type String
- The type of Private Zone Record.
- value String
- The value of Private Zone Record.
- zid Integer
- The zid of Private Zone.
- host string
- The host of Private Zone Record.
- last
Operator string - The last operator account id of Private Zone Record.
- line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - name string
- The domain name of Private Zone Record.
- output
File string - File name where to save data source results.
- record
Id string - The id of Private Zone Record.
- search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - type string
- The type of Private Zone Record.
- value string
- The value of Private Zone Record.
- zid number
- The zid of Private Zone.
- host str
- The host of Private Zone Record.
- last_
operator str - The last operator account id of Private Zone Record.
- line str
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - name str
- The domain name of Private Zone Record.
- output_
file str - File name where to save data source results.
- record_
id str - The id of Private Zone Record.
- search_
mode str - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - type str
- The type of Private Zone Record.
- value str
- The value of Private Zone Record.
- zid int
- The zid of Private Zone.
- host String
- The host of Private Zone Record.
- last
Operator String - The last operator account id of Private Zone Record.
- line String
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - name String
- The domain name of Private Zone Record.
- output
File String - File name where to save data source results.
- record
Id String - The id of Private Zone Record.
- search
Mode String - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
. - type String
- The type of Private Zone Record.
- value String
- The value of Private Zone Record.
- zid Number
- The zid of Private Zone.
getRecords Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Records
List<Get
Records Record> - The collection of query.
- Total
Count int - The total count of query.
- Host string
- The host of the private zone record.
- Last
Operator string - The last operator account id of the private zone record.
- Line string
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - Name string
- Output
File string - Record
Id string - The id of the private zone record.
- Search
Mode string - Type string
- The type of the private zone record.
- Value string
- The value of the private zone record.
- Zid int
- The zid of the private zone record.
- Id string
- The provider-assigned unique ID for this managed resource.
- Records
[]Get
Records Record - The collection of query.
- Total
Count int - The total count of query.
- Host string
- The host of the private zone record.
- Last
Operator string - The last operator account id of the private zone record.
- Line string
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - Name string
- Output
File string - Record
Id string - The id of the private zone record.
- Search
Mode string - Type string
- The type of the private zone record.
- Value string
- The value of the private zone record.
- Zid int
- The zid of the private zone record.
- id String
- The provider-assigned unique ID for this managed resource.
- records
List<Get
Records Record> - The collection of query.
- total
Count Integer - The total count of query.
- host String
- The host of the private zone record.
- last
Operator String - The last operator account id of the private zone record.
- line String
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - name String
- output
File String - record
Id String - The id of the private zone record.
- search
Mode String - type String
- The type of the private zone record.
- value String
- The value of the private zone record.
- zid Integer
- The zid of the private zone record.
- id string
- The provider-assigned unique ID for this managed resource.
- records
Get
Records Record[] - The collection of query.
- total
Count number - The total count of query.
- host string
- The host of the private zone record.
- last
Operator string - The last operator account id of the private zone record.
- line string
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - name string
- output
File string - record
Id string - The id of the private zone record.
- search
Mode string - type string
- The type of the private zone record.
- value string
- The value of the private zone record.
- zid number
- The zid of the private zone record.
- id str
- The provider-assigned unique ID for this managed resource.
- records
Sequence[Get
Records Record] - The collection of query.
- total_
count int - The total count of query.
- host str
- The host of the private zone record.
- last_
operator str - The last operator account id of the private zone record.
- line str
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - name str
- output_
file str - record_
id str - The id of the private zone record.
- search_
mode str - type str
- The type of the private zone record.
- value str
- The value of the private zone record.
- zid int
- The zid of the private zone record.
- id String
- The provider-assigned unique ID for this managed resource.
- records List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- host String
- The host of the private zone record.
- last
Operator String - The last operator account id of the private zone record.
- line String
- The subnet id of the private zone record. This field is only effected when the
intelligent_mode
of the private zone is true. - name String
- output
File String - record
Id String - The id of the private zone record.
- search
Mode String - type String
- The type of the private zone record.
- value String
- The value of the private zone record.
- zid Number
- The zid of the private zone record.
Supporting Types
GetRecordsRecord
- Created
At string - The created time of the private zone record.
- Enable bool
- Whether the private zone record is enabling.
- Host string
- The host of Private Zone Record.
- Last
Operator string - The last operator account id of Private Zone Record.
- Line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - Record
Id string - The id of Private Zone Record.
- Remark string
- The remark of the private zone record.
- Ttl int
- The ttl of the private zone record. Unit: second.
- Type string
- The type of Private Zone Record.
- Updated
At string - The updated time of the private zone record.
- Value string
- The value of Private Zone Record.
- Weight int
- The weight of the private zone record.
- Zid int
- The zid of Private Zone.
- Created
At string - The created time of the private zone record.
- Enable bool
- Whether the private zone record is enabling.
- Host string
- The host of Private Zone Record.
- Last
Operator string - The last operator account id of Private Zone Record.
- Line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - Record
Id string - The id of Private Zone Record.
- Remark string
- The remark of the private zone record.
- Ttl int
- The ttl of the private zone record. Unit: second.
- Type string
- The type of Private Zone Record.
- Updated
At string - The updated time of the private zone record.
- Value string
- The value of Private Zone Record.
- Weight int
- The weight of the private zone record.
- Zid int
- The zid of Private Zone.
- created
At String - The created time of the private zone record.
- enable Boolean
- Whether the private zone record is enabling.
- host String
- The host of Private Zone Record.
- last
Operator String - The last operator account id of Private Zone Record.
- line String
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - record
Id String - The id of Private Zone Record.
- remark String
- The remark of the private zone record.
- ttl Integer
- The ttl of the private zone record. Unit: second.
- type String
- The type of Private Zone Record.
- updated
At String - The updated time of the private zone record.
- value String
- The value of Private Zone Record.
- weight Integer
- The weight of the private zone record.
- zid Integer
- The zid of Private Zone.
- created
At string - The created time of the private zone record.
- enable boolean
- Whether the private zone record is enabling.
- host string
- The host of Private Zone Record.
- last
Operator string - The last operator account id of Private Zone Record.
- line string
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - record
Id string - The id of Private Zone Record.
- remark string
- The remark of the private zone record.
- ttl number
- The ttl of the private zone record. Unit: second.
- type string
- The type of Private Zone Record.
- updated
At string - The updated time of the private zone record.
- value string
- The value of Private Zone Record.
- weight number
- The weight of the private zone record.
- zid number
- The zid of Private Zone.
- created_
at str - The created time of the private zone record.
- enable bool
- Whether the private zone record is enabling.
- host str
- The host of Private Zone Record.
- last_
operator str - The last operator account id of Private Zone Record.
- line str
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - record_
id str - The id of Private Zone Record.
- remark str
- The remark of the private zone record.
- ttl int
- The ttl of the private zone record. Unit: second.
- type str
- The type of Private Zone Record.
- updated_
at str - The updated time of the private zone record.
- value str
- The value of Private Zone Record.
- weight int
- The weight of the private zone record.
- zid int
- The zid of Private Zone.
- created
At String - The created time of the private zone record.
- enable Boolean
- Whether the private zone record is enabling.
- host String
- The host of Private Zone Record.
- last
Operator String - The last operator account id of Private Zone Record.
- line String
- The subnet id of Private Zone Record. This field is only effected when the
intelligent_mode
of the private zone is true. - record
Id String - The id of Private Zone Record.
- remark String
- The remark of the private zone record.
- ttl Number
- The ttl of the private zone record. Unit: second.
- type String
- The type of Private Zone Record.
- updated
At String - The updated time of the private zone record.
- value String
- The value of Private Zone Record.
- weight Number
- The weight of the private zone record.
- zid Number
- The zid of Private Zone.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.