powerdns

package
v3.0.0-...-839241e Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package powerdns exports types, functions, subpackages for provisioning powerdns resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type PDNSRecord

type PDNSRecord struct {
	pulumi.CustomResourceState

	Name    pulumi.StringOutput      `pulumi:"name"`
	Records pulumi.StringArrayOutput `pulumi:"records"`
	// For A and AAAA records, if true, create corresponding PTR.
	Set_ptr pulumi.BoolPtrOutput `pulumi:"set_ptr"`
	Ttl     pulumi.IntOutput     `pulumi:"ttl"`
	Type    pulumi.StringOutput  `pulumi:"type"`
	Zone    pulumi.StringOutput  `pulumi:"zone"`
}

func GetPDNSRecord

func GetPDNSRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PDNSRecordState, opts ...pulumi.ResourceOption) (*PDNSRecord, error)

GetPDNSRecord gets an existing PDNSRecord 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 NewPDNSRecord

func NewPDNSRecord(ctx *pulumi.Context,
	name string, args *PDNSRecordArgs, opts ...pulumi.ResourceOption) (*PDNSRecord, error)

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

func (*PDNSRecord) ElementType

func (*PDNSRecord) ElementType() reflect.Type

func (*PDNSRecord) ToPDNSRecordOutput

func (i *PDNSRecord) ToPDNSRecordOutput() PDNSRecordOutput

func (*PDNSRecord) ToPDNSRecordOutputWithContext

func (i *PDNSRecord) ToPDNSRecordOutputWithContext(ctx context.Context) PDNSRecordOutput

type PDNSRecordArgs

type PDNSRecordArgs struct {
	Name    pulumi.StringInput
	Records pulumi.StringArrayInput
	// For A and AAAA records, if true, create corresponding PTR.
	Set_ptr pulumi.BoolPtrInput
	Ttl     pulumi.IntInput
	Type    pulumi.StringInput
	Zone    pulumi.StringInput
}

The set of arguments for constructing a PDNSRecord resource.

func (PDNSRecordArgs) ElementType

func (PDNSRecordArgs) ElementType() reflect.Type

type PDNSRecordArray

type PDNSRecordArray []PDNSRecordInput

func (PDNSRecordArray) ElementType

func (PDNSRecordArray) ElementType() reflect.Type

func (PDNSRecordArray) ToPDNSRecordArrayOutput

func (i PDNSRecordArray) ToPDNSRecordArrayOutput() PDNSRecordArrayOutput

func (PDNSRecordArray) ToPDNSRecordArrayOutputWithContext

func (i PDNSRecordArray) ToPDNSRecordArrayOutputWithContext(ctx context.Context) PDNSRecordArrayOutput

type PDNSRecordArrayInput

type PDNSRecordArrayInput interface {
	pulumi.Input

	ToPDNSRecordArrayOutput() PDNSRecordArrayOutput
	ToPDNSRecordArrayOutputWithContext(context.Context) PDNSRecordArrayOutput
}

PDNSRecordArrayInput is an input type that accepts PDNSRecordArray and PDNSRecordArrayOutput values. You can construct a concrete instance of `PDNSRecordArrayInput` via:

PDNSRecordArray{ PDNSRecordArgs{...} }

type PDNSRecordArrayOutput

type PDNSRecordArrayOutput struct{ *pulumi.OutputState }

func (PDNSRecordArrayOutput) ElementType

func (PDNSRecordArrayOutput) ElementType() reflect.Type

func (PDNSRecordArrayOutput) Index

func (PDNSRecordArrayOutput) ToPDNSRecordArrayOutput

func (o PDNSRecordArrayOutput) ToPDNSRecordArrayOutput() PDNSRecordArrayOutput

func (PDNSRecordArrayOutput) ToPDNSRecordArrayOutputWithContext

func (o PDNSRecordArrayOutput) ToPDNSRecordArrayOutputWithContext(ctx context.Context) PDNSRecordArrayOutput

type PDNSRecordInput

type PDNSRecordInput interface {
	pulumi.Input

	ToPDNSRecordOutput() PDNSRecordOutput
	ToPDNSRecordOutputWithContext(ctx context.Context) PDNSRecordOutput
}

type PDNSRecordMap

type PDNSRecordMap map[string]PDNSRecordInput

func (PDNSRecordMap) ElementType

func (PDNSRecordMap) ElementType() reflect.Type

func (PDNSRecordMap) ToPDNSRecordMapOutput

func (i PDNSRecordMap) ToPDNSRecordMapOutput() PDNSRecordMapOutput

func (PDNSRecordMap) ToPDNSRecordMapOutputWithContext

