RecordSetArgs class
The set of arguments for RecordSet. The set of arguments for RecordSet.
Constructors
-
RecordSetArgs({Input<
String?> ? deletionPolicy, required Input<String> managedZone, required Input<String> name, Input<String?> ? project, Input<RecordSetRoutingPolicy?> ? routingPolicy, Input<List< ? rrdatas, Input<String> ?>int?> ? ttl, required Input<String> type}) -
Creates a new RecordSetArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".managedZoneThe name of the zone in which this record set willnameThe DNS name this record set will apply to.projectThe ID of the project in which the resource belongs. If itroutingPolicyThe configuration for steering traffic based on query.rrdatasThe string data for the records in this record setttlThe time-to-live of this record set (seconds).typeThe DNS record set type.const -
RecordSetArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
managedZone
→ Input<
String> -
The name of the zone in which this record set will
reside.
final
-
name
→ Input<
String> -
The DNS name this record set will apply to.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs. If it
is not provided, the provider project is used.
final
-
routingPolicy
→ Input<
RecordSetRoutingPolicy?> ? -
The configuration for steering traffic based on query.
Now you can specify either Weighted Round Robin(WRR) type or Geolocation(GEO) type.
Structure is documented below.
final
-
rrdatas
→ Input<
List< ?String> ?> -
The string data for the records in this record set
whose meaning depends on the DNS type. For TXT record, if the string data contains spaces, add surrounding
\"if you don't want your string to get split on spaces. To specify a single record value longer than 255 characters such as a TXT record for DKIM, add\" \"inside the Terraform configuration string (e.g."first255characters\" \"morecharacters").final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
ttl
→ Input<
int?> ? -
The time-to-live of this record set (seconds).
final
-
type
→ Input<
String> -
The DNS record set type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited