Google Native

Pulumi Official
Package maintained by Pulumi
v0.19.1 published on Tuesday, May 24, 2022 by Pulumi

getResourceRecordSet

Fetches the representation of an existing ResourceRecordSet.

Using getResourceRecordSet

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 getResourceRecordSet(args: GetResourceRecordSetArgs, opts?: InvokeOptions): Promise<GetResourceRecordSetResult>
function getResourceRecordSetOutput(args: GetResourceRecordSetOutputArgs, opts?: InvokeOptions): Output<GetResourceRecordSetResult>
def get_resource_record_set(client_operation_id: Optional[str] = None,
                            location: Optional[str] = None,
                            managed_zone: Optional[str] = None,
                            name: Optional[str] = None,
                            project: Optional[str] = None,
                            type: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetResourceRecordSetResult
def get_resource_record_set_output(client_operation_id: Optional[pulumi.Input[str]] = None,
                            location: Optional[pulumi.Input[str]] = None,
                            managed_zone: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            project: Optional[pulumi.Input[str]] = None,
                            type: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetResourceRecordSetResult]
func LookupResourceRecordSet(ctx *Context, args *LookupResourceRecordSetArgs, opts ...InvokeOption) (*LookupResourceRecordSetResult, error)
func LookupResourceRecordSetOutput(ctx *Context, args *LookupResourceRecordSetOutputArgs, opts ...InvokeOption) LookupResourceRecordSetResultOutput

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

public static class GetResourceRecordSet 
{
    public static Task<GetResourceRecordSetResult> InvokeAsync(GetResourceRecordSetArgs args, InvokeOptions? opts = null)
    public static Output<GetResourceRecordSetResult> Invoke(GetResourceRecordSetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResourceRecordSetResult> getResourceRecordSet(GetResourceRecordSetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:dns/v2:getResourceRecordSet
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Location string
ManagedZone string
Name string
Type string
ClientOperationId string
Project string
Location string
ManagedZone string
Name string
Type string
ClientOperationId string
Project string
location String
managedZone String
name String
type String
clientOperationId String
project String
location string
managedZone string
name string
type string
clientOperationId string
project string
location String
managedZone String
name String
type String
clientOperationId String
project String

getResourceRecordSet Result

The following output properties are available:

Kind string
Name string

For example, www.example.com.

RoutingPolicy Pulumi.GoogleNative.DNS.V2.Outputs.RRSetRoutingPolicyResponse

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

Rrdatas List<string>

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

SignatureRrdatas List<string>

As defined in RFC 4034 (section 3.2).

Ttl int

Number of seconds that this ResourceRecordSet can be cached by resolvers.

Type string

The identifier of a supported record type. See the list of Supported DNS record types.

Kind string
Name string

For example, www.example.com.

RoutingPolicy RRSetRoutingPolicyResponse

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

Rrdatas []string

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

SignatureRrdatas []string

As defined in RFC 4034 (section 3.2).

Ttl int

Number of seconds that this ResourceRecordSet can be cached by resolvers.

Type string

The identifier of a supported record type. See the list of Supported DNS record types.

kind String
name String

For example, www.example.com.

routingPolicy RRSetRoutingPolicyResponse

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

rrdatas List

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

signatureRrdatas List

As defined in RFC 4034 (section 3.2).

ttl Integer

Number of seconds that this ResourceRecordSet can be cached by resolvers.

type String

The identifier of a supported record type. See the list of Supported DNS record types.

kind string
name string

For example, www.example.com.

routingPolicy RRSetRoutingPolicyResponse

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

rrdatas string[]

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

signatureRrdatas string[]

As defined in RFC 4034 (section 3.2).

ttl number

Number of seconds that this ResourceRecordSet can be cached by resolvers.

type string

The identifier of a supported record type. See the list of Supported DNS record types.

kind str
name str

For example, www.example.com.

routing_policy RRSetRoutingPolicyResponse

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

rrdatas Sequence[str]

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

signature_rrdatas Sequence[str]

As defined in RFC 4034 (section 3.2).

ttl int

Number of seconds that this ResourceRecordSet can be cached by resolvers.

type str

The identifier of a supported record type. See the list of Supported DNS record types.

kind String
name String

For example, www.example.com.

routingPolicy Property Map

Configures dynamic query responses based on geo location of querying user or a weighted round robin based routing policy. A ResourceRecordSet should only have either rrdata (static) or routing_policy (dynamic). An error is returned otherwise.

rrdatas List

As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.

signatureRrdatas List

As defined in RFC 4034 (section 3.2).

ttl Number

Number of seconds that this ResourceRecordSet can be cached by resolvers.

type String

The identifier of a supported record type. See the list of Supported DNS record types.

Supporting Types

RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse

Kind string
Location string

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

Rrdatas List<string>
SignatureRrdatas List<string>

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

Kind string
Location string

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

Rrdatas []string
SignatureRrdatas []string

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

kind String
location String

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

rrdatas List
signatureRrdatas List

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

kind string
location string

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

rrdatas string[]
signatureRrdatas string[]

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

kind str
location str

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

rrdatas Sequence[str]
signature_rrdatas Sequence[str]

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

kind String
location String

The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc.

rrdatas List
signatureRrdatas List

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

RRSetRoutingPolicyGeoPolicyResponse

Items List<Pulumi.GoogleNative.DNS.V2.Inputs.RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse>

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

Kind string
Items []RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

Kind string
items ListRoutingPolicyGeoPolicyGeoPolicyItemResponse>

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

kind String
items RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse[]

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

kind string
items Sequence[RRSetRoutingPolicyGeoPolicyGeoPolicyItemResponse]

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

kind str
items List

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

kind String

RRSetRoutingPolicyResponse

RRSetRoutingPolicyWrrPolicyResponse

RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse

Kind string
Rrdatas List<string>
SignatureRrdatas List<string>

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

Weight double

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

Kind string
Rrdatas []string
SignatureRrdatas []string

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

Weight float64

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

kind String
rrdatas List
signatureRrdatas List

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

weight Double

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

kind string
rrdatas string[]
signatureRrdatas string[]

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

weight number

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

kind str
rrdatas Sequence[str]
signature_rrdatas Sequence[str]

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

weight float

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

kind String
rrdatas List
signatureRrdatas List

DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 ip per item. .

weight Number

The weight corresponding to this subset of rrdata. When multiple WeightedRoundRobinPolicyItems are configured, the probability of returning an rrset is proportional to its weight relative to the sum of weights configured for all items. This weight should be non-negative.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0