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. `example.com.`. 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).
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/d/dns_managed_zone.html.markdown.
type ManagedZone ¶
type ManagedZone struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/dns_managed_zone.html.markdown.
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
A textual description field. Defaults to 'Managed by Terraform'.
func (*ManagedZone) DnsName ¶
func (r *ManagedZone) DnsName() pulumi.StringOutput
The DNS name of this managed zone, for instance "example.com.".
func (*ManagedZone) DnssecConfig ¶ added in v0.18.7
func (r *ManagedZone) DnssecConfig() pulumi.Output
DNSSEC configuration
func (*ManagedZone) ForwardingConfig ¶ added in v0.18.0
func (r *ManagedZone) ForwardingConfig() pulumi.Output
The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
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
A set of key/value label pairs to assign to this ManagedZone.
func (*ManagedZone) Name ¶
func (r *ManagedZone) Name() pulumi.StringOutput
User assigned name for this resource. Must be unique within the project.
func (*ManagedZone) NameServers ¶
func (r *ManagedZone) NameServers() pulumi.ArrayOutput
Delegate your managed_zone to these virtual name servers; defined by the server
func (*ManagedZone) PeeringConfig ¶ added in v0.18.5
func (r *ManagedZone) PeeringConfig() pulumi.Output
The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
func (*ManagedZone) PrivateVisibilityConfig ¶ added in v0.18.0
func (r *ManagedZone) PrivateVisibilityConfig() pulumi.Output
For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
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
The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. Must be one of: 'public', 'private'.
type ManagedZoneArgs ¶
type ManagedZoneArgs struct { // A textual description field. Defaults to 'Managed by Terraform'. Description interface{} // The DNS name of this managed zone, for instance "example.com.". DnsName interface{} // DNSSEC configuration DnssecConfig interface{} // The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field // contains the set of destinations to forward to. ForwardingConfig interface{} // A set of key/value label pairs to assign to this ManagedZone. Labels interface{} // User assigned name for this resource. Must be unique within the project. Name interface{} // The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the // network to peer with. PeeringConfig interface{} // For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. PrivateVisibilityConfig interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} // The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual // Private Cloud resources. Must be one of: 'public', 'private'. Visibility interface{} }
The set of arguments for constructing a ManagedZone resource.
type ManagedZoneState ¶
type ManagedZoneState struct { // A textual description field. Defaults to 'Managed by Terraform'. Description interface{} // The DNS name of this managed zone, for instance "example.com.". DnsName interface{} // DNSSEC configuration DnssecConfig interface{} // The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field // contains the set of destinations to forward to. ForwardingConfig interface{} // A set of key/value label pairs to assign to this ManagedZone. Labels interface{} // User assigned name for this resource. Must be unique within the project. Name interface{} // Delegate your managed_zone to these virtual name servers; defined by the server NameServers interface{} // The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the // network to peer with. PeeringConfig interface{} // For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. PrivateVisibilityConfig interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} // The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual // Private Cloud resources. Must be one of: 'public', 'private'. 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
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/dns_policy.html.markdown.
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
Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
func (*Policy) Description ¶ added in v0.18.0
func (r *Policy) Description() pulumi.StringOutput
A textual description field. Defaults to 'Managed by Terraform'.
func (*Policy) EnableInboundForwarding ¶ added in v0.18.0
func (r *Policy) EnableInboundForwarding() pulumi.BoolOutput
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.
func (*Policy) EnableLogging ¶ added in v0.18.5
func (r *Policy) EnableLogging() pulumi.BoolOutput
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
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
User assigned name for this policy.
func (*Policy) Networks ¶ added in v0.18.0
func (r *Policy) Networks() pulumi.ArrayOutput
List of network names specifying networks to which this policy is applied.
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 { // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name // server that you choose. Names such as .internal are not available when an alternative name server is specified. AlternativeNameServerConfig interface{} // A textual description field. Defaults to 'Managed by Terraform'. Description interface{} // Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When // enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy. EnableInboundForwarding interface{} // Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. EnableLogging interface{} // User assigned name for this policy. Name interface{} // List of network names specifying networks to which this policy is applied. 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 { // Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name // server that you choose. Names such as .internal are not available when an alternative name server is specified. AlternativeNameServerConfig interface{} // A textual description field. Defaults to 'Managed by Terraform'. Description interface{} // Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When // enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy. EnableInboundForwarding interface{} // Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set. EnableLogging interface{} // User assigned name for this policy. Name interface{} // List of network names specifying networks to which this policy is applied. 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 with this provider. In addition, the Google Cloud DNS API requires NS records to be present at all times, so this provider will not actually remove NS records during destroy but will report that it did.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/dns_record_set.html.markdown.
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 this provider's 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 this provider's 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 this provider's 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.