dns

package
v0.0.0-...-c33e12d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRecordGeoIp

type GetRecordGeoIp struct {
	// The list of matches
	Matches []GetRecordGeoIpMatch `pulumi:"matches"`
}

type GetRecordGeoIpArgs

type GetRecordGeoIpArgs struct {
	// The list of matches
	Matches GetRecordGeoIpMatchArrayInput `pulumi:"matches"`
}

func (GetRecordGeoIpArgs) ElementType

func (GetRecordGeoIpArgs) ElementType() reflect.Type

func (GetRecordGeoIpArgs) ToGetRecordGeoIpOutput

func (i GetRecordGeoIpArgs) ToGetRecordGeoIpOutput() GetRecordGeoIpOutput

func (GetRecordGeoIpArgs) ToGetRecordGeoIpOutputWithContext

func (i GetRecordGeoIpArgs) ToGetRecordGeoIpOutputWithContext(ctx context.Context) GetRecordGeoIpOutput

type GetRecordGeoIpArray

type GetRecordGeoIpArray []GetRecordGeoIpInput

func (GetRecordGeoIpArray) ElementType

func (GetRecordGeoIpArray) ElementType() reflect.Type

func (GetRecordGeoIpArray) ToGetRecordGeoIpArrayOutput

func (i GetRecordGeoIpArray) ToGetRecordGeoIpArrayOutput() GetRecordGeoIpArrayOutput

func (GetRecordGeoIpArray) ToGetRecordGeoIpArrayOutputWithContext

func (i GetRecordGeoIpArray) ToGetRecordGeoIpArrayOutputWithContext(ctx context.Context) GetRecordGeoIpArrayOutput

type GetRecordGeoIpArrayInput

type GetRecordGeoIpArrayInput interface {
	pulumi.Input

	ToGetRecordGeoIpArrayOutput() GetRecordGeoIpArrayOutput
	ToGetRecordGeoIpArrayOutputWithContext(context.Context) GetRecordGeoIpArrayOutput
}

GetRecordGeoIpArrayInput is an input type that accepts GetRecordGeoIpArray and GetRecordGeoIpArrayOutput values. You can construct a concrete instance of `GetRecordGeoIpArrayInput` via:

GetRecordGeoIpArray{ GetRecordGeoIpArgs{...} }

type GetRecordGeoIpArrayOutput

type GetRecordGeoIpArrayOutput struct{ *pulumi.OutputState }

func (GetRecordGeoIpArrayOutput) ElementType

func (GetRecordGeoIpArrayOutput) ElementType() reflect.Type

func (GetRecordGeoIpArrayOutput) Index

func (GetRecordGeoIpArrayOutput) ToGetRecordGeoIpArrayOutput

func (o GetRecordGeoIpArrayOutput) ToGetRecordGeoIpArrayOutput() GetRecordGeoIpArrayOutput

func (GetRecordGeoIpArrayOutput) ToGetRecordGeoIpArrayOutputWithContext

func (o GetRecordGeoIpArrayOutput) ToGetRecordGeoIpArrayOutputWithContext(ctx context.Context) GetRecordGeoIpArrayOutput

type GetRecordGeoIpInput

type GetRecordGeoIpInput interface {
	pulumi.Input

	ToGetRecordGeoIpOutput() GetRecordGeoIpOutput
	ToGetRecordGeoIpOutputWithContext(context.Context) GetRecordGeoIpOutput
}

GetRecordGeoIpInput is an input type that accepts GetRecordGeoIpArgs and GetRecordGeoIpOutput values. You can construct a concrete instance of `GetRecordGeoIpInput` via:

GetRecordGeoIpArgs{...}

type GetRecordGeoIpMatch

type GetRecordGeoIpMatch struct {
	// List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents
	Continents []string `pulumi:"continents"`
	// List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries
	Countries []string `pulumi:"countries"`
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data string `pulumi:"data"`
}

type GetRecordGeoIpMatchArgs

type GetRecordGeoIpMatchArgs struct {
	// List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents
	Continents pulumi.StringArrayInput `pulumi:"continents"`
	// List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries
	Countries pulumi.StringArrayInput `pulumi:"countries"`
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data pulumi.StringInput `pulumi:"data"`
}

func (GetRecordGeoIpMatchArgs) ElementType

func (GetRecordGeoIpMatchArgs) ElementType() reflect.Type

func (GetRecordGeoIpMatchArgs) ToGetRecordGeoIpMatchOutput

func (i GetRecordGeoIpMatchArgs) ToGetRecordGeoIpMatchOutput() GetRecordGeoIpMatchOutput

func (GetRecordGeoIpMatchArgs) ToGetRecordGeoIpMatchOutputWithContext

func (i GetRecordGeoIpMatchArgs) ToGetRecordGeoIpMatchOutputWithContext(ctx context.Context) GetRecordGeoIpMatchOutput

type GetRecordGeoIpMatchArray

type GetRecordGeoIpMatchArray []GetRecordGeoIpMatchInput

func (GetRecordGeoIpMatchArray) ElementType

func (GetRecordGeoIpMatchArray) ElementType() reflect.Type

func (GetRecordGeoIpMatchArray) ToGetRecordGeoIpMatchArrayOutput

func (i GetRecordGeoIpMatchArray) ToGetRecordGeoIpMatchArrayOutput() GetRecordGeoIpMatchArrayOutput

func (GetRecordGeoIpMatchArray) ToGetRecordGeoIpMatchArrayOutputWithContext

func (i GetRecordGeoIpMatchArray) ToGetRecordGeoIpMatchArrayOutputWithContext(ctx context.Context) GetRecordGeoIpMatchArrayOutput

type GetRecordGeoIpMatchArrayInput

type GetRecordGeoIpMatchArrayInput interface {
	pulumi.Input

	ToGetRecordGeoIpMatchArrayOutput() GetRecordGeoIpMatchArrayOutput
	ToGetRecordGeoIpMatchArrayOutputWithContext(context.Context) GetRecordGeoIpMatchArrayOutput
}

GetRecordGeoIpMatchArrayInput is an input type that accepts GetRecordGeoIpMatchArray and GetRecordGeoIpMatchArrayOutput values. You can construct a concrete instance of `GetRecordGeoIpMatchArrayInput` via:

GetRecordGeoIpMatchArray{ GetRecordGeoIpMatchArgs{...} }

type GetRecordGeoIpMatchArrayOutput

type GetRecordGeoIpMatchArrayOutput struct{ *pulumi.OutputState }

func (GetRecordGeoIpMatchArrayOutput) ElementType

func (GetRecordGeoIpMatchArrayOutput) Index

func (GetRecordGeoIpMatchArrayOutput) ToGetRecordGeoIpMatchArrayOutput

func (o GetRecordGeoIpMatchArrayOutput) ToGetRecordGeoIpMatchArrayOutput() GetRecordGeoIpMatchArrayOutput

func (GetRecordGeoIpMatchArrayOutput) ToGetRecordGeoIpMatchArrayOutputWithContext

func (o GetRecordGeoIpMatchArrayOutput) ToGetRecordGeoIpMatchArrayOutputWithContext(ctx context.Context) GetRecordGeoIpMatchArrayOutput

type GetRecordGeoIpMatchInput

type GetRecordGeoIpMatchInput interface {
	pulumi.Input

	ToGetRecordGeoIpMatchOutput() GetRecordGeoIpMatchOutput
	ToGetRecordGeoIpMatchOutputWithContext(context.Context) GetRecordGeoIpMatchOutput
}

GetRecordGeoIpMatchInput is an input type that accepts GetRecordGeoIpMatchArgs and GetRecordGeoIpMatchOutput values. You can construct a concrete instance of `GetRecordGeoIpMatchInput` via:

GetRecordGeoIpMatchArgs{...}

type GetRecordGeoIpMatchOutput

type GetRecordGeoIpMatchOutput struct{ *pulumi.OutputState }

func (GetRecordGeoIpMatchOutput) Continents

List of continents (eg: EU for Europe, NA for North America, AS for Asia...). List of all continents code: https://api.scaleway.com/domain-private/v2beta1/continents

func (GetRecordGeoIpMatchOutput) Countries

List of countries (eg: FR for France, US for the United States, GB for Great Britain...). List of all countries code: https://api.scaleway.com/domain-private/v2beta1/countries

func (GetRecordGeoIpMatchOutput) Data

The content of the record (an IPv4 for an `A`, a string for a `TXT`...). Cannot be used with `recordId`.

func (GetRecordGeoIpMatchOutput) ElementType

func (GetRecordGeoIpMatchOutput) ElementType() reflect.Type

func (GetRecordGeoIpMatchOutput) ToGetRecordGeoIpMatchOutput

func (o GetRecordGeoIpMatchOutput) ToGetRecordGeoIpMatchOutput() GetRecordGeoIpMatchOutput

func (GetRecordGeoIpMatchOutput) ToGetRecordGeoIpMatchOutputWithContext

func (o GetRecordGeoIpMatchOutput) ToGetRecordGeoIpMatchOutputWithContext(ctx context.Context) GetRecordGeoIpMatchOutput

type GetRecordGeoIpOutput

type GetRecordGeoIpOutput struct{ *pulumi.OutputState }

func (GetRecordGeoIpOutput) ElementType

func (GetRecordGeoIpOutput) ElementType() reflect.Type

func (GetRecordGeoIpOutput) Matches

