Google Native
ResourceRecordSet
Creates a new ResourceRecordSet.
Create a ResourceRecordSet Resource
new ResourceRecordSet(name: string, args: ResourceRecordSetArgs, opts?: CustomResourceOptions);
@overload
def ResourceRecordSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
client_operation_id: Optional[str] = None,
kind: Optional[str] = None,
managed_zone: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
routing_policy: Optional[RRSetRoutingPolicyArgs] = None,
rrdatas: Optional[Sequence[str]] = None,
signature_rrdatas: Optional[Sequence[str]] = None,
ttl: Optional[int] = None,
type: Optional[str] = None)
@overload
def ResourceRecordSet(resource_name: str,
args: ResourceRecordSetInitArgs,
opts: Optional[ResourceOptions] = None)
func NewResourceRecordSet(ctx *Context, name string, args ResourceRecordSetArgs, opts ...ResourceOption) (*ResourceRecordSet, error)
public ResourceRecordSet(string name, ResourceRecordSetArgs args, CustomResourceOptions? opts = null)
public ResourceRecordSet(String name, ResourceRecordSetArgs args)
public ResourceRecordSet(String name, ResourceRecordSetArgs args, CustomResourceOptions options)
type: google-native:dns/v1beta2:ResourceRecordSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceRecordSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResourceRecordSetInitArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResourceRecordSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceRecordSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceRecordSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ResourceRecordSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ResourceRecordSet resource accepts the following input properties:
- Managed
Zone string - Client
Operation stringId For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- Kind string
- Name string
For example, www.example.com.
- Project string
- Routing
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Args 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.
- Signature
Rrdatas 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.
- Managed
Zone string - Client
Operation stringId For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- Kind string
- Name string
For example, www.example.com.
- Project string
- Routing
Policy RRSetRouting Policy Args 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.
- Signature
Rrdatas []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.
- managed
Zone String - client
Operation StringId For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- kind String
- name String
For example, www.example.com.
- project String
- routing
Policy RRSetRouting Policy Args 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.
- signature
Rrdatas List<String> 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.
- managed
Zone string - client
Operation stringId For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- kind string
- name string
For example, www.example.com.
- project string
- routing
Policy RRSetRouting Policy Args 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.
- signature
Rrdatas 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.
- managed_
zone str - client_
operation_ strid For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- kind str
- name str
For example, www.example.com.
- project str
- routing_
policy RRSetRouting Policy Args 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.
- managed
Zone String - client
Operation StringId For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
- kind String
- name String
For example, www.example.com.
- project String
- routing
Policy 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<String>
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
- signature
Rrdatas List<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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceRecordSet resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
RRSetRoutingPolicy
- Geo
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy - Geo
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy - Kind string
- Wrr
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy - Wrr
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy
RRSetRoutingPolicyGeoPolicy
- Items
List<Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Geo Policy Item> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- Items
[]RRSet
Routing Policy Geo Policy Geo Policy Item The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- items
List<RRSet
Routing Policy Geo Policy Geo Policy Item> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
- items
RRSet
Routing Policy Geo Policy Geo Policy Item[] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind string
- items
Sequence[RRSet
Routing Policy Geo Policy Geo Policy Item] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind str
- items List<Property Map>
The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
RRSetRoutingPolicyGeoPolicyGeoPolicyItem
- 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>
- Signature
Rrdatas 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
- Signature
Rrdatas []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<String>
- signature
Rrdatas 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[]
- signature
Rrdatas 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<String>
- signature
Rrdatas 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. .
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>
- Signature
Rrdatas 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
- Signature
Rrdatas []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<String>
- signature
Rrdatas 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[]
- signature
Rrdatas 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<String>
- signature
Rrdatas 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. .
RRSetRoutingPolicyGeoPolicyResponse
- Items
List<Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Geo Policy Item Response> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- Items
[]RRSet
Routing Policy Geo Policy Geo Policy Item Response The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- Kind string
- items
List<RRSet
Routing Policy Geo Policy Geo Policy Item Response> The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
- items
RRSet
Routing Policy Geo Policy Geo Policy Item Response[] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind string
- items
Sequence[RRSet
Routing Policy Geo Policy Geo Policy Item Response] The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind str
- items List<Property Map>
The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
- kind String
RRSetRoutingPolicyResponse
- Geo
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Response - Geo
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Geo Policy Response - Kind string
- Wrr
Pulumi.
Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy Response - Wrr
Policy Pulumi.Google Native. DNS. V1Beta2. Inputs. RRSet Routing Policy Wrr Policy Response
RRSetRoutingPolicyWrrPolicy
- items List<Property Map>
- kind String
RRSetRoutingPolicyWrrPolicyResponse
- items List<Property Map>
- kind String
RRSetRoutingPolicyWrrPolicyWrrPolicyItem
- Kind string
- Rrdatas List<string>
- Signature
Rrdatas 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
- Signature
Rrdatas []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<String>
- signature
Rrdatas 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[]
- signature
Rrdatas 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<String>
- signature
Rrdatas 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 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.
RRSetRoutingPolicyWrrPolicyWrrPolicyItemResponse
- Kind string
- Rrdatas List<string>
- Signature
Rrdatas 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
- Signature
Rrdatas []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<String>
- signature
Rrdatas 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[]
- signature
Rrdatas 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<String>
- signature
Rrdatas 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 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