Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.private_zone.getRecordSets
Explore with Pulumi AI
Use this data source to query detailed information of private zone record sets
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.private_zone.getRecordSets({
zid: 2450000,
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.private_zone.get_record_sets(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.GetRecordSets(ctx, &private_zone.GetRecordSetsArgs{
Zid: 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.GetRecordSets.Invoke(new()
{
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.GetRecordSetsArgs;
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.getRecordSets(GetRecordSetsArgs.builder()
.zid(2450000)
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:private_zone:getRecordSets
Arguments:
zid: 2.45e+06
Using getRecordSets
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 getRecordSets(args: GetRecordSetsArgs, opts?: InvokeOptions): Promise<GetRecordSetsResult>
function getRecordSetsOutput(args: GetRecordSetsOutputArgs, opts?: InvokeOptions): Output<GetRecordSetsResult>
def get_record_sets(host: Optional[str] = None,
output_file: Optional[str] = None,
record_set_id: Optional[str] = None,
search_mode: Optional[str] = None,
zid: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetRecordSetsResult
def get_record_sets_output(host: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
record_set_id: Optional[pulumi.Input[str]] = None,
search_mode: Optional[pulumi.Input[str]] = None,
zid: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRecordSetsResult]
func GetRecordSets(ctx *Context, args *GetRecordSetsArgs, opts ...InvokeOption) (*GetRecordSetsResult, error)
func GetRecordSetsOutput(ctx *Context, args *GetRecordSetsOutputArgs, opts ...InvokeOption) GetRecordSetsResultOutput
> Note: This function is named GetRecordSets
in the Go SDK.
public static class GetRecordSets
{
public static Task<GetRecordSetsResult> InvokeAsync(GetRecordSetsArgs args, InvokeOptions? opts = null)
public static Output<GetRecordSetsResult> Invoke(GetRecordSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRecordSetsResult> getRecordSets(GetRecordSetsArgs args, InvokeOptions options)
public static Output<GetRecordSetsResult> getRecordSets(GetRecordSetsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:private_zone/getRecordSets:getRecordSets
arguments:
# arguments dictionary
The following arguments are supported:
- Zid int
- The zid of Private Zone.
- Host string
- The host of Private Zone Record Set.
- Output
File string - File name where to save data source results.
- Record
Set stringId - The id of Private Zone Record Set.
- Search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
- Zid int
- The zid of Private Zone.
- Host string
- The host of Private Zone Record Set.
- Output
File string - File name where to save data source results.
- Record
Set stringId - The id of Private Zone Record Set.
- Search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
- zid Integer
- The zid of Private Zone.
- host String
- The host of Private Zone Record Set.
- output
File String - File name where to save data source results.
- record
Set StringId - The id of Private Zone Record Set.
- search
Mode String - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
- zid number
- The zid of Private Zone.
- host string
- The host of Private Zone Record Set.
- output
File string - File name where to save data source results.
- record
Set stringId - The id of Private Zone Record Set.
- search
Mode string - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
- zid int
- The zid of Private Zone.
- host str
- The host of Private Zone Record Set.
- output_
file str - File name where to save data source results.
- record_
set_ strid - The id of Private Zone Record Set.
- search_
mode str - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
- zid Number
- The zid of Private Zone.
- host String
- The host of Private Zone Record Set.
- output
File String - File name where to save data source results.
- record
Set StringId - The id of Private Zone Record Set.
- search
Mode String - The search mode of query
host
. Valid values:LIKE
,EXACT
. Default isLIKE
.
getRecordSets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Record
Sets List<GetRecord Sets Record Set> - The collection of query.
- Total
Count int - The total count of query.
- Zid int
- Host string
- The host of the private zone record.
- Output
File string - Record
Set stringId - The id of the private zone record set.
- Search
Mode string
- Id string
- The provider-assigned unique ID for this managed resource.
- Record
Sets []GetRecord Sets Record Set - The collection of query.
- Total
Count int - The total count of query.
- Zid int
- Host string
- The host of the private zone record.
- Output
File string - Record
Set stringId - The id of the private zone record set.
- Search
Mode string
- id String
- The provider-assigned unique ID for this managed resource.
- record
Sets List<GetRecord Sets Record Set> - The collection of query.
- total
Count Integer - The total count of query.
- zid Integer
- host String
- The host of the private zone record.
- output
File String - record
Set StringId - The id of the private zone record set.
- search
Mode String
- id string
- The provider-assigned unique ID for this managed resource.
- record
Sets GetRecord Sets Record Set[] - The collection of query.
- total
Count number - The total count of query.
- zid number
- host string
- The host of the private zone record.
- output
File string - record
Set stringId - The id of the private zone record set.
- search
Mode string
- id str
- The provider-assigned unique ID for this managed resource.
- record_
sets Sequence[GetRecord Sets Record Set] - The collection of query.
- total_
count int - The total count of query.
- zid int
- host str
- The host of the private zone record.
- output_
file str - record_
set_ strid - The id of the private zone record set.
- search_
mode str
- id String
- The provider-assigned unique ID for this managed resource.
- record
Sets List<Property Map> - The collection of query.
- total
Count Number - The total count of query.
- zid Number
- host String
- The host of the private zone record.
- output
File String - record
Set StringId - The id of the private zone record set.
- search
Mode String
Supporting Types
GetRecordSetsRecordSet
- Fqdn string
- The Complete domain name of the private zone record.
- Host string
- The host of Private Zone Record Set.
- 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. - Record
Set stringId - The id of Private Zone Record Set.
- Type string
- The type of the private zone record.
- Weight
Enabled bool - Whether to enable the load balance of the private zone record set.
- Fqdn string
- The Complete domain name of the private zone record.
- Host string
- The host of Private Zone Record Set.
- 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. - Record
Set stringId - The id of Private Zone Record Set.
- Type string
- The type of the private zone record.
- Weight
Enabled bool - Whether to enable the load balance of the private zone record set.
- fqdn String
- The Complete domain name of the private zone record.
- host String
- The host of Private Zone Record Set.
- 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. - record
Set StringId - The id of Private Zone Record Set.
- type String
- The type of the private zone record.
- weight
Enabled Boolean - Whether to enable the load balance of the private zone record set.
- fqdn string
- The Complete domain name of the private zone record.
- host string
- The host of Private Zone Record Set.
- 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. - record
Set stringId - The id of Private Zone Record Set.
- type string
- The type of the private zone record.
- weight
Enabled boolean - Whether to enable the load balance of the private zone record set.
- fqdn str
- The Complete domain name of the private zone record.
- host str
- The host of Private Zone Record Set.
- 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. - record_
set_ strid - The id of Private Zone Record Set.
- type str
- The type of the private zone record.
- weight_
enabled bool - Whether to enable the load balance of the private zone record set.
- fqdn String
- The Complete domain name of the private zone record.
- host String
- The host of Private Zone Record Set.
- 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. - record
Set StringId - The id of Private Zone Record Set.
- type String
- The type of the private zone record.
- weight
Enabled Boolean - Whether to enable the load balance of the private zone record set.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.