func (i PDNSRecordMap) ToPDNSRecordMapOutputWithContext(ctx context.Context) PDNSRecordMapOutput

type PDNSRecordMapInput

type PDNSRecordMapInput interface {
	pulumi.Input

	ToPDNSRecordMapOutput() PDNSRecordMapOutput
	ToPDNSRecordMapOutputWithContext(context.Context) PDNSRecordMapOutput
}

PDNSRecordMapInput is an input type that accepts PDNSRecordMap and PDNSRecordMapOutput values. You can construct a concrete instance of `PDNSRecordMapInput` via:

PDNSRecordMap{ "key": PDNSRecordArgs{...} }

type PDNSRecordMapOutput

type PDNSRecordMapOutput struct{ *pulumi.OutputState }

func (PDNSRecordMapOutput) ElementType

func (PDNSRecordMapOutput) ElementType() reflect.Type

func (PDNSRecordMapOutput) MapIndex

func (PDNSRecordMapOutput) ToPDNSRecordMapOutput

func (o PDNSRecordMapOutput) ToPDNSRecordMapOutput() PDNSRecordMapOutput

func (PDNSRecordMapOutput) ToPDNSRecordMapOutputWithContext

func (o PDNSRecordMapOutput) ToPDNSRecordMapOutputWithContext(ctx context.Context) PDNSRecordMapOutput

type PDNSRecordOutput

type PDNSRecordOutput struct{ *pulumi.OutputState }

func (PDNSRecordOutput) ElementType

func (PDNSRecordOutput) ElementType() reflect.Type

func (PDNSRecordOutput) Name

func (PDNSRecordOutput) Records

func (PDNSRecordOutput) Set_ptr

For A and AAAA records, if true, create corresponding PTR.

func (PDNSRecordOutput) ToPDNSRecordOutput

func (o PDNSRecordOutput) ToPDNSRecordOutput() PDNSRecordOutput

func (PDNSRecordOutput) ToPDNSRecordOutputWithContext

func (o PDNSRecordOutput) ToPDNSRecordOutputWithContext(ctx context.Context) PDNSRecordOutput

func (PDNSRecordOutput) Ttl

func (PDNSRecordOutput) Type

func (PDNSRecordOutput) Zone

type PDNSRecordState

type PDNSRecordState struct {
}

func (PDNSRecordState) ElementType

func (PDNSRecordState) ElementType() reflect.Type

type PDNSZone

type PDNSZone struct {
	pulumi.CustomResourceState

	Account      pulumi.StringPtrOutput   `pulumi:"account"`
	Kind         pulumi.StringOutput      `pulumi:"kind"`
	Masters      pulumi.StringArrayOutput `pulumi:"masters"`
	Name         pulumi.StringOutput      `pulumi:"name"`
	Nameservers  pulumi.StringArrayOutput `pulumi:"nameservers"`
	Soa_edit_api pulumi.StringPtrOutput   `pulumi:"soa_edit_api"`
}

func GetPDNSZone

func GetPDNSZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PDNSZoneState, opts ...pulumi.ResourceOption) (*PDNSZone, error)

GetPDNSZone gets an existing PDNSZone 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 NewPDNSZone

func NewPDNSZone(ctx *pulumi.Context,
	name string, args *PDNSZoneArgs, opts ...pulumi.ResourceOption) (*PDNSZone, error)

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

func (*PDNSZone) ElementType

func (*PDNSZone) ElementType() reflect.Type

func (*PDNSZone) ToPDNSZoneOutput

func (i *PDNSZone) ToPDNSZoneOutput() PDNSZoneOutput

func (*PDNSZone) ToPDNSZoneOutputWithContext

func (i *PDNSZone) ToPDNSZoneOutputWithContext(ctx context.Context) PDNSZoneOutput

type PDNSZoneArgs

type PDNSZoneArgs struct {
	Account      pulumi.StringPtrInput
	Kind         pulumi.StringInput
	Masters      pulumi.StringArrayInput
	Name         pulumi.StringInput
	Nameservers  pulumi.StringArrayInput
	Soa_edit_api pulumi.StringPtrInput
}

The set of arguments for constructing a PDNSZone resource.

func (PDNSZoneArgs) ElementType

func (PDNSZoneArgs) ElementType() reflect.Type

type PDNSZoneArray

type PDNSZoneArray []PDNSZoneInput

func (PDNSZoneArray) ElementType

func (PDNSZoneArray) ElementType() reflect.Type

func (PDNSZoneArray) ToPDNSZoneArrayOutput

func (i PDNSZoneArray) ToPDNSZoneArrayOutput() PDNSZoneArrayOutput

