Documentation
¶
Index ¶
- type GetManagedZoneArgs
- type GetManagedZoneResult
- type ManagedZone
- func (r *ManagedZone) Description() *pulumi.StringOutput
- func (r *ManagedZone) DnsName() *pulumi.StringOutput
- func (r *ManagedZone) DnssecConfig() *pulumi.Output
- func (r *ManagedZone) ForwardingConfig() *pulumi.Output
- func (r *ManagedZone) ID() *pulumi.IDOutput
- func (r *ManagedZone) Labels() *pulumi.MapOutput
- func (r *ManagedZone) Name() *pulumi.StringOutput
- func (r *ManagedZone) NameServers() *pulumi.ArrayOutput
- func (r *ManagedZone) PeeringConfig() *pulumi.Output
- func (r *ManagedZone) PrivateVisibilityConfig() *pulumi.Output
- func (r *ManagedZone) Project() *pulumi.StringOutput
- func (r *ManagedZone) URN() *pulumi.URNOutput
- func (r *ManagedZone) Visibility() *pulumi.StringOutput
- type ManagedZoneArgs
- type ManagedZoneState
- type Policy
- func (r *Policy) AlternativeNameServerConfig() *pulumi.Output
- func (r *Policy) Description() *pulumi.StringOutput
- func (r *Policy) EnableInboundForwarding() *pulumi.BoolOutput
- func (r *Policy) EnableLogging() *pulumi.BoolOutput
- func (r *Policy) ID() *pulumi.IDOutput
- func (r *Policy) Name() *pulumi.StringOutput
- func (r *Policy) Networks() *pulumi.ArrayOutput
- func (r *Policy) Project() *pulumi.StringOutput
- func (r *Policy) URN() *pulumi.URNOutput
- type PolicyArgs
- type PolicyState
- type RecordSet
- func (r *RecordSet) ID() *pulumi.IDOutput
- func (r *RecordSet) ManagedZone() *pulumi.StringOutput
- func (r *RecordSet) Name() *pulumi.StringOutput
- func (r *RecordSet) Project() *pulumi.StringOutput
- func (r *RecordSet) Rrdatas() *pulumi.ArrayOutput
- func (r *RecordSet) Ttl() *pulumi.IntOutput
- func (r *RecordSet) Type() *pulumi.StringOutput
- func (r *RecordSet) URN() *pulumi.URNOutput
- type RecordSetArgs
- type RecordSetState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetManagedZoneArgs ¶
type GetManagedZoneArgs struct { // A unique name for the resource. Name interface{} // The ID of the project for the Google Cloud DNS zone. Project interface{} }
A collection of arguments for invoking getManagedZone.
type GetManagedZoneResult ¶
type GetManagedZoneResult struct { // A textual description field. Description interface{} // The fully qualified DNS name of this zone, e.g. `terraform.io.`. DnsName interface{} Name interface{} // The list of nameservers that will be authoritative for this // domain. Use NS records to redirect from your DNS provider to these names, // thus making Google Cloud DNS authoritative for this zone. NameServers interface{} Project interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getManagedZone.
func LookupManagedZone ¶
func LookupManagedZone(ctx *pulumi.Context, args *GetManagedZoneArgs) (*GetManagedZoneResult, error)
Provides access to a zone's attributes within Google Cloud DNS. For more information see [the official documentation](https://cloud.google.com/dns/zones/) and [API](https://cloud.google.com/dns/api/v1/managedZones).
type ManagedZone ¶
type ManagedZone struct {
// contains filtered or unexported fields
}
A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.
To get more information about ManagedZone, see:
* [API documentation](https://cloud.google.com/dns/api/v1/managedZones) * How-to Guides
- [Managing Zones](https://cloud.google.com/dns/zones/)
func GetManagedZone ¶
func GetManagedZone(ctx *pulumi.Context, name string, id pulumi.ID, state *ManagedZoneState, opts ...pulumi.ResourceOpt) (*ManagedZone, error)
GetManagedZone gets an existing ManagedZone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewManagedZone ¶
func NewManagedZone(ctx *pulumi.Context, name string, args *ManagedZoneArgs, opts ...pulumi.ResourceOpt) (*ManagedZone, error)
NewManagedZone registers a new resource with the given unique name, arguments, and options.
func (*ManagedZone) Description ¶
func (r *ManagedZone) Description() *pulumi.StringOutput
func (*ManagedZone) DnsName ¶
func (r *ManagedZone) DnsName() *pulumi.StringOutput
func (*ManagedZone) DnssecConfig ¶ added in v0.18.7
func (r *ManagedZone) DnssecConfig() *pulumi.Output
func (*ManagedZone) ForwardingConfig ¶ added in v0.18.0
func (r *ManagedZone) ForwardingConfig() *pulumi.Output
func (*ManagedZone) ID ¶
func (r *ManagedZone) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ManagedZone) Labels ¶ added in v0.16.0
func (r *ManagedZone) Labels() *pulumi.MapOutput
func (*ManagedZone) Name ¶
func (r *ManagedZone) Name() *pulumi.StringOutput
func (*ManagedZone) NameServers ¶
func (r *ManagedZone) NameServers() *pulumi.ArrayOutput
func (*ManagedZone) PeeringConfig ¶ added in v0.18.5
func (r *ManagedZone) PeeringConfig() *pulumi.Output
func (*ManagedZone) PrivateVisibilityConfig ¶ added in v0.18.0
func (r *ManagedZone) PrivateVisibilityConfig() *pulumi.Output
func (*ManagedZone) Project ¶
func (r *ManagedZone) Project() *pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (*ManagedZone) URN ¶
func (r *ManagedZone) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*ManagedZone) Visibility ¶ added in v0.18.0
func (r *ManagedZone) Visibility() *pulumi.StringOutput
type ManagedZoneArgs ¶
type ManagedZoneArgs struct { Description interface{} DnsName interface{} DnssecConfig interface{} ForwardingConfig interface{} Labels interface{} Name interface{} PeeringConfig interface{} PrivateVisibilityConfig interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} Visibility interface{} }
The set of arguments for constructing a ManagedZone resource.
type ManagedZoneState ¶
type ManagedZoneState struct { Description interface{} DnsName interface{} DnssecConfig interface{} ForwardingConfig interface{} Labels interface{} Name interface{} NameServers interface{} PeeringConfig interface{} PrivateVisibilityConfig interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} Visibility interface{} }
Input properties used for looking up and filtering ManagedZone resources.
type Policy ¶ added in v0.18.0
type Policy struct {
// contains filtered or unexported fields
}
A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.
> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider. See [Provider Versions](https://terraform.io/docs/providers/google/provider_versions.html) for more details on beta resources.
To get more information about Policy, see:
* [API documentation](https://cloud.google.com/dns/docs/reference/v1beta2/policies) * How-to Guides
- [Using DNS server policies](https://cloud.google.com/dns/zones/#using-dns-server-policies)
func GetPolicy ¶ added in v0.18.0
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *PolicyState, opts ...pulumi.ResourceOpt) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶ added in v0.18.0
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOpt) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) AlternativeNameServerConfig ¶ added in v0.18.0
func (*Policy) Description ¶ added in v0.18.0
func (r *Policy) Description() *pulumi.StringOutput
func (*Policy) EnableInboundForwarding ¶ added in v0.18.0
func (r *Policy) EnableInboundForwarding() *pulumi.BoolOutput
func (*Policy) EnableLogging ¶ added in v0.18.5
func (r *Policy) EnableLogging() *pulumi.BoolOutput
func (*Policy) ID ¶ added in v0.18.0
ID is this resource's unique identifier assigned by its provider.
func (*Policy) Name ¶ added in v0.18.0
func (r *Policy) Name() *pulumi.StringOutput
func (*Policy) Networks ¶ added in v0.18.0
func (r *Policy) Networks() *pulumi.ArrayOutput
func (*Policy) Project ¶ added in v0.18.0
func (r *Policy) Project() *pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type PolicyArgs ¶ added in v0.18.0
type PolicyArgs struct { AlternativeNameServerConfig interface{} Description interface{} EnableInboundForwarding interface{} EnableLogging interface{} Name interface{} Networks interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} }
The set of arguments for constructing a Policy resource.
type PolicyState ¶ added in v0.18.0
type PolicyState struct { AlternativeNameServerConfig interface{} Description interface{} EnableInboundForwarding interface{} EnableLogging interface{} Name interface{} Networks interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} }
Input properties used for looking up and filtering Policy resources.
type RecordSet ¶
type RecordSet struct {
// contains filtered or unexported fields
}
Manages a set of DNS records within Google Cloud DNS. For more information see [the official documentation](https://cloud.google.com/dns/records/) and [API](https://cloud.google.com/dns/api/v1/resourceRecordSets).
> **Note:** The provider treats this resource as an authoritative record set. This means existing records (including the default records) for the given type will be overwritten when you create this resource in Terraform. In addition, the Google Cloud DNS API requires NS records to be present at all times, so Terraform will not actually remove NS records during destroy but will report that it did.
func GetRecordSet ¶
func GetRecordSet(ctx *pulumi.Context, name string, id pulumi.ID, state *RecordSetState, opts ...pulumi.ResourceOpt) (*RecordSet, error)
GetRecordSet gets an existing RecordSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRecordSet ¶
func NewRecordSet(ctx *pulumi.Context, name string, args *RecordSetArgs, opts ...pulumi.ResourceOpt) (*RecordSet, error)
NewRecordSet registers a new resource with the given unique name, arguments, and options.
func (*RecordSet) ManagedZone ¶
func (r *RecordSet) ManagedZone() *pulumi.StringOutput
The name of the zone in which this record set will reside.
func (*RecordSet) Name ¶
func (r *RecordSet) Name() *pulumi.StringOutput
The DNS name this record set will apply to.
func (*RecordSet) Project ¶
func (r *RecordSet) Project() *pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (*RecordSet) Rrdatas ¶
func (r *RecordSet) Rrdatas() *pulumi.ArrayOutput
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"`).
type RecordSetArgs ¶
type RecordSetArgs struct { // The name of the zone in which this record set will // reside. ManagedZone interface{} // The DNS name this record set will apply to. Name interface{} // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // 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"`). Rrdatas interface{} // The time-to-live of this record set (seconds). Ttl interface{} // The DNS record set type. Type interface{} }
The set of arguments for constructing a RecordSet resource.
type RecordSetState ¶
type RecordSetState struct { // The name of the zone in which this record set will // reside. ManagedZone interface{} // The DNS name this record set will apply to. Name interface{} // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // 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"`). Rrdatas interface{} // The time-to-live of this record set (seconds). Ttl interface{} // The DNS record set type. Type interface{} }
Input properties used for looking up and filtering RecordSet resources.