The list of matches

func (GetRecordGeoIpOutput) ToGetRecordGeoIpOutput

func (o GetRecordGeoIpOutput) ToGetRecordGeoIpOutput() GetRecordGeoIpOutput

func (GetRecordGeoIpOutput) ToGetRecordGeoIpOutputWithContext

func (o GetRecordGeoIpOutput) ToGetRecordGeoIpOutputWithContext(ctx context.Context) GetRecordGeoIpOutput

type GetRecordHttpService

type GetRecordHttpService struct {
	// IPs to check
	Ips []string `pulumi:"ips"`
	// Text to search
	MustContain string `pulumi:"mustContain"`
	// Strategy to return an IP from the IPs list
	Strategy string `pulumi:"strategy"`
	// URL to match the mustContain text to validate an IP
	Url string `pulumi:"url"`
	// User-agent used when checking the URL
	UserAgent string `pulumi:"userAgent"`
}

type GetRecordHttpServiceArgs

type GetRecordHttpServiceArgs struct {
	// IPs to check
	Ips pulumi.StringArrayInput `pulumi:"ips"`
	// Text to search
	MustContain pulumi.StringInput `pulumi:"mustContain"`
	// Strategy to return an IP from the IPs list
	Strategy pulumi.StringInput `pulumi:"strategy"`
	// URL to match the mustContain text to validate an IP
	Url pulumi.StringInput `pulumi:"url"`
	// User-agent used when checking the URL
	UserAgent pulumi.StringInput `pulumi:"userAgent"`
}

func (GetRecordHttpServiceArgs) ElementType

func (GetRecordHttpServiceArgs) ElementType() reflect.Type

func (GetRecordHttpServiceArgs) ToGetRecordHttpServiceOutput

func (i GetRecordHttpServiceArgs) ToGetRecordHttpServiceOutput() GetRecordHttpServiceOutput

func (GetRecordHttpServiceArgs) ToGetRecordHttpServiceOutputWithContext

func (i GetRecordHttpServiceArgs) ToGetRecordHttpServiceOutputWithContext(ctx context.Context) GetRecordHttpServiceOutput

type GetRecordHttpServiceArray

type GetRecordHttpServiceArray []GetRecordHttpServiceInput

func (GetRecordHttpServiceArray) ElementType

func (GetRecordHttpServiceArray) ElementType() reflect.Type

func (GetRecordHttpServiceArray) ToGetRecordHttpServiceArrayOutput

func (i GetRecordHttpServiceArray) ToGetRecordHttpServiceArrayOutput() GetRecordHttpServiceArrayOutput

func (GetRecordHttpServiceArray) ToGetRecordHttpServiceArrayOutputWithContext

func (i GetRecordHttpServiceArray) ToGetRecordHttpServiceArrayOutputWithContext(ctx context.Context) GetRecordHttpServiceArrayOutput

type GetRecordHttpServiceArrayInput

type GetRecordHttpServiceArrayInput interface {
	pulumi.Input

	ToGetRecordHttpServiceArrayOutput() GetRecordHttpServiceArrayOutput
	ToGetRecordHttpServiceArrayOutputWithContext(context.Context) GetRecordHttpServiceArrayOutput
}

GetRecordHttpServiceArrayInput is an input type that accepts GetRecordHttpServiceArray and GetRecordHttpServiceArrayOutput values. You can construct a concrete instance of `GetRecordHttpServiceArrayInput` via:

GetRecordHttpServiceArray{ GetRecordHttpServiceArgs{...} }

type GetRecordHttpServiceArrayOutput

type GetRecordHttpServiceArrayOutput struct{ *pulumi.OutputState }

func (GetRecordHttpServiceArrayOutput) ElementType

func (GetRecordHttpServiceArrayOutput) Index

func (GetRecordHttpServiceArrayOutput) ToGetRecordHttpServiceArrayOutput

func (o GetRecordHttpServiceArrayOutput) ToGetRecordHttpServiceArrayOutput() GetRecordHttpServiceArrayOutput

func (GetRecordHttpServiceArrayOutput) ToGetRecordHttpServiceArrayOutputWithContext

func (o GetRecordHttpServiceArrayOutput) ToGetRecordHttpServiceArrayOutputWithContext(ctx context.Context) GetRecordHttpServiceArrayOutput

type GetRecordHttpServiceInput

type GetRecordHttpServiceInput interface {
	pulumi.Input

	ToGetRecordHttpServiceOutput() GetRecordHttpServiceOutput
	ToGetRecordHttpServiceOutputWithContext(context.Context) GetRecordHttpServiceOutput
}

GetRecordHttpServiceInput is an input type that accepts GetRecordHttpServiceArgs and GetRecordHttpServiceOutput values. You can construct a concrete instance of `GetRecordHttpServiceInput` via:

GetRecordHttpServiceArgs{...}

type GetRecordHttpServiceOutput

type GetRecordHttpServiceOutput struct{ *pulumi.OutputState }

func (GetRecordHttpServiceOutput) ElementType

func (GetRecordHttpServiceOutput) ElementType() reflect.Type

func (GetRecordHttpServiceOutput) Ips

IPs to check

func (GetRecordHttpServiceOutput) MustContain

Text to search

func (GetRecordHttpServiceOutput) Strategy

Strategy to return an IP from the IPs list

func (GetRecordHttpServiceOutput) ToGetRecordHttpServiceOutput

func (o GetRecordHttpServiceOutput) ToGetRecordHttpServiceOutput() GetRecordHttpServiceOutput

func (GetRecordHttpServiceOutput) ToGetRecordHttpServiceOutputWithContext

func (o GetRecordHttpServiceOutput) ToGetRecordHttpServiceOutputWithContext(ctx context.Context) GetRecordHttpServiceOutput

func (GetRecordHttpServiceOutput) Url

URL to match the mustContain text to validate an IP

func (GetRecordHttpServiceOutput) UserAgent

User-agent used when checking the URL

type GetRecordView

type GetRecordView struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data string `pulumi:"data"`
	// The subnet of the view
	Subnet string `pulumi:"subnet"`
}

type GetRecordViewArgs

type GetRecordViewArgs struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data pulumi.StringInput `pulumi:"data"`
	// The subnet of the view
	Subnet pulumi.StringInput `pulumi:"subnet"`
}

func (GetRecordViewArgs) ElementType

func (GetRecordViewArgs) ElementType() reflect.Type

func (GetRecordViewArgs) ToGetRecordViewOutput

func (i GetRecordViewArgs) ToGetRecordViewOutput() GetRecordViewOutput

func (GetRecordViewArgs) ToGetRecordViewOutputWithContext

func (i GetRecordViewArgs) ToGetRecordViewOutputWithContext(ctx context.Context) GetRecordViewOutput

type GetRecordViewArray

type GetRecordViewArray []GetRecordViewInput

func (GetRecordViewArray) ElementType

func (GetRecordViewArray) ElementType() reflect.Type

func (GetRecordViewArray) ToGetRecordViewArrayOutput

func (i GetRecordViewArray) ToGetRecordViewArrayOutput() GetRecordViewArrayOutput

func (GetRecordViewArray) ToGetRecordViewArrayOutputWithContext

func (i GetRecordViewArray) ToGetRecordViewArrayOutputWithContext(ctx context.Context) GetRecordViewArrayOutput

type GetRecordViewArrayInput

type GetRecordViewArrayInput interface {
	pulumi.Input

	ToGetRecordViewArrayOutput() GetRecordViewArrayOutput
	ToGetRecordViewArrayOutputWithContext(context.Context) GetRecordViewArrayOutput
}

GetRecordViewArrayInput is an input type that accepts GetRecordViewArray and GetRecordViewArrayOutput values. You can construct a concrete instance of `GetRecordViewArrayInput` via:

GetRecordViewArray{ GetRecordViewArgs{...} }

type GetRecordViewArrayOutput

type GetRecordViewArrayOutput struct{ *pulumi.OutputState }

func (GetRecordViewArrayOutput) ElementType

func (GetRecordViewArrayOutput) ElementType() reflect.Type

func (GetRecordViewArrayOutput) Index

func (GetRecordViewArrayOutput) ToGetRecordViewArrayOutput

func (o GetRecordViewArrayOutput) ToGetRecordViewArrayOutput() GetRecordViewArrayOutput

func (GetRecordViewArrayOutput) ToGetRecordViewArrayOutputWithContext

func (o GetRecordViewArrayOutput) ToGetRecordViewArrayOutputWithContext(ctx context.Context) GetRecordViewArrayOutput

type GetRecordViewInput

type GetRecordViewInput interface {
	pulumi.Input

	ToGetRecordViewOutput() GetRecordViewOutput
	ToGetRecordViewOutputWithContext(context.Context) GetRecordViewOutput
}

GetRecordViewInput is an input type that accepts GetRecordViewArgs and GetRecordViewOutput values. You can construct a concrete instance of `GetRecordViewInput` via:

GetRecordViewArgs{...}

type GetRecordViewOutput

type GetRecordViewOutput struct{ *pulumi.OutputState }

func (GetRecordViewOutput) Data

The content of the record (an IPv4 for an `A`, a string for a `TXT`...). Cannot be used with `recordId`.

func (GetRecordViewOutput) ElementType

func (GetRecordViewOutput) ElementType() reflect.Type

func (GetRecordViewOutput) Subnet

The subnet of the view