func (PDNSZoneArray) ToPDNSZoneArrayOutputWithContext

func (i PDNSZoneArray) ToPDNSZoneArrayOutputWithContext(ctx context.Context) PDNSZoneArrayOutput

type PDNSZoneArrayInput

type PDNSZoneArrayInput interface {
	pulumi.Input

	ToPDNSZoneArrayOutput() PDNSZoneArrayOutput
	ToPDNSZoneArrayOutputWithContext(context.Context) PDNSZoneArrayOutput
}

PDNSZoneArrayInput is an input type that accepts PDNSZoneArray and PDNSZoneArrayOutput values. You can construct a concrete instance of `PDNSZoneArrayInput` via:

PDNSZoneArray{ PDNSZoneArgs{...} }

type PDNSZoneArrayOutput

type PDNSZoneArrayOutput struct{ *pulumi.OutputState }

func (PDNSZoneArrayOutput) ElementType

func (PDNSZoneArrayOutput) ElementType() reflect.Type

func (PDNSZoneArrayOutput) Index

func (PDNSZoneArrayOutput) ToPDNSZoneArrayOutput

func (o PDNSZoneArrayOutput) ToPDNSZoneArrayOutput() PDNSZoneArrayOutput

func (PDNSZoneArrayOutput) ToPDNSZoneArrayOutputWithContext

func (o PDNSZoneArrayOutput) ToPDNSZoneArrayOutputWithContext(ctx context.Context) PDNSZoneArrayOutput

type PDNSZoneInput

type PDNSZoneInput interface {
	pulumi.Input

	ToPDNSZoneOutput() PDNSZoneOutput
	ToPDNSZoneOutputWithContext(ctx context.Context) PDNSZoneOutput
}

type PDNSZoneMap

type PDNSZoneMap map[string]PDNSZoneInput

func (PDNSZoneMap) ElementType

func (PDNSZoneMap) ElementType() reflect.Type

func (PDNSZoneMap) ToPDNSZoneMapOutput

func (i PDNSZoneMap) ToPDNSZoneMapOutput() PDNSZoneMapOutput

func (PDNSZoneMap) ToPDNSZoneMapOutputWithContext

func (i PDNSZoneMap) ToPDNSZoneMapOutputWithContext(ctx context.Context) PDNSZoneMapOutput

type PDNSZoneMapInput

type PDNSZoneMapInput interface {
	pulumi.Input

	ToPDNSZoneMapOutput() PDNSZoneMapOutput
	ToPDNSZoneMapOutputWithContext(context.Context) PDNSZoneMapOutput
}

PDNSZoneMapInput is an input type that accepts PDNSZoneMap and PDNSZoneMapOutput values. You can construct a concrete instance of `PDNSZoneMapInput` via:

PDNSZoneMap{ "key": PDNSZoneArgs{...} }

type PDNSZoneMapOutput

type PDNSZoneMapOutput struct{ *pulumi.OutputState }

func (PDNSZoneMapOutput) ElementType

func (PDNSZoneMapOutput) ElementType() reflect.Type

func (PDNSZoneMapOutput) MapIndex

func (PDNSZoneMapOutput) ToPDNSZoneMapOutput

func (o PDNSZoneMapOutput) ToPDNSZoneMapOutput() PDNSZoneMapOutput

func (PDNSZoneMapOutput) ToPDNSZoneMapOutputWithContext

func (o PDNSZoneMapOutput) ToPDNSZoneMapOutputWithContext(ctx context.Context) PDNSZoneMapOutput

type PDNSZoneOutput

type PDNSZoneOutput struct{ *pulumi.OutputState }

func (PDNSZoneOutput) Account

func (PDNSZoneOutput) ElementType

func (PDNSZoneOutput) ElementType() reflect.Type

func (PDNSZoneOutput) Kind

func (PDNSZoneOutput) Masters

func (PDNSZoneOutput) Name

func (PDNSZoneOutput) Nameservers

func (o PDNSZoneOutput) Nameservers() pulumi.StringArrayOutput

func (PDNSZoneOutput) Soa_edit_api

func (o PDNSZoneOutput) Soa_edit_api() pulumi.StringPtrOutput

func (PDNSZoneOutput) ToPDNSZoneOutput

func (o PDNSZoneOutput) ToPDNSZoneOutput() PDNSZoneOutput

func (PDNSZoneOutput) ToPDNSZoneOutputWithContext

func (o PDNSZoneOutput) ToPDNSZoneOutputWithContext(ctx context.Context) PDNSZoneOutput

type PDNSZoneState

type PDNSZoneState struct {
}

func (PDNSZoneState) ElementType

func (PDNSZoneState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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