func (GetRecordViewOutput) ToGetRecordViewOutput

func (o GetRecordViewOutput) ToGetRecordViewOutput() GetRecordViewOutput

func (GetRecordViewOutput) ToGetRecordViewOutputWithContext

func (o GetRecordViewOutput) ToGetRecordViewOutputWithContext(ctx context.Context) GetRecordViewOutput

type GetRecordWeighted

type GetRecordWeighted struct {
	// The weighted IP
	Ip string `pulumi:"ip"`
	// The weight of the IP
	Weight int `pulumi:"weight"`
}

type GetRecordWeightedArgs

type GetRecordWeightedArgs struct {
	// The weighted IP
	Ip pulumi.StringInput `pulumi:"ip"`
	// The weight of the IP
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (GetRecordWeightedArgs) ElementType

func (GetRecordWeightedArgs) ElementType() reflect.Type

func (GetRecordWeightedArgs) ToGetRecordWeightedOutput

func (i GetRecordWeightedArgs) ToGetRecordWeightedOutput() GetRecordWeightedOutput

func (GetRecordWeightedArgs) ToGetRecordWeightedOutputWithContext

func (i GetRecordWeightedArgs) ToGetRecordWeightedOutputWithContext(ctx context.Context) GetRecordWeightedOutput

type GetRecordWeightedArray

type GetRecordWeightedArray []GetRecordWeightedInput

func (GetRecordWeightedArray) ElementType

func (GetRecordWeightedArray) ElementType() reflect.Type

func (GetRecordWeightedArray) ToGetRecordWeightedArrayOutput

func (i GetRecordWeightedArray) ToGetRecordWeightedArrayOutput() GetRecordWeightedArrayOutput

func (GetRecordWeightedArray) ToGetRecordWeightedArrayOutputWithContext

func (i GetRecordWeightedArray) ToGetRecordWeightedArrayOutputWithContext(ctx context.Context) GetRecordWeightedArrayOutput

type GetRecordWeightedArrayInput

type GetRecordWeightedArrayInput interface {
	pulumi.Input

	ToGetRecordWeightedArrayOutput() GetRecordWeightedArrayOutput
	ToGetRecordWeightedArrayOutputWithContext(context.Context) GetRecordWeightedArrayOutput
}

GetRecordWeightedArrayInput is an input type that accepts GetRecordWeightedArray and GetRecordWeightedArrayOutput values. You can construct a concrete instance of `GetRecordWeightedArrayInput` via:

GetRecordWeightedArray{ GetRecordWeightedArgs{...} }

type GetRecordWeightedArrayOutput

type GetRecordWeightedArrayOutput struct{ *pulumi.OutputState }

func (GetRecordWeightedArrayOutput) ElementType

func (GetRecordWeightedArrayOutput) Index

func (GetRecordWeightedArrayOutput) ToGetRecordWeightedArrayOutput

func (o GetRecordWeightedArrayOutput) ToGetRecordWeightedArrayOutput() GetRecordWeightedArrayOutput

func (GetRecordWeightedArrayOutput) ToGetRecordWeightedArrayOutputWithContext

func (o GetRecordWeightedArrayOutput) ToGetRecordWeightedArrayOutputWithContext(ctx context.Context) GetRecordWeightedArrayOutput

type GetRecordWeightedInput

type GetRecordWeightedInput interface {
	pulumi.Input

	ToGetRecordWeightedOutput() GetRecordWeightedOutput
	ToGetRecordWeightedOutputWithContext(context.Context) GetRecordWeightedOutput
}

GetRecordWeightedInput is an input type that accepts GetRecordWeightedArgs and GetRecordWeightedOutput values. You can construct a concrete instance of `GetRecordWeightedInput` via:

GetRecordWeightedArgs{...}

type GetRecordWeightedOutput

type GetRecordWeightedOutput struct{ *pulumi.OutputState }

func (GetRecordWeightedOutput) ElementType

func (GetRecordWeightedOutput) ElementType() reflect.Type

func (GetRecordWeightedOutput) Ip

The weighted IP

func (GetRecordWeightedOutput) ToGetRecordWeightedOutput

func (o GetRecordWeightedOutput) ToGetRecordWeightedOutput() GetRecordWeightedOutput

func (GetRecordWeightedOutput) ToGetRecordWeightedOutputWithContext

func (o GetRecordWeightedOutput) ToGetRecordWeightedOutputWithContext(ctx context.Context) GetRecordWeightedOutput

func (GetRecordWeightedOutput) Weight

The weight of the IP

type LookupRecordArgs

type LookupRecordArgs struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data *string `pulumi:"data"`
	// The IP address.
	DnsZone *string `pulumi:"dnsZone"`
	// The name of the record (can be an empty string for a root record).
	// Cannot be used with `recordId`.
	Name *string `pulumi:"name"`
	// `projectId`) The ID of the project the domain is associated with.
	ProjectId *string `pulumi:"projectId"`
	// The record ID.
	// Cannot be used with `name`, `type` and `data`.
	RecordId *string `pulumi:"recordId"`
	// The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
	// Cannot be used with `recordId`.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getRecord.

type LookupRecordOutputArgs

type LookupRecordOutputArgs struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	// Cannot be used with `recordId`.
	Data pulumi.StringPtrInput `pulumi:"data"`
	// The IP address.
	DnsZone pulumi.StringPtrInput `pulumi:"dnsZone"`
	// The name of the record (can be an empty string for a root record).
	// Cannot be used with `recordId`.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// `projectId`) The ID of the project the domain is associated with.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The record ID.
	// Cannot be used with `name`, `type` and `data`.
	RecordId pulumi.StringPtrInput `pulumi:"recordId"`
	// The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
	// Cannot be used with `recordId`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

A collection of arguments for invoking getRecord.

func (LookupRecordOutputArgs) ElementType

func (LookupRecordOutputArgs) ElementType() reflect.Type

type LookupRecordResult

type LookupRecordResult struct {
	Data    *string `pulumi:"data"`
	DnsZone *string `pulumi:"dnsZone"`
	Fqdn    string  `pulumi:"fqdn"`
	// Dynamic record base on user geolocalisation (More information about dynamic records)
	GeoIps []GetRecordGeoIp `pulumi:"geoIps"`
	// Dynamic record base on URL resolve (More information about dynamic records)
	HttpServices []GetRecordHttpService `pulumi:"httpServices"`
	// The provider-assigned unique ID for this managed resource.
	Id            string  `pulumi:"id"`
	KeepEmptyZone bool    `pulumi:"keepEmptyZone"`
	Name          *string `pulumi:"name"`
	// The priority of the record (mostly used with an `MX` record)
	Priority  int     `pulumi:"priority"`
	ProjectId *string `pulumi:"projectId"`
	RecordId  *string `pulumi:"recordId"`
	RootZone  bool    `pulumi:"rootZone"`
	// Time To Live of the record in seconds.
	Ttl  int     `pulumi:"ttl"`
	Type *string `pulumi:"type"`
	// Dynamic record based on the client’s (resolver) subnet (More information about dynamic records)
	Views []GetRecordView `pulumi:"views"`
	// Dynamic record base on IP weights (More information about dynamic records)
	Weighteds []GetRecordWeighted `pulumi:"weighteds"`
}

A collection of values returned by getRecord.

func LookupRecord

func LookupRecord(ctx *pulumi.Context, args *LookupRecordArgs, opts ...pulumi.InvokeOption) (*LookupRecordResult, error)

Gets information about a domain record.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.LookupRecord(ctx, &dns.LookupRecordArgs{
			Data:    pulumi.StringRef("1.2.3.4"),
			DnsZone: pulumi.StringRef("domain.tld"),
			Name:    pulumi.StringRef("www"),
			Type:    pulumi.StringRef("A"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = dns.LookupRecord(ctx, &dns.LookupRecordArgs{
			DnsZone:  pulumi.StringRef("domain.tld"),
			RecordId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRecordResultOutput

type LookupRecordResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecord.

func (LookupRecordResultOutput) Data

func (LookupRecordResultOutput) DnsZone

func (LookupRecordResultOutput) ElementType

func (LookupRecordResultOutput) ElementType() reflect.Type

func (LookupRecordResultOutput) Fqdn

func (LookupRecordResultOutput) GeoIps

Dynamic record base on user geolocalisation (More information about dynamic records)

func (LookupRecordResultOutput) HttpServices

Dynamic record base on URL resolve (More information about dynamic records)

func (LookupRecordResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRecordResultOutput) KeepEmptyZone

func (o LookupRecordResultOutput) KeepEmptyZone() pulumi.BoolOutput

func (LookupRecordResultOutput) Name

func (LookupRecordResultOutput) Priority

The priority of the record (mostly used with an `MX` record)

func (LookupRecordResultOutput) ProjectId

func (LookupRecordResultOutput) RecordId

func (LookupRecordResultOutput) RootZone

func (LookupRecordResultOutput) ToLookupRecordResultOutput

func (o LookupRecordResultOutput) ToLookupRecordResultOutput() LookupRecordResultOutput

func (LookupRecordResultOutput) ToLookupRecordResultOutputWithContext

func (o LookupRecordResultOutput) ToLookupRecordResultOutputWithContext(ctx context.Context) LookupRecordResultOutput

func (LookupRecordResultOutput) Ttl

Time To Live of the record in seconds.

func (LookupRecordResultOutput) Type

func (LookupRecordResultOutput) Views

Dynamic record based on the client’s (resolver) subnet (More information about dynamic records)

func (LookupRecordResultOutput) Weighteds

Dynamic record base on IP weights (More information about dynamic records)

type LookupZoneArgs

type LookupZoneArgs struct {
	// The domain where the DNS zone will be created.
	Domain *string `pulumi:"domain"`
	// The subdomain(zone name) to create in the domain.
	Subdomain *string `pulumi:"subdomain"`
}

A collection of arguments for invoking getZone.

type LookupZoneOutputArgs

type LookupZoneOutputArgs struct {
	// The domain where the DNS zone will be created.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// The subdomain(zone name) to create in the domain.
	Subdomain pulumi.StringPtrInput `pulumi:"subdomain"`
}

A collection of arguments for invoking getZone.

func (LookupZoneOutputArgs) ElementType

func (LookupZoneOutputArgs) ElementType() reflect.Type

type LookupZoneResult

type LookupZoneResult struct {
	Domain *string `pulumi:"domain"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Message
	Message string `pulumi:"message"`
	// NameServer list for zone.
	Ns []string `pulumi:"ns"`
	// NameServer default list for zone.
	NsDefaults []string `pulumi:"nsDefaults"`
	// NameServer master list for zone.
	NsMasters []string `pulumi:"nsMasters"`
	ProjectId string   `pulumi:"projectId"`
	// The domain zone status.
	Status    string  `pulumi:"status"`
	Subdomain *string `pulumi:"subdomain"`
	// The date and time of the last update of the DNS zone.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getZone.

func LookupZone

func LookupZone(ctx *pulumi.Context, args *LookupZoneArgs, opts ...pulumi.InvokeOption) (*LookupZoneResult, error)

Gets information about a domain zone.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.LookupZone(ctx, &dns.LookupZoneArgs{
			Domain:    pulumi.StringRef("scaleway-terraform.com"),
			Subdomain: pulumi.StringRef("test"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupZoneResultOutput

type LookupZoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZone.

func (LookupZoneResultOutput) Domain

func (LookupZoneResultOutput) ElementType

func (LookupZoneResultOutput) ElementType() reflect.Type

func (LookupZoneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupZoneResultOutput) Message

Message

func (LookupZoneResultOutput) Ns

NameServer list for zone.

func (LookupZoneResultOutput) NsDefaults

NameServer default list for zone.

func (LookupZoneResultOutput) NsMasters

NameServer master list for zone.

func (LookupZoneResultOutput) ProjectId

func (LookupZoneResultOutput) Status

The domain zone status.

func (LookupZoneResultOutput) Subdomain

func (LookupZoneResultOutput) ToLookupZoneResultOutput

func (o LookupZoneResultOutput) ToLookupZoneResultOutput() LookupZoneResultOutput

func (LookupZoneResultOutput) ToLookupZoneResultOutputWithContext

func (o LookupZoneResultOutput) ToLookupZoneResultOutputWithContext(ctx context.Context) LookupZoneResultOutput

func (LookupZoneResultOutput) UpdatedAt

The date and time of the last update of the DNS zone.

type Record

type Record struct {
	pulumi.CustomResourceState

	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data pulumi.StringOutput `pulumi:"data"`
	// The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
	DnsZone pulumi.StringOutput `pulumi:"dnsZone"`
	// The FQDN of the record.
	Fqdn pulumi.StringOutput `pulumi:"fqdn"`
	// The Geo IP feature provides DNS resolution, based on the user’s geographical location. You can define a default IP that resolves if no Geo IP rule matches, and specify IPs for each geographical zone. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#geo-ip-records)
	GeoIp RecordGeoIpPtrOutput `pulumi:"geoIp"`
	// The DNS service checks the provided URL on the configured IPs and resolves the request to one of the IPs by excluding the ones not responding to the given string to check. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#healthcheck-records)
	HttpService RecordHttpServicePtrOutput `pulumi:"httpService"`
	// When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
	KeepEmptyZone pulumi.BoolPtrOutput `pulumi:"keepEmptyZone"`
	// The name of the record (can be an empty string for a root record).
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority of the record (mostly used with an `MX` record)
	Priority pulumi.IntOutput `pulumi:"priority"`
	// The project_id you want to attach the resource to
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Does the DNS zone is the root zone or not
	RootZone pulumi.BoolOutput `pulumi:"rootZone"`
	// Time To Live of the record in seconds.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
	Type pulumi.StringOutput `pulumi:"type"`
	// The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)
	Views RecordViewArrayOutput `pulumi:"views"`
	// You provide a list of IPs with their corresponding weights. These weights are used to proportionally direct requests to each IP. Depending on the weight of a record more or fewer requests are answered with its related IP compared to the others in the list. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#weight-records)
	Weighteds RecordWeightedArrayOutput `pulumi:"weighteds"`
}

Creates and manages Scaleway Domain record.\ For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/).

## Example Usage

### Basic

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewRecord(ctx, "www", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.4"),
			DnsZone: pulumi.String("domain.tld"),
			Ttl:     pulumi.Int(3600),
			Type:    pulumi.String("A"),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "www2", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.5"),
			DnsZone: pulumi.String("domain.tld"),
			Ttl:     pulumi.Int(3600),
			Type:    pulumi.String("A"),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "mx", &dns.RecordArgs{
			Data:     pulumi.String("mx.online.net."),
			DnsZone:  pulumi.String("domain.tld"),
			Priority: pulumi.Int(10),
			Ttl:      pulumi.Int(3600),
			Type:     pulumi.String("MX"),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "mx2", &dns.RecordArgs{
			Data:     pulumi.String("mx-cache.online.net."),
			DnsZone:  pulumi.String("domain.tld"),
			Priority: pulumi.Int(20),
			Ttl:      pulumi.Int(3600),
			Type:     pulumi.String("MX"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### With dynamic records

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewRecord(ctx, "geoIp", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.4"),
			DnsZone: pulumi.String("domain.tld"),
			GeoIp: &dns.RecordGeoIpArgs{
				Matches: dns.RecordGeoIpMatchArray{
					&dns.RecordGeoIpMatchArgs{
						Continents: pulumi.StringArray{
							pulumi.String("EU"),
						},
						Countries: pulumi.StringArray{
							pulumi.String("FR"),
						},
						Data: pulumi.String("1.2.3.5"),
					},
					&dns.RecordGeoIpMatchArgs{
						Continents: pulumi.StringArray{
							pulumi.String("NA"),
						},
						Data: pulumi.String("4.3.2.1"),
					},
				},
			},
			Ttl:  pulumi.Int(3600),
			Type: pulumi.String("A"),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "httpService", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.4"),
			DnsZone: pulumi.String("domain.tld"),
			HttpService: &dns.RecordHttpServiceArgs{
				Ips: pulumi.StringArray{
					pulumi.String("1.2.3.5"),
					pulumi.String("1.2.3.6"),
				},
				MustContain: pulumi.String("up"),
				Strategy:    pulumi.String("hashed"),
				Url:         pulumi.String("http://mywebsite.com/health"),
				UserAgent:   pulumi.String("scw_service_up"),
			},
			Ttl:  pulumi.Int(3600),
			Type: pulumi.String("A"),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "view", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.4"),
			DnsZone: pulumi.String("domain.tld"),
			Ttl:     pulumi.Int(3600),
			Type:    pulumi.String("A"),
			Views: dns.RecordViewArray{
				&dns.RecordViewArgs{
					Data:   pulumi.String("1.2.3.5"),
					Subnet: pulumi.String("100.0.0.0/16"),
				},
				&dns.RecordViewArgs{
					Data:   pulumi.String("1.2.3.6"),
					Subnet: pulumi.String("100.1.0.0/16"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "weighted", &dns.RecordArgs{
			Data:    pulumi.String("1.2.3.4"),
			DnsZone: pulumi.String("domain.tld"),
			Ttl:     pulumi.Int(3600),
			Type:    pulumi.String("A"),
			Weighteds: dns.RecordWeightedArray{
				&dns.RecordWeightedArgs{
					Ip:     pulumi.String("1.2.3.5"),
					Weight: pulumi.Int(1),
				},
				&dns.RecordWeightedArgs{
					Ip:     pulumi.String("1.2.3.6"),
					Weight: pulumi.Int(2),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Create an instance and add records with the new instance IP

<!--Start PulumiCodeChooser --> ```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/instance"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		projectId := cfg.Require("projectId")
		dnsZone := cfg.Require("dnsZone")
		publicIp, err := instance.NewIP(ctx, "publicIp", &instance.IPArgs{
			ProjectId: pulumi.String(projectId),
		})
		if err != nil {
			return err
		}
		web, err := instance.NewServer(ctx, "web", &instance.ServerArgs{
			ProjectId: pulumi.String(projectId),
			Type:      pulumi.String("DEV1-S"),
			Image:     pulumi.String("ubuntu_jammy"),
			Tags: pulumi.StringArray{
				pulumi.String("front"),
				pulumi.String("web"),
			},
			IpId: publicIp.ID(),
			RootVolume: &instance.ServerRootVolumeArgs{
				SizeInGb: pulumi.Int(20),
			},
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "webA", &dns.RecordArgs{
			DnsZone: pulumi.String(dnsZone),
			Type:    pulumi.String("A"),
			Data:    web.PublicIp,
			Ttl:     pulumi.Int(3600),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "webCname", &dns.RecordArgs{
			DnsZone: pulumi.String(dnsZone),
			Type:    pulumi.String("CNAME"),
			Data:    pulumi.String(fmt.Sprintf("web.%v.", dnsZone)),
			Ttl:     pulumi.Int(3600),
		})
		if err != nil {
			return err
		}
		_, err = dns.NewRecord(ctx, "webAlias", &dns.RecordArgs{
			DnsZone: pulumi.String(dnsZone),
			Type:    pulumi.String("ALIAS"),
			Data:    pulumi.String(fmt.Sprintf("web.%v.", dnsZone)),
			Ttl:     pulumi.Int(3600),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Multiple records

Some record types can have multiple `data` with the same `name` (eg: `A`, `AAAA`, `MX`, `NS`...).\ You can duplicate a resource `dns.Record` with the same `name`, the records will be added.

Please note, some record (eg: `CNAME`, Multiple dynamic records of different types...) has to be unique.

## Import

Record can be imported using the `{dns_zone}/{id}`, e.g.

bash

```sh $ pulumi import scaleway:dns/record:Record www subdomain.domain.tld/11111111-1111-1111-1111-111111111111 ```

func GetRecord

func GetRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecordState, opts ...pulumi.ResourceOption) (*Record, error)

GetRecord gets an existing Record 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 NewRecord

func NewRecord(ctx *pulumi.Context,
	name string, args *RecordArgs, opts ...pulumi.ResourceOption) (*Record, error)

NewRecord registers a new resource with the given unique name, arguments, and options.

func (*Record) ElementType

func (*Record) ElementType() reflect.Type

func (*Record) ToRecordOutput

func (i *Record) ToRecordOutput() RecordOutput

func (*Record) ToRecordOutputWithContext

func (i *Record) ToRecordOutputWithContext(ctx context.Context) RecordOutput

type RecordArgs

type RecordArgs struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data pulumi.StringInput
	// The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
	DnsZone pulumi.StringInput
	// The Geo IP feature provides DNS resolution, based on the user’s geographical location. You can define a default IP that resolves if no Geo IP rule matches, and specify IPs for each geographical zone. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#geo-ip-records)
	GeoIp RecordGeoIpPtrInput
	// The DNS service checks the provided URL on the configured IPs and resolves the request to one of the IPs by excluding the ones not responding to the given string to check. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#healthcheck-records)
	HttpService RecordHttpServicePtrInput
	// When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
	KeepEmptyZone pulumi.BoolPtrInput
	// The name of the record (can be an empty string for a root record).
	Name pulumi.StringPtrInput
	// The priority of the record (mostly used with an `MX` record)
	Priority pulumi.IntPtrInput
	// The project_id you want to attach the resource to
	ProjectId pulumi.StringPtrInput
	// Time To Live of the record in seconds.
	Ttl pulumi.IntPtrInput
	// The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
	Type pulumi.StringInput
	// The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)
	Views RecordViewArrayInput
	// You provide a list of IPs with their corresponding weights. These weights are used to proportionally direct requests to each IP. Depending on the weight of a record more or fewer requests are answered with its related IP compared to the others in the list. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#weight-records)
	Weighteds RecordWeightedArrayInput
}

The set of arguments for constructing a Record resource.

func (RecordArgs) ElementType

func (RecordArgs) ElementType() reflect.Type

type RecordArray

type RecordArray []RecordInput

func (RecordArray) ElementType

func (RecordArray) ElementType() reflect.Type

func (RecordArray) ToRecordArrayOutput

func (i RecordArray) ToRecordArrayOutput() RecordArrayOutput

func (RecordArray) ToRecordArrayOutputWithContext

func (i RecordArray) ToRecordArrayOutputWithContext(ctx context.Context) RecordArrayOutput

type RecordArrayInput

type RecordArrayInput interface {
	pulumi.Input

	ToRecordArrayOutput() RecordArrayOutput
	ToRecordArrayOutputWithContext(context.Context) RecordArrayOutput
}

RecordArrayInput is an input type that accepts RecordArray and RecordArrayOutput values. You can construct a concrete instance of `RecordArrayInput` via:

RecordArray{ RecordArgs{...} }

type RecordArrayOutput

type RecordArrayOutput struct{ *pulumi.OutputState }

func (RecordArrayOutput) ElementType

func (RecordArrayOutput) ElementType() reflect.Type

func (RecordArrayOutput) Index

func (RecordArrayOutput) ToRecordArrayOutput

func (o RecordArrayOutput) ToRecordArrayOutput() RecordArrayOutput

func (RecordArrayOutput) ToRecordArrayOutputWithContext

func (o RecordArrayOutput) ToRecordArrayOutputWithContext(ctx context.Context) RecordArrayOutput

type RecordGeoIp

type RecordGeoIp struct {
	// The list of matches. *(Can be more than 1)*
	Matches []RecordGeoIpMatch `pulumi:"matches"`
}

type RecordGeoIpArgs

type RecordGeoIpArgs struct {
	// The list of matches. *(Can be more than 1)*
	Matches RecordGeoIpMatchArrayInput `pulumi:"matches"`
}

func (RecordGeoIpArgs) ElementType

func (RecordGeoIpArgs) ElementType() reflect.Type

func (RecordGeoIpArgs) ToRecordGeoIpOutput

func (i RecordGeoIpArgs) ToRecordGeoIpOutput() RecordGeoIpOutput

func (RecordGeoIpArgs) ToRecordGeoIpOutputWithContext

func (i RecordGeoIpArgs) ToRecordGeoIpOutputWithContext(ctx context.Context) RecordGeoIpOutput

func (RecordGeoIpArgs) ToRecordGeoIpPtrOutput

func (i RecordGeoIpArgs) ToRecordGeoIpPtrOutput() RecordGeoIpPtrOutput

func (RecordGeoIpArgs) ToRecordGeoIpPtrOutputWithContext

func (i RecordGeoIpArgs) ToRecordGeoIpPtrOutputWithContext(ctx context.Context) RecordGeoIpPtrOutput

type RecordGeoIpInput

type RecordGeoIpInput interface {
	pulumi.Input

	ToRecordGeoIpOutput() RecordGeoIpOutput
	ToRecordGeoIpOutputWithContext(context.Context) RecordGeoIpOutput
}

RecordGeoIpInput is an input type that accepts RecordGeoIpArgs and RecordGeoIpOutput values. You can construct a concrete instance of `RecordGeoIpInput` via:

RecordGeoIpArgs{...}

type RecordGeoIpMatch

type RecordGeoIpMatch struct {
	// List of continents (eg: `EU` for Europe, `NA` for North America, `AS` for Asia...). [List of all continents code](https://api.scaleway.com/domain-private/v2beta1/continents)
	Continents []string `pulumi:"continents"`
	// List of countries (eg: `FR` for France, `US` for the United States, `GB` for Great Britain...). [List of all countries code](https://api.scaleway.com/domain-private/v2beta1/countries)
	Countries []string `pulumi:"countries"`
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data string `pulumi:"data"`
}

type RecordGeoIpMatchArgs

type RecordGeoIpMatchArgs struct {
	// List of continents (eg: `EU` for Europe, `NA` for North America, `AS` for Asia...). [List of all continents code](https://api.scaleway.com/domain-private/v2beta1/continents)
	Continents pulumi.StringArrayInput `pulumi:"continents"`
	// List of countries (eg: `FR` for France, `US` for the United States, `GB` for Great Britain...). [List of all countries code](https://api.scaleway.com/domain-private/v2beta1/countries)
	Countries pulumi.StringArrayInput `pulumi:"countries"`
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data pulumi.StringInput `pulumi:"data"`
}

func (RecordGeoIpMatchArgs) ElementType

func (RecordGeoIpMatchArgs) ElementType() reflect.Type

func (RecordGeoIpMatchArgs) ToRecordGeoIpMatchOutput

func (i RecordGeoIpMatchArgs) ToRecordGeoIpMatchOutput() RecordGeoIpMatchOutput

func (RecordGeoIpMatchArgs) ToRecordGeoIpMatchOutputWithContext

func (i RecordGeoIpMatchArgs) ToRecordGeoIpMatchOutputWithContext(ctx context.Context) RecordGeoIpMatchOutput

type RecordGeoIpMatchArray

type RecordGeoIpMatchArray []RecordGeoIpMatchInput

func (RecordGeoIpMatchArray) ElementType

func (RecordGeoIpMatchArray) ElementType() reflect.Type

func (RecordGeoIpMatchArray) ToRecordGeoIpMatchArrayOutput

func (i RecordGeoIpMatchArray) ToRecordGeoIpMatchArrayOutput() RecordGeoIpMatchArrayOutput

func (RecordGeoIpMatchArray) ToRecordGeoIpMatchArrayOutputWithContext

func (i RecordGeoIpMatchArray) ToRecordGeoIpMatchArrayOutputWithContext(ctx context.Context) RecordGeoIpMatchArrayOutput

type RecordGeoIpMatchArrayInput

type RecordGeoIpMatchArrayInput interface {
	pulumi.Input

	ToRecordGeoIpMatchArrayOutput() RecordGeoIpMatchArrayOutput
	ToRecordGeoIpMatchArrayOutputWithContext(context.Context) RecordGeoIpMatchArrayOutput
}

RecordGeoIpMatchArrayInput is an input type that accepts RecordGeoIpMatchArray and RecordGeoIpMatchArrayOutput values. You can construct a concrete instance of `RecordGeoIpMatchArrayInput` via:

RecordGeoIpMatchArray{ RecordGeoIpMatchArgs{...} }

type RecordGeoIpMatchArrayOutput

type RecordGeoIpMatchArrayOutput struct{ *pulumi.OutputState }

func (RecordGeoIpMatchArrayOutput) ElementType

func (RecordGeoIpMatchArrayOutput) Index

func (RecordGeoIpMatchArrayOutput) ToRecordGeoIpMatchArrayOutput

func (o RecordGeoIpMatchArrayOutput) ToRecordGeoIpMatchArrayOutput() RecordGeoIpMatchArrayOutput

func (RecordGeoIpMatchArrayOutput) ToRecordGeoIpMatchArrayOutputWithContext

func (o RecordGeoIpMatchArrayOutput) ToRecordGeoIpMatchArrayOutputWithContext(ctx context.Context) RecordGeoIpMatchArrayOutput

type RecordGeoIpMatchInput

type RecordGeoIpMatchInput interface {
	pulumi.Input

	ToRecordGeoIpMatchOutput() RecordGeoIpMatchOutput
	ToRecordGeoIpMatchOutputWithContext(context.Context) RecordGeoIpMatchOutput
}

RecordGeoIpMatchInput is an input type that accepts RecordGeoIpMatchArgs and RecordGeoIpMatchOutput values. You can construct a concrete instance of `RecordGeoIpMatchInput` via:

RecordGeoIpMatchArgs{...}

type RecordGeoIpMatchOutput

type RecordGeoIpMatchOutput struct{ *pulumi.OutputState }

func (RecordGeoIpMatchOutput) Continents

List of continents (eg: `EU` for Europe, `NA` for North America, `AS` for Asia...). [List of all continents code](https://api.scaleway.com/domain-private/v2beta1/continents)

func (RecordGeoIpMatchOutput) Countries

List of countries (eg: `FR` for France, `US` for the United States, `GB` for Great Britain...). [List of all countries code](https://api.scaleway.com/domain-private/v2beta1/countries)

func (RecordGeoIpMatchOutput) Data

The content of the record (an IPv4 for an `A`, a string for a `TXT`...).

func (RecordGeoIpMatchOutput) ElementType

func (RecordGeoIpMatchOutput) ElementType() reflect.Type

func (RecordGeoIpMatchOutput) ToRecordGeoIpMatchOutput

func (o RecordGeoIpMatchOutput) ToRecordGeoIpMatchOutput() RecordGeoIpMatchOutput

func (RecordGeoIpMatchOutput) ToRecordGeoIpMatchOutputWithContext

func (o RecordGeoIpMatchOutput) ToRecordGeoIpMatchOutputWithContext(ctx context.Context) RecordGeoIpMatchOutput

type RecordGeoIpOutput

type RecordGeoIpOutput struct{ *pulumi.OutputState }

func (RecordGeoIpOutput) ElementType

func (RecordGeoIpOutput) ElementType() reflect.Type

func (RecordGeoIpOutput) Matches

The list of matches. *(Can be more than 1)*

func (RecordGeoIpOutput) ToRecordGeoIpOutput

func (o RecordGeoIpOutput) ToRecordGeoIpOutput() RecordGeoIpOutput

func (RecordGeoIpOutput) ToRecordGeoIpOutputWithContext

func (o RecordGeoIpOutput) ToRecordGeoIpOutputWithContext(ctx context.Context) RecordGeoIpOutput

func (RecordGeoIpOutput) ToRecordGeoIpPtrOutput

func (o RecordGeoIpOutput) ToRecordGeoIpPtrOutput() RecordGeoIpPtrOutput

func (RecordGeoIpOutput) ToRecordGeoIpPtrOutputWithContext

func (o RecordGeoIpOutput) ToRecordGeoIpPtrOutputWithContext(ctx context.Context) RecordGeoIpPtrOutput

type RecordGeoIpPtrInput

type RecordGeoIpPtrInput interface {
	pulumi.Input

	ToRecordGeoIpPtrOutput() RecordGeoIpPtrOutput
	ToRecordGeoIpPtrOutputWithContext(context.Context) RecordGeoIpPtrOutput
}

RecordGeoIpPtrInput is an input type that accepts RecordGeoIpArgs, RecordGeoIpPtr and RecordGeoIpPtrOutput values. You can construct a concrete instance of `RecordGeoIpPtrInput` via:

        RecordGeoIpArgs{...}

or:

        nil

func RecordGeoIpPtr

func RecordGeoIpPtr(v *RecordGeoIpArgs) RecordGeoIpPtrInput

type RecordGeoIpPtrOutput

type RecordGeoIpPtrOutput struct{ *pulumi.OutputState }

func (RecordGeoIpPtrOutput) Elem

func (RecordGeoIpPtrOutput) ElementType

func (RecordGeoIpPtrOutput) ElementType() reflect.Type

func (RecordGeoIpPtrOutput) Matches

The list of matches. *(Can be more than 1)*

func (RecordGeoIpPtrOutput) ToRecordGeoIpPtrOutput

func (o RecordGeoIpPtrOutput) ToRecordGeoIpPtrOutput() RecordGeoIpPtrOutput

func (RecordGeoIpPtrOutput) ToRecordGeoIpPtrOutputWithContext

func (o RecordGeoIpPtrOutput) ToRecordGeoIpPtrOutputWithContext(ctx context.Context) RecordGeoIpPtrOutput

type RecordHttpService

type RecordHttpService struct {
	// List of IPs to check
	Ips []string `pulumi:"ips"`
	// Text to search
	MustContain string `pulumi:"mustContain"`
	// Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`
	Strategy string `pulumi:"strategy"`
	// URL to match the `mustContain` text to validate an IP
	Url string `pulumi:"url"`
	// User-agent used when checking the URL
	UserAgent *string `pulumi:"userAgent"`
}

type RecordHttpServiceArgs

type RecordHttpServiceArgs struct {
	// List of IPs to check
	Ips pulumi.StringArrayInput `pulumi:"ips"`
	// Text to search
	MustContain pulumi.StringInput `pulumi:"mustContain"`
	// Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`
	Strategy pulumi.StringInput `pulumi:"strategy"`
	// URL to match the `mustContain` text to validate an IP
	Url pulumi.StringInput `pulumi:"url"`
	// User-agent used when checking the URL
	UserAgent pulumi.StringPtrInput `pulumi:"userAgent"`
}

func (RecordHttpServiceArgs) ElementType

func (RecordHttpServiceArgs) ElementType() reflect.Type

func (RecordHttpServiceArgs) ToRecordHttpServiceOutput

func (i RecordHttpServiceArgs) ToRecordHttpServiceOutput() RecordHttpServiceOutput

func (RecordHttpServiceArgs) ToRecordHttpServiceOutputWithContext

func (i RecordHttpServiceArgs) ToRecordHttpServiceOutputWithContext(ctx context.Context) RecordHttpServiceOutput

func (RecordHttpServiceArgs) ToRecordHttpServicePtrOutput

func (i RecordHttpServiceArgs) ToRecordHttpServicePtrOutput() RecordHttpServicePtrOutput

func (RecordHttpServiceArgs) ToRecordHttpServicePtrOutputWithContext

func (i RecordHttpServiceArgs) ToRecordHttpServicePtrOutputWithContext(ctx context.Context) RecordHttpServicePtrOutput

type RecordHttpServiceInput

type RecordHttpServiceInput interface {
	pulumi.Input

	ToRecordHttpServiceOutput() RecordHttpServiceOutput
	ToRecordHttpServiceOutputWithContext(context.Context) RecordHttpServiceOutput
}

RecordHttpServiceInput is an input type that accepts RecordHttpServiceArgs and RecordHttpServiceOutput values. You can construct a concrete instance of `RecordHttpServiceInput` via:

RecordHttpServiceArgs{...}

type RecordHttpServiceOutput

type RecordHttpServiceOutput struct{ *pulumi.OutputState }

func (RecordHttpServiceOutput) ElementType

func (RecordHttpServiceOutput) ElementType() reflect.Type

func (RecordHttpServiceOutput) Ips

List of IPs to check

func (RecordHttpServiceOutput) MustContain

Text to search

func (RecordHttpServiceOutput) Strategy

Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`

func (RecordHttpServiceOutput) ToRecordHttpServiceOutput

func (o RecordHttpServiceOutput) ToRecordHttpServiceOutput() RecordHttpServiceOutput

func (RecordHttpServiceOutput) ToRecordHttpServiceOutputWithContext

func (o RecordHttpServiceOutput) ToRecordHttpServiceOutputWithContext(ctx context.Context) RecordHttpServiceOutput

func (RecordHttpServiceOutput) ToRecordHttpServicePtrOutput

func (o RecordHttpServiceOutput) ToRecordHttpServicePtrOutput() RecordHttpServicePtrOutput

func (RecordHttpServiceOutput) ToRecordHttpServicePtrOutputWithContext

func (o RecordHttpServiceOutput) ToRecordHttpServicePtrOutputWithContext(ctx context.Context) RecordHttpServicePtrOutput

func (RecordHttpServiceOutput) Url

URL to match the `mustContain` text to validate an IP

func (RecordHttpServiceOutput) UserAgent

User-agent used when checking the URL

type RecordHttpServicePtrInput

type RecordHttpServicePtrInput interface {
	pulumi.Input

	ToRecordHttpServicePtrOutput() RecordHttpServicePtrOutput
	ToRecordHttpServicePtrOutputWithContext(context.Context) RecordHttpServicePtrOutput
}

RecordHttpServicePtrInput is an input type that accepts RecordHttpServiceArgs, RecordHttpServicePtr and RecordHttpServicePtrOutput values. You can construct a concrete instance of `RecordHttpServicePtrInput` via:

        RecordHttpServiceArgs{...}

or:

        nil

type RecordHttpServicePtrOutput

type RecordHttpServicePtrOutput struct{ *pulumi.OutputState }

func (RecordHttpServicePtrOutput) Elem

func (RecordHttpServicePtrOutput) ElementType

func (RecordHttpServicePtrOutput) ElementType() reflect.Type

func (RecordHttpServicePtrOutput) Ips

List of IPs to check

func (RecordHttpServicePtrOutput) MustContain

Text to search

func (RecordHttpServicePtrOutput) Strategy

Strategy to return an IP from the IPs list. Can be `random`, `hashed` or `all`

func (RecordHttpServicePtrOutput) ToRecordHttpServicePtrOutput

func (o RecordHttpServicePtrOutput) ToRecordHttpServicePtrOutput() RecordHttpServicePtrOutput

func (RecordHttpServicePtrOutput) ToRecordHttpServicePtrOutputWithContext

func (o RecordHttpServicePtrOutput) ToRecordHttpServicePtrOutputWithContext(ctx context.Context) RecordHttpServicePtrOutput

func (RecordHttpServicePtrOutput) Url

URL to match the `mustContain` text to validate an IP

func (RecordHttpServicePtrOutput) UserAgent

User-agent used when checking the URL

type RecordInput

type RecordInput interface {
	pulumi.Input

	ToRecordOutput() RecordOutput
	ToRecordOutputWithContext(ctx context.Context) RecordOutput
}

type RecordMap

type RecordMap map[string]RecordInput

func (RecordMap) ElementType

func (RecordMap) ElementType() reflect.Type

func (RecordMap) ToRecordMapOutput

func (i RecordMap) ToRecordMapOutput() RecordMapOutput

func (RecordMap) ToRecordMapOutputWithContext

func (i RecordMap) ToRecordMapOutputWithContext(ctx context.Context) RecordMapOutput

type RecordMapInput

type RecordMapInput interface {
	pulumi.Input

	ToRecordMapOutput() RecordMapOutput
	ToRecordMapOutputWithContext(context.Context) RecordMapOutput
}

RecordMapInput is an input type that accepts RecordMap and RecordMapOutput values. You can construct a concrete instance of `RecordMapInput` via:

RecordMap{ "key": RecordArgs{...} }

type RecordMapOutput

type RecordMapOutput struct{ *pulumi.OutputState }

func (RecordMapOutput) ElementType

func (RecordMapOutput) ElementType() reflect.Type

func (RecordMapOutput) MapIndex

func (RecordMapOutput) ToRecordMapOutput

func (o RecordMapOutput) ToRecordMapOutput() RecordMapOutput

func (RecordMapOutput) ToRecordMapOutputWithContext

func (o RecordMapOutput) ToRecordMapOutputWithContext(ctx context.Context) RecordMapOutput

type RecordOutput

type RecordOutput struct{ *pulumi.OutputState }

func (RecordOutput) Data

func (o RecordOutput) Data() pulumi.StringOutput

The content of the record (an IPv4 for an `A`, a string for a `TXT`...).

func (RecordOutput) DnsZone

func (o RecordOutput) DnsZone() pulumi.StringOutput

The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.

func (RecordOutput) ElementType

func (RecordOutput) ElementType() reflect.Type

func (RecordOutput) Fqdn

func (o RecordOutput) Fqdn() pulumi.StringOutput

The FQDN of the record.

func (RecordOutput) GeoIp

The Geo IP feature provides DNS resolution, based on the user’s geographical location. You can define a default IP that resolves if no Geo IP rule matches, and specify IPs for each geographical zone. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#geo-ip-records)

func (RecordOutput) HttpService

func (o RecordOutput) HttpService() RecordHttpServicePtrOutput

The DNS service checks the provided URL on the configured IPs and resolves the request to one of the IPs by excluding the ones not responding to the given string to check. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#healthcheck-records)

func (RecordOutput) KeepEmptyZone

func (o RecordOutput) KeepEmptyZone() pulumi.BoolPtrOutput

When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)

func (RecordOutput) Name

func (o RecordOutput) Name() pulumi.StringOutput

The name of the record (can be an empty string for a root record).

func (RecordOutput) Priority

func (o RecordOutput) Priority() pulumi.IntOutput

The priority of the record (mostly used with an `MX` record)

func (RecordOutput) ProjectId

func (o RecordOutput) ProjectId() pulumi.StringOutput

The project_id you want to attach the resource to

func (RecordOutput) RootZone

func (o RecordOutput) RootZone() pulumi.BoolOutput

Does the DNS zone is the root zone or not

func (RecordOutput) ToRecordOutput

func (o RecordOutput) ToRecordOutput() RecordOutput

func (RecordOutput) ToRecordOutputWithContext

func (o RecordOutput) ToRecordOutputWithContext(ctx context.Context) RecordOutput

func (RecordOutput) Ttl

Time To Live of the record in seconds.

func (RecordOutput) Type

func (o RecordOutput) Type() pulumi.StringOutput

The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).

func (RecordOutput) Views

The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)

func (RecordOutput) Weighteds

You provide a list of IPs with their corresponding weights. These weights are used to proportionally direct requests to each IP. Depending on the weight of a record more or fewer requests are answered with its related IP compared to the others in the list. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#weight-records)

type RecordState

type RecordState struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data pulumi.StringPtrInput
	// The DNS Zone of the domain. If the DNS zone doesn't exist, it will be automatically created.
	DnsZone pulumi.StringPtrInput
	// The FQDN of the record.
	Fqdn pulumi.StringPtrInput
	// The Geo IP feature provides DNS resolution, based on the user’s geographical location. You can define a default IP that resolves if no Geo IP rule matches, and specify IPs for each geographical zone. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#geo-ip-records)
	GeoIp RecordGeoIpPtrInput
	// The DNS service checks the provided URL on the configured IPs and resolves the request to one of the IPs by excluding the ones not responding to the given string to check. [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#healthcheck-records)
	HttpService RecordHttpServicePtrInput
	// When destroying a resource, if only NS records remain and this is set to `false`, the zone will be deleted. Please note, each zone not deleted will [cost you money](https://www.scaleway.com/en/dns/)
	KeepEmptyZone pulumi.BoolPtrInput
	// The name of the record (can be an empty string for a root record).
	Name pulumi.StringPtrInput
	// The priority of the record (mostly used with an `MX` record)
	Priority pulumi.IntPtrInput
	// The project_id you want to attach the resource to
	ProjectId pulumi.StringPtrInput
	// Does the DNS zone is the root zone or not
	RootZone pulumi.BoolPtrInput
	// Time To Live of the record in seconds.
	Ttl pulumi.IntPtrInput
	// The type of the record (`A`, `AAAA`, `MX`, `CNAME`, `DNAME`, `ALIAS`, `NS`, `PTR`, `SRV`, `TXT`, `TLSA`, or `CAA`).
	Type pulumi.StringPtrInput
	// The answer to a DNS request is based on the client’s (resolver) subnet. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#views-records)
	Views RecordViewArrayInput
	// You provide a list of IPs with their corresponding weights. These weights are used to proportionally direct requests to each IP. Depending on the weight of a record more or fewer requests are answered with its related IP compared to the others in the list. *(Can be more than 1)* [Documentation and usage example](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/manage-dns-records/#weight-records)
	Weighteds RecordWeightedArrayInput
}

func (RecordState) ElementType

func (RecordState) ElementType() reflect.Type

type RecordView

type RecordView struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data string `pulumi:"data"`
	// The subnet of the view
	Subnet string `pulumi:"subnet"`
}

type RecordViewArgs

type RecordViewArgs struct {
	// The content of the record (an IPv4 for an `A`, a string for a `TXT`...).
	Data pulumi.StringInput `pulumi:"data"`
	// The subnet of the view
	Subnet pulumi.StringInput `pulumi:"subnet"`
}

func (RecordViewArgs) ElementType

func (RecordViewArgs) ElementType() reflect.Type

func (RecordViewArgs) ToRecordViewOutput

func (i RecordViewArgs) ToRecordViewOutput() RecordViewOutput

func (RecordViewArgs) ToRecordViewOutputWithContext

func (i RecordViewArgs) ToRecordViewOutputWithContext(ctx context.Context) RecordViewOutput

type RecordViewArray

type RecordViewArray []RecordViewInput

func (RecordViewArray) ElementType

func (RecordViewArray) ElementType() reflect.Type

func (RecordViewArray) ToRecordViewArrayOutput

func (i RecordViewArray) ToRecordViewArrayOutput() RecordViewArrayOutput

func (RecordViewArray) ToRecordViewArrayOutputWithContext

func (i RecordViewArray) ToRecordViewArrayOutputWithContext(ctx context.Context) RecordViewArrayOutput

type RecordViewArrayInput

type RecordViewArrayInput interface {
	pulumi.Input

	ToRecordViewArrayOutput() RecordViewArrayOutput
	ToRecordViewArrayOutputWithContext(context.Context) RecordViewArrayOutput
}

RecordViewArrayInput is an input type that accepts RecordViewArray and RecordViewArrayOutput values. You can construct a concrete instance of `RecordViewArrayInput` via:

RecordViewArray{ RecordViewArgs{...} }

type RecordViewArrayOutput

type RecordViewArrayOutput struct{ *pulumi.OutputState }

func (RecordViewArrayOutput) ElementType

func (RecordViewArrayOutput) ElementType() reflect.Type

func (RecordViewArrayOutput) Index

func (RecordViewArrayOutput) ToRecordViewArrayOutput

func (o RecordViewArrayOutput) ToRecordViewArrayOutput() RecordViewArrayOutput

func (RecordViewArrayOutput) ToRecordViewArrayOutputWithContext

func (o RecordViewArrayOutput) ToRecordViewArrayOutputWithContext(ctx context.Context) RecordViewArrayOutput

type RecordViewInput

type RecordViewInput interface {
	pulumi.Input

	ToRecordViewOutput() RecordViewOutput
	ToRecordViewOutputWithContext(context.Context) RecordViewOutput
}

RecordViewInput is an input type that accepts RecordViewArgs and RecordViewOutput values. You can construct a concrete instance of `RecordViewInput` via:

RecordViewArgs{...}

type RecordViewOutput

type RecordViewOutput struct{ *pulumi.OutputState }

func (RecordViewOutput) Data

The content of the record (an IPv4 for an `A`, a string for a `TXT`...).

func (RecordViewOutput) ElementType

func (RecordViewOutput) ElementType() reflect.Type

func (RecordViewOutput) Subnet

The subnet of the view

func (RecordViewOutput) ToRecordViewOutput

func (o RecordViewOutput) ToRecordViewOutput() RecordViewOutput

func (RecordViewOutput) ToRecordViewOutputWithContext

func (o RecordViewOutput) ToRecordViewOutputWithContext(ctx context.Context) RecordViewOutput

type RecordWeighted

type RecordWeighted struct {
	// The weighted IP
	Ip string `pulumi:"ip"`
	// The weight of the IP as an integer UInt32.
	Weight int `pulumi:"weight"`
}

type RecordWeightedArgs

type RecordWeightedArgs struct {
	// The weighted IP
	Ip pulumi.StringInput `pulumi:"ip"`
	// The weight of the IP as an integer UInt32.
	Weight pulumi.IntInput `pulumi:"weight"`
}

func (RecordWeightedArgs) ElementType

func (RecordWeightedArgs) ElementType() reflect.Type

func (RecordWeightedArgs) ToRecordWeightedOutput

func (i RecordWeightedArgs) ToRecordWeightedOutput() RecordWeightedOutput

func (RecordWeightedArgs) ToRecordWeightedOutputWithContext

func (i RecordWeightedArgs) ToRecordWeightedOutputWithContext(ctx context.Context) RecordWeightedOutput

type RecordWeightedArray

type RecordWeightedArray []RecordWeightedInput

func (RecordWeightedArray) ElementType

func (RecordWeightedArray) ElementType() reflect.Type

func (RecordWeightedArray) ToRecordWeightedArrayOutput

func (i RecordWeightedArray) ToRecordWeightedArrayOutput() RecordWeightedArrayOutput

func (RecordWeightedArray) ToRecordWeightedArrayOutputWithContext

func (i RecordWeightedArray) ToRecordWeightedArrayOutputWithContext(ctx context.Context) RecordWeightedArrayOutput

type RecordWeightedArrayInput

type RecordWeightedArrayInput interface {
	pulumi.Input

	ToRecordWeightedArrayOutput() RecordWeightedArrayOutput
	ToRecordWeightedArrayOutputWithContext(context.Context) RecordWeightedArrayOutput
}

RecordWeightedArrayInput is an input type that accepts RecordWeightedArray and RecordWeightedArrayOutput values. You can construct a concrete instance of `RecordWeightedArrayInput` via:

RecordWeightedArray{ RecordWeightedArgs{...} }

type RecordWeightedArrayOutput

type RecordWeightedArrayOutput struct{ *pulumi.OutputState }

func (RecordWeightedArrayOutput) ElementType

func (RecordWeightedArrayOutput) ElementType() reflect.Type

func (RecordWeightedArrayOutput) Index

func (RecordWeightedArrayOutput) ToRecordWeightedArrayOutput

func (o RecordWeightedArrayOutput) ToRecordWeightedArrayOutput() RecordWeightedArrayOutput

func (RecordWeightedArrayOutput) ToRecordWeightedArrayOutputWithContext

func (o RecordWeightedArrayOutput) ToRecordWeightedArrayOutputWithContext(ctx context.Context) RecordWeightedArrayOutput

type RecordWeightedInput

type RecordWeightedInput interface {
	pulumi.Input

	ToRecordWeightedOutput() RecordWeightedOutput
	ToRecordWeightedOutputWithContext(context.Context) RecordWeightedOutput
}

RecordWeightedInput is an input type that accepts RecordWeightedArgs and RecordWeightedOutput values. You can construct a concrete instance of `RecordWeightedInput` via:

RecordWeightedArgs{...}

type RecordWeightedOutput

type RecordWeightedOutput struct{ *pulumi.OutputState }

func (RecordWeightedOutput) ElementType

func (RecordWeightedOutput) ElementType() reflect.Type

func (RecordWeightedOutput) Ip

The weighted IP

func (RecordWeightedOutput) ToRecordWeightedOutput

func (o RecordWeightedOutput) ToRecordWeightedOutput() RecordWeightedOutput

func (RecordWeightedOutput) ToRecordWeightedOutputWithContext

func (o RecordWeightedOutput) ToRecordWeightedOutputWithContext(ctx context.Context) RecordWeightedOutput

func (RecordWeightedOutput) Weight

The weight of the IP as an integer UInt32.

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// The domain where the DNS zone will be created.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// Message
	Message pulumi.StringOutput `pulumi:"message"`
	// NameServer list for zone.
	Ns pulumi.StringArrayOutput `pulumi:"ns"`
	// NameServer default list for zone.
	NsDefaults pulumi.StringArrayOutput `pulumi:"nsDefaults"`
	// NameServer master list for zone.
	NsMasters pulumi.StringArrayOutput `pulumi:"nsMasters"`
	// `projectId`) The ID of the project the domain is associated with.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The domain zone status.
	Status pulumi.StringOutput `pulumi:"status"`
	// The subdomain(zone name) to create in the domain.
	Subdomain pulumi.StringOutput `pulumi:"subdomain"`
	// The date and time of the last update of the DNS zone.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

Creates and manages Scaleway Domain zone.\ For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/raeumlich/pulumi-scaleway/sdk/go/scaleway/dns"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.NewZone(ctx, "test", &dns.ZoneArgs{
			Domain:    pulumi.String("scaleway-terraform.com"),
			Subdomain: pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Zone can be imported using the `{subdomain}.{domain}`, e.g.

bash

```sh $ pulumi import scaleway:dns/zone:Zone test test.scaleway-terraform.com ```

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone 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 NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

NewZone registers a new resource with the given unique name, arguments, and options.

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// The domain where the DNS zone will be created.
	Domain pulumi.StringInput
	// `projectId`) The ID of the project the domain is associated with.
	ProjectId pulumi.StringPtrInput
	// The subdomain(zone name) to create in the domain.
	Subdomain pulumi.StringInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) Domain

func (o ZoneOutput) Domain() pulumi.StringOutput

The domain where the DNS zone will be created.

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) Message

func (o ZoneOutput) Message() pulumi.StringOutput

Message

func (ZoneOutput) Ns

NameServer list for zone.

func (ZoneOutput) NsDefaults

func (o ZoneOutput) NsDefaults() pulumi.StringArrayOutput

NameServer default list for zone.

func (ZoneOutput) NsMasters

func (o ZoneOutput) NsMasters() pulumi.StringArrayOutput

NameServer master list for zone.

func (ZoneOutput) ProjectId

func (o ZoneOutput) ProjectId() pulumi.StringOutput

`projectId`) The ID of the project the domain is associated with.

func (ZoneOutput) Status

func (o ZoneOutput) Status() pulumi.StringOutput

The domain zone status.

func (ZoneOutput) Subdomain

func (o ZoneOutput) Subdomain() pulumi.StringOutput

The subdomain(zone name) to create in the domain.

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

func (ZoneOutput) UpdatedAt

func (o ZoneOutput) UpdatedAt() pulumi.StringOutput

The date and time of the last update of the DNS zone.

type ZoneState

type ZoneState struct {
	// The domain where the DNS zone will be created.
	Domain pulumi.StringPtrInput
	// Message
	Message pulumi.StringPtrInput
	// NameServer list for zone.
	Ns pulumi.StringArrayInput
	// NameServer default list for zone.
	NsDefaults pulumi.StringArrayInput
	// NameServer master list for zone.
	NsMasters pulumi.StringArrayInput
	// `projectId`) The ID of the project the domain is associated with.
	ProjectId pulumi.StringPtrInput
	// The domain zone status.
	Status pulumi.StringPtrInput
	// The subdomain(zone name) to create in the domain.
	Subdomain pulumi.StringPtrInput
	// The date and time of the last update of the DNS zone.
	UpdatedAt pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL