dns

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 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 ActionCreateZoneFromZoneFile added in v0.19.0

type ActionCreateZoneFromZoneFile struct {
	pulumi.CustomResourceState

	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The zone file contents.
	CreateZoneFromZoneFileDetails pulumi.StringOutput `pulumi:"createZoneFromZoneFileDetails"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput `pulumi:"externalDownstreams"`
	// External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters ActionCreateZoneFromZoneFileExternalMasterArrayOutput `pulumi:"externalMasters"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolOutput `pulumi:"isProtected"`
	// The name of the zone.
	Name pulumi.StringOutput `pulumi:"name"`
	// The authoritative nameservers for the zone.
	Nameservers ActionCreateZoneFromZoneFileNameserverArrayOutput `pulumi:"nameservers"`
	// Specifies to operate only on resources that have a matching DNS scope.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial pulumi.StringOutput `pulumi:"serial"`
	// The current state of the zone resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version pulumi.StringOutput `pulumi:"version"`
	// The OCID of the view the resource is associated with.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ViewId pulumi.StringOutput `pulumi:"viewId"`
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput `pulumi:"zoneTransferServers"`
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	ZoneType pulumi.StringOutput `pulumi:"zoneType"`
}

This resource provides the Action Create Zone From Zone File resource in Oracle Cloud Infrastructure DNS service.

Creates a new zone from a zone file in the specified compartment.

After the zone has been created, it should be further managed by importing it to an `Dns.Zone` resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewActionCreateZoneFromZoneFile(ctx, "test_action_create_zone_from_zone_file", &Dns.ActionCreateZoneFromZoneFileArgs{
			CreateZoneFromZoneFileDetails: pulumi.Any(actionCreateZoneFromZoneFileCreateZoneFromZoneFileDetails),
			CompartmentId:                 pulumi.Any(compartmentId),
			Scope:                         pulumi.Any(actionCreateZoneFromZoneFileScope),
			ViewId:                        pulumi.Any(testView.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ActionCreateZoneFromZoneFile can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/actionCreateZoneFromZoneFile:ActionCreateZoneFromZoneFile test_action_create_zone_from_zone_file "id" ```

func GetActionCreateZoneFromZoneFile added in v0.19.0

func GetActionCreateZoneFromZoneFile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionCreateZoneFromZoneFileState, opts ...pulumi.ResourceOption) (*ActionCreateZoneFromZoneFile, error)

GetActionCreateZoneFromZoneFile gets an existing ActionCreateZoneFromZoneFile 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 NewActionCreateZoneFromZoneFile added in v0.19.0

func NewActionCreateZoneFromZoneFile(ctx *pulumi.Context,
	name string, args *ActionCreateZoneFromZoneFileArgs, opts ...pulumi.ResourceOption) (*ActionCreateZoneFromZoneFile, error)

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

func (*ActionCreateZoneFromZoneFile) ElementType added in v0.19.0

func (*ActionCreateZoneFromZoneFile) ElementType() reflect.Type

func (*ActionCreateZoneFromZoneFile) ToActionCreateZoneFromZoneFileOutput added in v0.19.0

func (i *ActionCreateZoneFromZoneFile) ToActionCreateZoneFromZoneFileOutput() ActionCreateZoneFromZoneFileOutput

func (*ActionCreateZoneFromZoneFile) ToActionCreateZoneFromZoneFileOutputWithContext added in v0.19.0

func (i *ActionCreateZoneFromZoneFile) ToActionCreateZoneFromZoneFileOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileOutput

type ActionCreateZoneFromZoneFileArgs added in v0.19.0

type ActionCreateZoneFromZoneFileArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput
	// The zone file contents.
	CreateZoneFromZoneFileDetails pulumi.StringInput
	// Specifies to operate only on resources that have a matching DNS scope.
	Scope pulumi.StringPtrInput
	// The OCID of the view the resource is associated with.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ViewId pulumi.StringPtrInput
}

The set of arguments for constructing a ActionCreateZoneFromZoneFile resource.

func (ActionCreateZoneFromZoneFileArgs) ElementType added in v0.19.0

type ActionCreateZoneFromZoneFileArray added in v0.19.0

type ActionCreateZoneFromZoneFileArray []ActionCreateZoneFromZoneFileInput

func (ActionCreateZoneFromZoneFileArray) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileArray) ToActionCreateZoneFromZoneFileArrayOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileArray) ToActionCreateZoneFromZoneFileArrayOutput() ActionCreateZoneFromZoneFileArrayOutput

func (ActionCreateZoneFromZoneFileArray) ToActionCreateZoneFromZoneFileArrayOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileArray) ToActionCreateZoneFromZoneFileArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileArrayOutput

type ActionCreateZoneFromZoneFileArrayInput added in v0.19.0

type ActionCreateZoneFromZoneFileArrayInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileArrayOutput() ActionCreateZoneFromZoneFileArrayOutput
	ToActionCreateZoneFromZoneFileArrayOutputWithContext(context.Context) ActionCreateZoneFromZoneFileArrayOutput
}

ActionCreateZoneFromZoneFileArrayInput is an input type that accepts ActionCreateZoneFromZoneFileArray and ActionCreateZoneFromZoneFileArrayOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileArrayInput` via:

ActionCreateZoneFromZoneFileArray{ ActionCreateZoneFromZoneFileArgs{...} }

type ActionCreateZoneFromZoneFileArrayOutput added in v0.19.0

type ActionCreateZoneFromZoneFileArrayOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileArrayOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileArrayOutput) Index added in v0.19.0

func (ActionCreateZoneFromZoneFileArrayOutput) ToActionCreateZoneFromZoneFileArrayOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileArrayOutput) ToActionCreateZoneFromZoneFileArrayOutput() ActionCreateZoneFromZoneFileArrayOutput

func (ActionCreateZoneFromZoneFileArrayOutput) ToActionCreateZoneFromZoneFileArrayOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileArrayOutput) ToActionCreateZoneFromZoneFileArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileArrayOutput

type ActionCreateZoneFromZoneFileExternalDownstream added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstream struct {
	// The server's IP address (IPv4 or IPv6).
	Address *string `pulumi:"address"`
	// The server's port.
	Port *int `pulumi:"port"`
	// The OCID of the TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
}

type ActionCreateZoneFromZoneFileExternalDownstreamArgs added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The server's port.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The OCID of the TSIG key.
	TsigKeyId pulumi.StringPtrInput `pulumi:"tsigKeyId"`
}

func (ActionCreateZoneFromZoneFileExternalDownstreamArgs) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamArgs) ToActionCreateZoneFromZoneFileExternalDownstreamOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalDownstreamArgs) ToActionCreateZoneFromZoneFileExternalDownstreamOutput() ActionCreateZoneFromZoneFileExternalDownstreamOutput

func (ActionCreateZoneFromZoneFileExternalDownstreamArgs) ToActionCreateZoneFromZoneFileExternalDownstreamOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalDownstreamArgs) ToActionCreateZoneFromZoneFileExternalDownstreamOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalDownstreamOutput

type ActionCreateZoneFromZoneFileExternalDownstreamArray added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamArray []ActionCreateZoneFromZoneFileExternalDownstreamInput

func (ActionCreateZoneFromZoneFileExternalDownstreamArray) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamArray) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalDownstreamArray) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutput() ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput

func (ActionCreateZoneFromZoneFileExternalDownstreamArray) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalDownstreamArray) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput

type ActionCreateZoneFromZoneFileExternalDownstreamArrayInput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamArrayInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutput() ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput
	ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutputWithContext(context.Context) ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput
}

ActionCreateZoneFromZoneFileExternalDownstreamArrayInput is an input type that accepts ActionCreateZoneFromZoneFileExternalDownstreamArray and ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileExternalDownstreamArrayInput` via:

ActionCreateZoneFromZoneFileExternalDownstreamArray{ ActionCreateZoneFromZoneFileExternalDownstreamArgs{...} }

type ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput) Index added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutput added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput) ToActionCreateZoneFromZoneFileExternalDownstreamArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalDownstreamArrayOutput

type ActionCreateZoneFromZoneFileExternalDownstreamInput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileExternalDownstreamOutput() ActionCreateZoneFromZoneFileExternalDownstreamOutput
	ToActionCreateZoneFromZoneFileExternalDownstreamOutputWithContext(context.Context) ActionCreateZoneFromZoneFileExternalDownstreamOutput
}

ActionCreateZoneFromZoneFileExternalDownstreamInput is an input type that accepts ActionCreateZoneFromZoneFileExternalDownstreamArgs and ActionCreateZoneFromZoneFileExternalDownstreamOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileExternalDownstreamInput` via:

ActionCreateZoneFromZoneFileExternalDownstreamArgs{...}

type ActionCreateZoneFromZoneFileExternalDownstreamOutput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalDownstreamOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) Address added in v0.19.0

The server's IP address (IPv4 or IPv6).

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) Port added in v0.19.0

The server's port.

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) ToActionCreateZoneFromZoneFileExternalDownstreamOutput added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) ToActionCreateZoneFromZoneFileExternalDownstreamOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileExternalDownstreamOutput) ToActionCreateZoneFromZoneFileExternalDownstreamOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalDownstreamOutput

func (ActionCreateZoneFromZoneFileExternalDownstreamOutput) TsigKeyId added in v0.19.0

The OCID of the TSIG key.

type ActionCreateZoneFromZoneFileExternalMaster added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMaster struct {
	// The server's IP address (IPv4 or IPv6).
	Address *string `pulumi:"address"`
	// The server's port.
	Port *int `pulumi:"port"`
	// The OCID of the TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
}

type ActionCreateZoneFromZoneFileExternalMasterArgs added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringPtrInput `pulumi:"address"`
	// The server's port.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The OCID of the TSIG key.
	TsigKeyId pulumi.StringPtrInput `pulumi:"tsigKeyId"`
}

func (ActionCreateZoneFromZoneFileExternalMasterArgs) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterArgs) ToActionCreateZoneFromZoneFileExternalMasterOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalMasterArgs) ToActionCreateZoneFromZoneFileExternalMasterOutput() ActionCreateZoneFromZoneFileExternalMasterOutput

func (ActionCreateZoneFromZoneFileExternalMasterArgs) ToActionCreateZoneFromZoneFileExternalMasterOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalMasterArgs) ToActionCreateZoneFromZoneFileExternalMasterOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalMasterOutput

type ActionCreateZoneFromZoneFileExternalMasterArray added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterArray []ActionCreateZoneFromZoneFileExternalMasterInput

func (ActionCreateZoneFromZoneFileExternalMasterArray) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterArray) ToActionCreateZoneFromZoneFileExternalMasterArrayOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalMasterArray) ToActionCreateZoneFromZoneFileExternalMasterArrayOutput() ActionCreateZoneFromZoneFileExternalMasterArrayOutput

func (ActionCreateZoneFromZoneFileExternalMasterArray) ToActionCreateZoneFromZoneFileExternalMasterArrayOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileExternalMasterArray) ToActionCreateZoneFromZoneFileExternalMasterArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalMasterArrayOutput

type ActionCreateZoneFromZoneFileExternalMasterArrayInput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterArrayInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileExternalMasterArrayOutput() ActionCreateZoneFromZoneFileExternalMasterArrayOutput
	ToActionCreateZoneFromZoneFileExternalMasterArrayOutputWithContext(context.Context) ActionCreateZoneFromZoneFileExternalMasterArrayOutput
}

ActionCreateZoneFromZoneFileExternalMasterArrayInput is an input type that accepts ActionCreateZoneFromZoneFileExternalMasterArray and ActionCreateZoneFromZoneFileExternalMasterArrayOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileExternalMasterArrayInput` via:

ActionCreateZoneFromZoneFileExternalMasterArray{ ActionCreateZoneFromZoneFileExternalMasterArgs{...} }

type ActionCreateZoneFromZoneFileExternalMasterArrayOutput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterArrayOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileExternalMasterArrayOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterArrayOutput) Index added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterArrayOutput) ToActionCreateZoneFromZoneFileExternalMasterArrayOutput added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterArrayOutput) ToActionCreateZoneFromZoneFileExternalMasterArrayOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileExternalMasterArrayOutput) ToActionCreateZoneFromZoneFileExternalMasterArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalMasterArrayOutput

type ActionCreateZoneFromZoneFileExternalMasterInput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileExternalMasterOutput() ActionCreateZoneFromZoneFileExternalMasterOutput
	ToActionCreateZoneFromZoneFileExternalMasterOutputWithContext(context.Context) ActionCreateZoneFromZoneFileExternalMasterOutput
}

ActionCreateZoneFromZoneFileExternalMasterInput is an input type that accepts ActionCreateZoneFromZoneFileExternalMasterArgs and ActionCreateZoneFromZoneFileExternalMasterOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileExternalMasterInput` via:

ActionCreateZoneFromZoneFileExternalMasterArgs{...}

type ActionCreateZoneFromZoneFileExternalMasterOutput added in v0.19.0

type ActionCreateZoneFromZoneFileExternalMasterOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileExternalMasterOutput) Address added in v0.19.0

The server's IP address (IPv4 or IPv6).

func (ActionCreateZoneFromZoneFileExternalMasterOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileExternalMasterOutput) Port added in v0.19.0

The server's port.

func (ActionCreateZoneFromZoneFileExternalMasterOutput) ToActionCreateZoneFromZoneFileExternalMasterOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileExternalMasterOutput) ToActionCreateZoneFromZoneFileExternalMasterOutput() ActionCreateZoneFromZoneFileExternalMasterOutput

func (ActionCreateZoneFromZoneFileExternalMasterOutput) ToActionCreateZoneFromZoneFileExternalMasterOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileExternalMasterOutput) ToActionCreateZoneFromZoneFileExternalMasterOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileExternalMasterOutput

func (ActionCreateZoneFromZoneFileExternalMasterOutput) TsigKeyId added in v0.19.0

The OCID of the TSIG key.

type ActionCreateZoneFromZoneFileInput added in v0.19.0

type ActionCreateZoneFromZoneFileInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileOutput() ActionCreateZoneFromZoneFileOutput
	ToActionCreateZoneFromZoneFileOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileOutput
}

type ActionCreateZoneFromZoneFileMap added in v0.19.0

type ActionCreateZoneFromZoneFileMap map[string]ActionCreateZoneFromZoneFileInput

func (ActionCreateZoneFromZoneFileMap) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileMap) ToActionCreateZoneFromZoneFileMapOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileMap) ToActionCreateZoneFromZoneFileMapOutput() ActionCreateZoneFromZoneFileMapOutput

func (ActionCreateZoneFromZoneFileMap) ToActionCreateZoneFromZoneFileMapOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileMap) ToActionCreateZoneFromZoneFileMapOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileMapOutput

type ActionCreateZoneFromZoneFileMapInput added in v0.19.0

type ActionCreateZoneFromZoneFileMapInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileMapOutput() ActionCreateZoneFromZoneFileMapOutput
	ToActionCreateZoneFromZoneFileMapOutputWithContext(context.Context) ActionCreateZoneFromZoneFileMapOutput
}

ActionCreateZoneFromZoneFileMapInput is an input type that accepts ActionCreateZoneFromZoneFileMap and ActionCreateZoneFromZoneFileMapOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileMapInput` via:

ActionCreateZoneFromZoneFileMap{ "key": ActionCreateZoneFromZoneFileArgs{...} }

type ActionCreateZoneFromZoneFileMapOutput added in v0.19.0

type ActionCreateZoneFromZoneFileMapOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileMapOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileMapOutput) MapIndex added in v0.19.0

func (ActionCreateZoneFromZoneFileMapOutput) ToActionCreateZoneFromZoneFileMapOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileMapOutput) ToActionCreateZoneFromZoneFileMapOutput() ActionCreateZoneFromZoneFileMapOutput

func (ActionCreateZoneFromZoneFileMapOutput) ToActionCreateZoneFromZoneFileMapOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileMapOutput) ToActionCreateZoneFromZoneFileMapOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileMapOutput

type ActionCreateZoneFromZoneFileNameserver added in v0.19.0

type ActionCreateZoneFromZoneFileNameserver struct {
	// The hostname of the nameserver.
	Hostname *string `pulumi:"hostname"`
}

type ActionCreateZoneFromZoneFileNameserverArgs added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverArgs struct {
	// The hostname of the nameserver.
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
}

func (ActionCreateZoneFromZoneFileNameserverArgs) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileNameserverArgs) ToActionCreateZoneFromZoneFileNameserverOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileNameserverArgs) ToActionCreateZoneFromZoneFileNameserverOutput() ActionCreateZoneFromZoneFileNameserverOutput

func (ActionCreateZoneFromZoneFileNameserverArgs) ToActionCreateZoneFromZoneFileNameserverOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileNameserverArgs) ToActionCreateZoneFromZoneFileNameserverOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileNameserverOutput

type ActionCreateZoneFromZoneFileNameserverArray added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverArray []ActionCreateZoneFromZoneFileNameserverInput

func (ActionCreateZoneFromZoneFileNameserverArray) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileNameserverArray) ToActionCreateZoneFromZoneFileNameserverArrayOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileNameserverArray) ToActionCreateZoneFromZoneFileNameserverArrayOutput() ActionCreateZoneFromZoneFileNameserverArrayOutput

func (ActionCreateZoneFromZoneFileNameserverArray) ToActionCreateZoneFromZoneFileNameserverArrayOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileNameserverArray) ToActionCreateZoneFromZoneFileNameserverArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileNameserverArrayOutput

type ActionCreateZoneFromZoneFileNameserverArrayInput added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverArrayInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileNameserverArrayOutput() ActionCreateZoneFromZoneFileNameserverArrayOutput
	ToActionCreateZoneFromZoneFileNameserverArrayOutputWithContext(context.Context) ActionCreateZoneFromZoneFileNameserverArrayOutput
}

ActionCreateZoneFromZoneFileNameserverArrayInput is an input type that accepts ActionCreateZoneFromZoneFileNameserverArray and ActionCreateZoneFromZoneFileNameserverArrayOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileNameserverArrayInput` via:

ActionCreateZoneFromZoneFileNameserverArray{ ActionCreateZoneFromZoneFileNameserverArgs{...} }

type ActionCreateZoneFromZoneFileNameserverArrayOutput added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverArrayOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileNameserverArrayOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileNameserverArrayOutput) Index added in v0.19.0

func (ActionCreateZoneFromZoneFileNameserverArrayOutput) ToActionCreateZoneFromZoneFileNameserverArrayOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileNameserverArrayOutput) ToActionCreateZoneFromZoneFileNameserverArrayOutput() ActionCreateZoneFromZoneFileNameserverArrayOutput

func (ActionCreateZoneFromZoneFileNameserverArrayOutput) ToActionCreateZoneFromZoneFileNameserverArrayOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileNameserverArrayOutput) ToActionCreateZoneFromZoneFileNameserverArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileNameserverArrayOutput

type ActionCreateZoneFromZoneFileNameserverInput added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileNameserverOutput() ActionCreateZoneFromZoneFileNameserverOutput
	ToActionCreateZoneFromZoneFileNameserverOutputWithContext(context.Context) ActionCreateZoneFromZoneFileNameserverOutput
}

ActionCreateZoneFromZoneFileNameserverInput is an input type that accepts ActionCreateZoneFromZoneFileNameserverArgs and ActionCreateZoneFromZoneFileNameserverOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileNameserverInput` via:

ActionCreateZoneFromZoneFileNameserverArgs{...}

type ActionCreateZoneFromZoneFileNameserverOutput added in v0.19.0

type ActionCreateZoneFromZoneFileNameserverOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileNameserverOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileNameserverOutput) Hostname added in v0.19.0

The hostname of the nameserver.

func (ActionCreateZoneFromZoneFileNameserverOutput) ToActionCreateZoneFromZoneFileNameserverOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileNameserverOutput) ToActionCreateZoneFromZoneFileNameserverOutput() ActionCreateZoneFromZoneFileNameserverOutput

func (ActionCreateZoneFromZoneFileNameserverOutput) ToActionCreateZoneFromZoneFileNameserverOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileNameserverOutput) ToActionCreateZoneFromZoneFileNameserverOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileNameserverOutput

type ActionCreateZoneFromZoneFileOutput added in v0.19.0

type ActionCreateZoneFromZoneFileOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileOutput) CompartmentId added in v0.19.0

The OCID of the compartment the resource belongs to.

func (ActionCreateZoneFromZoneFileOutput) CreateZoneFromZoneFileDetails added in v0.19.0

func (o ActionCreateZoneFromZoneFileOutput) CreateZoneFromZoneFileDetails() pulumi.StringOutput

The zone file contents.

func (ActionCreateZoneFromZoneFileOutput) DefinedTags added in v0.19.0

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (ActionCreateZoneFromZoneFileOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileOutput) ExternalDownstreams added in v0.19.0

External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.

func (ActionCreateZoneFromZoneFileOutput) ExternalMasters added in v0.19.0

External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.

func (ActionCreateZoneFromZoneFileOutput) FreeformTags added in v0.19.0

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (ActionCreateZoneFromZoneFileOutput) IsProtected added in v0.19.0

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (ActionCreateZoneFromZoneFileOutput) Name added in v0.19.0

The name of the zone.

func (ActionCreateZoneFromZoneFileOutput) Nameservers added in v0.19.0

The authoritative nameservers for the zone.

func (ActionCreateZoneFromZoneFileOutput) Scope added in v0.19.0

Specifies to operate only on resources that have a matching DNS scope.

func (ActionCreateZoneFromZoneFileOutput) Self added in v0.19.0

The canonical absolute URL of the resource.

func (ActionCreateZoneFromZoneFileOutput) Serial added in v0.19.0

The current serial of the zone. As seen in the zone's SOA record.

func (ActionCreateZoneFromZoneFileOutput) State added in v0.19.0

The current state of the zone resource.

func (ActionCreateZoneFromZoneFileOutput) TimeCreated added in v0.19.0

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ActionCreateZoneFromZoneFileOutput) ToActionCreateZoneFromZoneFileOutput added in v0.19.0

func (o ActionCreateZoneFromZoneFileOutput) ToActionCreateZoneFromZoneFileOutput() ActionCreateZoneFromZoneFileOutput

func (ActionCreateZoneFromZoneFileOutput) ToActionCreateZoneFromZoneFileOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileOutput) ToActionCreateZoneFromZoneFileOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileOutput

func (ActionCreateZoneFromZoneFileOutput) Version added in v0.19.0

Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.

func (ActionCreateZoneFromZoneFileOutput) ViewId added in v0.19.0

The OCID of the view the resource is associated with.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ActionCreateZoneFromZoneFileOutput) ZoneTransferServers added in v0.19.0

The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.

func (ActionCreateZoneFromZoneFileOutput) ZoneType added in v0.19.0

The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.

type ActionCreateZoneFromZoneFileState added in v0.19.0

type ActionCreateZoneFromZoneFileState struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput
	// The zone file contents.
	CreateZoneFromZoneFileDetails pulumi.StringPtrInput
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput
	// External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams ActionCreateZoneFromZoneFileExternalDownstreamArrayInput
	// External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters ActionCreateZoneFromZoneFileExternalMasterArrayInput
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput
	// The name of the zone.
	Name pulumi.StringPtrInput
	// The authoritative nameservers for the zone.
	Nameservers ActionCreateZoneFromZoneFileNameserverArrayInput
	// Specifies to operate only on resources that have a matching DNS scope.
	Scope pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial pulumi.StringPtrInput
	// The current state of the zone resource.
	State pulumi.StringPtrInput
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version pulumi.StringPtrInput
	// The OCID of the view the resource is associated with.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ViewId pulumi.StringPtrInput
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers ActionCreateZoneFromZoneFileZoneTransferServerArrayInput
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	ZoneType pulumi.StringPtrInput
}

func (ActionCreateZoneFromZoneFileState) ElementType added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServer added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServer struct {
	// The server's IP address (IPv4 or IPv6).
	Address *string `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination *bool `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource *bool `pulumi:"isTransferSource"`
	// The server's port.
	Port *int `pulumi:"port"`
}

type ActionCreateZoneFromZoneFileZoneTransferServerArgs added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringPtrInput `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination pulumi.BoolPtrInput `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource pulumi.BoolPtrInput `pulumi:"isTransferSource"`
	// The server's port.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ActionCreateZoneFromZoneFileZoneTransferServerArgs) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerArgs) ToActionCreateZoneFromZoneFileZoneTransferServerOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileZoneTransferServerArgs) ToActionCreateZoneFromZoneFileZoneTransferServerOutput() ActionCreateZoneFromZoneFileZoneTransferServerOutput

func (ActionCreateZoneFromZoneFileZoneTransferServerArgs) ToActionCreateZoneFromZoneFileZoneTransferServerOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileZoneTransferServerArgs) ToActionCreateZoneFromZoneFileZoneTransferServerOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileZoneTransferServerOutput

type ActionCreateZoneFromZoneFileZoneTransferServerArray added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerArray []ActionCreateZoneFromZoneFileZoneTransferServerInput

func (ActionCreateZoneFromZoneFileZoneTransferServerArray) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerArray) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutput added in v0.19.0

func (i ActionCreateZoneFromZoneFileZoneTransferServerArray) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutput() ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput

func (ActionCreateZoneFromZoneFileZoneTransferServerArray) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutputWithContext added in v0.19.0

func (i ActionCreateZoneFromZoneFileZoneTransferServerArray) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput

type ActionCreateZoneFromZoneFileZoneTransferServerArrayInput added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerArrayInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutput() ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput
	ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutputWithContext(context.Context) ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput
}

ActionCreateZoneFromZoneFileZoneTransferServerArrayInput is an input type that accepts ActionCreateZoneFromZoneFileZoneTransferServerArray and ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileZoneTransferServerArrayInput` via:

ActionCreateZoneFromZoneFileZoneTransferServerArray{ ActionCreateZoneFromZoneFileZoneTransferServerArgs{...} }

type ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput) Index added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutput added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput) ToActionCreateZoneFromZoneFileZoneTransferServerArrayOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileZoneTransferServerArrayOutput

type ActionCreateZoneFromZoneFileZoneTransferServerInput added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerInput interface {
	pulumi.Input

	ToActionCreateZoneFromZoneFileZoneTransferServerOutput() ActionCreateZoneFromZoneFileZoneTransferServerOutput
	ToActionCreateZoneFromZoneFileZoneTransferServerOutputWithContext(context.Context) ActionCreateZoneFromZoneFileZoneTransferServerOutput
}

ActionCreateZoneFromZoneFileZoneTransferServerInput is an input type that accepts ActionCreateZoneFromZoneFileZoneTransferServerArgs and ActionCreateZoneFromZoneFileZoneTransferServerOutput values. You can construct a concrete instance of `ActionCreateZoneFromZoneFileZoneTransferServerInput` via:

ActionCreateZoneFromZoneFileZoneTransferServerArgs{...}

type ActionCreateZoneFromZoneFileZoneTransferServerOutput added in v0.19.0

type ActionCreateZoneFromZoneFileZoneTransferServerOutput struct{ *pulumi.OutputState }

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) Address added in v0.19.0

The server's IP address (IPv4 or IPv6).

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) ElementType added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) IsTransferDestination added in v0.19.0

A Boolean flag indicating whether or not the server is a zone data transfer destination.

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) IsTransferSource added in v0.19.0

A Boolean flag indicating whether or not the server is a zone data transfer source.

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) Port added in v0.19.0

The server's port.

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) ToActionCreateZoneFromZoneFileZoneTransferServerOutput added in v0.19.0

func (ActionCreateZoneFromZoneFileZoneTransferServerOutput) ToActionCreateZoneFromZoneFileZoneTransferServerOutputWithContext added in v0.19.0

func (o ActionCreateZoneFromZoneFileZoneTransferServerOutput) ToActionCreateZoneFromZoneFileZoneTransferServerOutputWithContext(ctx context.Context) ActionCreateZoneFromZoneFileZoneTransferServerOutput

type GetRecordsArgs

type GetRecordsArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId *string `pulumi:"compartmentId"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	Domain *string `pulumi:"domain"`
	// Search by domain. Will match any record whose domain (case-insensitive) contains the provided value.
	DomainContains *string            `pulumi:"domainContains"`
	Filters        []GetRecordsFilter `pulumi:"filters"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype *string `pulumi:"rtype"`
	// The field by which to sort records. Allowed values are: domain|rtype|ttl
	SortBy *string `pulumi:"sortBy"`
	// The order to sort the resources. Allowed values are: ASC|DESC
	SortOrder *string `pulumi:"sortOrder"`
	// The name or OCID of the target zone.
	//
	// Deprecated: The 'oci_dns_records' resource has been deprecated. Please use 'oci_dns_rrsets' instead.
	ZoneNameOrId string `pulumi:"zoneNameOrId"`
	// The version of the zone for which data is requested.
	ZoneVersion *string `pulumi:"zoneVersion"`
}

A collection of arguments for invoking getRecords.

type GetRecordsFilter

type GetRecordsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetRecordsFilterArgs

type GetRecordsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRecordsFilterArgs) ElementType

func (GetRecordsFilterArgs) ElementType() reflect.Type

func (GetRecordsFilterArgs) ToGetRecordsFilterOutput

func (i GetRecordsFilterArgs) ToGetRecordsFilterOutput() GetRecordsFilterOutput

func (GetRecordsFilterArgs) ToGetRecordsFilterOutputWithContext

func (i GetRecordsFilterArgs) ToGetRecordsFilterOutputWithContext(ctx context.Context) GetRecordsFilterOutput

type GetRecordsFilterArray

type GetRecordsFilterArray []GetRecordsFilterInput

func (GetRecordsFilterArray) ElementType

func (GetRecordsFilterArray) ElementType() reflect.Type

func (GetRecordsFilterArray) ToGetRecordsFilterArrayOutput

func (i GetRecordsFilterArray) ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput

func (GetRecordsFilterArray) ToGetRecordsFilterArrayOutputWithContext

func (i GetRecordsFilterArray) ToGetRecordsFilterArrayOutputWithContext(ctx context.Context) GetRecordsFilterArrayOutput

type GetRecordsFilterArrayInput

type GetRecordsFilterArrayInput interface {
	pulumi.Input

	ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput
	ToGetRecordsFilterArrayOutputWithContext(context.Context) GetRecordsFilterArrayOutput
}

GetRecordsFilterArrayInput is an input type that accepts GetRecordsFilterArray and GetRecordsFilterArrayOutput values. You can construct a concrete instance of `GetRecordsFilterArrayInput` via:

GetRecordsFilterArray{ GetRecordsFilterArgs{...} }

type GetRecordsFilterArrayOutput

type GetRecordsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsFilterArrayOutput) ElementType

func (GetRecordsFilterArrayOutput) Index

func (GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutput

func (o GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutput() GetRecordsFilterArrayOutput

func (GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutputWithContext

func (o GetRecordsFilterArrayOutput) ToGetRecordsFilterArrayOutputWithContext(ctx context.Context) GetRecordsFilterArrayOutput

type GetRecordsFilterInput

type GetRecordsFilterInput interface {
	pulumi.Input

	ToGetRecordsFilterOutput() GetRecordsFilterOutput
	ToGetRecordsFilterOutputWithContext(context.Context) GetRecordsFilterOutput
}

GetRecordsFilterInput is an input type that accepts GetRecordsFilterArgs and GetRecordsFilterOutput values. You can construct a concrete instance of `GetRecordsFilterInput` via:

GetRecordsFilterArgs{...}

type GetRecordsFilterOutput

type GetRecordsFilterOutput struct{ *pulumi.OutputState }

func (GetRecordsFilterOutput) ElementType

func (GetRecordsFilterOutput) ElementType() reflect.Type

func (GetRecordsFilterOutput) Name

func (GetRecordsFilterOutput) Regex

func (GetRecordsFilterOutput) ToGetRecordsFilterOutput

func (o GetRecordsFilterOutput) ToGetRecordsFilterOutput() GetRecordsFilterOutput

func (GetRecordsFilterOutput) ToGetRecordsFilterOutputWithContext

func (o GetRecordsFilterOutput) ToGetRecordsFilterOutputWithContext(ctx context.Context) GetRecordsFilterOutput

func (GetRecordsFilterOutput) Values

type GetRecordsOutputArgs

type GetRecordsOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Search by domain. Will match any record whose domain (case-insensitive) contains the provided value.
	DomainContains pulumi.StringPtrInput      `pulumi:"domainContains"`
	Filters        GetRecordsFilterArrayInput `pulumi:"filters"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype pulumi.StringPtrInput `pulumi:"rtype"`
	// The field by which to sort records. Allowed values are: domain|rtype|ttl
	SortBy pulumi.StringPtrInput `pulumi:"sortBy"`
	// The order to sort the resources. Allowed values are: ASC|DESC
	SortOrder pulumi.StringPtrInput `pulumi:"sortOrder"`
	// The name or OCID of the target zone.
	//
	// Deprecated: The 'oci_dns_records' resource has been deprecated. Please use 'oci_dns_rrsets' instead.
	ZoneNameOrId pulumi.StringInput `pulumi:"zoneNameOrId"`
	// The version of the zone for which data is requested.
	ZoneVersion pulumi.StringPtrInput `pulumi:"zoneVersion"`
}

A collection of arguments for invoking getRecords.

func (GetRecordsOutputArgs) ElementType

func (GetRecordsOutputArgs) ElementType() reflect.Type

type GetRecordsRecord

type GetRecordsRecord struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId *string `pulumi:"compartmentId"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Domain string `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected bool `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata *string `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash string `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion string `pulumi:"rrsetVersion"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Rtype string `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl *int `pulumi:"ttl"`
	// The name or OCID of the target zone.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	ZoneNameOrId string `pulumi:"zoneNameOrId"`
}

type GetRecordsRecordArgs

type GetRecordsRecordArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Domain pulumi.StringInput `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolInput `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringPtrInput `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringInput `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringInput `pulumi:"rrsetVersion"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Rtype pulumi.StringInput `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl pulumi.IntPtrInput `pulumi:"ttl"`
	// The name or OCID of the target zone.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	ZoneNameOrId pulumi.StringInput `pulumi:"zoneNameOrId"`
}

func (GetRecordsRecordArgs) ElementType

func (GetRecordsRecordArgs) ElementType() reflect.Type

func (GetRecordsRecordArgs) ToGetRecordsRecordOutput

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext

func (i GetRecordsRecordArgs) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

type GetRecordsRecordArray

type GetRecordsRecordArray []GetRecordsRecordInput

func (GetRecordsRecordArray) ElementType

func (GetRecordsRecordArray) ElementType() reflect.Type

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutput

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext

func (i GetRecordsRecordArray) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordArrayInput

type GetRecordsRecordArrayInput interface {
	pulumi.Input

	ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput
	ToGetRecordsRecordArrayOutputWithContext(context.Context) GetRecordsRecordArrayOutput
}

GetRecordsRecordArrayInput is an input type that accepts GetRecordsRecordArray and GetRecordsRecordArrayOutput values. You can construct a concrete instance of `GetRecordsRecordArrayInput` via:

GetRecordsRecordArray{ GetRecordsRecordArgs{...} }

type GetRecordsRecordArrayOutput

type GetRecordsRecordArrayOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordArrayOutput) ElementType

func (GetRecordsRecordArrayOutput) Index

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutput() GetRecordsRecordArrayOutput

func (GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext

func (o GetRecordsRecordArrayOutput) ToGetRecordsRecordArrayOutputWithContext(ctx context.Context) GetRecordsRecordArrayOutput

type GetRecordsRecordInput

type GetRecordsRecordInput interface {
	pulumi.Input

	ToGetRecordsRecordOutput() GetRecordsRecordOutput
	ToGetRecordsRecordOutputWithContext(context.Context) GetRecordsRecordOutput
}

GetRecordsRecordInput is an input type that accepts GetRecordsRecordArgs and GetRecordsRecordOutput values. You can construct a concrete instance of `GetRecordsRecordInput` via:

GetRecordsRecordArgs{...}

type GetRecordsRecordOutput

type GetRecordsRecordOutput struct{ *pulumi.OutputState }

func (GetRecordsRecordOutput) CompartmentId

func (o GetRecordsRecordOutput) CompartmentId() pulumi.StringPtrOutput

The OCID of the compartment the resource belongs to.

func (GetRecordsRecordOutput) Domain deprecated

Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

func (GetRecordsRecordOutput) ElementType

func (GetRecordsRecordOutput) ElementType() reflect.Type

func (GetRecordsRecordOutput) IsProtected

func (o GetRecordsRecordOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

func (GetRecordsRecordOutput) Rdata

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)

func (GetRecordsRecordOutput) RecordHash

A unique identifier for the record within its zone.

func (GetRecordsRecordOutput) RrsetVersion

func (o GetRecordsRecordOutput) RrsetVersion() pulumi.StringOutput

The latest version of the record's zone in which its RRSet differs from the preceding version.

func (GetRecordsRecordOutput) Rtype deprecated

Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

func (GetRecordsRecordOutput) ToGetRecordsRecordOutput

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutput() GetRecordsRecordOutput

func (GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext

func (o GetRecordsRecordOutput) ToGetRecordsRecordOutputWithContext(ctx context.Context) GetRecordsRecordOutput

func (GetRecordsRecordOutput) Ttl

The Time To Live for the record, in seconds.

func (GetRecordsRecordOutput) ZoneNameOrId deprecated

func (o GetRecordsRecordOutput) ZoneNameOrId() pulumi.StringOutput

The name or OCID of the target zone.

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

type GetRecordsResult

type GetRecordsResult struct {
	CompartmentId *string `pulumi:"compartmentId"`
	// The fully qualified domain name where the record can be located.
	Domain         *string            `pulumi:"domain"`
	DomainContains *string            `pulumi:"domainContains"`
	Filters        []GetRecordsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of records.
	Records []GetRecordsRecord `pulumi:"records"`
	// The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype     *string `pulumi:"rtype"`
	SortBy    *string `pulumi:"sortBy"`
	SortOrder *string `pulumi:"sortOrder"`
	// The name or OCID of the target zone.
	//
	// Deprecated: The 'oci_dns_records' resource has been deprecated. Please use 'oci_dns_rrsets' instead.
	ZoneNameOrId string  `pulumi:"zoneNameOrId"`
	ZoneVersion  *string `pulumi:"zoneVersion"`
}

A collection of values returned by getRecords.

func GetRecords

func GetRecords(ctx *pulumi.Context, args *GetRecordsArgs, opts ...pulumi.InvokeOption) (*GetRecordsResult, error)

**Deprecated. Use Dns.getRrsets instead.**

This data source provides the list of Records in Oracle Cloud Infrastructure DNS service.

Gets all records in the specified zone. The results are sorted by `domain` in alphabetical order by default. For more information about records, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4). For private zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.

type GetRecordsResultOutput

type GetRecordsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecords.

func (GetRecordsResultOutput) CompartmentId

func (o GetRecordsResultOutput) CompartmentId() pulumi.StringPtrOutput

func (GetRecordsResultOutput) Domain

The fully qualified domain name where the record can be located.

func (GetRecordsResultOutput) DomainContains

func (o GetRecordsResultOutput) DomainContains() pulumi.StringPtrOutput

func (GetRecordsResultOutput) ElementType

func (GetRecordsResultOutput) ElementType() reflect.Type

func (GetRecordsResultOutput) Filters

func (GetRecordsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRecordsResultOutput) Records

The list of records.

func (GetRecordsResultOutput) Rtype

The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

func (GetRecordsResultOutput) SortBy

func (GetRecordsResultOutput) SortOrder

func (GetRecordsResultOutput) ToGetRecordsResultOutput

func (o GetRecordsResultOutput) ToGetRecordsResultOutput() GetRecordsResultOutput

func (GetRecordsResultOutput) ToGetRecordsResultOutputWithContext

func (o GetRecordsResultOutput) ToGetRecordsResultOutputWithContext(ctx context.Context) GetRecordsResultOutput

func (GetRecordsResultOutput) ZoneNameOrId deprecated

func (o GetRecordsResultOutput) ZoneNameOrId() pulumi.StringOutput

The name or OCID of the target zone.

Deprecated: The 'oci_dns_records' resource has been deprecated. Please use 'oci_dns_rrsets' instead.

func (GetRecordsResultOutput) ZoneVersion

type GetResolverAttachedView

type GetResolverAttachedView struct {
	// The OCID of the view.
	ViewId string `pulumi:"viewId"`
}

type GetResolverAttachedViewArgs

type GetResolverAttachedViewArgs struct {
	// The OCID of the view.
	ViewId pulumi.StringInput `pulumi:"viewId"`
}

func (GetResolverAttachedViewArgs) ElementType

func (GetResolverAttachedViewArgs) ToGetResolverAttachedViewOutput

func (i GetResolverAttachedViewArgs) ToGetResolverAttachedViewOutput() GetResolverAttachedViewOutput

func (GetResolverAttachedViewArgs) ToGetResolverAttachedViewOutputWithContext

func (i GetResolverAttachedViewArgs) ToGetResolverAttachedViewOutputWithContext(ctx context.Context) GetResolverAttachedViewOutput

type GetResolverAttachedViewArray

type GetResolverAttachedViewArray []GetResolverAttachedViewInput

func (GetResolverAttachedViewArray) ElementType

func (GetResolverAttachedViewArray) ToGetResolverAttachedViewArrayOutput

func (i GetResolverAttachedViewArray) ToGetResolverAttachedViewArrayOutput() GetResolverAttachedViewArrayOutput

func (GetResolverAttachedViewArray) ToGetResolverAttachedViewArrayOutputWithContext

func (i GetResolverAttachedViewArray) ToGetResolverAttachedViewArrayOutputWithContext(ctx context.Context) GetResolverAttachedViewArrayOutput

type GetResolverAttachedViewArrayInput

type GetResolverAttachedViewArrayInput interface {
	pulumi.Input

	ToGetResolverAttachedViewArrayOutput() GetResolverAttachedViewArrayOutput
	ToGetResolverAttachedViewArrayOutputWithContext(context.Context) GetResolverAttachedViewArrayOutput
}

GetResolverAttachedViewArrayInput is an input type that accepts GetResolverAttachedViewArray and GetResolverAttachedViewArrayOutput values. You can construct a concrete instance of `GetResolverAttachedViewArrayInput` via:

GetResolverAttachedViewArray{ GetResolverAttachedViewArgs{...} }

type GetResolverAttachedViewArrayOutput

type GetResolverAttachedViewArrayOutput struct{ *pulumi.OutputState }

func (GetResolverAttachedViewArrayOutput) ElementType

func (GetResolverAttachedViewArrayOutput) Index

func (GetResolverAttachedViewArrayOutput) ToGetResolverAttachedViewArrayOutput

func (o GetResolverAttachedViewArrayOutput) ToGetResolverAttachedViewArrayOutput() GetResolverAttachedViewArrayOutput

func (GetResolverAttachedViewArrayOutput) ToGetResolverAttachedViewArrayOutputWithContext

func (o GetResolverAttachedViewArrayOutput) ToGetResolverAttachedViewArrayOutputWithContext(ctx context.Context) GetResolverAttachedViewArrayOutput

type GetResolverAttachedViewInput

type GetResolverAttachedViewInput interface {
	pulumi.Input

	ToGetResolverAttachedViewOutput() GetResolverAttachedViewOutput
	ToGetResolverAttachedViewOutputWithContext(context.Context) GetResolverAttachedViewOutput
}

GetResolverAttachedViewInput is an input type that accepts GetResolverAttachedViewArgs and GetResolverAttachedViewOutput values. You can construct a concrete instance of `GetResolverAttachedViewInput` via:

GetResolverAttachedViewArgs{...}

type GetResolverAttachedViewOutput

type GetResolverAttachedViewOutput struct{ *pulumi.OutputState }

func (GetResolverAttachedViewOutput) ElementType

func (GetResolverAttachedViewOutput) ToGetResolverAttachedViewOutput

func (o GetResolverAttachedViewOutput) ToGetResolverAttachedViewOutput() GetResolverAttachedViewOutput

func (GetResolverAttachedViewOutput) ToGetResolverAttachedViewOutputWithContext

func (o GetResolverAttachedViewOutput) ToGetResolverAttachedViewOutputWithContext(ctx context.Context) GetResolverAttachedViewOutput

func (GetResolverAttachedViewOutput) ViewId

The OCID of the view.

type GetResolverEndpointType

type GetResolverEndpointType struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId string `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType string `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress string `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding bool `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening bool `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress string `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name string `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State string `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId string `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetResolverEndpointTypeArgs

type GetResolverEndpointTypeArgs struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringInput `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringInput `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolInput `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolInput `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringInput `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name pulumi.StringInput `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringInput `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetResolverEndpointTypeArgs) ElementType

func (GetResolverEndpointTypeArgs) ToGetResolverEndpointTypeOutput

func (i GetResolverEndpointTypeArgs) ToGetResolverEndpointTypeOutput() GetResolverEndpointTypeOutput

func (GetResolverEndpointTypeArgs) ToGetResolverEndpointTypeOutputWithContext

func (i GetResolverEndpointTypeArgs) ToGetResolverEndpointTypeOutputWithContext(ctx context.Context) GetResolverEndpointTypeOutput

type GetResolverEndpointTypeArray

type GetResolverEndpointTypeArray []GetResolverEndpointTypeInput

func (GetResolverEndpointTypeArray) ElementType

func (GetResolverEndpointTypeArray) ToGetResolverEndpointTypeArrayOutput

func (i GetResolverEndpointTypeArray) ToGetResolverEndpointTypeArrayOutput() GetResolverEndpointTypeArrayOutput

func (GetResolverEndpointTypeArray) ToGetResolverEndpointTypeArrayOutputWithContext

func (i GetResolverEndpointTypeArray) ToGetResolverEndpointTypeArrayOutputWithContext(ctx context.Context) GetResolverEndpointTypeArrayOutput

type GetResolverEndpointTypeArrayInput

type GetResolverEndpointTypeArrayInput interface {
	pulumi.Input

	ToGetResolverEndpointTypeArrayOutput() GetResolverEndpointTypeArrayOutput
	ToGetResolverEndpointTypeArrayOutputWithContext(context.Context) GetResolverEndpointTypeArrayOutput
}

GetResolverEndpointTypeArrayInput is an input type that accepts GetResolverEndpointTypeArray and GetResolverEndpointTypeArrayOutput values. You can construct a concrete instance of `GetResolverEndpointTypeArrayInput` via:

GetResolverEndpointTypeArray{ GetResolverEndpointTypeArgs{...} }

type GetResolverEndpointTypeArrayOutput

type GetResolverEndpointTypeArrayOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointTypeArrayOutput) ElementType

func (GetResolverEndpointTypeArrayOutput) Index

func (GetResolverEndpointTypeArrayOutput) ToGetResolverEndpointTypeArrayOutput

func (o GetResolverEndpointTypeArrayOutput) ToGetResolverEndpointTypeArrayOutput() GetResolverEndpointTypeArrayOutput

func (GetResolverEndpointTypeArrayOutput) ToGetResolverEndpointTypeArrayOutputWithContext

func (o GetResolverEndpointTypeArrayOutput) ToGetResolverEndpointTypeArrayOutputWithContext(ctx context.Context) GetResolverEndpointTypeArrayOutput

type GetResolverEndpointTypeInput

type GetResolverEndpointTypeInput interface {
	pulumi.Input

	ToGetResolverEndpointTypeOutput() GetResolverEndpointTypeOutput
	ToGetResolverEndpointTypeOutputWithContext(context.Context) GetResolverEndpointTypeOutput
}

GetResolverEndpointTypeInput is an input type that accepts GetResolverEndpointTypeArgs and GetResolverEndpointTypeOutput values. You can construct a concrete instance of `GetResolverEndpointTypeInput` via:

GetResolverEndpointTypeArgs{...}

type GetResolverEndpointTypeOutput

type GetResolverEndpointTypeOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointTypeOutput) CompartmentId

The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.

func (GetResolverEndpointTypeOutput) ElementType

func (GetResolverEndpointTypeOutput) EndpointType

The type of resolver endpoint. VNIC is currently the only supported type.

func (GetResolverEndpointTypeOutput) ForwardingAddress

func (o GetResolverEndpointTypeOutput) ForwardingAddress() pulumi.StringOutput

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

func (GetResolverEndpointTypeOutput) IsForwarding

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

func (GetResolverEndpointTypeOutput) IsListening

A Boolean flag indicating whether or not the resolver endpoint is for listening.

func (GetResolverEndpointTypeOutput) ListeningAddress

func (o GetResolverEndpointTypeOutput) ListeningAddress() pulumi.StringOutput

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

func (GetResolverEndpointTypeOutput) Name

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

func (GetResolverEndpointTypeOutput) Self

The canonical absolute URL of the resource.

func (GetResolverEndpointTypeOutput) State

The current state of the resource.

func (GetResolverEndpointTypeOutput) SubnetId

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

func (GetResolverEndpointTypeOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolverEndpointTypeOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolverEndpointTypeOutput) ToGetResolverEndpointTypeOutput

func (o GetResolverEndpointTypeOutput) ToGetResolverEndpointTypeOutput() GetResolverEndpointTypeOutput

func (GetResolverEndpointTypeOutput) ToGetResolverEndpointTypeOutputWithContext

func (o GetResolverEndpointTypeOutput) ToGetResolverEndpointTypeOutputWithContext(ctx context.Context) GetResolverEndpointTypeOutput

type GetResolverEndpointsArgs

type GetResolverEndpointsArgs struct {
	Filters []GetResolverEndpointsFilter `pulumi:"filters"`
	// The name of a resource.
	Name *string `pulumi:"name"`
	// The OCID of the target resolver.
	ResolverId string `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope string `pulumi:"scope"`
	// The state of a resource.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getResolverEndpoints.

type GetResolverEndpointsFilter

type GetResolverEndpointsFilter struct {
	// The name of a resource.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetResolverEndpointsFilterArgs

type GetResolverEndpointsFilterArgs struct {
	// The name of a resource.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetResolverEndpointsFilterArgs) ElementType

func (GetResolverEndpointsFilterArgs) ToGetResolverEndpointsFilterOutput

func (i GetResolverEndpointsFilterArgs) ToGetResolverEndpointsFilterOutput() GetResolverEndpointsFilterOutput

func (GetResolverEndpointsFilterArgs) ToGetResolverEndpointsFilterOutputWithContext

func (i GetResolverEndpointsFilterArgs) ToGetResolverEndpointsFilterOutputWithContext(ctx context.Context) GetResolverEndpointsFilterOutput

type GetResolverEndpointsFilterArray

type GetResolverEndpointsFilterArray []GetResolverEndpointsFilterInput

func (GetResolverEndpointsFilterArray) ElementType

func (GetResolverEndpointsFilterArray) ToGetResolverEndpointsFilterArrayOutput

func (i GetResolverEndpointsFilterArray) ToGetResolverEndpointsFilterArrayOutput() GetResolverEndpointsFilterArrayOutput

func (GetResolverEndpointsFilterArray) ToGetResolverEndpointsFilterArrayOutputWithContext

func (i GetResolverEndpointsFilterArray) ToGetResolverEndpointsFilterArrayOutputWithContext(ctx context.Context) GetResolverEndpointsFilterArrayOutput

type GetResolverEndpointsFilterArrayInput

type GetResolverEndpointsFilterArrayInput interface {
	pulumi.Input

	ToGetResolverEndpointsFilterArrayOutput() GetResolverEndpointsFilterArrayOutput
	ToGetResolverEndpointsFilterArrayOutputWithContext(context.Context) GetResolverEndpointsFilterArrayOutput
}

GetResolverEndpointsFilterArrayInput is an input type that accepts GetResolverEndpointsFilterArray and GetResolverEndpointsFilterArrayOutput values. You can construct a concrete instance of `GetResolverEndpointsFilterArrayInput` via:

GetResolverEndpointsFilterArray{ GetResolverEndpointsFilterArgs{...} }

type GetResolverEndpointsFilterArrayOutput

type GetResolverEndpointsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointsFilterArrayOutput) ElementType

func (GetResolverEndpointsFilterArrayOutput) Index

func (GetResolverEndpointsFilterArrayOutput) ToGetResolverEndpointsFilterArrayOutput

func (o GetResolverEndpointsFilterArrayOutput) ToGetResolverEndpointsFilterArrayOutput() GetResolverEndpointsFilterArrayOutput

func (GetResolverEndpointsFilterArrayOutput) ToGetResolverEndpointsFilterArrayOutputWithContext

func (o GetResolverEndpointsFilterArrayOutput) ToGetResolverEndpointsFilterArrayOutputWithContext(ctx context.Context) GetResolverEndpointsFilterArrayOutput

type GetResolverEndpointsFilterInput

type GetResolverEndpointsFilterInput interface {
	pulumi.Input

	ToGetResolverEndpointsFilterOutput() GetResolverEndpointsFilterOutput
	ToGetResolverEndpointsFilterOutputWithContext(context.Context) GetResolverEndpointsFilterOutput
}

GetResolverEndpointsFilterInput is an input type that accepts GetResolverEndpointsFilterArgs and GetResolverEndpointsFilterOutput values. You can construct a concrete instance of `GetResolverEndpointsFilterInput` via:

GetResolverEndpointsFilterArgs{...}

type GetResolverEndpointsFilterOutput

type GetResolverEndpointsFilterOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointsFilterOutput) ElementType

func (GetResolverEndpointsFilterOutput) Name

The name of a resource.

func (GetResolverEndpointsFilterOutput) Regex

func (GetResolverEndpointsFilterOutput) ToGetResolverEndpointsFilterOutput

func (o GetResolverEndpointsFilterOutput) ToGetResolverEndpointsFilterOutput() GetResolverEndpointsFilterOutput

func (GetResolverEndpointsFilterOutput) ToGetResolverEndpointsFilterOutputWithContext

func (o GetResolverEndpointsFilterOutput) ToGetResolverEndpointsFilterOutputWithContext(ctx context.Context) GetResolverEndpointsFilterOutput

func (GetResolverEndpointsFilterOutput) Values

type GetResolverEndpointsOutputArgs

type GetResolverEndpointsOutputArgs struct {
	Filters GetResolverEndpointsFilterArrayInput `pulumi:"filters"`
	// The name of a resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope pulumi.StringInput `pulumi:"scope"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getResolverEndpoints.

func (GetResolverEndpointsOutputArgs) ElementType

type GetResolverEndpointsResolverEndpoint

type GetResolverEndpointsResolverEndpoint struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId string `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType string `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress string `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding bool `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening bool `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress string `pulumi:"listeningAddress"`
	// The name of a resource.
	Name string `pulumi:"name"`
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds []string `pulumi:"nsgIds"`
	// The OCID of the target resolver.
	ResolverId string `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope *string `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId string `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetResolverEndpointsResolverEndpointArgs

type GetResolverEndpointsResolverEndpointArgs struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringInput `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringInput `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolInput `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolInput `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringInput `pulumi:"listeningAddress"`
	// The name of a resource.
	Name pulumi.StringInput `pulumi:"name"`
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds pulumi.StringArrayInput `pulumi:"nsgIds"`
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetResolverEndpointsResolverEndpointArgs) ElementType

func (GetResolverEndpointsResolverEndpointArgs) ToGetResolverEndpointsResolverEndpointOutput

func (i GetResolverEndpointsResolverEndpointArgs) ToGetResolverEndpointsResolverEndpointOutput() GetResolverEndpointsResolverEndpointOutput

func (GetResolverEndpointsResolverEndpointArgs) ToGetResolverEndpointsResolverEndpointOutputWithContext

func (i GetResolverEndpointsResolverEndpointArgs) ToGetResolverEndpointsResolverEndpointOutputWithContext(ctx context.Context) GetResolverEndpointsResolverEndpointOutput

type GetResolverEndpointsResolverEndpointArray

type GetResolverEndpointsResolverEndpointArray []GetResolverEndpointsResolverEndpointInput

func (GetResolverEndpointsResolverEndpointArray) ElementType

func (GetResolverEndpointsResolverEndpointArray) ToGetResolverEndpointsResolverEndpointArrayOutput

func (i GetResolverEndpointsResolverEndpointArray) ToGetResolverEndpointsResolverEndpointArrayOutput() GetResolverEndpointsResolverEndpointArrayOutput

func (GetResolverEndpointsResolverEndpointArray) ToGetResolverEndpointsResolverEndpointArrayOutputWithContext

func (i GetResolverEndpointsResolverEndpointArray) ToGetResolverEndpointsResolverEndpointArrayOutputWithContext(ctx context.Context) GetResolverEndpointsResolverEndpointArrayOutput

type GetResolverEndpointsResolverEndpointArrayInput

type GetResolverEndpointsResolverEndpointArrayInput interface {
	pulumi.Input

	ToGetResolverEndpointsResolverEndpointArrayOutput() GetResolverEndpointsResolverEndpointArrayOutput
	ToGetResolverEndpointsResolverEndpointArrayOutputWithContext(context.Context) GetResolverEndpointsResolverEndpointArrayOutput
}

GetResolverEndpointsResolverEndpointArrayInput is an input type that accepts GetResolverEndpointsResolverEndpointArray and GetResolverEndpointsResolverEndpointArrayOutput values. You can construct a concrete instance of `GetResolverEndpointsResolverEndpointArrayInput` via:

GetResolverEndpointsResolverEndpointArray{ GetResolverEndpointsResolverEndpointArgs{...} }

type GetResolverEndpointsResolverEndpointArrayOutput

type GetResolverEndpointsResolverEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointsResolverEndpointArrayOutput) ElementType

func (GetResolverEndpointsResolverEndpointArrayOutput) Index

func (GetResolverEndpointsResolverEndpointArrayOutput) ToGetResolverEndpointsResolverEndpointArrayOutput

func (o GetResolverEndpointsResolverEndpointArrayOutput) ToGetResolverEndpointsResolverEndpointArrayOutput() GetResolverEndpointsResolverEndpointArrayOutput

func (GetResolverEndpointsResolverEndpointArrayOutput) ToGetResolverEndpointsResolverEndpointArrayOutputWithContext

func (o GetResolverEndpointsResolverEndpointArrayOutput) ToGetResolverEndpointsResolverEndpointArrayOutputWithContext(ctx context.Context) GetResolverEndpointsResolverEndpointArrayOutput

type GetResolverEndpointsResolverEndpointInput

type GetResolverEndpointsResolverEndpointInput interface {
	pulumi.Input

	ToGetResolverEndpointsResolverEndpointOutput() GetResolverEndpointsResolverEndpointOutput
	ToGetResolverEndpointsResolverEndpointOutputWithContext(context.Context) GetResolverEndpointsResolverEndpointOutput
}

GetResolverEndpointsResolverEndpointInput is an input type that accepts GetResolverEndpointsResolverEndpointArgs and GetResolverEndpointsResolverEndpointOutput values. You can construct a concrete instance of `GetResolverEndpointsResolverEndpointInput` via:

GetResolverEndpointsResolverEndpointArgs{...}

type GetResolverEndpointsResolverEndpointOutput

type GetResolverEndpointsResolverEndpointOutput struct{ *pulumi.OutputState }

func (GetResolverEndpointsResolverEndpointOutput) CompartmentId

The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.

func (GetResolverEndpointsResolverEndpointOutput) ElementType

func (GetResolverEndpointsResolverEndpointOutput) EndpointType

The type of resolver endpoint. VNIC is currently the only supported type.

func (GetResolverEndpointsResolverEndpointOutput) ForwardingAddress

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

func (GetResolverEndpointsResolverEndpointOutput) IsForwarding

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

func (GetResolverEndpointsResolverEndpointOutput) IsListening

A Boolean flag indicating whether or not the resolver endpoint is for listening.

func (GetResolverEndpointsResolverEndpointOutput) ListeningAddress

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

func (GetResolverEndpointsResolverEndpointOutput) Name

The name of a resource.

func (GetResolverEndpointsResolverEndpointOutput) NsgIds

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

func (GetResolverEndpointsResolverEndpointOutput) ResolverId

The OCID of the target resolver.

func (GetResolverEndpointsResolverEndpointOutput) Scope

Value must be `PRIVATE` when listing private name resolver endpoints.

func (GetResolverEndpointsResolverEndpointOutput) Self

The canonical absolute URL of the resource.

func (GetResolverEndpointsResolverEndpointOutput) State

The state of a resource.

func (GetResolverEndpointsResolverEndpointOutput) SubnetId

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

func (GetResolverEndpointsResolverEndpointOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolverEndpointsResolverEndpointOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolverEndpointsResolverEndpointOutput) ToGetResolverEndpointsResolverEndpointOutput

func (o GetResolverEndpointsResolverEndpointOutput) ToGetResolverEndpointsResolverEndpointOutput() GetResolverEndpointsResolverEndpointOutput

func (GetResolverEndpointsResolverEndpointOutput) ToGetResolverEndpointsResolverEndpointOutputWithContext

func (o GetResolverEndpointsResolverEndpointOutput) ToGetResolverEndpointsResolverEndpointOutputWithContext(ctx context.Context) GetResolverEndpointsResolverEndpointOutput

type GetResolverEndpointsResult

type GetResolverEndpointsResult struct {
	Filters []GetResolverEndpointsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name *string `pulumi:"name"`
	// The list of resolver_endpoints.
	ResolverEndpoints []GetResolverEndpointsResolverEndpoint `pulumi:"resolverEndpoints"`
	ResolverId        string                                 `pulumi:"resolverId"`
	Scope             string                                 `pulumi:"scope"`
	// The current state of the resource.
	State *string `pulumi:"state"`
}

A collection of values returned by getResolverEndpoints.

func GetResolverEndpoints

func GetResolverEndpoints(ctx *pulumi.Context, args *GetResolverEndpointsArgs, opts ...pulumi.InvokeOption) (*GetResolverEndpointsResult, error)

This data source provides the list of Resolver Endpoints in Oracle Cloud Infrastructure DNS service.

Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolver endpoints in the DELETED lifecycle state to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetResolverEndpoints(ctx, &dns.GetResolverEndpointsArgs{
			ResolverId: testResolver.Id,
			Scope:      "PRIVATE",
			Name:       pulumi.StringRef(resolverEndpointName),
			State:      pulumi.StringRef(resolverEndpointState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetResolverEndpointsResultOutput

type GetResolverEndpointsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverEndpoints.

func (GetResolverEndpointsResultOutput) ElementType

func (GetResolverEndpointsResultOutput) Filters

func (GetResolverEndpointsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetResolverEndpointsResultOutput) Name

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

func (GetResolverEndpointsResultOutput) ResolverEndpoints

The list of resolver_endpoints.

func (GetResolverEndpointsResultOutput) ResolverId

func (GetResolverEndpointsResultOutput) Scope

func (GetResolverEndpointsResultOutput) State

The current state of the resource.

func (GetResolverEndpointsResultOutput) ToGetResolverEndpointsResultOutput

func (o GetResolverEndpointsResultOutput) ToGetResolverEndpointsResultOutput() GetResolverEndpointsResultOutput

func (GetResolverEndpointsResultOutput) ToGetResolverEndpointsResultOutputWithContext

func (o GetResolverEndpointsResultOutput) ToGetResolverEndpointsResultOutputWithContext(ctx context.Context) GetResolverEndpointsResultOutput

type GetResolverRule

type GetResolverRule struct {
	// The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.
	Action string `pulumi:"action"`
	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
	ClientAddressConditions []string `pulumi:"clientAddressConditions"`
	// IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses []string `pulumi:"destinationAddresses"`
	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions []string `pulumi:"qnameCoverConditions"`
	// Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
	SourceEndpointName string `pulumi:"sourceEndpointName"`
}

type GetResolverRuleArgs

type GetResolverRuleArgs struct {
	// The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.
	Action pulumi.StringInput `pulumi:"action"`
	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
	ClientAddressConditions pulumi.StringArrayInput `pulumi:"clientAddressConditions"`
	// IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions pulumi.StringArrayInput `pulumi:"qnameCoverConditions"`
	// Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
	SourceEndpointName pulumi.StringInput `pulumi:"sourceEndpointName"`
}

func (GetResolverRuleArgs) ElementType

func (GetResolverRuleArgs) ElementType() reflect.Type

func (GetResolverRuleArgs) ToGetResolverRuleOutput

func (i GetResolverRuleArgs) ToGetResolverRuleOutput() GetResolverRuleOutput

func (GetResolverRuleArgs) ToGetResolverRuleOutputWithContext

func (i GetResolverRuleArgs) ToGetResolverRuleOutputWithContext(ctx context.Context) GetResolverRuleOutput

type GetResolverRuleArray

type GetResolverRuleArray []GetResolverRuleInput

func (GetResolverRuleArray) ElementType

func (GetResolverRuleArray) ElementType() reflect.Type

func (GetResolverRuleArray) ToGetResolverRuleArrayOutput

func (i GetResolverRuleArray) ToGetResolverRuleArrayOutput() GetResolverRuleArrayOutput

func (GetResolverRuleArray) ToGetResolverRuleArrayOutputWithContext

func (i GetResolverRuleArray) ToGetResolverRuleArrayOutputWithContext(ctx context.Context) GetResolverRuleArrayOutput

type GetResolverRuleArrayInput

type GetResolverRuleArrayInput interface {
	pulumi.Input

	ToGetResolverRuleArrayOutput() GetResolverRuleArrayOutput
	ToGetResolverRuleArrayOutputWithContext(context.Context) GetResolverRuleArrayOutput
}

GetResolverRuleArrayInput is an input type that accepts GetResolverRuleArray and GetResolverRuleArrayOutput values. You can construct a concrete instance of `GetResolverRuleArrayInput` via:

GetResolverRuleArray{ GetResolverRuleArgs{...} }

type GetResolverRuleArrayOutput

type GetResolverRuleArrayOutput struct{ *pulumi.OutputState }

func (GetResolverRuleArrayOutput) ElementType

func (GetResolverRuleArrayOutput) ElementType() reflect.Type

func (GetResolverRuleArrayOutput) Index

func (GetResolverRuleArrayOutput) ToGetResolverRuleArrayOutput

func (o GetResolverRuleArrayOutput) ToGetResolverRuleArrayOutput() GetResolverRuleArrayOutput

func (GetResolverRuleArrayOutput) ToGetResolverRuleArrayOutputWithContext

func (o GetResolverRuleArrayOutput) ToGetResolverRuleArrayOutputWithContext(ctx context.Context) GetResolverRuleArrayOutput

type GetResolverRuleInput

type GetResolverRuleInput interface {
	pulumi.Input

	ToGetResolverRuleOutput() GetResolverRuleOutput
	ToGetResolverRuleOutputWithContext(context.Context) GetResolverRuleOutput
}

GetResolverRuleInput is an input type that accepts GetResolverRuleArgs and GetResolverRuleOutput values. You can construct a concrete instance of `GetResolverRuleInput` via:

GetResolverRuleArgs{...}

type GetResolverRuleOutput

type GetResolverRuleOutput struct{ *pulumi.OutputState }

func (GetResolverRuleOutput) Action

The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

func (GetResolverRuleOutput) ClientAddressConditions

func (o GetResolverRuleOutput) ClientAddressConditions() pulumi.StringArrayOutput

A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

func (GetResolverRuleOutput) DestinationAddresses

func (o GetResolverRuleOutput) DestinationAddresses() pulumi.StringArrayOutput

IP addresses to which queries should be forwarded. Currently limited to a single address.

func (GetResolverRuleOutput) ElementType

func (GetResolverRuleOutput) ElementType() reflect.Type

func (GetResolverRuleOutput) QnameCoverConditions

func (o GetResolverRuleOutput) QnameCoverConditions() pulumi.StringArrayOutput

A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

func (GetResolverRuleOutput) SourceEndpointName

func (o GetResolverRuleOutput) SourceEndpointName() pulumi.StringOutput

Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

func (GetResolverRuleOutput) ToGetResolverRuleOutput

func (o GetResolverRuleOutput) ToGetResolverRuleOutput() GetResolverRuleOutput

func (GetResolverRuleOutput) ToGetResolverRuleOutputWithContext

func (o GetResolverRuleOutput) ToGetResolverRuleOutputWithContext(ctx context.Context) GetResolverRuleOutput

type GetResolversArgs

type GetResolversArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName *string              `pulumi:"displayName"`
	Filters     []GetResolversFilter `pulumi:"filters"`
	// The OCID of a resource.
	Id *string `pulumi:"id"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope string `pulumi:"scope"`
	// The state of a resource.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getResolvers.

type GetResolversFilter

type GetResolversFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetResolversFilterArgs

type GetResolversFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetResolversFilterArgs) ElementType

func (GetResolversFilterArgs) ElementType() reflect.Type

func (GetResolversFilterArgs) ToGetResolversFilterOutput

func (i GetResolversFilterArgs) ToGetResolversFilterOutput() GetResolversFilterOutput

func (GetResolversFilterArgs) ToGetResolversFilterOutputWithContext

func (i GetResolversFilterArgs) ToGetResolversFilterOutputWithContext(ctx context.Context) GetResolversFilterOutput

type GetResolversFilterArray

type GetResolversFilterArray []GetResolversFilterInput

func (GetResolversFilterArray) ElementType

func (GetResolversFilterArray) ElementType() reflect.Type

func (GetResolversFilterArray) ToGetResolversFilterArrayOutput

func (i GetResolversFilterArray) ToGetResolversFilterArrayOutput() GetResolversFilterArrayOutput

func (GetResolversFilterArray) ToGetResolversFilterArrayOutputWithContext

func (i GetResolversFilterArray) ToGetResolversFilterArrayOutputWithContext(ctx context.Context) GetResolversFilterArrayOutput

type GetResolversFilterArrayInput

type GetResolversFilterArrayInput interface {
	pulumi.Input

	ToGetResolversFilterArrayOutput() GetResolversFilterArrayOutput
	ToGetResolversFilterArrayOutputWithContext(context.Context) GetResolversFilterArrayOutput
}

GetResolversFilterArrayInput is an input type that accepts GetResolversFilterArray and GetResolversFilterArrayOutput values. You can construct a concrete instance of `GetResolversFilterArrayInput` via:

GetResolversFilterArray{ GetResolversFilterArgs{...} }

type GetResolversFilterArrayOutput

type GetResolversFilterArrayOutput struct{ *pulumi.OutputState }

func (GetResolversFilterArrayOutput) ElementType

func (GetResolversFilterArrayOutput) Index

func (GetResolversFilterArrayOutput) ToGetResolversFilterArrayOutput

func (o GetResolversFilterArrayOutput) ToGetResolversFilterArrayOutput() GetResolversFilterArrayOutput

func (GetResolversFilterArrayOutput) ToGetResolversFilterArrayOutputWithContext

func (o GetResolversFilterArrayOutput) ToGetResolversFilterArrayOutputWithContext(ctx context.Context) GetResolversFilterArrayOutput

type GetResolversFilterInput

type GetResolversFilterInput interface {
	pulumi.Input

	ToGetResolversFilterOutput() GetResolversFilterOutput
	ToGetResolversFilterOutputWithContext(context.Context) GetResolversFilterOutput
}

GetResolversFilterInput is an input type that accepts GetResolversFilterArgs and GetResolversFilterOutput values. You can construct a concrete instance of `GetResolversFilterInput` via:

GetResolversFilterArgs{...}

type GetResolversFilterOutput

type GetResolversFilterOutput struct{ *pulumi.OutputState }

func (GetResolversFilterOutput) ElementType

func (GetResolversFilterOutput) ElementType() reflect.Type

func (GetResolversFilterOutput) Name

func (GetResolversFilterOutput) Regex

func (GetResolversFilterOutput) ToGetResolversFilterOutput

func (o GetResolversFilterOutput) ToGetResolversFilterOutput() GetResolversFilterOutput

func (GetResolversFilterOutput) ToGetResolversFilterOutputWithContext

func (o GetResolversFilterOutput) ToGetResolversFilterOutputWithContext(ctx context.Context) GetResolversFilterOutput

func (GetResolversFilterOutput) Values

type GetResolversOutputArgs

type GetResolversOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName pulumi.StringPtrInput        `pulumi:"displayName"`
	Filters     GetResolversFilterArrayInput `pulumi:"filters"`
	// The OCID of a resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope pulumi.StringInput `pulumi:"scope"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getResolvers.

func (GetResolversOutputArgs) ElementType

func (GetResolversOutputArgs) ElementType() reflect.Type

type GetResolversResolver

type GetResolversResolver struct {
	// The OCID of the attached VCN.
	AttachedVcnId string                             `pulumi:"attachedVcnId"`
	AttachedViews []GetResolversResolverAttachedView `pulumi:"attachedViews"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The OCID of the default view.
	DefaultViewId string `pulumi:"defaultViewId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName string                         `pulumi:"displayName"`
	Endpoints   []GetResolversResolverEndpoint `pulumi:"endpoints"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id string `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected bool                       `pulumi:"isProtected"`
	ResolverId  string                     `pulumi:"resolverId"`
	Rules       []GetResolversResolverRule `pulumi:"rules"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope string `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetResolversResolverArgs

type GetResolversResolverArgs struct {
	// The OCID of the attached VCN.
	AttachedVcnId pulumi.StringInput                         `pulumi:"attachedVcnId"`
	AttachedViews GetResolversResolverAttachedViewArrayInput `pulumi:"attachedViews"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The OCID of the default view.
	DefaultViewId pulumi.StringInput `pulumi:"defaultViewId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName pulumi.StringInput                     `pulumi:"displayName"`
	Endpoints   GetResolversResolverEndpointArrayInput `pulumi:"endpoints"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id pulumi.StringInput `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolInput                   `pulumi:"isProtected"`
	ResolverId  pulumi.StringInput                 `pulumi:"resolverId"`
	Rules       GetResolversResolverRuleArrayInput `pulumi:"rules"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope pulumi.StringInput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetResolversResolverArgs) ElementType

func (GetResolversResolverArgs) ElementType() reflect.Type

func (GetResolversResolverArgs) ToGetResolversResolverOutput

func (i GetResolversResolverArgs) ToGetResolversResolverOutput() GetResolversResolverOutput

func (GetResolversResolverArgs) ToGetResolversResolverOutputWithContext

func (i GetResolversResolverArgs) ToGetResolversResolverOutputWithContext(ctx context.Context) GetResolversResolverOutput

type GetResolversResolverArray

type GetResolversResolverArray []GetResolversResolverInput

func (GetResolversResolverArray) ElementType

func (GetResolversResolverArray) ElementType() reflect.Type

func (GetResolversResolverArray) ToGetResolversResolverArrayOutput

func (i GetResolversResolverArray) ToGetResolversResolverArrayOutput() GetResolversResolverArrayOutput

func (GetResolversResolverArray) ToGetResolversResolverArrayOutputWithContext

func (i GetResolversResolverArray) ToGetResolversResolverArrayOutputWithContext(ctx context.Context) GetResolversResolverArrayOutput

type GetResolversResolverArrayInput

type GetResolversResolverArrayInput interface {
	pulumi.Input

	ToGetResolversResolverArrayOutput() GetResolversResolverArrayOutput
	ToGetResolversResolverArrayOutputWithContext(context.Context) GetResolversResolverArrayOutput
}

GetResolversResolverArrayInput is an input type that accepts GetResolversResolverArray and GetResolversResolverArrayOutput values. You can construct a concrete instance of `GetResolversResolverArrayInput` via:

GetResolversResolverArray{ GetResolversResolverArgs{...} }

type GetResolversResolverArrayOutput

type GetResolversResolverArrayOutput struct{ *pulumi.OutputState }

func (GetResolversResolverArrayOutput) ElementType

func (GetResolversResolverArrayOutput) Index

func (GetResolversResolverArrayOutput) ToGetResolversResolverArrayOutput

func (o GetResolversResolverArrayOutput) ToGetResolversResolverArrayOutput() GetResolversResolverArrayOutput

func (GetResolversResolverArrayOutput) ToGetResolversResolverArrayOutputWithContext

func (o GetResolversResolverArrayOutput) ToGetResolversResolverArrayOutputWithContext(ctx context.Context) GetResolversResolverArrayOutput

type GetResolversResolverAttachedView

type GetResolversResolverAttachedView struct {
	ViewId string `pulumi:"viewId"`
}

type GetResolversResolverAttachedViewArgs

type GetResolversResolverAttachedViewArgs struct {
	ViewId pulumi.StringInput `pulumi:"viewId"`
}

func (GetResolversResolverAttachedViewArgs) ElementType

func (GetResolversResolverAttachedViewArgs) ToGetResolversResolverAttachedViewOutput

func (i GetResolversResolverAttachedViewArgs) ToGetResolversResolverAttachedViewOutput() GetResolversResolverAttachedViewOutput

func (GetResolversResolverAttachedViewArgs) ToGetResolversResolverAttachedViewOutputWithContext

func (i GetResolversResolverAttachedViewArgs) ToGetResolversResolverAttachedViewOutputWithContext(ctx context.Context) GetResolversResolverAttachedViewOutput

type GetResolversResolverAttachedViewArray

type GetResolversResolverAttachedViewArray []GetResolversResolverAttachedViewInput

func (GetResolversResolverAttachedViewArray) ElementType

func (GetResolversResolverAttachedViewArray) ToGetResolversResolverAttachedViewArrayOutput

func (i GetResolversResolverAttachedViewArray) ToGetResolversResolverAttachedViewArrayOutput() GetResolversResolverAttachedViewArrayOutput

func (GetResolversResolverAttachedViewArray) ToGetResolversResolverAttachedViewArrayOutputWithContext

func (i GetResolversResolverAttachedViewArray) ToGetResolversResolverAttachedViewArrayOutputWithContext(ctx context.Context) GetResolversResolverAttachedViewArrayOutput

type GetResolversResolverAttachedViewArrayInput

type GetResolversResolverAttachedViewArrayInput interface {
	pulumi.Input

	ToGetResolversResolverAttachedViewArrayOutput() GetResolversResolverAttachedViewArrayOutput
	ToGetResolversResolverAttachedViewArrayOutputWithContext(context.Context) GetResolversResolverAttachedViewArrayOutput
}

GetResolversResolverAttachedViewArrayInput is an input type that accepts GetResolversResolverAttachedViewArray and GetResolversResolverAttachedViewArrayOutput values. You can construct a concrete instance of `GetResolversResolverAttachedViewArrayInput` via:

GetResolversResolverAttachedViewArray{ GetResolversResolverAttachedViewArgs{...} }

type GetResolversResolverAttachedViewArrayOutput

type GetResolversResolverAttachedViewArrayOutput struct{ *pulumi.OutputState }

func (GetResolversResolverAttachedViewArrayOutput) ElementType

func (GetResolversResolverAttachedViewArrayOutput) Index

func (GetResolversResolverAttachedViewArrayOutput) ToGetResolversResolverAttachedViewArrayOutput

func (o GetResolversResolverAttachedViewArrayOutput) ToGetResolversResolverAttachedViewArrayOutput() GetResolversResolverAttachedViewArrayOutput

func (GetResolversResolverAttachedViewArrayOutput) ToGetResolversResolverAttachedViewArrayOutputWithContext

func (o GetResolversResolverAttachedViewArrayOutput) ToGetResolversResolverAttachedViewArrayOutputWithContext(ctx context.Context) GetResolversResolverAttachedViewArrayOutput

type GetResolversResolverAttachedViewInput

type GetResolversResolverAttachedViewInput interface {
	pulumi.Input

	ToGetResolversResolverAttachedViewOutput() GetResolversResolverAttachedViewOutput
	ToGetResolversResolverAttachedViewOutputWithContext(context.Context) GetResolversResolverAttachedViewOutput
}

GetResolversResolverAttachedViewInput is an input type that accepts GetResolversResolverAttachedViewArgs and GetResolversResolverAttachedViewOutput values. You can construct a concrete instance of `GetResolversResolverAttachedViewInput` via:

GetResolversResolverAttachedViewArgs{...}

type GetResolversResolverAttachedViewOutput

type GetResolversResolverAttachedViewOutput struct{ *pulumi.OutputState }

func (GetResolversResolverAttachedViewOutput) ElementType

func (GetResolversResolverAttachedViewOutput) ToGetResolversResolverAttachedViewOutput

func (o GetResolversResolverAttachedViewOutput) ToGetResolversResolverAttachedViewOutput() GetResolversResolverAttachedViewOutput

func (GetResolversResolverAttachedViewOutput) ToGetResolversResolverAttachedViewOutputWithContext

func (o GetResolversResolverAttachedViewOutput) ToGetResolversResolverAttachedViewOutputWithContext(ctx context.Context) GetResolversResolverAttachedViewOutput

func (GetResolversResolverAttachedViewOutput) ViewId

type GetResolversResolverEndpoint

type GetResolversResolverEndpoint struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId     string `pulumi:"compartmentId"`
	EndpointType      string `pulumi:"endpointType"`
	ForwardingAddress string `pulumi:"forwardingAddress"`
	IsForwarding      bool   `pulumi:"isForwarding"`
	IsListening       bool   `pulumi:"isListening"`
	ListeningAddress  string `pulumi:"listeningAddress"`
	Name              string `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State    string `pulumi:"state"`
	SubnetId string `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetResolversResolverEndpointArgs

type GetResolversResolverEndpointArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId     pulumi.StringInput `pulumi:"compartmentId"`
	EndpointType      pulumi.StringInput `pulumi:"endpointType"`
	ForwardingAddress pulumi.StringInput `pulumi:"forwardingAddress"`
	IsForwarding      pulumi.BoolInput   `pulumi:"isForwarding"`
	IsListening       pulumi.BoolInput   `pulumi:"isListening"`
	ListeningAddress  pulumi.StringInput `pulumi:"listeningAddress"`
	Name              pulumi.StringInput `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State    pulumi.StringInput `pulumi:"state"`
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetResolversResolverEndpointArgs) ElementType

func (GetResolversResolverEndpointArgs) ToGetResolversResolverEndpointOutput

func (i GetResolversResolverEndpointArgs) ToGetResolversResolverEndpointOutput() GetResolversResolverEndpointOutput

func (GetResolversResolverEndpointArgs) ToGetResolversResolverEndpointOutputWithContext

func (i GetResolversResolverEndpointArgs) ToGetResolversResolverEndpointOutputWithContext(ctx context.Context) GetResolversResolverEndpointOutput

type GetResolversResolverEndpointArray

type GetResolversResolverEndpointArray []GetResolversResolverEndpointInput

func (GetResolversResolverEndpointArray) ElementType

func (GetResolversResolverEndpointArray) ToGetResolversResolverEndpointArrayOutput

func (i GetResolversResolverEndpointArray) ToGetResolversResolverEndpointArrayOutput() GetResolversResolverEndpointArrayOutput

func (GetResolversResolverEndpointArray) ToGetResolversResolverEndpointArrayOutputWithContext

func (i GetResolversResolverEndpointArray) ToGetResolversResolverEndpointArrayOutputWithContext(ctx context.Context) GetResolversResolverEndpointArrayOutput

type GetResolversResolverEndpointArrayInput

type GetResolversResolverEndpointArrayInput interface {
	pulumi.Input

	ToGetResolversResolverEndpointArrayOutput() GetResolversResolverEndpointArrayOutput
	ToGetResolversResolverEndpointArrayOutputWithContext(context.Context) GetResolversResolverEndpointArrayOutput
}

GetResolversResolverEndpointArrayInput is an input type that accepts GetResolversResolverEndpointArray and GetResolversResolverEndpointArrayOutput values. You can construct a concrete instance of `GetResolversResolverEndpointArrayInput` via:

GetResolversResolverEndpointArray{ GetResolversResolverEndpointArgs{...} }

type GetResolversResolverEndpointArrayOutput

type GetResolversResolverEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetResolversResolverEndpointArrayOutput) ElementType

func (GetResolversResolverEndpointArrayOutput) Index

func (GetResolversResolverEndpointArrayOutput) ToGetResolversResolverEndpointArrayOutput

func (o GetResolversResolverEndpointArrayOutput) ToGetResolversResolverEndpointArrayOutput() GetResolversResolverEndpointArrayOutput

func (GetResolversResolverEndpointArrayOutput) ToGetResolversResolverEndpointArrayOutputWithContext

func (o GetResolversResolverEndpointArrayOutput) ToGetResolversResolverEndpointArrayOutputWithContext(ctx context.Context) GetResolversResolverEndpointArrayOutput

type GetResolversResolverEndpointInput

type GetResolversResolverEndpointInput interface {
	pulumi.Input

	ToGetResolversResolverEndpointOutput() GetResolversResolverEndpointOutput
	ToGetResolversResolverEndpointOutputWithContext(context.Context) GetResolversResolverEndpointOutput
}

GetResolversResolverEndpointInput is an input type that accepts GetResolversResolverEndpointArgs and GetResolversResolverEndpointOutput values. You can construct a concrete instance of `GetResolversResolverEndpointInput` via:

GetResolversResolverEndpointArgs{...}

type GetResolversResolverEndpointOutput

type GetResolversResolverEndpointOutput struct{ *pulumi.OutputState }

func (GetResolversResolverEndpointOutput) CompartmentId

The OCID of the compartment the resource belongs to.

func (GetResolversResolverEndpointOutput) ElementType

func (GetResolversResolverEndpointOutput) EndpointType

func (GetResolversResolverEndpointOutput) ForwardingAddress

func (GetResolversResolverEndpointOutput) IsForwarding

func (GetResolversResolverEndpointOutput) IsListening

func (GetResolversResolverEndpointOutput) ListeningAddress

func (GetResolversResolverEndpointOutput) Name

func (GetResolversResolverEndpointOutput) Self

The canonical absolute URL of the resource.

func (GetResolversResolverEndpointOutput) State

The state of a resource.

func (GetResolversResolverEndpointOutput) SubnetId

func (GetResolversResolverEndpointOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolversResolverEndpointOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolversResolverEndpointOutput) ToGetResolversResolverEndpointOutput

func (o GetResolversResolverEndpointOutput) ToGetResolversResolverEndpointOutput() GetResolversResolverEndpointOutput

func (GetResolversResolverEndpointOutput) ToGetResolversResolverEndpointOutputWithContext

func (o GetResolversResolverEndpointOutput) ToGetResolversResolverEndpointOutputWithContext(ctx context.Context) GetResolversResolverEndpointOutput

type GetResolversResolverInput

type GetResolversResolverInput interface {
	pulumi.Input

	ToGetResolversResolverOutput() GetResolversResolverOutput
	ToGetResolversResolverOutputWithContext(context.Context) GetResolversResolverOutput
}

GetResolversResolverInput is an input type that accepts GetResolversResolverArgs and GetResolversResolverOutput values. You can construct a concrete instance of `GetResolversResolverInput` via:

GetResolversResolverArgs{...}

type GetResolversResolverOutput

type GetResolversResolverOutput struct{ *pulumi.OutputState }

func (GetResolversResolverOutput) AttachedVcnId

The OCID of the attached VCN.

func (GetResolversResolverOutput) AttachedViews

func (GetResolversResolverOutput) CompartmentId

The OCID of the compartment the resource belongs to.

func (GetResolversResolverOutput) DefaultViewId

The OCID of the default view.

func (GetResolversResolverOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetResolversResolverOutput) DisplayName

The displayName of a resource.

func (GetResolversResolverOutput) ElementType

func (GetResolversResolverOutput) ElementType() reflect.Type

func (GetResolversResolverOutput) Endpoints

func (GetResolversResolverOutput) FreeformTags

func (o GetResolversResolverOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetResolversResolverOutput) Id

The OCID of a resource.

func (GetResolversResolverOutput) IsProtected

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (GetResolversResolverOutput) ResolverId

func (GetResolversResolverOutput) Rules

func (GetResolversResolverOutput) Scope

Value must be `PRIVATE` when listing private name resolvers.

func (GetResolversResolverOutput) Self

The canonical absolute URL of the resource.

func (GetResolversResolverOutput) State

The state of a resource.

func (GetResolversResolverOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolversResolverOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetResolversResolverOutput) ToGetResolversResolverOutput

func (o GetResolversResolverOutput) ToGetResolversResolverOutput() GetResolversResolverOutput

func (GetResolversResolverOutput) ToGetResolversResolverOutputWithContext

func (o GetResolversResolverOutput) ToGetResolversResolverOutputWithContext(ctx context.Context) GetResolversResolverOutput

type GetResolversResolverRule

type GetResolversResolverRule struct {
	Action                  string   `pulumi:"action"`
	ClientAddressConditions []string `pulumi:"clientAddressConditions"`
	DestinationAddresses    []string `pulumi:"destinationAddresses"`
	QnameCoverConditions    []string `pulumi:"qnameCoverConditions"`
	SourceEndpointName      string   `pulumi:"sourceEndpointName"`
}

type GetResolversResolverRuleArgs

type GetResolversResolverRuleArgs struct {
	Action                  pulumi.StringInput      `pulumi:"action"`
	ClientAddressConditions pulumi.StringArrayInput `pulumi:"clientAddressConditions"`
	DestinationAddresses    pulumi.StringArrayInput `pulumi:"destinationAddresses"`
	QnameCoverConditions    pulumi.StringArrayInput `pulumi:"qnameCoverConditions"`
	SourceEndpointName      pulumi.StringInput      `pulumi:"sourceEndpointName"`
}

func (GetResolversResolverRuleArgs) ElementType

func (GetResolversResolverRuleArgs) ToGetResolversResolverRuleOutput

func (i GetResolversResolverRuleArgs) ToGetResolversResolverRuleOutput() GetResolversResolverRuleOutput

func (GetResolversResolverRuleArgs) ToGetResolversResolverRuleOutputWithContext

func (i GetResolversResolverRuleArgs) ToGetResolversResolverRuleOutputWithContext(ctx context.Context) GetResolversResolverRuleOutput

type GetResolversResolverRuleArray

type GetResolversResolverRuleArray []GetResolversResolverRuleInput

func (GetResolversResolverRuleArray) ElementType

func (GetResolversResolverRuleArray) ToGetResolversResolverRuleArrayOutput

func (i GetResolversResolverRuleArray) ToGetResolversResolverRuleArrayOutput() GetResolversResolverRuleArrayOutput

func (GetResolversResolverRuleArray) ToGetResolversResolverRuleArrayOutputWithContext

func (i GetResolversResolverRuleArray) ToGetResolversResolverRuleArrayOutputWithContext(ctx context.Context) GetResolversResolverRuleArrayOutput

type GetResolversResolverRuleArrayInput

type GetResolversResolverRuleArrayInput interface {
	pulumi.Input

	ToGetResolversResolverRuleArrayOutput() GetResolversResolverRuleArrayOutput
	ToGetResolversResolverRuleArrayOutputWithContext(context.Context) GetResolversResolverRuleArrayOutput
}

GetResolversResolverRuleArrayInput is an input type that accepts GetResolversResolverRuleArray and GetResolversResolverRuleArrayOutput values. You can construct a concrete instance of `GetResolversResolverRuleArrayInput` via:

GetResolversResolverRuleArray{ GetResolversResolverRuleArgs{...} }

type GetResolversResolverRuleArrayOutput

type GetResolversResolverRuleArrayOutput struct{ *pulumi.OutputState }

func (GetResolversResolverRuleArrayOutput) ElementType

func (GetResolversResolverRuleArrayOutput) Index

func (GetResolversResolverRuleArrayOutput) ToGetResolversResolverRuleArrayOutput

func (o GetResolversResolverRuleArrayOutput) ToGetResolversResolverRuleArrayOutput() GetResolversResolverRuleArrayOutput

func (GetResolversResolverRuleArrayOutput) ToGetResolversResolverRuleArrayOutputWithContext

func (o GetResolversResolverRuleArrayOutput) ToGetResolversResolverRuleArrayOutputWithContext(ctx context.Context) GetResolversResolverRuleArrayOutput

type GetResolversResolverRuleInput

type GetResolversResolverRuleInput interface {
	pulumi.Input

	ToGetResolversResolverRuleOutput() GetResolversResolverRuleOutput
	ToGetResolversResolverRuleOutputWithContext(context.Context) GetResolversResolverRuleOutput
}

GetResolversResolverRuleInput is an input type that accepts GetResolversResolverRuleArgs and GetResolversResolverRuleOutput values. You can construct a concrete instance of `GetResolversResolverRuleInput` via:

GetResolversResolverRuleArgs{...}

type GetResolversResolverRuleOutput

type GetResolversResolverRuleOutput struct{ *pulumi.OutputState }

func (GetResolversResolverRuleOutput) Action

func (GetResolversResolverRuleOutput) ClientAddressConditions

func (o GetResolversResolverRuleOutput) ClientAddressConditions() pulumi.StringArrayOutput

func (GetResolversResolverRuleOutput) DestinationAddresses

func (o GetResolversResolverRuleOutput) DestinationAddresses() pulumi.StringArrayOutput

func (GetResolversResolverRuleOutput) ElementType

func (GetResolversResolverRuleOutput) QnameCoverConditions

func (o GetResolversResolverRuleOutput) QnameCoverConditions() pulumi.StringArrayOutput

func (GetResolversResolverRuleOutput) SourceEndpointName

func (o GetResolversResolverRuleOutput) SourceEndpointName() pulumi.StringOutput

func (GetResolversResolverRuleOutput) ToGetResolversResolverRuleOutput

func (o GetResolversResolverRuleOutput) ToGetResolversResolverRuleOutput() GetResolversResolverRuleOutput

func (GetResolversResolverRuleOutput) ToGetResolversResolverRuleOutputWithContext

func (o GetResolversResolverRuleOutput) ToGetResolversResolverRuleOutputWithContext(ctx context.Context) GetResolversResolverRuleOutput

type GetResolversResult

type GetResolversResult struct {
	// The OCID of the owning compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The display name of the resolver.
	DisplayName *string              `pulumi:"displayName"`
	Filters     []GetResolversFilter `pulumi:"filters"`
	// The OCID of the resolver.
	Id *string `pulumi:"id"`
	// The list of resolvers.
	Resolvers []GetResolversResolver `pulumi:"resolvers"`
	Scope     string                 `pulumi:"scope"`
	// The current state of the resource.
	State *string `pulumi:"state"`
}

A collection of values returned by getResolvers.

func GetResolvers

func GetResolvers(ctx *pulumi.Context, args *GetResolversArgs, opts ...pulumi.InvokeOption) (*GetResolversResult, error)

This data source provides the list of Resolvers in Oracle Cloud Infrastructure DNS service.

Gets a list of all resolvers within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolvers in the DELETED lifecycleState to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetResolvers(ctx, &dns.GetResolversArgs{
			CompartmentId: compartmentId,
			Scope:         "PRIVATE",
			DisplayName:   pulumi.StringRef(resolverDisplayName),
			Id:            pulumi.StringRef(resolverId),
			State:         pulumi.StringRef(resolverState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetResolversResultOutput

type GetResolversResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolvers.

func (GetResolversResultOutput) CompartmentId

func (o GetResolversResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the owning compartment.

func (GetResolversResultOutput) DisplayName

The display name of the resolver.

func (GetResolversResultOutput) ElementType

func (GetResolversResultOutput) ElementType() reflect.Type

func (GetResolversResultOutput) Filters

func (GetResolversResultOutput) Id

The OCID of the resolver.

func (GetResolversResultOutput) Resolvers

The list of resolvers.

func (GetResolversResultOutput) Scope

func (GetResolversResultOutput) State

The current state of the resource.

func (GetResolversResultOutput) ToGetResolversResultOutput

func (o GetResolversResultOutput) ToGetResolversResultOutput() GetResolversResultOutput

func (GetResolversResultOutput) ToGetResolversResultOutputWithContext

func (o GetResolversResultOutput) ToGetResolversResultOutputWithContext(ctx context.Context) GetResolversResultOutput

type GetRrsetItem

type GetRrsetItem struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain string `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected bool `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata string `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash string `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion string `pulumi:"rrsetVersion"`
	// The type of the target RRSet within the target zone.
	Rtype string `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl int `pulumi:"ttl"`
}

type GetRrsetItemArgs

type GetRrsetItemArgs struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain pulumi.StringInput `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolInput `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringInput `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringInput `pulumi:"rrsetVersion"`
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringInput `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetRrsetItemArgs) ElementType

func (GetRrsetItemArgs) ElementType() reflect.Type

func (GetRrsetItemArgs) ToGetRrsetItemOutput

func (i GetRrsetItemArgs) ToGetRrsetItemOutput() GetRrsetItemOutput

func (GetRrsetItemArgs) ToGetRrsetItemOutputWithContext

func (i GetRrsetItemArgs) ToGetRrsetItemOutputWithContext(ctx context.Context) GetRrsetItemOutput

type GetRrsetItemArray

type GetRrsetItemArray []GetRrsetItemInput

func (GetRrsetItemArray) ElementType

func (GetRrsetItemArray) ElementType() reflect.Type

func (GetRrsetItemArray) ToGetRrsetItemArrayOutput

func (i GetRrsetItemArray) ToGetRrsetItemArrayOutput() GetRrsetItemArrayOutput

func (GetRrsetItemArray) ToGetRrsetItemArrayOutputWithContext

func (i GetRrsetItemArray) ToGetRrsetItemArrayOutputWithContext(ctx context.Context) GetRrsetItemArrayOutput

type GetRrsetItemArrayInput

type GetRrsetItemArrayInput interface {
	pulumi.Input

	ToGetRrsetItemArrayOutput() GetRrsetItemArrayOutput
	ToGetRrsetItemArrayOutputWithContext(context.Context) GetRrsetItemArrayOutput
}

GetRrsetItemArrayInput is an input type that accepts GetRrsetItemArray and GetRrsetItemArrayOutput values. You can construct a concrete instance of `GetRrsetItemArrayInput` via:

GetRrsetItemArray{ GetRrsetItemArgs{...} }

type GetRrsetItemArrayOutput

type GetRrsetItemArrayOutput struct{ *pulumi.OutputState }

func (GetRrsetItemArrayOutput) ElementType

func (GetRrsetItemArrayOutput) ElementType() reflect.Type

func (GetRrsetItemArrayOutput) Index

func (GetRrsetItemArrayOutput) ToGetRrsetItemArrayOutput

func (o GetRrsetItemArrayOutput) ToGetRrsetItemArrayOutput() GetRrsetItemArrayOutput

func (GetRrsetItemArrayOutput) ToGetRrsetItemArrayOutputWithContext

func (o GetRrsetItemArrayOutput) ToGetRrsetItemArrayOutputWithContext(ctx context.Context) GetRrsetItemArrayOutput

type GetRrsetItemInput

type GetRrsetItemInput interface {
	pulumi.Input

	ToGetRrsetItemOutput() GetRrsetItemOutput
	ToGetRrsetItemOutputWithContext(context.Context) GetRrsetItemOutput
}

GetRrsetItemInput is an input type that accepts GetRrsetItemArgs and GetRrsetItemOutput values. You can construct a concrete instance of `GetRrsetItemInput` via:

GetRrsetItemArgs{...}

type GetRrsetItemOutput

type GetRrsetItemOutput struct{ *pulumi.OutputState }

func (GetRrsetItemOutput) Domain

The target fully-qualified domain name (FQDN) within the target zone.

func (GetRrsetItemOutput) ElementType

func (GetRrsetItemOutput) ElementType() reflect.Type

func (GetRrsetItemOutput) IsProtected

func (o GetRrsetItemOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

func (GetRrsetItemOutput) Rdata

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)

func (GetRrsetItemOutput) RecordHash

func (o GetRrsetItemOutput) RecordHash() pulumi.StringOutput

A unique identifier for the record within its zone.

func (GetRrsetItemOutput) RrsetVersion

func (o GetRrsetItemOutput) RrsetVersion() pulumi.StringOutput

The latest version of the record's zone in which its RRSet differs from the preceding version.

func (GetRrsetItemOutput) Rtype

The type of the target RRSet within the target zone.

func (GetRrsetItemOutput) ToGetRrsetItemOutput

func (o GetRrsetItemOutput) ToGetRrsetItemOutput() GetRrsetItemOutput

func (GetRrsetItemOutput) ToGetRrsetItemOutputWithContext

func (o GetRrsetItemOutput) ToGetRrsetItemOutputWithContext(ctx context.Context) GetRrsetItemOutput

func (GetRrsetItemOutput) Ttl

The Time To Live for the record, in seconds.

type GetRrsetsArgs added in v0.19.0

type GetRrsetsArgs struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain *string `pulumi:"domain"`
	// Matches any rrset whose fully-qualified domain name (FQDN) contains the provided value.
	DomainContains *string           `pulumi:"domainContains"`
	Filters        []GetRrsetsFilter `pulumi:"filters"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype *string `pulumi:"rtype"`
	// Specifies to operate only on resources that have a matching DNS scope.
	Scope *string `pulumi:"scope"`
	// The OCID of the view the resource is associated with.
	ViewId *string `pulumi:"viewId"`
	// The name or OCID of the target zone.
	ZoneNameOrId string `pulumi:"zoneNameOrId"`
}

A collection of arguments for invoking getRrsets.

type GetRrsetsFilter added in v0.19.0

type GetRrsetsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetRrsetsFilterArgs added in v0.19.0

type GetRrsetsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRrsetsFilterArgs) ElementType added in v0.19.0

func (GetRrsetsFilterArgs) ElementType() reflect.Type

func (GetRrsetsFilterArgs) ToGetRrsetsFilterOutput added in v0.19.0

func (i GetRrsetsFilterArgs) ToGetRrsetsFilterOutput() GetRrsetsFilterOutput

func (GetRrsetsFilterArgs) ToGetRrsetsFilterOutputWithContext added in v0.19.0

func (i GetRrsetsFilterArgs) ToGetRrsetsFilterOutputWithContext(ctx context.Context) GetRrsetsFilterOutput

type GetRrsetsFilterArray added in v0.19.0

type GetRrsetsFilterArray []GetRrsetsFilterInput

func (GetRrsetsFilterArray) ElementType added in v0.19.0

func (GetRrsetsFilterArray) ElementType() reflect.Type

func (GetRrsetsFilterArray) ToGetRrsetsFilterArrayOutput added in v0.19.0

func (i GetRrsetsFilterArray) ToGetRrsetsFilterArrayOutput() GetRrsetsFilterArrayOutput

func (GetRrsetsFilterArray) ToGetRrsetsFilterArrayOutputWithContext added in v0.19.0

func (i GetRrsetsFilterArray) ToGetRrsetsFilterArrayOutputWithContext(ctx context.Context) GetRrsetsFilterArrayOutput

type GetRrsetsFilterArrayInput added in v0.19.0

type GetRrsetsFilterArrayInput interface {
	pulumi.Input

	ToGetRrsetsFilterArrayOutput() GetRrsetsFilterArrayOutput
	ToGetRrsetsFilterArrayOutputWithContext(context.Context) GetRrsetsFilterArrayOutput
}

GetRrsetsFilterArrayInput is an input type that accepts GetRrsetsFilterArray and GetRrsetsFilterArrayOutput values. You can construct a concrete instance of `GetRrsetsFilterArrayInput` via:

GetRrsetsFilterArray{ GetRrsetsFilterArgs{...} }

type GetRrsetsFilterArrayOutput added in v0.19.0

type GetRrsetsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRrsetsFilterArrayOutput) ElementType added in v0.19.0

func (GetRrsetsFilterArrayOutput) ElementType() reflect.Type

func (GetRrsetsFilterArrayOutput) Index added in v0.19.0

func (GetRrsetsFilterArrayOutput) ToGetRrsetsFilterArrayOutput added in v0.19.0

func (o GetRrsetsFilterArrayOutput) ToGetRrsetsFilterArrayOutput() GetRrsetsFilterArrayOutput

func (GetRrsetsFilterArrayOutput) ToGetRrsetsFilterArrayOutputWithContext added in v0.19.0

func (o GetRrsetsFilterArrayOutput) ToGetRrsetsFilterArrayOutputWithContext(ctx context.Context) GetRrsetsFilterArrayOutput

type GetRrsetsFilterInput added in v0.19.0

type GetRrsetsFilterInput interface {
	pulumi.Input

	ToGetRrsetsFilterOutput() GetRrsetsFilterOutput
	ToGetRrsetsFilterOutputWithContext(context.Context) GetRrsetsFilterOutput
}

GetRrsetsFilterInput is an input type that accepts GetRrsetsFilterArgs and GetRrsetsFilterOutput values. You can construct a concrete instance of `GetRrsetsFilterInput` via:

GetRrsetsFilterArgs{...}

type GetRrsetsFilterOutput added in v0.19.0

type GetRrsetsFilterOutput struct{ *pulumi.OutputState }

func (GetRrsetsFilterOutput) ElementType added in v0.19.0

func (GetRrsetsFilterOutput) ElementType() reflect.Type

func (GetRrsetsFilterOutput) Name added in v0.19.0

func (GetRrsetsFilterOutput) Regex added in v0.19.0

func (GetRrsetsFilterOutput) ToGetRrsetsFilterOutput added in v0.19.0

func (o GetRrsetsFilterOutput) ToGetRrsetsFilterOutput() GetRrsetsFilterOutput

func (GetRrsetsFilterOutput) ToGetRrsetsFilterOutputWithContext added in v0.19.0

func (o GetRrsetsFilterOutput) ToGetRrsetsFilterOutputWithContext(ctx context.Context) GetRrsetsFilterOutput

func (GetRrsetsFilterOutput) Values added in v0.19.0

type GetRrsetsOutputArgs added in v0.19.0

type GetRrsetsOutputArgs struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Matches any rrset whose fully-qualified domain name (FQDN) contains the provided value.
	DomainContains pulumi.StringPtrInput     `pulumi:"domainContains"`
	Filters        GetRrsetsFilterArrayInput `pulumi:"filters"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype pulumi.StringPtrInput `pulumi:"rtype"`
	// Specifies to operate only on resources that have a matching DNS scope.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrInput `pulumi:"viewId"`
	// The name or OCID of the target zone.
	ZoneNameOrId pulumi.StringInput `pulumi:"zoneNameOrId"`
}

A collection of arguments for invoking getRrsets.

func (GetRrsetsOutputArgs) ElementType added in v0.19.0

func (GetRrsetsOutputArgs) ElementType() reflect.Type

type GetRrsetsResult added in v0.19.0

type GetRrsetsResult struct {
	// The fully qualified domain name where the record can be located.
	Domain         *string           `pulumi:"domain"`
	DomainContains *string           `pulumi:"domainContains"`
	Filters        []GetRrsetsFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of rrsets.
	Rrsets []GetRrsetsRrset `pulumi:"rrsets"`
	// The type of DNS record, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype        *string `pulumi:"rtype"`
	Scope        *string `pulumi:"scope"`
	ViewId       *string `pulumi:"viewId"`
	ZoneNameOrId string  `pulumi:"zoneNameOrId"`
}

A collection of values returned by getRrsets.

func GetRrsets added in v0.19.0

func GetRrsets(ctx *pulumi.Context, args *GetRrsetsArgs, opts ...pulumi.InvokeOption) (*GetRrsetsResult, error)

This data source provides the list of RRsets in Oracle Cloud Infrastructure DNS service.

Gets a list of all rrsets in the specified zone. You can optionally filter the results using the listed parameters. For private zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetRrsets(ctx, &dns.GetRrsetsArgs{
			ZoneNameOrId:   testZone.Id,
			Domain:         pulumi.StringRef(rrsetDomain),
			DomainContains: pulumi.StringRef(rrsetDomain),
			Rtype:          pulumi.StringRef(rrsetRtype),
			Scope:          pulumi.StringRef(rrsetScope),
			ViewId:         pulumi.StringRef(testView.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRrsetsResultOutput added in v0.19.0

type GetRrsetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRrsets.

func GetRrsetsOutput added in v0.19.0

func GetRrsetsOutput(ctx *pulumi.Context, args GetRrsetsOutputArgs, opts ...pulumi.InvokeOption) GetRrsetsResultOutput

func (GetRrsetsResultOutput) Domain added in v0.19.0

The fully qualified domain name where the record can be located.

func (GetRrsetsResultOutput) DomainContains added in v0.19.0

func (o GetRrsetsResultOutput) DomainContains() pulumi.StringPtrOutput

func (GetRrsetsResultOutput) ElementType added in v0.19.0

func (GetRrsetsResultOutput) ElementType() reflect.Type

func (GetRrsetsResultOutput) Filters added in v0.19.0

func (GetRrsetsResultOutput) Id added in v0.19.0

The provider-assigned unique ID for this managed resource.

func (GetRrsetsResultOutput) Rrsets added in v0.19.0

The list of rrsets.

func (GetRrsetsResultOutput) Rtype added in v0.19.0

The type of DNS record, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

func (GetRrsetsResultOutput) Scope added in v0.19.0

func (GetRrsetsResultOutput) ToGetRrsetsResultOutput added in v0.19.0

func (o GetRrsetsResultOutput) ToGetRrsetsResultOutput() GetRrsetsResultOutput

func (GetRrsetsResultOutput) ToGetRrsetsResultOutputWithContext added in v0.19.0

func (o GetRrsetsResultOutput) ToGetRrsetsResultOutputWithContext(ctx context.Context) GetRrsetsResultOutput

func (GetRrsetsResultOutput) ViewId added in v0.19.0

func (GetRrsetsResultOutput) ZoneNameOrId added in v0.19.0

func (o GetRrsetsResultOutput) ZoneNameOrId() pulumi.StringOutput

type GetRrsetsRrset added in v0.19.0

type GetRrsetsRrset struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain string               `pulumi:"domain"`
	Items  []GetRrsetsRrsetItem `pulumi:"items"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype string `pulumi:"rtype"`
}

type GetRrsetsRrsetArgs added in v0.19.0

type GetRrsetsRrsetArgs struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain pulumi.StringInput           `pulumi:"domain"`
	Items  GetRrsetsRrsetItemArrayInput `pulumi:"items"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype pulumi.StringInput `pulumi:"rtype"`
}

func (GetRrsetsRrsetArgs) ElementType added in v0.19.0

func (GetRrsetsRrsetArgs) ElementType() reflect.Type

func (GetRrsetsRrsetArgs) ToGetRrsetsRrsetOutput added in v0.19.0

func (i GetRrsetsRrsetArgs) ToGetRrsetsRrsetOutput() GetRrsetsRrsetOutput

func (GetRrsetsRrsetArgs) ToGetRrsetsRrsetOutputWithContext added in v0.19.0

func (i GetRrsetsRrsetArgs) ToGetRrsetsRrsetOutputWithContext(ctx context.Context) GetRrsetsRrsetOutput

type GetRrsetsRrsetArray added in v0.19.0

type GetRrsetsRrsetArray []GetRrsetsRrsetInput

func (GetRrsetsRrsetArray) ElementType added in v0.19.0

func (GetRrsetsRrsetArray) ElementType() reflect.Type

func (GetRrsetsRrsetArray) ToGetRrsetsRrsetArrayOutput added in v0.19.0

func (i GetRrsetsRrsetArray) ToGetRrsetsRrsetArrayOutput() GetRrsetsRrsetArrayOutput

func (GetRrsetsRrsetArray) ToGetRrsetsRrsetArrayOutputWithContext added in v0.19.0

func (i GetRrsetsRrsetArray) ToGetRrsetsRrsetArrayOutputWithContext(ctx context.Context) GetRrsetsRrsetArrayOutput

type GetRrsetsRrsetArrayInput added in v0.19.0

type GetRrsetsRrsetArrayInput interface {
	pulumi.Input

	ToGetRrsetsRrsetArrayOutput() GetRrsetsRrsetArrayOutput
	ToGetRrsetsRrsetArrayOutputWithContext(context.Context) GetRrsetsRrsetArrayOutput
}

GetRrsetsRrsetArrayInput is an input type that accepts GetRrsetsRrsetArray and GetRrsetsRrsetArrayOutput values. You can construct a concrete instance of `GetRrsetsRrsetArrayInput` via:

GetRrsetsRrsetArray{ GetRrsetsRrsetArgs{...} }

type GetRrsetsRrsetArrayOutput added in v0.19.0

type GetRrsetsRrsetArrayOutput struct{ *pulumi.OutputState }

func (GetRrsetsRrsetArrayOutput) ElementType added in v0.19.0

func (GetRrsetsRrsetArrayOutput) ElementType() reflect.Type

func (GetRrsetsRrsetArrayOutput) Index added in v0.19.0

func (GetRrsetsRrsetArrayOutput) ToGetRrsetsRrsetArrayOutput added in v0.19.0

func (o GetRrsetsRrsetArrayOutput) ToGetRrsetsRrsetArrayOutput() GetRrsetsRrsetArrayOutput

func (GetRrsetsRrsetArrayOutput) ToGetRrsetsRrsetArrayOutputWithContext added in v0.19.0

func (o GetRrsetsRrsetArrayOutput) ToGetRrsetsRrsetArrayOutputWithContext(ctx context.Context) GetRrsetsRrsetArrayOutput

type GetRrsetsRrsetInput added in v0.19.0

type GetRrsetsRrsetInput interface {
	pulumi.Input

	ToGetRrsetsRrsetOutput() GetRrsetsRrsetOutput
	ToGetRrsetsRrsetOutputWithContext(context.Context) GetRrsetsRrsetOutput
}

GetRrsetsRrsetInput is an input type that accepts GetRrsetsRrsetArgs and GetRrsetsRrsetOutput values. You can construct a concrete instance of `GetRrsetsRrsetInput` via:

GetRrsetsRrsetArgs{...}

type GetRrsetsRrsetItem added in v0.19.0

type GetRrsetsRrsetItem struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain string `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected bool `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata string `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash string `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion string `pulumi:"rrsetVersion"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype string `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl int `pulumi:"ttl"`
}

type GetRrsetsRrsetItemArgs added in v0.19.0

type GetRrsetsRrsetItemArgs struct {
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain pulumi.StringInput `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolInput `pulumi:"isProtected"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringInput `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringInput `pulumi:"rrsetVersion"`
	// Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
	Rtype pulumi.StringInput `pulumi:"rtype"`
	// The Time To Live for the record, in seconds.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetRrsetsRrsetItemArgs) ElementType added in v0.19.0

func (GetRrsetsRrsetItemArgs) ElementType() reflect.Type

func (GetRrsetsRrsetItemArgs) ToGetRrsetsRrsetItemOutput added in v0.19.0

func (i GetRrsetsRrsetItemArgs) ToGetRrsetsRrsetItemOutput() GetRrsetsRrsetItemOutput

func (GetRrsetsRrsetItemArgs) ToGetRrsetsRrsetItemOutputWithContext added in v0.19.0

func (i GetRrsetsRrsetItemArgs) ToGetRrsetsRrsetItemOutputWithContext(ctx context.Context) GetRrsetsRrsetItemOutput

type GetRrsetsRrsetItemArray added in v0.19.0

type GetRrsetsRrsetItemArray []GetRrsetsRrsetItemInput

func (GetRrsetsRrsetItemArray) ElementType added in v0.19.0

func (GetRrsetsRrsetItemArray) ElementType() reflect.Type

func (GetRrsetsRrsetItemArray) ToGetRrsetsRrsetItemArrayOutput added in v0.19.0

func (i GetRrsetsRrsetItemArray) ToGetRrsetsRrsetItemArrayOutput() GetRrsetsRrsetItemArrayOutput

func (GetRrsetsRrsetItemArray) ToGetRrsetsRrsetItemArrayOutputWithContext added in v0.19.0

func (i GetRrsetsRrsetItemArray) ToGetRrsetsRrsetItemArrayOutputWithContext(ctx context.Context) GetRrsetsRrsetItemArrayOutput

type GetRrsetsRrsetItemArrayInput added in v0.19.0

type GetRrsetsRrsetItemArrayInput interface {
	pulumi.Input

	ToGetRrsetsRrsetItemArrayOutput() GetRrsetsRrsetItemArrayOutput
	ToGetRrsetsRrsetItemArrayOutputWithContext(context.Context) GetRrsetsRrsetItemArrayOutput
}

GetRrsetsRrsetItemArrayInput is an input type that accepts GetRrsetsRrsetItemArray and GetRrsetsRrsetItemArrayOutput values. You can construct a concrete instance of `GetRrsetsRrsetItemArrayInput` via:

GetRrsetsRrsetItemArray{ GetRrsetsRrsetItemArgs{...} }

type GetRrsetsRrsetItemArrayOutput added in v0.19.0

type GetRrsetsRrsetItemArrayOutput struct{ *pulumi.OutputState }

func (GetRrsetsRrsetItemArrayOutput) ElementType added in v0.19.0

func (GetRrsetsRrsetItemArrayOutput) Index added in v0.19.0

func (GetRrsetsRrsetItemArrayOutput) ToGetRrsetsRrsetItemArrayOutput added in v0.19.0

func (o GetRrsetsRrsetItemArrayOutput) ToGetRrsetsRrsetItemArrayOutput() GetRrsetsRrsetItemArrayOutput

func (GetRrsetsRrsetItemArrayOutput) ToGetRrsetsRrsetItemArrayOutputWithContext added in v0.19.0

func (o GetRrsetsRrsetItemArrayOutput) ToGetRrsetsRrsetItemArrayOutputWithContext(ctx context.Context) GetRrsetsRrsetItemArrayOutput

type GetRrsetsRrsetItemInput added in v0.19.0

type GetRrsetsRrsetItemInput interface {
	pulumi.Input

	ToGetRrsetsRrsetItemOutput() GetRrsetsRrsetItemOutput
	ToGetRrsetsRrsetItemOutputWithContext(context.Context) GetRrsetsRrsetItemOutput
}

GetRrsetsRrsetItemInput is an input type that accepts GetRrsetsRrsetItemArgs and GetRrsetsRrsetItemOutput values. You can construct a concrete instance of `GetRrsetsRrsetItemInput` via:

GetRrsetsRrsetItemArgs{...}

type GetRrsetsRrsetItemOutput added in v0.19.0

type GetRrsetsRrsetItemOutput struct{ *pulumi.OutputState }

func (GetRrsetsRrsetItemOutput) Domain added in v0.19.0

The target fully-qualified domain name (FQDN) within the target zone.

func (GetRrsetsRrsetItemOutput) ElementType added in v0.19.0

func (GetRrsetsRrsetItemOutput) ElementType() reflect.Type

func (GetRrsetsRrsetItemOutput) IsProtected added in v0.19.0

func (o GetRrsetsRrsetItemOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

func (GetRrsetsRrsetItemOutput) Rdata added in v0.19.0

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)

func (GetRrsetsRrsetItemOutput) RecordHash added in v0.19.0

A unique identifier for the record within its zone.

func (GetRrsetsRrsetItemOutput) RrsetVersion added in v0.19.0

func (o GetRrsetsRrsetItemOutput) RrsetVersion() pulumi.StringOutput

The latest version of the record's zone in which its RRSet differs from the preceding version.

func (GetRrsetsRrsetItemOutput) Rtype added in v0.19.0

Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.

func (GetRrsetsRrsetItemOutput) ToGetRrsetsRrsetItemOutput added in v0.19.0

func (o GetRrsetsRrsetItemOutput) ToGetRrsetsRrsetItemOutput() GetRrsetsRrsetItemOutput

func (GetRrsetsRrsetItemOutput) ToGetRrsetsRrsetItemOutputWithContext added in v0.19.0

func (o GetRrsetsRrsetItemOutput) ToGetRrsetsRrsetItemOutputWithContext(ctx context.Context) GetRrsetsRrsetItemOutput

func (GetRrsetsRrsetItemOutput) Ttl added in v0.19.0

The Time To Live for the record, in seconds.

type GetRrsetsRrsetOutput added in v0.19.0

type GetRrsetsRrsetOutput struct{ *pulumi.OutputState }

func (GetRrsetsRrsetOutput) Domain added in v0.19.0

The target fully-qualified domain name (FQDN) within the target zone.

func (GetRrsetsRrsetOutput) ElementType added in v0.19.0

func (GetRrsetsRrsetOutput) ElementType() reflect.Type

func (GetRrsetsRrsetOutput) Items added in v0.19.0

func (GetRrsetsRrsetOutput) Rtype added in v0.19.0

Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.

func (GetRrsetsRrsetOutput) ToGetRrsetsRrsetOutput added in v0.19.0

func (o GetRrsetsRrsetOutput) ToGetRrsetsRrsetOutput() GetRrsetsRrsetOutput

func (GetRrsetsRrsetOutput) ToGetRrsetsRrsetOutputWithContext added in v0.19.0

func (o GetRrsetsRrsetOutput) ToGetRrsetsRrsetOutputWithContext(ctx context.Context) GetRrsetsRrsetOutput

type GetSteeringPoliciesArgs

type GetSteeringPoliciesArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName *string `pulumi:"displayName"`
	// The partial displayName of a resource. Will match any resource whose name (case-insensitive) contains the provided value.
	DisplayNameContains *string                     `pulumi:"displayNameContains"`
	Filters             []GetSteeringPoliciesFilter `pulumi:"filters"`
	// Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value.
	HealthCheckMonitorId *string `pulumi:"healthCheckMonitorId"`
	// The OCID of a resource.
	Id *string `pulumi:"id"`
	// The state of a resource.
	State *string `pulumi:"state"`
	// Search by steering template type. Will match any resource whose template type matches the provided value.
	Template *string `pulumi:"template"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan *string `pulumi:"timeCreatedLessThan"`
}

A collection of arguments for invoking getSteeringPolicies.

type GetSteeringPoliciesFilter

type GetSteeringPoliciesFilter struct {
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSteeringPoliciesFilterArgs

type GetSteeringPoliciesFilterArgs struct {
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSteeringPoliciesFilterArgs) ElementType

func (GetSteeringPoliciesFilterArgs) ToGetSteeringPoliciesFilterOutput

func (i GetSteeringPoliciesFilterArgs) ToGetSteeringPoliciesFilterOutput() GetSteeringPoliciesFilterOutput

func (GetSteeringPoliciesFilterArgs) ToGetSteeringPoliciesFilterOutputWithContext

func (i GetSteeringPoliciesFilterArgs) ToGetSteeringPoliciesFilterOutputWithContext(ctx context.Context) GetSteeringPoliciesFilterOutput

type GetSteeringPoliciesFilterArray

type GetSteeringPoliciesFilterArray []GetSteeringPoliciesFilterInput

func (GetSteeringPoliciesFilterArray) ElementType

func (GetSteeringPoliciesFilterArray) ToGetSteeringPoliciesFilterArrayOutput

func (i GetSteeringPoliciesFilterArray) ToGetSteeringPoliciesFilterArrayOutput() GetSteeringPoliciesFilterArrayOutput

func (GetSteeringPoliciesFilterArray) ToGetSteeringPoliciesFilterArrayOutputWithContext

func (i GetSteeringPoliciesFilterArray) ToGetSteeringPoliciesFilterArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesFilterArrayOutput

type GetSteeringPoliciesFilterArrayInput

type GetSteeringPoliciesFilterArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesFilterArrayOutput() GetSteeringPoliciesFilterArrayOutput
	ToGetSteeringPoliciesFilterArrayOutputWithContext(context.Context) GetSteeringPoliciesFilterArrayOutput
}

GetSteeringPoliciesFilterArrayInput is an input type that accepts GetSteeringPoliciesFilterArray and GetSteeringPoliciesFilterArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesFilterArrayInput` via:

GetSteeringPoliciesFilterArray{ GetSteeringPoliciesFilterArgs{...} }

type GetSteeringPoliciesFilterArrayOutput

type GetSteeringPoliciesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesFilterArrayOutput) ElementType

func (GetSteeringPoliciesFilterArrayOutput) Index

func (GetSteeringPoliciesFilterArrayOutput) ToGetSteeringPoliciesFilterArrayOutput

func (o GetSteeringPoliciesFilterArrayOutput) ToGetSteeringPoliciesFilterArrayOutput() GetSteeringPoliciesFilterArrayOutput

func (GetSteeringPoliciesFilterArrayOutput) ToGetSteeringPoliciesFilterArrayOutputWithContext

func (o GetSteeringPoliciesFilterArrayOutput) ToGetSteeringPoliciesFilterArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesFilterArrayOutput

type GetSteeringPoliciesFilterInput

type GetSteeringPoliciesFilterInput interface {
	pulumi.Input

	ToGetSteeringPoliciesFilterOutput() GetSteeringPoliciesFilterOutput
	ToGetSteeringPoliciesFilterOutputWithContext(context.Context) GetSteeringPoliciesFilterOutput
}

GetSteeringPoliciesFilterInput is an input type that accepts GetSteeringPoliciesFilterArgs and GetSteeringPoliciesFilterOutput values. You can construct a concrete instance of `GetSteeringPoliciesFilterInput` via:

GetSteeringPoliciesFilterArgs{...}

type GetSteeringPoliciesFilterOutput

type GetSteeringPoliciesFilterOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesFilterOutput) ElementType

func (GetSteeringPoliciesFilterOutput) Name

A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.

func (GetSteeringPoliciesFilterOutput) Regex

func (GetSteeringPoliciesFilterOutput) ToGetSteeringPoliciesFilterOutput

func (o GetSteeringPoliciesFilterOutput) ToGetSteeringPoliciesFilterOutput() GetSteeringPoliciesFilterOutput

func (GetSteeringPoliciesFilterOutput) ToGetSteeringPoliciesFilterOutputWithContext

func (o GetSteeringPoliciesFilterOutput) ToGetSteeringPoliciesFilterOutputWithContext(ctx context.Context) GetSteeringPoliciesFilterOutput

func (GetSteeringPoliciesFilterOutput) Values

type GetSteeringPoliciesOutputArgs

type GetSteeringPoliciesOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// The partial displayName of a resource. Will match any resource whose name (case-insensitive) contains the provided value.
	DisplayNameContains pulumi.StringPtrInput               `pulumi:"displayNameContains"`
	Filters             GetSteeringPoliciesFilterArrayInput `pulumi:"filters"`
	// Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value.
	HealthCheckMonitorId pulumi.StringPtrInput `pulumi:"healthCheckMonitorId"`
	// The OCID of a resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
	// Search by steering template type. Will match any resource whose template type matches the provided value.
	Template pulumi.StringPtrInput `pulumi:"template"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan pulumi.StringPtrInput `pulumi:"timeCreatedLessThan"`
}

A collection of arguments for invoking getSteeringPolicies.

func (GetSteeringPoliciesOutputArgs) ElementType

type GetSteeringPoliciesResult

type GetSteeringPoliciesResult struct {
	// The OCID of the compartment containing the steering policy.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName         *string                     `pulumi:"displayName"`
	DisplayNameContains *string                     `pulumi:"displayNameContains"`
	Filters             []GetSteeringPoliciesFilter `pulumi:"filters"`
	// The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.
	HealthCheckMonitorId *string `pulumi:"healthCheckMonitorId"`
	// The OCID of the resource.
	Id *string `pulumi:"id"`
	// The current state of the resource.
	State *string `pulumi:"state"`
	// The list of steering_policies.
	SteeringPolicies []GetSteeringPoliciesSteeringPolicy `pulumi:"steeringPolicies"`
	// A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.
	Template                        *string `pulumi:"template"`
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	TimeCreatedLessThan             *string `pulumi:"timeCreatedLessThan"`
}

A collection of values returned by getSteeringPolicies.

func GetSteeringPolicies

func GetSteeringPolicies(ctx *pulumi.Context, args *GetSteeringPoliciesArgs, opts ...pulumi.InvokeOption) (*GetSteeringPoliciesResult, error)

This data source provides the list of Steering Policies in Oracle Cloud Infrastructure DNS service.

Gets a list of all steering policies in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetSteeringPolicies(ctx, &dns.GetSteeringPoliciesArgs{
			CompartmentId:                   compartmentId,
			DisplayName:                     pulumi.StringRef(steeringPolicyDisplayName),
			DisplayNameContains:             pulumi.StringRef(steeringPolicyDisplayNameContains),
			HealthCheckMonitorId:            pulumi.StringRef(testHttpMonitor.Id),
			Id:                              pulumi.StringRef(steeringPolicyId),
			State:                           pulumi.StringRef(steeringPolicyState),
			Template:                        pulumi.StringRef(steeringPolicyTemplate),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(steeringPolicyTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.StringRef(steeringPolicyTimeCreatedLessThan),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSteeringPoliciesResultOutput

type GetSteeringPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSteeringPolicies.

func (GetSteeringPoliciesResultOutput) CompartmentId

The OCID of the compartment containing the steering policy.

func (GetSteeringPoliciesResultOutput) DisplayName

A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.

func (GetSteeringPoliciesResultOutput) DisplayNameContains

func (o GetSteeringPoliciesResultOutput) DisplayNameContains() pulumi.StringPtrOutput

func (GetSteeringPoliciesResultOutput) ElementType

func (GetSteeringPoliciesResultOutput) Filters

func (GetSteeringPoliciesResultOutput) HealthCheckMonitorId

func (o GetSteeringPoliciesResultOutput) HealthCheckMonitorId() pulumi.StringPtrOutput

The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.

func (GetSteeringPoliciesResultOutput) Id

The OCID of the resource.

func (GetSteeringPoliciesResultOutput) State

The current state of the resource.

func (GetSteeringPoliciesResultOutput) SteeringPolicies

The list of steering_policies.

func (GetSteeringPoliciesResultOutput) Template

A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.

func (GetSteeringPoliciesResultOutput) TimeCreatedGreaterThanOrEqualTo

func (o GetSteeringPoliciesResultOutput) TimeCreatedGreaterThanOrEqualTo() pulumi.StringPtrOutput

func (GetSteeringPoliciesResultOutput) TimeCreatedLessThan

func (o GetSteeringPoliciesResultOutput) TimeCreatedLessThan() pulumi.StringPtrOutput

func (GetSteeringPoliciesResultOutput) ToGetSteeringPoliciesResultOutput

func (o GetSteeringPoliciesResultOutput) ToGetSteeringPoliciesResultOutput() GetSteeringPoliciesResultOutput

func (GetSteeringPoliciesResultOutput) ToGetSteeringPoliciesResultOutputWithContext

func (o GetSteeringPoliciesResultOutput) ToGetSteeringPoliciesResultOutputWithContext(ctx context.Context) GetSteeringPoliciesResultOutput

type GetSteeringPoliciesSteeringPolicy

type GetSteeringPoliciesSteeringPolicy struct {
	// The set of all answers that can potentially issue from the steering policy.
	Answers []GetSteeringPoliciesSteeringPolicyAnswer `pulumi:"answers"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName string `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value.
	HealthCheckMonitorId string `pulumi:"healthCheckMonitorId"`
	// The OCID of a resource.
	Id string `pulumi:"id"`
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	Rules []GetSteeringPoliciesSteeringPolicyRule `pulumi:"rules"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// Search by steering template type. Will match any resource whose template type matches the provided value.
	Template string `pulumi:"template"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	Ttl int `pulumi:"ttl"`
}

type GetSteeringPoliciesSteeringPolicyAnswer

type GetSteeringPoliciesSteeringPolicyAnswer struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled bool `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name string `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool string `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata string `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype string `pulumi:"rtype"`
}

type GetSteeringPoliciesSteeringPolicyAnswerArgs

type GetSteeringPoliciesSteeringPolicyAnswerArgs struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled pulumi.BoolInput `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name pulumi.StringInput `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool pulumi.StringInput `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype pulumi.StringInput `pulumi:"rtype"`
}

func (GetSteeringPoliciesSteeringPolicyAnswerArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyAnswerArgs) ToGetSteeringPoliciesSteeringPolicyAnswerOutput

func (i GetSteeringPoliciesSteeringPolicyAnswerArgs) ToGetSteeringPoliciesSteeringPolicyAnswerOutput() GetSteeringPoliciesSteeringPolicyAnswerOutput

func (GetSteeringPoliciesSteeringPolicyAnswerArgs) ToGetSteeringPoliciesSteeringPolicyAnswerOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyAnswerArgs) ToGetSteeringPoliciesSteeringPolicyAnswerOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyAnswerOutput

type GetSteeringPoliciesSteeringPolicyAnswerArray

type GetSteeringPoliciesSteeringPolicyAnswerArray []GetSteeringPoliciesSteeringPolicyAnswerInput

func (GetSteeringPoliciesSteeringPolicyAnswerArray) ElementType

func (GetSteeringPoliciesSteeringPolicyAnswerArray) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutput

func (i GetSteeringPoliciesSteeringPolicyAnswerArray) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutput() GetSteeringPoliciesSteeringPolicyAnswerArrayOutput

func (GetSteeringPoliciesSteeringPolicyAnswerArray) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyAnswerArray) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyAnswerArrayOutput

type GetSteeringPoliciesSteeringPolicyAnswerArrayInput

type GetSteeringPoliciesSteeringPolicyAnswerArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutput() GetSteeringPoliciesSteeringPolicyAnswerArrayOutput
	ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyAnswerArrayOutput
}

GetSteeringPoliciesSteeringPolicyAnswerArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyAnswerArray and GetSteeringPoliciesSteeringPolicyAnswerArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyAnswerArrayInput` via:

GetSteeringPoliciesSteeringPolicyAnswerArray{ GetSteeringPoliciesSteeringPolicyAnswerArgs{...} }

type GetSteeringPoliciesSteeringPolicyAnswerArrayOutput

type GetSteeringPoliciesSteeringPolicyAnswerArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutput

func (o GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutput() GetSteeringPoliciesSteeringPolicyAnswerArrayOutput

func (GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyAnswerArrayOutput) ToGetSteeringPoliciesSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyAnswerArrayOutput

type GetSteeringPoliciesSteeringPolicyAnswerInput

type GetSteeringPoliciesSteeringPolicyAnswerInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyAnswerOutput() GetSteeringPoliciesSteeringPolicyAnswerOutput
	ToGetSteeringPoliciesSteeringPolicyAnswerOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyAnswerOutput
}

GetSteeringPoliciesSteeringPolicyAnswerInput is an input type that accepts GetSteeringPoliciesSteeringPolicyAnswerArgs and GetSteeringPoliciesSteeringPolicyAnswerOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyAnswerInput` via:

GetSteeringPoliciesSteeringPolicyAnswerArgs{...}

type GetSteeringPoliciesSteeringPolicyAnswerOutput

type GetSteeringPoliciesSteeringPolicyAnswerOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) IsDisabled

Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) Name

A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) Pool

The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) Rdata

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) Rtype

The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) ToGetSteeringPoliciesSteeringPolicyAnswerOutput

func (o GetSteeringPoliciesSteeringPolicyAnswerOutput) ToGetSteeringPoliciesSteeringPolicyAnswerOutput() GetSteeringPoliciesSteeringPolicyAnswerOutput

func (GetSteeringPoliciesSteeringPolicyAnswerOutput) ToGetSteeringPoliciesSteeringPolicyAnswerOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyAnswerOutput) ToGetSteeringPoliciesSteeringPolicyAnswerOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyAnswerOutput

type GetSteeringPoliciesSteeringPolicyArgs

type GetSteeringPoliciesSteeringPolicyArgs struct {
	// The set of all answers that can potentially issue from the steering policy.
	Answers GetSteeringPoliciesSteeringPolicyAnswerArrayInput `pulumi:"answers"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value.
	HealthCheckMonitorId pulumi.StringInput `pulumi:"healthCheckMonitorId"`
	// The OCID of a resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	Rules GetSteeringPoliciesSteeringPolicyRuleArrayInput `pulumi:"rules"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// Search by steering template type. Will match any resource whose template type matches the provided value.
	Template pulumi.StringInput `pulumi:"template"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetSteeringPoliciesSteeringPolicyArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyArgs) ToGetSteeringPoliciesSteeringPolicyOutput

func (i GetSteeringPoliciesSteeringPolicyArgs) ToGetSteeringPoliciesSteeringPolicyOutput() GetSteeringPoliciesSteeringPolicyOutput

func (GetSteeringPoliciesSteeringPolicyArgs) ToGetSteeringPoliciesSteeringPolicyOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyArgs) ToGetSteeringPoliciesSteeringPolicyOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyOutput

type GetSteeringPoliciesSteeringPolicyArray

type GetSteeringPoliciesSteeringPolicyArray []GetSteeringPoliciesSteeringPolicyInput

func (GetSteeringPoliciesSteeringPolicyArray) ElementType

func (GetSteeringPoliciesSteeringPolicyArray) ToGetSteeringPoliciesSteeringPolicyArrayOutput

func (i GetSteeringPoliciesSteeringPolicyArray) ToGetSteeringPoliciesSteeringPolicyArrayOutput() GetSteeringPoliciesSteeringPolicyArrayOutput

func (GetSteeringPoliciesSteeringPolicyArray) ToGetSteeringPoliciesSteeringPolicyArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyArray) ToGetSteeringPoliciesSteeringPolicyArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyArrayOutput

type GetSteeringPoliciesSteeringPolicyArrayInput

type GetSteeringPoliciesSteeringPolicyArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyArrayOutput() GetSteeringPoliciesSteeringPolicyArrayOutput
	ToGetSteeringPoliciesSteeringPolicyArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyArrayOutput
}

GetSteeringPoliciesSteeringPolicyArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyArray and GetSteeringPoliciesSteeringPolicyArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyArrayInput` via:

GetSteeringPoliciesSteeringPolicyArray{ GetSteeringPoliciesSteeringPolicyArgs{...} }

type GetSteeringPoliciesSteeringPolicyArrayOutput

type GetSteeringPoliciesSteeringPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyArrayOutput) ToGetSteeringPoliciesSteeringPolicyArrayOutput

func (o GetSteeringPoliciesSteeringPolicyArrayOutput) ToGetSteeringPoliciesSteeringPolicyArrayOutput() GetSteeringPoliciesSteeringPolicyArrayOutput

func (GetSteeringPoliciesSteeringPolicyArrayOutput) ToGetSteeringPoliciesSteeringPolicyArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyArrayOutput) ToGetSteeringPoliciesSteeringPolicyArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyArrayOutput

type GetSteeringPoliciesSteeringPolicyInput

type GetSteeringPoliciesSteeringPolicyInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyOutput() GetSteeringPoliciesSteeringPolicyOutput
	ToGetSteeringPoliciesSteeringPolicyOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyOutput
}

GetSteeringPoliciesSteeringPolicyInput is an input type that accepts GetSteeringPoliciesSteeringPolicyArgs and GetSteeringPoliciesSteeringPolicyOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyInput` via:

GetSteeringPoliciesSteeringPolicyArgs{...}

type GetSteeringPoliciesSteeringPolicyOutput

type GetSteeringPoliciesSteeringPolicyOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyOutput) Answers

The set of all answers that can potentially issue from the steering policy.

func (GetSteeringPoliciesSteeringPolicyOutput) CompartmentId

The OCID of the compartment the resource belongs to.

func (GetSteeringPoliciesSteeringPolicyOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetSteeringPoliciesSteeringPolicyOutput) DisplayName

The displayName of a resource.

func (GetSteeringPoliciesSteeringPolicyOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyOutput) FreeformTags

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetSteeringPoliciesSteeringPolicyOutput) HealthCheckMonitorId

Search by health check monitor OCID. Will match any resource whose health check monitor ID matches the provided value.

func (GetSteeringPoliciesSteeringPolicyOutput) Id

The OCID of a resource.

func (GetSteeringPoliciesSteeringPolicyOutput) Rules

The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.

func (GetSteeringPoliciesSteeringPolicyOutput) Self

The canonical absolute URL of the resource.

func (GetSteeringPoliciesSteeringPolicyOutput) State

The state of a resource.

func (GetSteeringPoliciesSteeringPolicyOutput) Template

Search by steering template type. Will match any resource whose template type matches the provided value.

func (GetSteeringPoliciesSteeringPolicyOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (GetSteeringPoliciesSteeringPolicyOutput) ToGetSteeringPoliciesSteeringPolicyOutput

func (o GetSteeringPoliciesSteeringPolicyOutput) ToGetSteeringPoliciesSteeringPolicyOutput() GetSteeringPoliciesSteeringPolicyOutput

func (GetSteeringPoliciesSteeringPolicyOutput) ToGetSteeringPoliciesSteeringPolicyOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyOutput) ToGetSteeringPoliciesSteeringPolicyOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyOutput

func (GetSteeringPoliciesSteeringPolicyOutput) Ttl

The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.

type GetSteeringPoliciesSteeringPolicyRule

type GetSteeringPoliciesSteeringPolicyRule struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases []GetSteeringPoliciesSteeringPolicyRuleCase `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas []GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerData `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount int `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description string `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType string `pulumi:"ruleType"`
}

type GetSteeringPoliciesSteeringPolicyRuleArgs

type GetSteeringPoliciesSteeringPolicyRuleArgs struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases GetSteeringPoliciesSteeringPolicyRuleCaseArrayInput `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayInput `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount pulumi.IntInput `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description pulumi.StringInput `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
}

func (GetSteeringPoliciesSteeringPolicyRuleArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleArgs) ToGetSteeringPoliciesSteeringPolicyRuleOutput

func (i GetSteeringPoliciesSteeringPolicyRuleArgs) ToGetSteeringPoliciesSteeringPolicyRuleOutput() GetSteeringPoliciesSteeringPolicyRuleOutput

func (GetSteeringPoliciesSteeringPolicyRuleArgs) ToGetSteeringPoliciesSteeringPolicyRuleOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleArgs) ToGetSteeringPoliciesSteeringPolicyRuleOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleOutput

type GetSteeringPoliciesSteeringPolicyRuleArray

type GetSteeringPoliciesSteeringPolicyRuleArray []GetSteeringPoliciesSteeringPolicyRuleInput

func (GetSteeringPoliciesSteeringPolicyRuleArray) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleArray) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutput

func (i GetSteeringPoliciesSteeringPolicyRuleArray) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutput() GetSteeringPoliciesSteeringPolicyRuleArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleArray) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleArray) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleArrayInput

type GetSteeringPoliciesSteeringPolicyRuleArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleArrayOutput() GetSteeringPoliciesSteeringPolicyRuleArrayOutput
	ToGetSteeringPoliciesSteeringPolicyRuleArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleArrayOutput
}

GetSteeringPoliciesSteeringPolicyRuleArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleArray and GetSteeringPoliciesSteeringPolicyRuleArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleArrayInput` via:

GetSteeringPoliciesSteeringPolicyRuleArray{ GetSteeringPoliciesSteeringPolicyRuleArgs{...} }

type GetSteeringPoliciesSteeringPolicyRuleArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyRuleArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutput

func (o GetSteeringPoliciesSteeringPolicyRuleArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutput() GetSteeringPoliciesSteeringPolicyRuleArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCase

type GetSteeringPoliciesSteeringPolicyRuleCase struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas []GetSteeringPoliciesSteeringPolicyRuleCaseAnswerData `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition string `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count int `pulumi:"count"`
}

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerData

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value int `pulumi:"value"`
}

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntInput `pulumi:"value"`
}

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray []GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataInput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

func (i GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput() GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayInput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput() GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput
	ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput
}

GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray and GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayInput` via:

GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArray{ GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs{...} }

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataInput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput() GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput
	ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput
}

GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs and GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataInput` via:

GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArgs{...}

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type GetSteeringPoliciesSteeringPolicyRuleCaseArgs

type GetSteeringPoliciesSteeringPolicyRuleCaseArgs struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataArrayInput `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition pulumi.StringInput `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count pulumi.IntInput `pulumi:"count"`
}

func (GetSteeringPoliciesSteeringPolicyRuleCaseArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutput

func (i GetSteeringPoliciesSteeringPolicyRuleCaseArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutput() GetSteeringPoliciesSteeringPolicyRuleCaseOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleCaseArgs) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseArray

type GetSteeringPoliciesSteeringPolicyRuleCaseArray []GetSteeringPoliciesSteeringPolicyRuleCaseInput

func (GetSteeringPoliciesSteeringPolicyRuleCaseArray) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

func (i GetSteeringPoliciesSteeringPolicyRuleCaseArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput() GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleCaseArray) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseArrayInput

type GetSteeringPoliciesSteeringPolicyRuleCaseArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput() GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput
	ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput
}

GetSteeringPoliciesSteeringPolicyRuleCaseArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleCaseArray and GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleCaseArrayInput` via:

GetSteeringPoliciesSteeringPolicyRuleCaseArray{ GetSteeringPoliciesSteeringPolicyRuleCaseArgs{...} }

type GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseInput

type GetSteeringPoliciesSteeringPolicyRuleCaseInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleCaseOutput() GetSteeringPoliciesSteeringPolicyRuleCaseOutput
	ToGetSteeringPoliciesSteeringPolicyRuleCaseOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseOutput
}

GetSteeringPoliciesSteeringPolicyRuleCaseInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleCaseArgs and GetSteeringPoliciesSteeringPolicyRuleCaseOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleCaseInput` via:

GetSteeringPoliciesSteeringPolicyRuleCaseArgs{...}

type GetSteeringPoliciesSteeringPolicyRuleCaseOutput

type GetSteeringPoliciesSteeringPolicyRuleCaseOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) AnswerDatas

An array of `SteeringPolicyPriorityAnswerData` objects.

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) CaseCondition

An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) Count

The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutput

func (o GetSteeringPoliciesSteeringPolicyRuleCaseOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutput() GetSteeringPoliciesSteeringPolicyRuleCaseOutput

func (GetSteeringPoliciesSteeringPolicyRuleCaseOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleCaseOutput) ToGetSteeringPoliciesSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleCaseOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerData

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value int `pulumi:"value"`
}

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntInput `pulumi:"value"`
}

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray []GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataInput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (i GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayInput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput() GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput
	ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput
}

GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray and GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayInput` via:

GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArray{ GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs{...} }

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput) Index

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataInput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput() GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput
	ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput
}

GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs and GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataInput` via:

GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataArgs{...}

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput

type GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type GetSteeringPoliciesSteeringPolicyRuleInput

type GetSteeringPoliciesSteeringPolicyRuleInput interface {
	pulumi.Input

	ToGetSteeringPoliciesSteeringPolicyRuleOutput() GetSteeringPoliciesSteeringPolicyRuleOutput
	ToGetSteeringPoliciesSteeringPolicyRuleOutputWithContext(context.Context) GetSteeringPoliciesSteeringPolicyRuleOutput
}

GetSteeringPoliciesSteeringPolicyRuleInput is an input type that accepts GetSteeringPoliciesSteeringPolicyRuleArgs and GetSteeringPoliciesSteeringPolicyRuleOutput values. You can construct a concrete instance of `GetSteeringPoliciesSteeringPolicyRuleInput` via:

GetSteeringPoliciesSteeringPolicyRuleArgs{...}

type GetSteeringPoliciesSteeringPolicyRuleOutput

type GetSteeringPoliciesSteeringPolicyRuleOutput struct{ *pulumi.OutputState }

func (GetSteeringPoliciesSteeringPolicyRuleOutput) Cases

An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.

func (GetSteeringPoliciesSteeringPolicyRuleOutput) DefaultAnswerDatas

Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.

func (GetSteeringPoliciesSteeringPolicyRuleOutput) DefaultCount

Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.

func (GetSteeringPoliciesSteeringPolicyRuleOutput) Description

A user-defined description of the rule's purpose or behavior.

func (GetSteeringPoliciesSteeringPolicyRuleOutput) ElementType

func (GetSteeringPoliciesSteeringPolicyRuleOutput) RuleType

The type of a rule determines its sorting/filtering behavior.

func (GetSteeringPoliciesSteeringPolicyRuleOutput) ToGetSteeringPoliciesSteeringPolicyRuleOutput

func (o GetSteeringPoliciesSteeringPolicyRuleOutput) ToGetSteeringPoliciesSteeringPolicyRuleOutput() GetSteeringPoliciesSteeringPolicyRuleOutput

func (GetSteeringPoliciesSteeringPolicyRuleOutput) ToGetSteeringPoliciesSteeringPolicyRuleOutputWithContext

func (o GetSteeringPoliciesSteeringPolicyRuleOutput) ToGetSteeringPoliciesSteeringPolicyRuleOutputWithContext(ctx context.Context) GetSteeringPoliciesSteeringPolicyRuleOutput

type GetSteeringPolicyAnswer

type GetSteeringPolicyAnswer struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled bool `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name string `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool string `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata string `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype string `pulumi:"rtype"`
}

type GetSteeringPolicyAnswerArgs

type GetSteeringPolicyAnswerArgs struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled pulumi.BoolInput `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name pulumi.StringInput `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool pulumi.StringInput `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype pulumi.StringInput `pulumi:"rtype"`
}

func (GetSteeringPolicyAnswerArgs) ElementType

func (GetSteeringPolicyAnswerArgs) ToGetSteeringPolicyAnswerOutput

func (i GetSteeringPolicyAnswerArgs) ToGetSteeringPolicyAnswerOutput() GetSteeringPolicyAnswerOutput

func (GetSteeringPolicyAnswerArgs) ToGetSteeringPolicyAnswerOutputWithContext

func (i GetSteeringPolicyAnswerArgs) ToGetSteeringPolicyAnswerOutputWithContext(ctx context.Context) GetSteeringPolicyAnswerOutput

type GetSteeringPolicyAnswerArray

type GetSteeringPolicyAnswerArray []GetSteeringPolicyAnswerInput

func (GetSteeringPolicyAnswerArray) ElementType

func (GetSteeringPolicyAnswerArray) ToGetSteeringPolicyAnswerArrayOutput

func (i GetSteeringPolicyAnswerArray) ToGetSteeringPolicyAnswerArrayOutput() GetSteeringPolicyAnswerArrayOutput

func (GetSteeringPolicyAnswerArray) ToGetSteeringPolicyAnswerArrayOutputWithContext

func (i GetSteeringPolicyAnswerArray) ToGetSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAnswerArrayOutput

type GetSteeringPolicyAnswerArrayInput

type GetSteeringPolicyAnswerArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyAnswerArrayOutput() GetSteeringPolicyAnswerArrayOutput
	ToGetSteeringPolicyAnswerArrayOutputWithContext(context.Context) GetSteeringPolicyAnswerArrayOutput
}

GetSteeringPolicyAnswerArrayInput is an input type that accepts GetSteeringPolicyAnswerArray and GetSteeringPolicyAnswerArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyAnswerArrayInput` via:

GetSteeringPolicyAnswerArray{ GetSteeringPolicyAnswerArgs{...} }

type GetSteeringPolicyAnswerArrayOutput

type GetSteeringPolicyAnswerArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAnswerArrayOutput) ElementType

func (GetSteeringPolicyAnswerArrayOutput) Index

func (GetSteeringPolicyAnswerArrayOutput) ToGetSteeringPolicyAnswerArrayOutput

func (o GetSteeringPolicyAnswerArrayOutput) ToGetSteeringPolicyAnswerArrayOutput() GetSteeringPolicyAnswerArrayOutput

func (GetSteeringPolicyAnswerArrayOutput) ToGetSteeringPolicyAnswerArrayOutputWithContext

func (o GetSteeringPolicyAnswerArrayOutput) ToGetSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAnswerArrayOutput

type GetSteeringPolicyAnswerInput

type GetSteeringPolicyAnswerInput interface {
	pulumi.Input

	ToGetSteeringPolicyAnswerOutput() GetSteeringPolicyAnswerOutput
	ToGetSteeringPolicyAnswerOutputWithContext(context.Context) GetSteeringPolicyAnswerOutput
}

GetSteeringPolicyAnswerInput is an input type that accepts GetSteeringPolicyAnswerArgs and GetSteeringPolicyAnswerOutput values. You can construct a concrete instance of `GetSteeringPolicyAnswerInput` via:

GetSteeringPolicyAnswerArgs{...}

type GetSteeringPolicyAnswerOutput

type GetSteeringPolicyAnswerOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAnswerOutput) ElementType

func (GetSteeringPolicyAnswerOutput) IsDisabled

Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.

func (GetSteeringPolicyAnswerOutput) Name

A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.

func (GetSteeringPolicyAnswerOutput) Pool

The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.

func (GetSteeringPolicyAnswerOutput) Rdata

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (GetSteeringPolicyAnswerOutput) Rtype

The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (GetSteeringPolicyAnswerOutput) ToGetSteeringPolicyAnswerOutput

func (o GetSteeringPolicyAnswerOutput) ToGetSteeringPolicyAnswerOutput() GetSteeringPolicyAnswerOutput

func (GetSteeringPolicyAnswerOutput) ToGetSteeringPolicyAnswerOutputWithContext

func (o GetSteeringPolicyAnswerOutput) ToGetSteeringPolicyAnswerOutputWithContext(ctx context.Context) GetSteeringPolicyAnswerOutput

type GetSteeringPolicyAttachmentsArgs

type GetSteeringPolicyAttachmentsArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName *string `pulumi:"displayName"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	Domain *string `pulumi:"domain"`
	// Search by domain. Will match any record whose domain (case-insensitive) contains the provided value.
	DomainContains *string                              `pulumi:"domainContains"`
	Filters        []GetSteeringPolicyAttachmentsFilter `pulumi:"filters"`
	// The OCID of a resource.
	Id *string `pulumi:"id"`
	// The state of a resource.
	State *string `pulumi:"state"`
	// Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value.
	SteeringPolicyId *string `pulumi:"steeringPolicyId"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan *string `pulumi:"timeCreatedLessThan"`
	// Search by zone OCID. Will match any resource whose zone ID matches the provided value.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of arguments for invoking getSteeringPolicyAttachments.

type GetSteeringPolicyAttachmentsFilter

type GetSteeringPolicyAttachmentsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetSteeringPolicyAttachmentsFilterArgs

type GetSteeringPolicyAttachmentsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSteeringPolicyAttachmentsFilterArgs) ElementType

func (GetSteeringPolicyAttachmentsFilterArgs) ToGetSteeringPolicyAttachmentsFilterOutput

func (i GetSteeringPolicyAttachmentsFilterArgs) ToGetSteeringPolicyAttachmentsFilterOutput() GetSteeringPolicyAttachmentsFilterOutput

func (GetSteeringPolicyAttachmentsFilterArgs) ToGetSteeringPolicyAttachmentsFilterOutputWithContext

func (i GetSteeringPolicyAttachmentsFilterArgs) ToGetSteeringPolicyAttachmentsFilterOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsFilterOutput

type GetSteeringPolicyAttachmentsFilterArray

type GetSteeringPolicyAttachmentsFilterArray []GetSteeringPolicyAttachmentsFilterInput

func (GetSteeringPolicyAttachmentsFilterArray) ElementType

func (GetSteeringPolicyAttachmentsFilterArray) ToGetSteeringPolicyAttachmentsFilterArrayOutput

func (i GetSteeringPolicyAttachmentsFilterArray) ToGetSteeringPolicyAttachmentsFilterArrayOutput() GetSteeringPolicyAttachmentsFilterArrayOutput

func (GetSteeringPolicyAttachmentsFilterArray) ToGetSteeringPolicyAttachmentsFilterArrayOutputWithContext

func (i GetSteeringPolicyAttachmentsFilterArray) ToGetSteeringPolicyAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsFilterArrayOutput

type GetSteeringPolicyAttachmentsFilterArrayInput

type GetSteeringPolicyAttachmentsFilterArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyAttachmentsFilterArrayOutput() GetSteeringPolicyAttachmentsFilterArrayOutput
	ToGetSteeringPolicyAttachmentsFilterArrayOutputWithContext(context.Context) GetSteeringPolicyAttachmentsFilterArrayOutput
}

GetSteeringPolicyAttachmentsFilterArrayInput is an input type that accepts GetSteeringPolicyAttachmentsFilterArray and GetSteeringPolicyAttachmentsFilterArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyAttachmentsFilterArrayInput` via:

GetSteeringPolicyAttachmentsFilterArray{ GetSteeringPolicyAttachmentsFilterArgs{...} }

type GetSteeringPolicyAttachmentsFilterArrayOutput

type GetSteeringPolicyAttachmentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAttachmentsFilterArrayOutput) ElementType

func (GetSteeringPolicyAttachmentsFilterArrayOutput) Index

func (GetSteeringPolicyAttachmentsFilterArrayOutput) ToGetSteeringPolicyAttachmentsFilterArrayOutput

func (o GetSteeringPolicyAttachmentsFilterArrayOutput) ToGetSteeringPolicyAttachmentsFilterArrayOutput() GetSteeringPolicyAttachmentsFilterArrayOutput

func (GetSteeringPolicyAttachmentsFilterArrayOutput) ToGetSteeringPolicyAttachmentsFilterArrayOutputWithContext

func (o GetSteeringPolicyAttachmentsFilterArrayOutput) ToGetSteeringPolicyAttachmentsFilterArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsFilterArrayOutput

type GetSteeringPolicyAttachmentsFilterInput

type GetSteeringPolicyAttachmentsFilterInput interface {
	pulumi.Input

	ToGetSteeringPolicyAttachmentsFilterOutput() GetSteeringPolicyAttachmentsFilterOutput
	ToGetSteeringPolicyAttachmentsFilterOutputWithContext(context.Context) GetSteeringPolicyAttachmentsFilterOutput
}

GetSteeringPolicyAttachmentsFilterInput is an input type that accepts GetSteeringPolicyAttachmentsFilterArgs and GetSteeringPolicyAttachmentsFilterOutput values. You can construct a concrete instance of `GetSteeringPolicyAttachmentsFilterInput` via:

GetSteeringPolicyAttachmentsFilterArgs{...}

type GetSteeringPolicyAttachmentsFilterOutput

type GetSteeringPolicyAttachmentsFilterOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAttachmentsFilterOutput) ElementType

func (GetSteeringPolicyAttachmentsFilterOutput) Name

func (GetSteeringPolicyAttachmentsFilterOutput) Regex

func (GetSteeringPolicyAttachmentsFilterOutput) ToGetSteeringPolicyAttachmentsFilterOutput

func (o GetSteeringPolicyAttachmentsFilterOutput) ToGetSteeringPolicyAttachmentsFilterOutput() GetSteeringPolicyAttachmentsFilterOutput

func (GetSteeringPolicyAttachmentsFilterOutput) ToGetSteeringPolicyAttachmentsFilterOutputWithContext

func (o GetSteeringPolicyAttachmentsFilterOutput) ToGetSteeringPolicyAttachmentsFilterOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsFilterOutput

func (GetSteeringPolicyAttachmentsFilterOutput) Values

type GetSteeringPolicyAttachmentsOutputArgs

type GetSteeringPolicyAttachmentsOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// Search by domain. Will match any record whose domain (case-insensitive) equals the provided value.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Search by domain. Will match any record whose domain (case-insensitive) contains the provided value.
	DomainContains pulumi.StringPtrInput                        `pulumi:"domainContains"`
	Filters        GetSteeringPolicyAttachmentsFilterArrayInput `pulumi:"filters"`
	// The OCID of a resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
	// Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value.
	SteeringPolicyId pulumi.StringPtrInput `pulumi:"steeringPolicyId"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan pulumi.StringPtrInput `pulumi:"timeCreatedLessThan"`
	// Search by zone OCID. Will match any resource whose zone ID matches the provided value.
	ZoneId pulumi.StringPtrInput `pulumi:"zoneId"`
}

A collection of arguments for invoking getSteeringPolicyAttachments.

func (GetSteeringPolicyAttachmentsOutputArgs) ElementType

type GetSteeringPolicyAttachmentsResult

type GetSteeringPolicyAttachmentsResult struct {
	// The OCID of the compartment containing the steering policy attachment.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName    *string                              `pulumi:"displayName"`
	Domain         *string                              `pulumi:"domain"`
	DomainContains *string                              `pulumi:"domainContains"`
	Filters        []GetSteeringPolicyAttachmentsFilter `pulumi:"filters"`
	// The OCID of the resource.
	Id *string `pulumi:"id"`
	// The current state of the resource.
	State *string `pulumi:"state"`
	// The list of steering_policy_attachments.
	SteeringPolicyAttachments []GetSteeringPolicyAttachmentsSteeringPolicyAttachment `pulumi:"steeringPolicyAttachments"`
	// The OCID of the attached steering policy.
	SteeringPolicyId                *string `pulumi:"steeringPolicyId"`
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	TimeCreatedLessThan             *string `pulumi:"timeCreatedLessThan"`
	// The OCID of the attached zone.
	ZoneId *string `pulumi:"zoneId"`
}

A collection of values returned by getSteeringPolicyAttachments.

func GetSteeringPolicyAttachments

func GetSteeringPolicyAttachments(ctx *pulumi.Context, args *GetSteeringPolicyAttachmentsArgs, opts ...pulumi.InvokeOption) (*GetSteeringPolicyAttachmentsResult, error)

This data source provides the list of Steering Policy Attachments in Oracle Cloud Infrastructure DNS service.

Lists the steering policy attachments in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetSteeringPolicyAttachments(ctx, &dns.GetSteeringPolicyAttachmentsArgs{
			CompartmentId:                   compartmentId,
			DisplayName:                     pulumi.StringRef(steeringPolicyAttachmentDisplayName),
			Domain:                          pulumi.StringRef(steeringPolicyAttachmentDomain),
			DomainContains:                  pulumi.StringRef(steeringPolicyAttachmentDomainContains),
			Id:                              pulumi.StringRef(steeringPolicyAttachmentId),
			State:                           pulumi.StringRef(steeringPolicyAttachmentState),
			SteeringPolicyId:                pulumi.StringRef(testSteeringPolicy.Id),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(steeringPolicyAttachmentTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.StringRef(steeringPolicyAttachmentTimeCreatedLessThan),
			ZoneId:                          pulumi.StringRef(testZone.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSteeringPolicyAttachmentsResultOutput

type GetSteeringPolicyAttachmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSteeringPolicyAttachments.

func (GetSteeringPolicyAttachmentsResultOutput) CompartmentId

The OCID of the compartment containing the steering policy attachment.

func (GetSteeringPolicyAttachmentsResultOutput) DisplayName

A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.

func (GetSteeringPolicyAttachmentsResultOutput) Domain

func (GetSteeringPolicyAttachmentsResultOutput) DomainContains

func (GetSteeringPolicyAttachmentsResultOutput) ElementType

func (GetSteeringPolicyAttachmentsResultOutput) Filters

func (GetSteeringPolicyAttachmentsResultOutput) Id

The OCID of the resource.

func (GetSteeringPolicyAttachmentsResultOutput) State

The current state of the resource.

func (GetSteeringPolicyAttachmentsResultOutput) SteeringPolicyAttachments

The list of steering_policy_attachments.

func (GetSteeringPolicyAttachmentsResultOutput) SteeringPolicyId

The OCID of the attached steering policy.

func (GetSteeringPolicyAttachmentsResultOutput) TimeCreatedGreaterThanOrEqualTo

func (o GetSteeringPolicyAttachmentsResultOutput) TimeCreatedGreaterThanOrEqualTo() pulumi.StringPtrOutput

func (GetSteeringPolicyAttachmentsResultOutput) TimeCreatedLessThan

func (GetSteeringPolicyAttachmentsResultOutput) ToGetSteeringPolicyAttachmentsResultOutput

func (o GetSteeringPolicyAttachmentsResultOutput) ToGetSteeringPolicyAttachmentsResultOutput() GetSteeringPolicyAttachmentsResultOutput

func (GetSteeringPolicyAttachmentsResultOutput) ToGetSteeringPolicyAttachmentsResultOutputWithContext

func (o GetSteeringPolicyAttachmentsResultOutput) ToGetSteeringPolicyAttachmentsResultOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsResultOutput

func (GetSteeringPolicyAttachmentsResultOutput) ZoneId

The OCID of the attached zone.

type GetSteeringPolicyAttachmentsSteeringPolicyAttachment

type GetSteeringPolicyAttachmentsSteeringPolicyAttachment struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName string `pulumi:"displayName"`
	// The attached domain within the attached zone.
	DomainName string `pulumi:"domainName"`
	// The OCID of a resource.
	Id string `pulumi:"id"`
	// The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
	Rtypes []string `pulumi:"rtypes"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value.
	SteeringPolicyId string `pulumi:"steeringPolicyId"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// Search by zone OCID. Will match any resource whose zone ID matches the provided value.
	ZoneId string `pulumi:"zoneId"`
}

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// The attached domain within the attached zone.
	DomainName pulumi.StringInput `pulumi:"domainName"`
	// The OCID of a resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
	Rtypes pulumi.StringArrayInput `pulumi:"rtypes"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value.
	SteeringPolicyId pulumi.StringInput `pulumi:"steeringPolicyId"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// Search by zone OCID. Will match any resource whose zone ID matches the provided value.
	ZoneId pulumi.StringInput `pulumi:"zoneId"`
}

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs) ElementType

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutputWithContext

func (i GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray []GetSteeringPolicyAttachmentsSteeringPolicyAttachmentInput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray) ElementType

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

func (i GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput() GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutputWithContext

func (i GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayInput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput() GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput
	ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutputWithContext(context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput
}

GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayInput is an input type that accepts GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray and GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayInput` via:

GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArray{ GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs{...} }

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput) ElementType

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput) Index

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutputWithContext

func (o GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArrayOutput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentInput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentInput interface {
	pulumi.Input

	ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput() GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput
	ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutputWithContext(context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput
}

GetSteeringPolicyAttachmentsSteeringPolicyAttachmentInput is an input type that accepts GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs and GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput values. You can construct a concrete instance of `GetSteeringPolicyAttachmentsSteeringPolicyAttachmentInput` via:

GetSteeringPolicyAttachmentsSteeringPolicyAttachmentArgs{...}

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput

type GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) CompartmentId

The OCID of the compartment the resource belongs to.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) DisplayName

The displayName of a resource.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) DomainName

The attached domain within the attached zone.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) ElementType

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) Id

The OCID of a resource.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) Rtypes

The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) Self

The canonical absolute URL of the resource.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) State

The state of a resource.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) SteeringPolicyId

Search by steering policy OCID. Will match any resource whose steering policy ID matches the provided value.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutputWithContext

func (o GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) ToGetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutputWithContext(ctx context.Context) GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput

func (GetSteeringPolicyAttachmentsSteeringPolicyAttachmentOutput) ZoneId

Search by zone OCID. Will match any resource whose zone ID matches the provided value.

type GetSteeringPolicyRule

type GetSteeringPolicyRule struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases []GetSteeringPolicyRuleCase `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas []GetSteeringPolicyRuleDefaultAnswerData `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount int `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description string `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType string `pulumi:"ruleType"`
}

type GetSteeringPolicyRuleArgs

type GetSteeringPolicyRuleArgs struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases GetSteeringPolicyRuleCaseArrayInput `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas GetSteeringPolicyRuleDefaultAnswerDataArrayInput `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount pulumi.IntInput `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description pulumi.StringInput `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
}

func (GetSteeringPolicyRuleArgs) ElementType

func (GetSteeringPolicyRuleArgs) ElementType() reflect.Type

func (GetSteeringPolicyRuleArgs) ToGetSteeringPolicyRuleOutput

func (i GetSteeringPolicyRuleArgs) ToGetSteeringPolicyRuleOutput() GetSteeringPolicyRuleOutput

func (GetSteeringPolicyRuleArgs) ToGetSteeringPolicyRuleOutputWithContext

func (i GetSteeringPolicyRuleArgs) ToGetSteeringPolicyRuleOutputWithContext(ctx context.Context) GetSteeringPolicyRuleOutput

type GetSteeringPolicyRuleArray

type GetSteeringPolicyRuleArray []GetSteeringPolicyRuleInput

func (GetSteeringPolicyRuleArray) ElementType

func (GetSteeringPolicyRuleArray) ElementType() reflect.Type

func (GetSteeringPolicyRuleArray) ToGetSteeringPolicyRuleArrayOutput

func (i GetSteeringPolicyRuleArray) ToGetSteeringPolicyRuleArrayOutput() GetSteeringPolicyRuleArrayOutput

func (GetSteeringPolicyRuleArray) ToGetSteeringPolicyRuleArrayOutputWithContext

func (i GetSteeringPolicyRuleArray) ToGetSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleArrayOutput

type GetSteeringPolicyRuleArrayInput

type GetSteeringPolicyRuleArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleArrayOutput() GetSteeringPolicyRuleArrayOutput
	ToGetSteeringPolicyRuleArrayOutputWithContext(context.Context) GetSteeringPolicyRuleArrayOutput
}

GetSteeringPolicyRuleArrayInput is an input type that accepts GetSteeringPolicyRuleArray and GetSteeringPolicyRuleArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleArrayInput` via:

GetSteeringPolicyRuleArray{ GetSteeringPolicyRuleArgs{...} }

type GetSteeringPolicyRuleArrayOutput

type GetSteeringPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleArrayOutput) ElementType

func (GetSteeringPolicyRuleArrayOutput) Index

func (GetSteeringPolicyRuleArrayOutput) ToGetSteeringPolicyRuleArrayOutput

func (o GetSteeringPolicyRuleArrayOutput) ToGetSteeringPolicyRuleArrayOutput() GetSteeringPolicyRuleArrayOutput

func (GetSteeringPolicyRuleArrayOutput) ToGetSteeringPolicyRuleArrayOutputWithContext

func (o GetSteeringPolicyRuleArrayOutput) ToGetSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleArrayOutput

type GetSteeringPolicyRuleCase

type GetSteeringPolicyRuleCase struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas []GetSteeringPolicyRuleCaseAnswerData `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition string `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count int `pulumi:"count"`
}

type GetSteeringPolicyRuleCaseAnswerData

type GetSteeringPolicyRuleCaseAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value int `pulumi:"value"`
}

type GetSteeringPolicyRuleCaseAnswerDataArgs

type GetSteeringPolicyRuleCaseAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntInput `pulumi:"value"`
}

func (GetSteeringPolicyRuleCaseAnswerDataArgs) ElementType

func (GetSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPolicyRuleCaseAnswerDataOutput

func (i GetSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPolicyRuleCaseAnswerDataOutput() GetSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (i GetSteeringPolicyRuleCaseAnswerDataArgs) ToGetSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseAnswerDataOutput

type GetSteeringPolicyRuleCaseAnswerDataArray

type GetSteeringPolicyRuleCaseAnswerDataArray []GetSteeringPolicyRuleCaseAnswerDataInput

func (GetSteeringPolicyRuleCaseAnswerDataArray) ElementType

func (GetSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutput

func (i GetSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutput() GetSteeringPolicyRuleCaseAnswerDataArrayOutput

func (GetSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (i GetSteeringPolicyRuleCaseAnswerDataArray) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPolicyRuleCaseAnswerDataArrayInput

type GetSteeringPolicyRuleCaseAnswerDataArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleCaseAnswerDataArrayOutput() GetSteeringPolicyRuleCaseAnswerDataArrayOutput
	ToGetSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(context.Context) GetSteeringPolicyRuleCaseAnswerDataArrayOutput
}

GetSteeringPolicyRuleCaseAnswerDataArrayInput is an input type that accepts GetSteeringPolicyRuleCaseAnswerDataArray and GetSteeringPolicyRuleCaseAnswerDataArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleCaseAnswerDataArrayInput` via:

GetSteeringPolicyRuleCaseAnswerDataArray{ GetSteeringPolicyRuleCaseAnswerDataArgs{...} }

type GetSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPolicyRuleCaseAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleCaseAnswerDataArrayOutput) ElementType

func (GetSteeringPolicyRuleCaseAnswerDataArrayOutput) Index

func (GetSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutput

func (o GetSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutput() GetSteeringPolicyRuleCaseAnswerDataArrayOutput

func (GetSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (o GetSteeringPolicyRuleCaseAnswerDataArrayOutput) ToGetSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseAnswerDataArrayOutput

type GetSteeringPolicyRuleCaseAnswerDataInput

type GetSteeringPolicyRuleCaseAnswerDataInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleCaseAnswerDataOutput() GetSteeringPolicyRuleCaseAnswerDataOutput
	ToGetSteeringPolicyRuleCaseAnswerDataOutputWithContext(context.Context) GetSteeringPolicyRuleCaseAnswerDataOutput
}

GetSteeringPolicyRuleCaseAnswerDataInput is an input type that accepts GetSteeringPolicyRuleCaseAnswerDataArgs and GetSteeringPolicyRuleCaseAnswerDataOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleCaseAnswerDataInput` via:

GetSteeringPolicyRuleCaseAnswerDataArgs{...}

type GetSteeringPolicyRuleCaseAnswerDataOutput

type GetSteeringPolicyRuleCaseAnswerDataOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleCaseAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (GetSteeringPolicyRuleCaseAnswerDataOutput) ElementType

func (GetSteeringPolicyRuleCaseAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (GetSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPolicyRuleCaseAnswerDataOutput

func (o GetSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPolicyRuleCaseAnswerDataOutput() GetSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (o GetSteeringPolicyRuleCaseAnswerDataOutput) ToGetSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseAnswerDataOutput

func (GetSteeringPolicyRuleCaseAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type GetSteeringPolicyRuleCaseArgs

type GetSteeringPolicyRuleCaseArgs struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas GetSteeringPolicyRuleCaseAnswerDataArrayInput `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition pulumi.StringInput `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count pulumi.IntInput `pulumi:"count"`
}

func (GetSteeringPolicyRuleCaseArgs) ElementType

func (GetSteeringPolicyRuleCaseArgs) ToGetSteeringPolicyRuleCaseOutput

func (i GetSteeringPolicyRuleCaseArgs) ToGetSteeringPolicyRuleCaseOutput() GetSteeringPolicyRuleCaseOutput

func (GetSteeringPolicyRuleCaseArgs) ToGetSteeringPolicyRuleCaseOutputWithContext

func (i GetSteeringPolicyRuleCaseArgs) ToGetSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseOutput

type GetSteeringPolicyRuleCaseArray

type GetSteeringPolicyRuleCaseArray []GetSteeringPolicyRuleCaseInput

func (GetSteeringPolicyRuleCaseArray) ElementType

func (GetSteeringPolicyRuleCaseArray) ToGetSteeringPolicyRuleCaseArrayOutput

func (i GetSteeringPolicyRuleCaseArray) ToGetSteeringPolicyRuleCaseArrayOutput() GetSteeringPolicyRuleCaseArrayOutput

func (GetSteeringPolicyRuleCaseArray) ToGetSteeringPolicyRuleCaseArrayOutputWithContext

func (i GetSteeringPolicyRuleCaseArray) ToGetSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseArrayOutput

type GetSteeringPolicyRuleCaseArrayInput

type GetSteeringPolicyRuleCaseArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleCaseArrayOutput() GetSteeringPolicyRuleCaseArrayOutput
	ToGetSteeringPolicyRuleCaseArrayOutputWithContext(context.Context) GetSteeringPolicyRuleCaseArrayOutput
}

GetSteeringPolicyRuleCaseArrayInput is an input type that accepts GetSteeringPolicyRuleCaseArray and GetSteeringPolicyRuleCaseArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleCaseArrayInput` via:

GetSteeringPolicyRuleCaseArray{ GetSteeringPolicyRuleCaseArgs{...} }

type GetSteeringPolicyRuleCaseArrayOutput

type GetSteeringPolicyRuleCaseArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleCaseArrayOutput) ElementType

func (GetSteeringPolicyRuleCaseArrayOutput) Index

func (GetSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPolicyRuleCaseArrayOutput

func (o GetSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPolicyRuleCaseArrayOutput() GetSteeringPolicyRuleCaseArrayOutput

func (GetSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPolicyRuleCaseArrayOutputWithContext

func (o GetSteeringPolicyRuleCaseArrayOutput) ToGetSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseArrayOutput

type GetSteeringPolicyRuleCaseInput

type GetSteeringPolicyRuleCaseInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleCaseOutput() GetSteeringPolicyRuleCaseOutput
	ToGetSteeringPolicyRuleCaseOutputWithContext(context.Context) GetSteeringPolicyRuleCaseOutput
}

GetSteeringPolicyRuleCaseInput is an input type that accepts GetSteeringPolicyRuleCaseArgs and GetSteeringPolicyRuleCaseOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleCaseInput` via:

GetSteeringPolicyRuleCaseArgs{...}

type GetSteeringPolicyRuleCaseOutput

type GetSteeringPolicyRuleCaseOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleCaseOutput) AnswerDatas

An array of `SteeringPolicyPriorityAnswerData` objects.

func (GetSteeringPolicyRuleCaseOutput) CaseCondition

An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.

func (GetSteeringPolicyRuleCaseOutput) Count

The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.

func (GetSteeringPolicyRuleCaseOutput) ElementType

func (GetSteeringPolicyRuleCaseOutput) ToGetSteeringPolicyRuleCaseOutput

func (o GetSteeringPolicyRuleCaseOutput) ToGetSteeringPolicyRuleCaseOutput() GetSteeringPolicyRuleCaseOutput

func (GetSteeringPolicyRuleCaseOutput) ToGetSteeringPolicyRuleCaseOutputWithContext

func (o GetSteeringPolicyRuleCaseOutput) ToGetSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) GetSteeringPolicyRuleCaseOutput

type GetSteeringPolicyRuleDefaultAnswerData

type GetSteeringPolicyRuleDefaultAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value int `pulumi:"value"`
}

type GetSteeringPolicyRuleDefaultAnswerDataArgs

type GetSteeringPolicyRuleDefaultAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntInput `pulumi:"value"`
}

func (GetSteeringPolicyRuleDefaultAnswerDataArgs) ElementType

func (GetSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPolicyRuleDefaultAnswerDataOutput

func (i GetSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPolicyRuleDefaultAnswerDataOutput() GetSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (i GetSteeringPolicyRuleDefaultAnswerDataArgs) ToGetSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) GetSteeringPolicyRuleDefaultAnswerDataOutput

type GetSteeringPolicyRuleDefaultAnswerDataArray

type GetSteeringPolicyRuleDefaultAnswerDataArray []GetSteeringPolicyRuleDefaultAnswerDataInput

func (GetSteeringPolicyRuleDefaultAnswerDataArray) ElementType

func (GetSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (i GetSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutput() GetSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (GetSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (i GetSteeringPolicyRuleDefaultAnswerDataArray) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPolicyRuleDefaultAnswerDataArrayInput

type GetSteeringPolicyRuleDefaultAnswerDataArrayInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutput() GetSteeringPolicyRuleDefaultAnswerDataArrayOutput
	ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(context.Context) GetSteeringPolicyRuleDefaultAnswerDataArrayOutput
}

GetSteeringPolicyRuleDefaultAnswerDataArrayInput is an input type that accepts GetSteeringPolicyRuleDefaultAnswerDataArray and GetSteeringPolicyRuleDefaultAnswerDataArrayOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleDefaultAnswerDataArrayInput` via:

GetSteeringPolicyRuleDefaultAnswerDataArray{ GetSteeringPolicyRuleDefaultAnswerDataArgs{...} }

type GetSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPolicyRuleDefaultAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) ElementType

func (GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) Index

func (GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (o GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutput() GetSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (o GetSteeringPolicyRuleDefaultAnswerDataArrayOutput) ToGetSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) GetSteeringPolicyRuleDefaultAnswerDataArrayOutput

type GetSteeringPolicyRuleDefaultAnswerDataInput

type GetSteeringPolicyRuleDefaultAnswerDataInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleDefaultAnswerDataOutput() GetSteeringPolicyRuleDefaultAnswerDataOutput
	ToGetSteeringPolicyRuleDefaultAnswerDataOutputWithContext(context.Context) GetSteeringPolicyRuleDefaultAnswerDataOutput
}

GetSteeringPolicyRuleDefaultAnswerDataInput is an input type that accepts GetSteeringPolicyRuleDefaultAnswerDataArgs and GetSteeringPolicyRuleDefaultAnswerDataOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleDefaultAnswerDataInput` via:

GetSteeringPolicyRuleDefaultAnswerDataArgs{...}

type GetSteeringPolicyRuleDefaultAnswerDataOutput

type GetSteeringPolicyRuleDefaultAnswerDataOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) ElementType

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPolicyRuleDefaultAnswerDataOutput

func (o GetSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPolicyRuleDefaultAnswerDataOutput() GetSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (o GetSteeringPolicyRuleDefaultAnswerDataOutput) ToGetSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) GetSteeringPolicyRuleDefaultAnswerDataOutput

func (GetSteeringPolicyRuleDefaultAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type GetSteeringPolicyRuleInput

type GetSteeringPolicyRuleInput interface {
	pulumi.Input

	ToGetSteeringPolicyRuleOutput() GetSteeringPolicyRuleOutput
	ToGetSteeringPolicyRuleOutputWithContext(context.Context) GetSteeringPolicyRuleOutput
}

GetSteeringPolicyRuleInput is an input type that accepts GetSteeringPolicyRuleArgs and GetSteeringPolicyRuleOutput values. You can construct a concrete instance of `GetSteeringPolicyRuleInput` via:

GetSteeringPolicyRuleArgs{...}

type GetSteeringPolicyRuleOutput

type GetSteeringPolicyRuleOutput struct{ *pulumi.OutputState }

func (GetSteeringPolicyRuleOutput) Cases

An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.

func (GetSteeringPolicyRuleOutput) DefaultAnswerDatas

Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.

func (GetSteeringPolicyRuleOutput) DefaultCount

func (o GetSteeringPolicyRuleOutput) DefaultCount() pulumi.IntOutput

Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.

func (GetSteeringPolicyRuleOutput) Description

A user-defined description of the rule's purpose or behavior.

func (GetSteeringPolicyRuleOutput) ElementType

func (GetSteeringPolicyRuleOutput) RuleType

The type of a rule determines its sorting/filtering behavior.

func (GetSteeringPolicyRuleOutput) ToGetSteeringPolicyRuleOutput

func (o GetSteeringPolicyRuleOutput) ToGetSteeringPolicyRuleOutput() GetSteeringPolicyRuleOutput

func (GetSteeringPolicyRuleOutput) ToGetSteeringPolicyRuleOutputWithContext

func (o GetSteeringPolicyRuleOutput) ToGetSteeringPolicyRuleOutputWithContext(ctx context.Context) GetSteeringPolicyRuleOutput

type GetTsigKeysArgs

type GetTsigKeysArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string              `pulumi:"compartmentId"`
	Filters       []GetTsigKeysFilter `pulumi:"filters"`
	// The OCID of a resource.
	Id *string `pulumi:"id"`
	// The name of a resource.
	Name *string `pulumi:"name"`
	// The state of a resource.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getTsigKeys.

type GetTsigKeysFilter

type GetTsigKeysFilter struct {
	// The name of a resource.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetTsigKeysFilterArgs

type GetTsigKeysFilterArgs struct {
	// The name of a resource.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetTsigKeysFilterArgs) ElementType

func (GetTsigKeysFilterArgs) ElementType() reflect.Type

func (GetTsigKeysFilterArgs) ToGetTsigKeysFilterOutput

func (i GetTsigKeysFilterArgs) ToGetTsigKeysFilterOutput() GetTsigKeysFilterOutput

func (GetTsigKeysFilterArgs) ToGetTsigKeysFilterOutputWithContext

func (i GetTsigKeysFilterArgs) ToGetTsigKeysFilterOutputWithContext(ctx context.Context) GetTsigKeysFilterOutput

type GetTsigKeysFilterArray

type GetTsigKeysFilterArray []GetTsigKeysFilterInput

func (GetTsigKeysFilterArray) ElementType

func (GetTsigKeysFilterArray) ElementType() reflect.Type

func (GetTsigKeysFilterArray) ToGetTsigKeysFilterArrayOutput

func (i GetTsigKeysFilterArray) ToGetTsigKeysFilterArrayOutput() GetTsigKeysFilterArrayOutput

func (GetTsigKeysFilterArray) ToGetTsigKeysFilterArrayOutputWithContext

func (i GetTsigKeysFilterArray) ToGetTsigKeysFilterArrayOutputWithContext(ctx context.Context) GetTsigKeysFilterArrayOutput

type GetTsigKeysFilterArrayInput

type GetTsigKeysFilterArrayInput interface {
	pulumi.Input

	ToGetTsigKeysFilterArrayOutput() GetTsigKeysFilterArrayOutput
	ToGetTsigKeysFilterArrayOutputWithContext(context.Context) GetTsigKeysFilterArrayOutput
}

GetTsigKeysFilterArrayInput is an input type that accepts GetTsigKeysFilterArray and GetTsigKeysFilterArrayOutput values. You can construct a concrete instance of `GetTsigKeysFilterArrayInput` via:

GetTsigKeysFilterArray{ GetTsigKeysFilterArgs{...} }

type GetTsigKeysFilterArrayOutput

type GetTsigKeysFilterArrayOutput struct{ *pulumi.OutputState }

func (GetTsigKeysFilterArrayOutput) ElementType

func (GetTsigKeysFilterArrayOutput) Index

func (GetTsigKeysFilterArrayOutput) ToGetTsigKeysFilterArrayOutput

func (o GetTsigKeysFilterArrayOutput) ToGetTsigKeysFilterArrayOutput() GetTsigKeysFilterArrayOutput

func (GetTsigKeysFilterArrayOutput) ToGetTsigKeysFilterArrayOutputWithContext

func (o GetTsigKeysFilterArrayOutput) ToGetTsigKeysFilterArrayOutputWithContext(ctx context.Context) GetTsigKeysFilterArrayOutput

type GetTsigKeysFilterInput

type GetTsigKeysFilterInput interface {
	pulumi.Input

	ToGetTsigKeysFilterOutput() GetTsigKeysFilterOutput
	ToGetTsigKeysFilterOutputWithContext(context.Context) GetTsigKeysFilterOutput
}

GetTsigKeysFilterInput is an input type that accepts GetTsigKeysFilterArgs and GetTsigKeysFilterOutput values. You can construct a concrete instance of `GetTsigKeysFilterInput` via:

GetTsigKeysFilterArgs{...}

type GetTsigKeysFilterOutput

type GetTsigKeysFilterOutput struct{ *pulumi.OutputState }

func (GetTsigKeysFilterOutput) ElementType

func (GetTsigKeysFilterOutput) ElementType() reflect.Type

func (GetTsigKeysFilterOutput) Name

The name of a resource.

func (GetTsigKeysFilterOutput) Regex

func (GetTsigKeysFilterOutput) ToGetTsigKeysFilterOutput

func (o GetTsigKeysFilterOutput) ToGetTsigKeysFilterOutput() GetTsigKeysFilterOutput

func (GetTsigKeysFilterOutput) ToGetTsigKeysFilterOutputWithContext

func (o GetTsigKeysFilterOutput) ToGetTsigKeysFilterOutputWithContext(ctx context.Context) GetTsigKeysFilterOutput

func (GetTsigKeysFilterOutput) Values

type GetTsigKeysOutputArgs

type GetTsigKeysOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput          `pulumi:"compartmentId"`
	Filters       GetTsigKeysFilterArrayInput `pulumi:"filters"`
	// The OCID of a resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The name of a resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getTsigKeys.

func (GetTsigKeysOutputArgs) ElementType

func (GetTsigKeysOutputArgs) ElementType() reflect.Type

type GetTsigKeysResult

type GetTsigKeysResult struct {
	// The OCID of the compartment containing the TSIG key.
	CompartmentId string              `pulumi:"compartmentId"`
	Filters       []GetTsigKeysFilter `pulumi:"filters"`
	// The OCID of the resource.
	Id *string `pulumi:"id"`
	// A globally unique domain name identifying the key for a given pair of hosts.
	Name *string `pulumi:"name"`
	// The current state of the resource.
	State *string `pulumi:"state"`
	// The list of tsig_keys.
	TsigKeys []GetTsigKeysTsigKey `pulumi:"tsigKeys"`
}

A collection of values returned by getTsigKeys.

func GetTsigKeys

func GetTsigKeys(ctx *pulumi.Context, args *GetTsigKeysArgs, opts ...pulumi.InvokeOption) (*GetTsigKeysResult, error)

This data source provides the list of Tsig Keys in Oracle Cloud Infrastructure DNS service.

Gets a list of all TSIG keys in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetTsigKeys(ctx, &dns.GetTsigKeysArgs{
			CompartmentId: compartmentId,
			Id:            pulumi.StringRef(tsigKeyId),
			Name:          pulumi.StringRef(tsigKeyName),
			State:         pulumi.StringRef(tsigKeyState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTsigKeysResultOutput

type GetTsigKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTsigKeys.

func (GetTsigKeysResultOutput) CompartmentId

func (o GetTsigKeysResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment containing the TSIG key.

func (GetTsigKeysResultOutput) ElementType

func (GetTsigKeysResultOutput) ElementType() reflect.Type

func (GetTsigKeysResultOutput) Filters

func (GetTsigKeysResultOutput) Id

The OCID of the resource.

func (GetTsigKeysResultOutput) Name

A globally unique domain name identifying the key for a given pair of hosts.

func (GetTsigKeysResultOutput) State

The current state of the resource.

func (GetTsigKeysResultOutput) ToGetTsigKeysResultOutput

func (o GetTsigKeysResultOutput) ToGetTsigKeysResultOutput() GetTsigKeysResultOutput

func (GetTsigKeysResultOutput) ToGetTsigKeysResultOutputWithContext

func (o GetTsigKeysResultOutput) ToGetTsigKeysResultOutputWithContext(ctx context.Context) GetTsigKeysResultOutput

func (GetTsigKeysResultOutput) TsigKeys

The list of tsig_keys.

type GetTsigKeysTsigKey

type GetTsigKeysTsigKey struct {
	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm string `pulumi:"algorithm"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id string `pulumi:"id"`
	// The name of a resource.
	Name string `pulumi:"name"`
	// A base64 string encoding the binary shared secret.
	Secret string `pulumi:"secret"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetTsigKeysTsigKeyArgs

type GetTsigKeysTsigKeyArgs struct {
	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of a resource.
	Name pulumi.StringInput `pulumi:"name"`
	// A base64 string encoding the binary shared secret.
	Secret pulumi.StringInput `pulumi:"secret"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetTsigKeysTsigKeyArgs) ElementType

func (GetTsigKeysTsigKeyArgs) ElementType() reflect.Type

func (GetTsigKeysTsigKeyArgs) ToGetTsigKeysTsigKeyOutput

func (i GetTsigKeysTsigKeyArgs) ToGetTsigKeysTsigKeyOutput() GetTsigKeysTsigKeyOutput

func (GetTsigKeysTsigKeyArgs) ToGetTsigKeysTsigKeyOutputWithContext

func (i GetTsigKeysTsigKeyArgs) ToGetTsigKeysTsigKeyOutputWithContext(ctx context.Context) GetTsigKeysTsigKeyOutput

type GetTsigKeysTsigKeyArray

type GetTsigKeysTsigKeyArray []GetTsigKeysTsigKeyInput

func (GetTsigKeysTsigKeyArray) ElementType

func (GetTsigKeysTsigKeyArray) ElementType() reflect.Type

func (GetTsigKeysTsigKeyArray) ToGetTsigKeysTsigKeyArrayOutput

func (i GetTsigKeysTsigKeyArray) ToGetTsigKeysTsigKeyArrayOutput() GetTsigKeysTsigKeyArrayOutput

func (GetTsigKeysTsigKeyArray) ToGetTsigKeysTsigKeyArrayOutputWithContext

func (i GetTsigKeysTsigKeyArray) ToGetTsigKeysTsigKeyArrayOutputWithContext(ctx context.Context) GetTsigKeysTsigKeyArrayOutput

type GetTsigKeysTsigKeyArrayInput

type GetTsigKeysTsigKeyArrayInput interface {
	pulumi.Input

	ToGetTsigKeysTsigKeyArrayOutput() GetTsigKeysTsigKeyArrayOutput
	ToGetTsigKeysTsigKeyArrayOutputWithContext(context.Context) GetTsigKeysTsigKeyArrayOutput
}

GetTsigKeysTsigKeyArrayInput is an input type that accepts GetTsigKeysTsigKeyArray and GetTsigKeysTsigKeyArrayOutput values. You can construct a concrete instance of `GetTsigKeysTsigKeyArrayInput` via:

GetTsigKeysTsigKeyArray{ GetTsigKeysTsigKeyArgs{...} }

type GetTsigKeysTsigKeyArrayOutput

type GetTsigKeysTsigKeyArrayOutput struct{ *pulumi.OutputState }

func (GetTsigKeysTsigKeyArrayOutput) ElementType

func (GetTsigKeysTsigKeyArrayOutput) Index

func (GetTsigKeysTsigKeyArrayOutput) ToGetTsigKeysTsigKeyArrayOutput

func (o GetTsigKeysTsigKeyArrayOutput) ToGetTsigKeysTsigKeyArrayOutput() GetTsigKeysTsigKeyArrayOutput

func (GetTsigKeysTsigKeyArrayOutput) ToGetTsigKeysTsigKeyArrayOutputWithContext

func (o GetTsigKeysTsigKeyArrayOutput) ToGetTsigKeysTsigKeyArrayOutputWithContext(ctx context.Context) GetTsigKeysTsigKeyArrayOutput

type GetTsigKeysTsigKeyInput

type GetTsigKeysTsigKeyInput interface {
	pulumi.Input

	ToGetTsigKeysTsigKeyOutput() GetTsigKeysTsigKeyOutput
	ToGetTsigKeysTsigKeyOutputWithContext(context.Context) GetTsigKeysTsigKeyOutput
}

GetTsigKeysTsigKeyInput is an input type that accepts GetTsigKeysTsigKeyArgs and GetTsigKeysTsigKeyOutput values. You can construct a concrete instance of `GetTsigKeysTsigKeyInput` via:

GetTsigKeysTsigKeyArgs{...}

type GetTsigKeysTsigKeyOutput

type GetTsigKeysTsigKeyOutput struct{ *pulumi.OutputState }

func (GetTsigKeysTsigKeyOutput) Algorithm

TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).

func (GetTsigKeysTsigKeyOutput) CompartmentId

func (o GetTsigKeysTsigKeyOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment the resource belongs to.

func (GetTsigKeysTsigKeyOutput) DefinedTags

func (o GetTsigKeysTsigKeyOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetTsigKeysTsigKeyOutput) ElementType

func (GetTsigKeysTsigKeyOutput) ElementType() reflect.Type

func (GetTsigKeysTsigKeyOutput) FreeformTags

func (o GetTsigKeysTsigKeyOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetTsigKeysTsigKeyOutput) Id

The OCID of a resource.

func (GetTsigKeysTsigKeyOutput) Name

The name of a resource.

func (GetTsigKeysTsigKeyOutput) Secret

A base64 string encoding the binary shared secret.

func (GetTsigKeysTsigKeyOutput) Self

The canonical absolute URL of the resource.

func (GetTsigKeysTsigKeyOutput) State

The state of a resource.

func (GetTsigKeysTsigKeyOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (GetTsigKeysTsigKeyOutput) TimeUpdated

The date and time the resource was last updated, expressed in RFC 3339 timestamp format.

func (GetTsigKeysTsigKeyOutput) ToGetTsigKeysTsigKeyOutput

func (o GetTsigKeysTsigKeyOutput) ToGetTsigKeysTsigKeyOutput() GetTsigKeysTsigKeyOutput

func (GetTsigKeysTsigKeyOutput) ToGetTsigKeysTsigKeyOutputWithContext

func (o GetTsigKeysTsigKeyOutput) ToGetTsigKeysTsigKeyOutputWithContext(ctx context.Context) GetTsigKeysTsigKeyOutput

type GetViewsArgs

type GetViewsArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName *string          `pulumi:"displayName"`
	Filters     []GetViewsFilter `pulumi:"filters"`
	// The OCID of a resource.
	Id *string `pulumi:"id"`
	// Value must be `PRIVATE` when listing private views.
	Scope *string `pulumi:"scope"`
	// The state of a resource.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getViews.

type GetViewsFilter

type GetViewsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetViewsFilterArgs

type GetViewsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetViewsFilterArgs) ElementType

func (GetViewsFilterArgs) ElementType() reflect.Type

func (GetViewsFilterArgs) ToGetViewsFilterOutput

func (i GetViewsFilterArgs) ToGetViewsFilterOutput() GetViewsFilterOutput

func (GetViewsFilterArgs) ToGetViewsFilterOutputWithContext

func (i GetViewsFilterArgs) ToGetViewsFilterOutputWithContext(ctx context.Context) GetViewsFilterOutput

type GetViewsFilterArray

type GetViewsFilterArray []GetViewsFilterInput

func (GetViewsFilterArray) ElementType

func (GetViewsFilterArray) ElementType() reflect.Type

func (GetViewsFilterArray) ToGetViewsFilterArrayOutput

func (i GetViewsFilterArray) ToGetViewsFilterArrayOutput() GetViewsFilterArrayOutput

func (GetViewsFilterArray) ToGetViewsFilterArrayOutputWithContext

func (i GetViewsFilterArray) ToGetViewsFilterArrayOutputWithContext(ctx context.Context) GetViewsFilterArrayOutput

type GetViewsFilterArrayInput

type GetViewsFilterArrayInput interface {
	pulumi.Input

	ToGetViewsFilterArrayOutput() GetViewsFilterArrayOutput
	ToGetViewsFilterArrayOutputWithContext(context.Context) GetViewsFilterArrayOutput
}

GetViewsFilterArrayInput is an input type that accepts GetViewsFilterArray and GetViewsFilterArrayOutput values. You can construct a concrete instance of `GetViewsFilterArrayInput` via:

GetViewsFilterArray{ GetViewsFilterArgs{...} }

type GetViewsFilterArrayOutput

type GetViewsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetViewsFilterArrayOutput) ElementType

func (GetViewsFilterArrayOutput) ElementType() reflect.Type

func (GetViewsFilterArrayOutput) Index

func (GetViewsFilterArrayOutput) ToGetViewsFilterArrayOutput

func (o GetViewsFilterArrayOutput) ToGetViewsFilterArrayOutput() GetViewsFilterArrayOutput

func (GetViewsFilterArrayOutput) ToGetViewsFilterArrayOutputWithContext

func (o GetViewsFilterArrayOutput) ToGetViewsFilterArrayOutputWithContext(ctx context.Context) GetViewsFilterArrayOutput

type GetViewsFilterInput

type GetViewsFilterInput interface {
	pulumi.Input

	ToGetViewsFilterOutput() GetViewsFilterOutput
	ToGetViewsFilterOutputWithContext(context.Context) GetViewsFilterOutput
}

GetViewsFilterInput is an input type that accepts GetViewsFilterArgs and GetViewsFilterOutput values. You can construct a concrete instance of `GetViewsFilterInput` via:

GetViewsFilterArgs{...}

type GetViewsFilterOutput

type GetViewsFilterOutput struct{ *pulumi.OutputState }

func (GetViewsFilterOutput) ElementType

func (GetViewsFilterOutput) ElementType() reflect.Type

func (GetViewsFilterOutput) Name

func (GetViewsFilterOutput) Regex

func (GetViewsFilterOutput) ToGetViewsFilterOutput

func (o GetViewsFilterOutput) ToGetViewsFilterOutput() GetViewsFilterOutput

func (GetViewsFilterOutput) ToGetViewsFilterOutputWithContext

func (o GetViewsFilterOutput) ToGetViewsFilterOutputWithContext(ctx context.Context) GetViewsFilterOutput

func (GetViewsFilterOutput) Values

type GetViewsOutputArgs

type GetViewsOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The displayName of a resource.
	DisplayName pulumi.StringPtrInput    `pulumi:"displayName"`
	Filters     GetViewsFilterArrayInput `pulumi:"filters"`
	// The OCID of a resource.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Value must be `PRIVATE` when listing private views.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getViews.

func (GetViewsOutputArgs) ElementType

func (GetViewsOutputArgs) ElementType() reflect.Type

type GetViewsResult

type GetViewsResult struct {
	// The OCID of the owning compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// The display name of the view.
	DisplayName *string          `pulumi:"displayName"`
	Filters     []GetViewsFilter `pulumi:"filters"`
	// The OCID of the view.
	Id    *string `pulumi:"id"`
	Scope *string `pulumi:"scope"`
	// The current state of the resource.
	State *string `pulumi:"state"`
	// The list of views.
	Views []GetViewsView `pulumi:"views"`
}

A collection of values returned by getViews.

func GetViews

func GetViews(ctx *pulumi.Context, args *GetViewsArgs, opts ...pulumi.InvokeOption) (*GetViewsResult, error)

This data source provides the list of Views in Oracle Cloud Infrastructure DNS service.

Gets a list of all views within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include views in the DELETED lifecycleState to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetViews(ctx, &dns.GetViewsArgs{
			CompartmentId: compartmentId,
			Scope:         pulumi.StringRef("PRIVATE"),
			DisplayName:   pulumi.StringRef(viewDisplayName),
			Id:            pulumi.StringRef(viewId),
			State:         pulumi.StringRef(viewState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetViewsResultOutput

type GetViewsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getViews.

func (GetViewsResultOutput) CompartmentId

func (o GetViewsResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the owning compartment.

func (GetViewsResultOutput) DisplayName

The display name of the view.

func (GetViewsResultOutput) ElementType

func (GetViewsResultOutput) ElementType() reflect.Type

func (GetViewsResultOutput) Filters

func (GetViewsResultOutput) Id

The OCID of the view.

func (GetViewsResultOutput) Scope

func (GetViewsResultOutput) State

The current state of the resource.

func (GetViewsResultOutput) ToGetViewsResultOutput

func (o GetViewsResultOutput) ToGetViewsResultOutput() GetViewsResultOutput

func (GetViewsResultOutput) ToGetViewsResultOutputWithContext

func (o GetViewsResultOutput) ToGetViewsResultOutputWithContext(ctx context.Context) GetViewsResultOutput

func (GetViewsResultOutput) Views

The list of views.

type GetViewsView

type GetViewsView struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName string `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id string `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected bool `pulumi:"isProtected"`
	// Value must be `PRIVATE` when listing private views.
	Scope string `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The state of a resource.
	State string `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetViewsViewArgs

type GetViewsViewArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// The displayName of a resource.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The OCID of a resource.
	Id pulumi.StringInput `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolInput `pulumi:"isProtected"`
	// Value must be `PRIVATE` when listing private views.
	Scope pulumi.StringInput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetViewsViewArgs) ElementType

func (GetViewsViewArgs) ElementType() reflect.Type

func (GetViewsViewArgs) ToGetViewsViewOutput

func (i GetViewsViewArgs) ToGetViewsViewOutput() GetViewsViewOutput

func (GetViewsViewArgs) ToGetViewsViewOutputWithContext

func (i GetViewsViewArgs) ToGetViewsViewOutputWithContext(ctx context.Context) GetViewsViewOutput

type GetViewsViewArray

type GetViewsViewArray []GetViewsViewInput

func (GetViewsViewArray) ElementType

func (GetViewsViewArray) ElementType() reflect.Type

func (GetViewsViewArray) ToGetViewsViewArrayOutput

func (i GetViewsViewArray) ToGetViewsViewArrayOutput() GetViewsViewArrayOutput

func (GetViewsViewArray) ToGetViewsViewArrayOutputWithContext

func (i GetViewsViewArray) ToGetViewsViewArrayOutputWithContext(ctx context.Context) GetViewsViewArrayOutput

type GetViewsViewArrayInput

type GetViewsViewArrayInput interface {
	pulumi.Input

	ToGetViewsViewArrayOutput() GetViewsViewArrayOutput
	ToGetViewsViewArrayOutputWithContext(context.Context) GetViewsViewArrayOutput
}

GetViewsViewArrayInput is an input type that accepts GetViewsViewArray and GetViewsViewArrayOutput values. You can construct a concrete instance of `GetViewsViewArrayInput` via:

GetViewsViewArray{ GetViewsViewArgs{...} }

type GetViewsViewArrayOutput

type GetViewsViewArrayOutput struct{ *pulumi.OutputState }

func (GetViewsViewArrayOutput) ElementType

func (GetViewsViewArrayOutput) ElementType() reflect.Type

func (GetViewsViewArrayOutput) Index

func (GetViewsViewArrayOutput) ToGetViewsViewArrayOutput

func (o GetViewsViewArrayOutput) ToGetViewsViewArrayOutput() GetViewsViewArrayOutput

func (GetViewsViewArrayOutput) ToGetViewsViewArrayOutputWithContext

func (o GetViewsViewArrayOutput) ToGetViewsViewArrayOutputWithContext(ctx context.Context) GetViewsViewArrayOutput

type GetViewsViewInput

type GetViewsViewInput interface {
	pulumi.Input

	ToGetViewsViewOutput() GetViewsViewOutput
	ToGetViewsViewOutputWithContext(context.Context) GetViewsViewOutput
}

GetViewsViewInput is an input type that accepts GetViewsViewArgs and GetViewsViewOutput values. You can construct a concrete instance of `GetViewsViewInput` via:

GetViewsViewArgs{...}

type GetViewsViewOutput

type GetViewsViewOutput struct{ *pulumi.OutputState }

func (GetViewsViewOutput) CompartmentId

func (o GetViewsViewOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment the resource belongs to.

func (GetViewsViewOutput) DefinedTags

func (o GetViewsViewOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetViewsViewOutput) DisplayName

func (o GetViewsViewOutput) DisplayName() pulumi.StringOutput

The displayName of a resource.

func (GetViewsViewOutput) ElementType

func (GetViewsViewOutput) ElementType() reflect.Type

func (GetViewsViewOutput) FreeformTags

func (o GetViewsViewOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetViewsViewOutput) Id

The OCID of a resource.

func (GetViewsViewOutput) IsProtected

func (o GetViewsViewOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (GetViewsViewOutput) Scope

Value must be `PRIVATE` when listing private views.

func (GetViewsViewOutput) Self

The canonical absolute URL of the resource.

func (GetViewsViewOutput) State

The state of a resource.

func (GetViewsViewOutput) TimeCreated

func (o GetViewsViewOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetViewsViewOutput) TimeUpdated

func (o GetViewsViewOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetViewsViewOutput) ToGetViewsViewOutput

func (o GetViewsViewOutput) ToGetViewsViewOutput() GetViewsViewOutput

func (GetViewsViewOutput) ToGetViewsViewOutputWithContext

func (o GetViewsViewOutput) ToGetViewsViewOutputWithContext(ctx context.Context) GetViewsViewOutput

type GetZonesArgs

type GetZonesArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string           `pulumi:"compartmentId"`
	Filters       []GetZonesFilter `pulumi:"filters"`
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name *string `pulumi:"name"`
	// Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
	NameContains *string `pulumi:"nameContains"`
	// Specifies to operate only on resources that have a matching DNS scope. This value will be null
	// for zones in the global DNS and `PRIVATE` when listing private zones.
	Scope *string `pulumi:"scope"`
	// The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
	SortBy *string `pulumi:"sortBy"`
	// The order to sort the resources. Allowed values are: ASC|DESC
	SortOrder *string `pulumi:"sortOrder"`
	// The state of a resource.
	State *string `pulumi:"state"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan *string `pulumi:"timeCreatedLessThan"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
	// The OCID of the view the resource is associated with.
	ViewId *string `pulumi:"viewId"`
	// Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value.
	ZoneType *string `pulumi:"zoneType"`
}

A collection of arguments for invoking getZones.

type GetZonesFilter

type GetZonesFilter struct {
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetZonesFilterArgs

type GetZonesFilterArgs struct {
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetZonesFilterArgs) ElementType

func (GetZonesFilterArgs) ElementType() reflect.Type

func (GetZonesFilterArgs) ToGetZonesFilterOutput

func (i GetZonesFilterArgs) ToGetZonesFilterOutput() GetZonesFilterOutput

func (GetZonesFilterArgs) ToGetZonesFilterOutputWithContext

func (i GetZonesFilterArgs) ToGetZonesFilterOutputWithContext(ctx context.Context) GetZonesFilterOutput

type GetZonesFilterArray

type GetZonesFilterArray []GetZonesFilterInput

func (GetZonesFilterArray) ElementType

func (GetZonesFilterArray) ElementType() reflect.Type

func (GetZonesFilterArray) ToGetZonesFilterArrayOutput

func (i GetZonesFilterArray) ToGetZonesFilterArrayOutput() GetZonesFilterArrayOutput

func (GetZonesFilterArray) ToGetZonesFilterArrayOutputWithContext

func (i GetZonesFilterArray) ToGetZonesFilterArrayOutputWithContext(ctx context.Context) GetZonesFilterArrayOutput

type GetZonesFilterArrayInput

type GetZonesFilterArrayInput interface {
	pulumi.Input

	ToGetZonesFilterArrayOutput() GetZonesFilterArrayOutput
	ToGetZonesFilterArrayOutputWithContext(context.Context) GetZonesFilterArrayOutput
}

GetZonesFilterArrayInput is an input type that accepts GetZonesFilterArray and GetZonesFilterArrayOutput values. You can construct a concrete instance of `GetZonesFilterArrayInput` via:

GetZonesFilterArray{ GetZonesFilterArgs{...} }

type GetZonesFilterArrayOutput

type GetZonesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetZonesFilterArrayOutput) ElementType

func (GetZonesFilterArrayOutput) ElementType() reflect.Type

func (GetZonesFilterArrayOutput) Index

func (GetZonesFilterArrayOutput) ToGetZonesFilterArrayOutput

func (o GetZonesFilterArrayOutput) ToGetZonesFilterArrayOutput() GetZonesFilterArrayOutput

func (GetZonesFilterArrayOutput) ToGetZonesFilterArrayOutputWithContext

func (o GetZonesFilterArrayOutput) ToGetZonesFilterArrayOutputWithContext(ctx context.Context) GetZonesFilterArrayOutput

type GetZonesFilterInput

type GetZonesFilterInput interface {
	pulumi.Input

	ToGetZonesFilterOutput() GetZonesFilterOutput
	ToGetZonesFilterOutputWithContext(context.Context) GetZonesFilterOutput
}

GetZonesFilterInput is an input type that accepts GetZonesFilterArgs and GetZonesFilterOutput values. You can construct a concrete instance of `GetZonesFilterInput` via:

GetZonesFilterArgs{...}

type GetZonesFilterOutput

type GetZonesFilterOutput struct{ *pulumi.OutputState }

func (GetZonesFilterOutput) ElementType

func (GetZonesFilterOutput) ElementType() reflect.Type

func (GetZonesFilterOutput) Name

A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.

func (GetZonesFilterOutput) Regex

func (GetZonesFilterOutput) ToGetZonesFilterOutput

func (o GetZonesFilterOutput) ToGetZonesFilterOutput() GetZonesFilterOutput

func (GetZonesFilterOutput) ToGetZonesFilterOutputWithContext

func (o GetZonesFilterOutput) ToGetZonesFilterOutputWithContext(ctx context.Context) GetZonesFilterOutput

func (GetZonesFilterOutput) Values

type GetZonesOutputArgs

type GetZonesOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput       `pulumi:"compartmentId"`
	Filters       GetZonesFilterArrayInput `pulumi:"filters"`
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
	NameContains pulumi.StringPtrInput `pulumi:"nameContains"`
	// Specifies to operate only on resources that have a matching DNS scope. This value will be null
	// for zones in the global DNS and `PRIVATE` when listing private zones.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The field by which to sort zones. Allowed values are: name|zoneType|timeCreated
	SortBy pulumi.StringPtrInput `pulumi:"sortBy"`
	// The order to sort the resources. Allowed values are: ASC|DESC
	SortOrder pulumi.StringPtrInput `pulumi:"sortOrder"`
	// The state of a resource.
	State pulumi.StringPtrInput `pulumi:"state"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created on or after the indicated time.
	TimeCreatedGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	// An [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) timestamp that states all returned resources were created before the indicated time.
	TimeCreatedLessThan pulumi.StringPtrInput `pulumi:"timeCreatedLessThan"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId pulumi.StringPtrInput `pulumi:"tsigKeyId"`
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrInput `pulumi:"viewId"`
	// Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value.
	ZoneType pulumi.StringPtrInput `pulumi:"zoneType"`
}

A collection of arguments for invoking getZones.

func (GetZonesOutputArgs) ElementType

func (GetZonesOutputArgs) ElementType() reflect.Type

type GetZonesResult

type GetZonesResult struct {
	// The OCID of the compartment containing the zone.
	CompartmentId string           `pulumi:"compartmentId"`
	Filters       []GetZonesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the zone.
	Name         *string `pulumi:"name"`
	NameContains *string `pulumi:"nameContains"`
	// The scope of the zone.
	Scope     *string `pulumi:"scope"`
	SortBy    *string `pulumi:"sortBy"`
	SortOrder *string `pulumi:"sortOrder"`
	// The current state of the zone resource.
	State                           *string `pulumi:"state"`
	TimeCreatedGreaterThanOrEqualTo *string `pulumi:"timeCreatedGreaterThanOrEqualTo"`
	TimeCreatedLessThan             *string `pulumi:"timeCreatedLessThan"`
	// The OCID of the TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
	// The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
	ViewId *string `pulumi:"viewId"`
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	ZoneType *string `pulumi:"zoneType"`
	// The list of zones.
	Zones []GetZonesZone `pulumi:"zones"`
}

A collection of values returned by getZones.

func GetZones

func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)

This data source provides the list of Zones in Oracle Cloud Infrastructure DNS service.

Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created, scope, associated view, and zone type. Additionally, for Private DNS, the `scope` query parameter is required when listing private zones.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetZones(ctx, &dns.GetZonesArgs{
			CompartmentId:                   compartmentId,
			Name:                            pulumi.StringRef(zoneName),
			NameContains:                    pulumi.StringRef(zoneNameContains),
			Scope:                           pulumi.StringRef(zoneScope),
			State:                           pulumi.StringRef(zoneState),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(zoneTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.StringRef(zoneTimeCreatedLessThan),
			TsigKeyId:                       pulumi.StringRef(testTsigKey.Id),
			ViewId:                          pulumi.StringRef(testView.Id),
			ZoneType:                        pulumi.StringRef(zoneZoneType),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetZonesResultOutput

type GetZonesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZones.

func (GetZonesResultOutput) CompartmentId

func (o GetZonesResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment containing the zone.

func (GetZonesResultOutput) ElementType

func (GetZonesResultOutput) ElementType() reflect.Type

func (GetZonesResultOutput) Filters

func (GetZonesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetZonesResultOutput) Name

The name of the zone.

func (GetZonesResultOutput) NameContains

func (o GetZonesResultOutput) NameContains() pulumi.StringPtrOutput

func (GetZonesResultOutput) Scope

The scope of the zone.

func (GetZonesResultOutput) SortBy

func (GetZonesResultOutput) SortOrder

func (GetZonesResultOutput) State

The current state of the zone resource.

func (GetZonesResultOutput) TimeCreatedGreaterThanOrEqualTo

func (o GetZonesResultOutput) TimeCreatedGreaterThanOrEqualTo() pulumi.StringPtrOutput

func (GetZonesResultOutput) TimeCreatedLessThan

func (o GetZonesResultOutput) TimeCreatedLessThan() pulumi.StringPtrOutput

func (GetZonesResultOutput) ToGetZonesResultOutput

func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput

func (GetZonesResultOutput) ToGetZonesResultOutputWithContext

func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput

func (GetZonesResultOutput) TsigKeyId

The OCID of the TSIG key.

func (GetZonesResultOutput) ViewId

The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.

func (GetZonesResultOutput) ZoneType

The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.

func (GetZonesResultOutput) Zones

The list of zones.

type GetZonesZone

type GetZonesZone struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams []GetZonesZoneExternalDownstream `pulumi:"externalDownstreams"`
	// External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters []GetZonesZoneExternalMaster `pulumi:"externalMasters"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the zone.
	Id string `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected bool `pulumi:"isProtected"`
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name string `pulumi:"name"`
	// The authoritative nameservers for the zone.
	Nameservers []GetZonesZoneNameserver `pulumi:"nameservers"`
	// Specifies to operate only on resources that have a matching DNS scope. This value will be null
	// for zones in the global DNS and `PRIVATE` when listing private zones.
	Scope string `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial int `pulumi:"serial"`
	// The state of a resource.
	State string `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version string `pulumi:"version"`
	// The OCID of the view the resource is associated with.
	ViewId string `pulumi:"viewId"`
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers []GetZonesZoneZoneTransferServer `pulumi:"zoneTransferServers"`
	// Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value.
	ZoneType string `pulumi:"zoneType"`
}

type GetZonesZoneArgs

type GetZonesZoneArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams GetZonesZoneExternalDownstreamArrayInput `pulumi:"externalDownstreams"`
	// External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters GetZonesZoneExternalMasterArrayInput `pulumi:"externalMasters"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The OCID of the zone.
	Id pulumi.StringInput `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolInput `pulumi:"isProtected"`
	// A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
	Name pulumi.StringInput `pulumi:"name"`
	// The authoritative nameservers for the zone.
	Nameservers GetZonesZoneNameserverArrayInput `pulumi:"nameservers"`
	// Specifies to operate only on resources that have a matching DNS scope. This value will be null
	// for zones in the global DNS and `PRIVATE` when listing private zones.
	Scope pulumi.StringInput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringInput `pulumi:"self"`
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial pulumi.IntInput `pulumi:"serial"`
	// The state of a resource.
	State pulumi.StringInput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version pulumi.StringInput `pulumi:"version"`
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringInput `pulumi:"viewId"`
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers GetZonesZoneZoneTransferServerArrayInput `pulumi:"zoneTransferServers"`
	// Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value.
	ZoneType pulumi.StringInput `pulumi:"zoneType"`
}

func (GetZonesZoneArgs) ElementType

func (GetZonesZoneArgs) ElementType() reflect.Type

func (GetZonesZoneArgs) ToGetZonesZoneOutput

func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext

func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

type GetZonesZoneArray

type GetZonesZoneArray []GetZonesZoneInput

func (GetZonesZoneArray) ElementType

func (GetZonesZoneArray) ElementType() reflect.Type

func (GetZonesZoneArray) ToGetZonesZoneArrayOutput

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext

func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneArrayInput

type GetZonesZoneArrayInput interface {
	pulumi.Input

	ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
	ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput
}

GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:

GetZonesZoneArray{ GetZonesZoneArgs{...} }

type GetZonesZoneArrayOutput

type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneArrayOutput) ElementType

func (GetZonesZoneArrayOutput) ElementType() reflect.Type

func (GetZonesZoneArrayOutput) Index

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput

func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext

func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput

type GetZonesZoneExternalDownstream added in v0.19.0

type GetZonesZoneExternalDownstream struct {
	// The server's IP address (IPv4 or IPv6).
	Address string `pulumi:"address"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port int `pulumi:"port"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId string `pulumi:"tsigKeyId"`
}

type GetZonesZoneExternalDownstreamArgs added in v0.19.0

type GetZonesZoneExternalDownstreamArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringInput `pulumi:"address"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntInput `pulumi:"port"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId pulumi.StringInput `pulumi:"tsigKeyId"`
}

func (GetZonesZoneExternalDownstreamArgs) ElementType added in v0.19.0

func (GetZonesZoneExternalDownstreamArgs) ToGetZonesZoneExternalDownstreamOutput added in v0.19.0

func (i GetZonesZoneExternalDownstreamArgs) ToGetZonesZoneExternalDownstreamOutput() GetZonesZoneExternalDownstreamOutput

func (GetZonesZoneExternalDownstreamArgs) ToGetZonesZoneExternalDownstreamOutputWithContext added in v0.19.0

func (i GetZonesZoneExternalDownstreamArgs) ToGetZonesZoneExternalDownstreamOutputWithContext(ctx context.Context) GetZonesZoneExternalDownstreamOutput

type GetZonesZoneExternalDownstreamArray added in v0.19.0

type GetZonesZoneExternalDownstreamArray []GetZonesZoneExternalDownstreamInput

func (GetZonesZoneExternalDownstreamArray) ElementType added in v0.19.0

func (GetZonesZoneExternalDownstreamArray) ToGetZonesZoneExternalDownstreamArrayOutput added in v0.19.0

func (i GetZonesZoneExternalDownstreamArray) ToGetZonesZoneExternalDownstreamArrayOutput() GetZonesZoneExternalDownstreamArrayOutput

func (GetZonesZoneExternalDownstreamArray) ToGetZonesZoneExternalDownstreamArrayOutputWithContext added in v0.19.0

func (i GetZonesZoneExternalDownstreamArray) ToGetZonesZoneExternalDownstreamArrayOutputWithContext(ctx context.Context) GetZonesZoneExternalDownstreamArrayOutput

type GetZonesZoneExternalDownstreamArrayInput added in v0.19.0

type GetZonesZoneExternalDownstreamArrayInput interface {
	pulumi.Input

	ToGetZonesZoneExternalDownstreamArrayOutput() GetZonesZoneExternalDownstreamArrayOutput
	ToGetZonesZoneExternalDownstreamArrayOutputWithContext(context.Context) GetZonesZoneExternalDownstreamArrayOutput
}

GetZonesZoneExternalDownstreamArrayInput is an input type that accepts GetZonesZoneExternalDownstreamArray and GetZonesZoneExternalDownstreamArrayOutput values. You can construct a concrete instance of `GetZonesZoneExternalDownstreamArrayInput` via:

GetZonesZoneExternalDownstreamArray{ GetZonesZoneExternalDownstreamArgs{...} }

type GetZonesZoneExternalDownstreamArrayOutput added in v0.19.0

type GetZonesZoneExternalDownstreamArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneExternalDownstreamArrayOutput) ElementType added in v0.19.0

func (GetZonesZoneExternalDownstreamArrayOutput) Index added in v0.19.0

func (GetZonesZoneExternalDownstreamArrayOutput) ToGetZonesZoneExternalDownstreamArrayOutput added in v0.19.0

func (o GetZonesZoneExternalDownstreamArrayOutput) ToGetZonesZoneExternalDownstreamArrayOutput() GetZonesZoneExternalDownstreamArrayOutput

func (GetZonesZoneExternalDownstreamArrayOutput) ToGetZonesZoneExternalDownstreamArrayOutputWithContext added in v0.19.0

func (o GetZonesZoneExternalDownstreamArrayOutput) ToGetZonesZoneExternalDownstreamArrayOutputWithContext(ctx context.Context) GetZonesZoneExternalDownstreamArrayOutput

type GetZonesZoneExternalDownstreamInput added in v0.19.0

type GetZonesZoneExternalDownstreamInput interface {
	pulumi.Input

	ToGetZonesZoneExternalDownstreamOutput() GetZonesZoneExternalDownstreamOutput
	ToGetZonesZoneExternalDownstreamOutputWithContext(context.Context) GetZonesZoneExternalDownstreamOutput
}

GetZonesZoneExternalDownstreamInput is an input type that accepts GetZonesZoneExternalDownstreamArgs and GetZonesZoneExternalDownstreamOutput values. You can construct a concrete instance of `GetZonesZoneExternalDownstreamInput` via:

GetZonesZoneExternalDownstreamArgs{...}

type GetZonesZoneExternalDownstreamOutput added in v0.19.0

type GetZonesZoneExternalDownstreamOutput struct{ *pulumi.OutputState }

func (GetZonesZoneExternalDownstreamOutput) Address added in v0.19.0

The server's IP address (IPv4 or IPv6).

func (GetZonesZoneExternalDownstreamOutput) ElementType added in v0.19.0

func (GetZonesZoneExternalDownstreamOutput) Port added in v0.19.0

The server's port. Port value must be a value of 53, otherwise omit the port value.

func (GetZonesZoneExternalDownstreamOutput) ToGetZonesZoneExternalDownstreamOutput added in v0.19.0

func (o GetZonesZoneExternalDownstreamOutput) ToGetZonesZoneExternalDownstreamOutput() GetZonesZoneExternalDownstreamOutput

func (GetZonesZoneExternalDownstreamOutput) ToGetZonesZoneExternalDownstreamOutputWithContext added in v0.19.0

func (o GetZonesZoneExternalDownstreamOutput) ToGetZonesZoneExternalDownstreamOutputWithContext(ctx context.Context) GetZonesZoneExternalDownstreamOutput

func (GetZonesZoneExternalDownstreamOutput) TsigKeyId added in v0.19.0

Search for zones that are associated with a TSIG key.

type GetZonesZoneExternalMaster

type GetZonesZoneExternalMaster struct {
	// The server's IP address (IPv4 or IPv6).
	Address string `pulumi:"address"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port int `pulumi:"port"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId string `pulumi:"tsigKeyId"`
}

type GetZonesZoneExternalMasterArgs

type GetZonesZoneExternalMasterArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringInput `pulumi:"address"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntInput `pulumi:"port"`
	// Search for zones that are associated with a TSIG key.
	TsigKeyId pulumi.StringInput `pulumi:"tsigKeyId"`
}

func (GetZonesZoneExternalMasterArgs) ElementType

func (GetZonesZoneExternalMasterArgs) ToGetZonesZoneExternalMasterOutput

func (i GetZonesZoneExternalMasterArgs) ToGetZonesZoneExternalMasterOutput() GetZonesZoneExternalMasterOutput

func (GetZonesZoneExternalMasterArgs) ToGetZonesZoneExternalMasterOutputWithContext

func (i GetZonesZoneExternalMasterArgs) ToGetZonesZoneExternalMasterOutputWithContext(ctx context.Context) GetZonesZoneExternalMasterOutput

type GetZonesZoneExternalMasterArray

type GetZonesZoneExternalMasterArray []GetZonesZoneExternalMasterInput

func (GetZonesZoneExternalMasterArray) ElementType

func (GetZonesZoneExternalMasterArray) ToGetZonesZoneExternalMasterArrayOutput

func (i GetZonesZoneExternalMasterArray) ToGetZonesZoneExternalMasterArrayOutput() GetZonesZoneExternalMasterArrayOutput

func (GetZonesZoneExternalMasterArray) ToGetZonesZoneExternalMasterArrayOutputWithContext

func (i GetZonesZoneExternalMasterArray) ToGetZonesZoneExternalMasterArrayOutputWithContext(ctx context.Context) GetZonesZoneExternalMasterArrayOutput

type GetZonesZoneExternalMasterArrayInput

type GetZonesZoneExternalMasterArrayInput interface {
	pulumi.Input

	ToGetZonesZoneExternalMasterArrayOutput() GetZonesZoneExternalMasterArrayOutput
	ToGetZonesZoneExternalMasterArrayOutputWithContext(context.Context) GetZonesZoneExternalMasterArrayOutput
}

GetZonesZoneExternalMasterArrayInput is an input type that accepts GetZonesZoneExternalMasterArray and GetZonesZoneExternalMasterArrayOutput values. You can construct a concrete instance of `GetZonesZoneExternalMasterArrayInput` via:

GetZonesZoneExternalMasterArray{ GetZonesZoneExternalMasterArgs{...} }

type GetZonesZoneExternalMasterArrayOutput

type GetZonesZoneExternalMasterArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneExternalMasterArrayOutput) ElementType

func (GetZonesZoneExternalMasterArrayOutput) Index

func (GetZonesZoneExternalMasterArrayOutput) ToGetZonesZoneExternalMasterArrayOutput

func (o GetZonesZoneExternalMasterArrayOutput) ToGetZonesZoneExternalMasterArrayOutput() GetZonesZoneExternalMasterArrayOutput

func (GetZonesZoneExternalMasterArrayOutput) ToGetZonesZoneExternalMasterArrayOutputWithContext

func (o GetZonesZoneExternalMasterArrayOutput) ToGetZonesZoneExternalMasterArrayOutputWithContext(ctx context.Context) GetZonesZoneExternalMasterArrayOutput

type GetZonesZoneExternalMasterInput

type GetZonesZoneExternalMasterInput interface {
	pulumi.Input

	ToGetZonesZoneExternalMasterOutput() GetZonesZoneExternalMasterOutput
	ToGetZonesZoneExternalMasterOutputWithContext(context.Context) GetZonesZoneExternalMasterOutput
}

GetZonesZoneExternalMasterInput is an input type that accepts GetZonesZoneExternalMasterArgs and GetZonesZoneExternalMasterOutput values. You can construct a concrete instance of `GetZonesZoneExternalMasterInput` via:

GetZonesZoneExternalMasterArgs{...}

type GetZonesZoneExternalMasterOutput

type GetZonesZoneExternalMasterOutput struct{ *pulumi.OutputState }

func (GetZonesZoneExternalMasterOutput) Address

The server's IP address (IPv4 or IPv6).

func (GetZonesZoneExternalMasterOutput) ElementType

func (GetZonesZoneExternalMasterOutput) Port

The server's port. Port value must be a value of 53, otherwise omit the port value.

func (GetZonesZoneExternalMasterOutput) ToGetZonesZoneExternalMasterOutput

func (o GetZonesZoneExternalMasterOutput) ToGetZonesZoneExternalMasterOutput() GetZonesZoneExternalMasterOutput

func (GetZonesZoneExternalMasterOutput) ToGetZonesZoneExternalMasterOutputWithContext

func (o GetZonesZoneExternalMasterOutput) ToGetZonesZoneExternalMasterOutputWithContext(ctx context.Context) GetZonesZoneExternalMasterOutput

func (GetZonesZoneExternalMasterOutput) TsigKeyId

Search for zones that are associated with a TSIG key.

type GetZonesZoneInput

type GetZonesZoneInput interface {
	pulumi.Input

	ToGetZonesZoneOutput() GetZonesZoneOutput
	ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput
}

GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:

GetZonesZoneArgs{...}

type GetZonesZoneNameserver

type GetZonesZoneNameserver struct {
	// The hostname of the nameserver.
	Hostname string `pulumi:"hostname"`
}

type GetZonesZoneNameserverArgs

type GetZonesZoneNameserverArgs struct {
	// The hostname of the nameserver.
	Hostname pulumi.StringInput `pulumi:"hostname"`
}

func (GetZonesZoneNameserverArgs) ElementType

func (GetZonesZoneNameserverArgs) ElementType() reflect.Type

func (GetZonesZoneNameserverArgs) ToGetZonesZoneNameserverOutput

func (i GetZonesZoneNameserverArgs) ToGetZonesZoneNameserverOutput() GetZonesZoneNameserverOutput

func (GetZonesZoneNameserverArgs) ToGetZonesZoneNameserverOutputWithContext

func (i GetZonesZoneNameserverArgs) ToGetZonesZoneNameserverOutputWithContext(ctx context.Context) GetZonesZoneNameserverOutput

type GetZonesZoneNameserverArray

type GetZonesZoneNameserverArray []GetZonesZoneNameserverInput

func (GetZonesZoneNameserverArray) ElementType

func (GetZonesZoneNameserverArray) ToGetZonesZoneNameserverArrayOutput

func (i GetZonesZoneNameserverArray) ToGetZonesZoneNameserverArrayOutput() GetZonesZoneNameserverArrayOutput

func (GetZonesZoneNameserverArray) ToGetZonesZoneNameserverArrayOutputWithContext

func (i GetZonesZoneNameserverArray) ToGetZonesZoneNameserverArrayOutputWithContext(ctx context.Context) GetZonesZoneNameserverArrayOutput

type GetZonesZoneNameserverArrayInput

type GetZonesZoneNameserverArrayInput interface {
	pulumi.Input

	ToGetZonesZoneNameserverArrayOutput() GetZonesZoneNameserverArrayOutput
	ToGetZonesZoneNameserverArrayOutputWithContext(context.Context) GetZonesZoneNameserverArrayOutput
}

GetZonesZoneNameserverArrayInput is an input type that accepts GetZonesZoneNameserverArray and GetZonesZoneNameserverArrayOutput values. You can construct a concrete instance of `GetZonesZoneNameserverArrayInput` via:

GetZonesZoneNameserverArray{ GetZonesZoneNameserverArgs{...} }

type GetZonesZoneNameserverArrayOutput

type GetZonesZoneNameserverArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneNameserverArrayOutput) ElementType

func (GetZonesZoneNameserverArrayOutput) Index

func (GetZonesZoneNameserverArrayOutput) ToGetZonesZoneNameserverArrayOutput

func (o GetZonesZoneNameserverArrayOutput) ToGetZonesZoneNameserverArrayOutput() GetZonesZoneNameserverArrayOutput

func (GetZonesZoneNameserverArrayOutput) ToGetZonesZoneNameserverArrayOutputWithContext

func (o GetZonesZoneNameserverArrayOutput) ToGetZonesZoneNameserverArrayOutputWithContext(ctx context.Context) GetZonesZoneNameserverArrayOutput

type GetZonesZoneNameserverInput

type GetZonesZoneNameserverInput interface {
	pulumi.Input

	ToGetZonesZoneNameserverOutput() GetZonesZoneNameserverOutput
	ToGetZonesZoneNameserverOutputWithContext(context.Context) GetZonesZoneNameserverOutput
}

GetZonesZoneNameserverInput is an input type that accepts GetZonesZoneNameserverArgs and GetZonesZoneNameserverOutput values. You can construct a concrete instance of `GetZonesZoneNameserverInput` via:

GetZonesZoneNameserverArgs{...}

type GetZonesZoneNameserverOutput

type GetZonesZoneNameserverOutput struct{ *pulumi.OutputState }

func (GetZonesZoneNameserverOutput) ElementType

func (GetZonesZoneNameserverOutput) Hostname

The hostname of the nameserver.

func (GetZonesZoneNameserverOutput) ToGetZonesZoneNameserverOutput

func (o GetZonesZoneNameserverOutput) ToGetZonesZoneNameserverOutput() GetZonesZoneNameserverOutput

func (GetZonesZoneNameserverOutput) ToGetZonesZoneNameserverOutputWithContext

func (o GetZonesZoneNameserverOutput) ToGetZonesZoneNameserverOutputWithContext(ctx context.Context) GetZonesZoneNameserverOutput

type GetZonesZoneOutput

type GetZonesZoneOutput struct{ *pulumi.OutputState }

func (GetZonesZoneOutput) CompartmentId

func (o GetZonesZoneOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment the resource belongs to.

func (GetZonesZoneOutput) DefinedTags

func (o GetZonesZoneOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetZonesZoneOutput) ElementType

func (GetZonesZoneOutput) ElementType() reflect.Type

func (GetZonesZoneOutput) ExternalDownstreams added in v0.19.0

External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.

func (GetZonesZoneOutput) ExternalMasters

External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.

func (GetZonesZoneOutput) FreeformTags

func (o GetZonesZoneOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (GetZonesZoneOutput) Id

The OCID of the zone.

func (GetZonesZoneOutput) IsProtected

func (o GetZonesZoneOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (GetZonesZoneOutput) Name

A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.

func (GetZonesZoneOutput) Nameservers

The authoritative nameservers for the zone.

func (GetZonesZoneOutput) Scope

Specifies to operate only on resources that have a matching DNS scope. This value will be null for zones in the global DNS and `PRIVATE` when listing private zones.

func (GetZonesZoneOutput) Self

The canonical absolute URL of the resource.

func (GetZonesZoneOutput) Serial

func (o GetZonesZoneOutput) Serial() pulumi.IntOutput

The current serial of the zone. As seen in the zone's SOA record.

func (GetZonesZoneOutput) State

The state of a resource.

func (GetZonesZoneOutput) TimeCreated

func (o GetZonesZoneOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (GetZonesZoneOutput) ToGetZonesZoneOutput

func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput

func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext

func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput

func (GetZonesZoneOutput) Version

Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.

func (GetZonesZoneOutput) ViewId

The OCID of the view the resource is associated with.

func (GetZonesZoneOutput) ZoneTransferServers added in v0.19.0

The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.

func (GetZonesZoneOutput) ZoneType

func (o GetZonesZoneOutput) ZoneType() pulumi.StringOutput

Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value.

type GetZonesZoneZoneTransferServer added in v0.19.0

type GetZonesZoneZoneTransferServer struct {
	// The server's IP address (IPv4 or IPv6).
	Address string `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination bool `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource bool `pulumi:"isTransferSource"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port int `pulumi:"port"`
}

type GetZonesZoneZoneTransferServerArgs added in v0.19.0

type GetZonesZoneZoneTransferServerArgs struct {
	// The server's IP address (IPv4 or IPv6).
	Address pulumi.StringInput `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination pulumi.BoolInput `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource pulumi.BoolInput `pulumi:"isTransferSource"`
	// The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntInput `pulumi:"port"`
}

func (GetZonesZoneZoneTransferServerArgs) ElementType added in v0.19.0

func (GetZonesZoneZoneTransferServerArgs) ToGetZonesZoneZoneTransferServerOutput added in v0.19.0

func (i GetZonesZoneZoneTransferServerArgs) ToGetZonesZoneZoneTransferServerOutput() GetZonesZoneZoneTransferServerOutput

func (GetZonesZoneZoneTransferServerArgs) ToGetZonesZoneZoneTransferServerOutputWithContext added in v0.19.0

func (i GetZonesZoneZoneTransferServerArgs) ToGetZonesZoneZoneTransferServerOutputWithContext(ctx context.Context) GetZonesZoneZoneTransferServerOutput

type GetZonesZoneZoneTransferServerArray added in v0.19.0

type GetZonesZoneZoneTransferServerArray []GetZonesZoneZoneTransferServerInput

func (GetZonesZoneZoneTransferServerArray) ElementType added in v0.19.0

func (GetZonesZoneZoneTransferServerArray) ToGetZonesZoneZoneTransferServerArrayOutput added in v0.19.0

func (i GetZonesZoneZoneTransferServerArray) ToGetZonesZoneZoneTransferServerArrayOutput() GetZonesZoneZoneTransferServerArrayOutput

func (GetZonesZoneZoneTransferServerArray) ToGetZonesZoneZoneTransferServerArrayOutputWithContext added in v0.19.0

func (i GetZonesZoneZoneTransferServerArray) ToGetZonesZoneZoneTransferServerArrayOutputWithContext(ctx context.Context) GetZonesZoneZoneTransferServerArrayOutput

type GetZonesZoneZoneTransferServerArrayInput added in v0.19.0

type GetZonesZoneZoneTransferServerArrayInput interface {
	pulumi.Input

	ToGetZonesZoneZoneTransferServerArrayOutput() GetZonesZoneZoneTransferServerArrayOutput
	ToGetZonesZoneZoneTransferServerArrayOutputWithContext(context.Context) GetZonesZoneZoneTransferServerArrayOutput
}

GetZonesZoneZoneTransferServerArrayInput is an input type that accepts GetZonesZoneZoneTransferServerArray and GetZonesZoneZoneTransferServerArrayOutput values. You can construct a concrete instance of `GetZonesZoneZoneTransferServerArrayInput` via:

GetZonesZoneZoneTransferServerArray{ GetZonesZoneZoneTransferServerArgs{...} }

type GetZonesZoneZoneTransferServerArrayOutput added in v0.19.0

type GetZonesZoneZoneTransferServerArrayOutput struct{ *pulumi.OutputState }

func (GetZonesZoneZoneTransferServerArrayOutput) ElementType added in v0.19.0

func (GetZonesZoneZoneTransferServerArrayOutput) Index added in v0.19.0

func (GetZonesZoneZoneTransferServerArrayOutput) ToGetZonesZoneZoneTransferServerArrayOutput added in v0.19.0

func (o GetZonesZoneZoneTransferServerArrayOutput) ToGetZonesZoneZoneTransferServerArrayOutput() GetZonesZoneZoneTransferServerArrayOutput

func (GetZonesZoneZoneTransferServerArrayOutput) ToGetZonesZoneZoneTransferServerArrayOutputWithContext added in v0.19.0

func (o GetZonesZoneZoneTransferServerArrayOutput) ToGetZonesZoneZoneTransferServerArrayOutputWithContext(ctx context.Context) GetZonesZoneZoneTransferServerArrayOutput

type GetZonesZoneZoneTransferServerInput added in v0.19.0

type GetZonesZoneZoneTransferServerInput interface {
	pulumi.Input

	ToGetZonesZoneZoneTransferServerOutput() GetZonesZoneZoneTransferServerOutput
	ToGetZonesZoneZoneTransferServerOutputWithContext(context.Context) GetZonesZoneZoneTransferServerOutput
}

GetZonesZoneZoneTransferServerInput is an input type that accepts GetZonesZoneZoneTransferServerArgs and GetZonesZoneZoneTransferServerOutput values. You can construct a concrete instance of `GetZonesZoneZoneTransferServerInput` via:

GetZonesZoneZoneTransferServerArgs{...}

type GetZonesZoneZoneTransferServerOutput added in v0.19.0

type GetZonesZoneZoneTransferServerOutput struct{ *pulumi.OutputState }

func (GetZonesZoneZoneTransferServerOutput) Address added in v0.19.0

The server's IP address (IPv4 or IPv6).

func (GetZonesZoneZoneTransferServerOutput) ElementType added in v0.19.0

func (GetZonesZoneZoneTransferServerOutput) IsTransferDestination added in v0.19.0

func (o GetZonesZoneZoneTransferServerOutput) IsTransferDestination() pulumi.BoolOutput

A Boolean flag indicating whether or not the server is a zone data transfer destination.

func (GetZonesZoneZoneTransferServerOutput) IsTransferSource added in v0.19.0

A Boolean flag indicating whether or not the server is a zone data transfer source.

func (GetZonesZoneZoneTransferServerOutput) Port added in v0.19.0

The server's port. Port value must be a value of 53, otherwise omit the port value.

func (GetZonesZoneZoneTransferServerOutput) ToGetZonesZoneZoneTransferServerOutput added in v0.19.0

func (o GetZonesZoneZoneTransferServerOutput) ToGetZonesZoneZoneTransferServerOutput() GetZonesZoneZoneTransferServerOutput

func (GetZonesZoneZoneTransferServerOutput) ToGetZonesZoneZoneTransferServerOutputWithContext added in v0.19.0

func (o GetZonesZoneZoneTransferServerOutput) ToGetZonesZoneZoneTransferServerOutputWithContext(ctx context.Context) GetZonesZoneZoneTransferServerOutput

type LookupResolverArgs

type LookupResolverArgs struct {
	// The OCID of the target resolver.
	ResolverId string `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope *string `pulumi:"scope"`
}

A collection of arguments for invoking getResolver.

type LookupResolverEndpointArgs

type LookupResolverEndpointArgs struct {
	// The name of the target resolver endpoint.
	ResolverEndpointName string `pulumi:"resolverEndpointName"`
	// The OCID of the target resolver.
	ResolverId string `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope *string `pulumi:"scope"`
}

A collection of arguments for invoking getResolverEndpoint.

type LookupResolverEndpointOutputArgs

type LookupResolverEndpointOutputArgs struct {
	// The name of the target resolver endpoint.
	ResolverEndpointName pulumi.StringInput `pulumi:"resolverEndpointName"`
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolver endpoints.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
}

A collection of arguments for invoking getResolverEndpoint.

func (LookupResolverEndpointOutputArgs) ElementType

type LookupResolverEndpointResult

type LookupResolverEndpointResult struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId string `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType string `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress string `pulumi:"forwardingAddress"`
	Id                string `pulumi:"id"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding bool `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening bool `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress string `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name string `pulumi:"name"`
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds               []string `pulumi:"nsgIds"`
	ResolverEndpointName string   `pulumi:"resolverEndpointName"`
	ResolverId           string   `pulumi:"resolverId"`
	Scope                *string  `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State string `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId string `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getResolverEndpoint.

func LookupResolverEndpoint

func LookupResolverEndpoint(ctx *pulumi.Context, args *LookupResolverEndpointArgs, opts ...pulumi.InvokeOption) (*LookupResolverEndpointResult, error)

This data source provides details about a specific Resolver Endpoint resource in Oracle Cloud Infrastructure DNS service.

Gets information about a specific resolver endpoint. Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetResolverEndpoint(ctx, &dns.GetResolverEndpointArgs{
			ResolverEndpointName: testResolverEndpointOciDnsResolverEndpoint.Name,
			ResolverId:           testResolver.Id,
			Scope:                pulumi.StringRef("PRIVATE"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverEndpointResultOutput

type LookupResolverEndpointResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolverEndpoint.

func (LookupResolverEndpointResultOutput) CompartmentId

The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.

func (LookupResolverEndpointResultOutput) ElementType

func (LookupResolverEndpointResultOutput) EndpointType

The type of resolver endpoint. VNIC is currently the only supported type.

func (LookupResolverEndpointResultOutput) ForwardingAddress

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

func (LookupResolverEndpointResultOutput) Id

func (LookupResolverEndpointResultOutput) IsForwarding

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

func (LookupResolverEndpointResultOutput) IsListening

A Boolean flag indicating whether or not the resolver endpoint is for listening.

func (LookupResolverEndpointResultOutput) ListeningAddress

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

func (LookupResolverEndpointResultOutput) Name

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

func (LookupResolverEndpointResultOutput) NsgIds

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

func (LookupResolverEndpointResultOutput) ResolverEndpointName

func (o LookupResolverEndpointResultOutput) ResolverEndpointName() pulumi.StringOutput

func (LookupResolverEndpointResultOutput) ResolverId

func (LookupResolverEndpointResultOutput) Scope

func (LookupResolverEndpointResultOutput) Self

The canonical absolute URL of the resource.

func (LookupResolverEndpointResultOutput) State

The current state of the resource.

func (LookupResolverEndpointResultOutput) SubnetId

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

func (LookupResolverEndpointResultOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupResolverEndpointResultOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupResolverEndpointResultOutput) ToLookupResolverEndpointResultOutput

func (o LookupResolverEndpointResultOutput) ToLookupResolverEndpointResultOutput() LookupResolverEndpointResultOutput

func (LookupResolverEndpointResultOutput) ToLookupResolverEndpointResultOutputWithContext

func (o LookupResolverEndpointResultOutput) ToLookupResolverEndpointResultOutputWithContext(ctx context.Context) LookupResolverEndpointResultOutput

type LookupResolverOutputArgs

type LookupResolverOutputArgs struct {
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput `pulumi:"resolverId"`
	// Value must be `PRIVATE` when listing private name resolvers.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
}

A collection of arguments for invoking getResolver.

func (LookupResolverOutputArgs) ElementType

func (LookupResolverOutputArgs) ElementType() reflect.Type

type LookupResolverResult

type LookupResolverResult struct {
	// The OCID of the attached VCN.
	AttachedVcnId string `pulumi:"attachedVcnId"`
	// The attached views. Views are evaluated in order.
	AttachedViews []GetResolverAttachedView `pulumi:"attachedViews"`
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId string `pulumi:"compartmentId"`
	// The OCID of the default view.
	DefaultViewId string `pulumi:"defaultViewId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The display name of the resolver.
	DisplayName string `pulumi:"displayName"`
	// Read-only array of endpoints for the resolver.
	Endpoints []GetResolverEndpointType `pulumi:"endpoints"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the resolver.
	Id string `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected bool   `pulumi:"isProtected"`
	ResolverId  string `pulumi:"resolverId"`
	// Rules for the resolver. Rules are evaluated in order.
	Rules []GetResolverRule `pulumi:"rules"`
	Scope *string           `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State string `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getResolver.

func LookupResolver

func LookupResolver(ctx *pulumi.Context, args *LookupResolverArgs, opts ...pulumi.InvokeOption) (*LookupResolverResult, error)

This data source provides details about a specific Resolver resource in Oracle Cloud Infrastructure DNS service.

Gets information about a specific resolver. Note that attempting to get a resolver in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetResolver(ctx, &dns.GetResolverArgs{
			ResolverId: testResolverOciDnsResolver.Id,
			Scope:      pulumi.StringRef("PRIVATE"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupResolverResultOutput

type LookupResolverResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResolver.

func (LookupResolverResultOutput) AttachedVcnId

The OCID of the attached VCN.

func (LookupResolverResultOutput) AttachedViews

The attached views. Views are evaluated in order.

func (LookupResolverResultOutput) CompartmentId

The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.

func (LookupResolverResultOutput) DefaultViewId

The OCID of the default view.

func (LookupResolverResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupResolverResultOutput) DisplayName

The display name of the resolver.

func (LookupResolverResultOutput) ElementType

func (LookupResolverResultOutput) ElementType() reflect.Type

func (LookupResolverResultOutput) Endpoints

Read-only array of endpoints for the resolver.

func (LookupResolverResultOutput) FreeformTags

func (o LookupResolverResultOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupResolverResultOutput) Id

The OCID of the resolver.

func (LookupResolverResultOutput) IsProtected

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (LookupResolverResultOutput) ResolverId

func (LookupResolverResultOutput) Rules

Rules for the resolver. Rules are evaluated in order.

func (LookupResolverResultOutput) Scope

func (LookupResolverResultOutput) Self

The canonical absolute URL of the resource.

func (LookupResolverResultOutput) State

The current state of the resource.

func (LookupResolverResultOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupResolverResultOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupResolverResultOutput) ToLookupResolverResultOutput

func (o LookupResolverResultOutput) ToLookupResolverResultOutput() LookupResolverResultOutput

func (LookupResolverResultOutput) ToLookupResolverResultOutputWithContext

func (o LookupResolverResultOutput) ToLookupResolverResultOutputWithContext(ctx context.Context) LookupResolverResultOutput

type LookupRrsetArgs

type LookupRrsetArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId *string `pulumi:"compartmentId"`
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain string `pulumi:"domain"`
	// The type of the target RRSet within the target zone.
	Rtype string `pulumi:"rtype"`
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when listing private Rrsets.
	Scope *string `pulumi:"scope"`
	// The OCID of the view the resource is associated with.
	ViewId *string `pulumi:"viewId"`
	// The name or OCID of the target zone.
	ZoneNameOrId string `pulumi:"zoneNameOrId"`
	// The version of the zone for which data is requested.
	ZoneVersion *string `pulumi:"zoneVersion"`
}

A collection of arguments for invoking getRrset.

type LookupRrsetOutputArgs

type LookupRrsetOutputArgs struct {
	// The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
	// The target fully-qualified domain name (FQDN) within the target zone.
	Domain pulumi.StringInput `pulumi:"domain"`
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringInput `pulumi:"rtype"`
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when listing private Rrsets.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrInput `pulumi:"viewId"`
	// The name or OCID of the target zone.
	ZoneNameOrId pulumi.StringInput `pulumi:"zoneNameOrId"`
	// The version of the zone for which data is requested.
	ZoneVersion pulumi.StringPtrInput `pulumi:"zoneVersion"`
}

A collection of arguments for invoking getRrset.

func (LookupRrsetOutputArgs) ElementType

func (LookupRrsetOutputArgs) ElementType() reflect.Type

type LookupRrsetResult

type LookupRrsetResult struct {
	CompartmentId *string `pulumi:"compartmentId"`
	// The fully qualified domain name where the record can be located.
	Domain string         `pulumi:"domain"`
	Id     string         `pulumi:"id"`
	Items  []GetRrsetItem `pulumi:"items"`
	// The type of DNS record, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype        string  `pulumi:"rtype"`
	Scope        *string `pulumi:"scope"`
	ViewId       *string `pulumi:"viewId"`
	ZoneNameOrId string  `pulumi:"zoneNameOrId"`
	ZoneVersion  *string `pulumi:"zoneVersion"`
}

A collection of values returned by getRrset.

func LookupRrset

func LookupRrset(ctx *pulumi.Context, args *LookupRrsetArgs, opts ...pulumi.InvokeOption) (*LookupRrsetResult, error)

This data source provides details about a specific Rrset resource in Oracle Cloud Infrastructure DNS service.

Gets a list of all records in the specified RRSet. The results are sorted by `recordHash` by default. For private zones, the scope query parameter is required with a value of `PRIVATE`. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetRrset(ctx, &dns.GetRrsetArgs{
			Domain:        rrsetDomain,
			Rtype:         rrsetRtype,
			ZoneNameOrId:  testZone.Id,
			CompartmentId: pulumi.StringRef(compartmentId),
			Scope:         pulumi.StringRef(rrsetScope),
			ViewId:        pulumi.StringRef(testView.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRrsetResultOutput

type LookupRrsetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRrset.

func (LookupRrsetResultOutput) CompartmentId

func (LookupRrsetResultOutput) Domain

The fully qualified domain name where the record can be located.

func (LookupRrsetResultOutput) ElementType

func (LookupRrsetResultOutput) ElementType() reflect.Type

func (LookupRrsetResultOutput) Id

func (LookupRrsetResultOutput) Items

func (LookupRrsetResultOutput) Rtype

The type of DNS record, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

func (LookupRrsetResultOutput) Scope

func (LookupRrsetResultOutput) ToLookupRrsetResultOutput

func (o LookupRrsetResultOutput) ToLookupRrsetResultOutput() LookupRrsetResultOutput

func (LookupRrsetResultOutput) ToLookupRrsetResultOutputWithContext

func (o LookupRrsetResultOutput) ToLookupRrsetResultOutputWithContext(ctx context.Context) LookupRrsetResultOutput

func (LookupRrsetResultOutput) ViewId

func (LookupRrsetResultOutput) ZoneNameOrId

func (o LookupRrsetResultOutput) ZoneNameOrId() pulumi.StringOutput

func (LookupRrsetResultOutput) ZoneVersion

type LookupSteeringPolicyArgs

type LookupSteeringPolicyArgs struct {
	// The OCID of the target steering policy.
	SteeringPolicyId string `pulumi:"steeringPolicyId"`
}

A collection of arguments for invoking getSteeringPolicy.

type LookupSteeringPolicyAttachmentArgs

type LookupSteeringPolicyAttachmentArgs struct {
	// The OCID of the target steering policy attachment.
	SteeringPolicyAttachmentId string `pulumi:"steeringPolicyAttachmentId"`
}

A collection of arguments for invoking getSteeringPolicyAttachment.

type LookupSteeringPolicyAttachmentOutputArgs

type LookupSteeringPolicyAttachmentOutputArgs struct {
	// The OCID of the target steering policy attachment.
	SteeringPolicyAttachmentId pulumi.StringInput `pulumi:"steeringPolicyAttachmentId"`
}

A collection of arguments for invoking getSteeringPolicyAttachment.

func (LookupSteeringPolicyAttachmentOutputArgs) ElementType

type LookupSteeringPolicyAttachmentResult

type LookupSteeringPolicyAttachmentResult struct {
	// The OCID of the compartment containing the steering policy attachment.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName string `pulumi:"displayName"`
	// The attached domain within the attached zone.
	DomainName string `pulumi:"domainName"`
	// The OCID of the resource.
	Id string `pulumi:"id"`
	// The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
	Rtypes []string `pulumi:"rtypes"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State                      string `pulumi:"state"`
	SteeringPolicyAttachmentId string `pulumi:"steeringPolicyAttachmentId"`
	// The OCID of the attached steering policy.
	SteeringPolicyId string `pulumi:"steeringPolicyId"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// The OCID of the attached zone.
	ZoneId string `pulumi:"zoneId"`
}

A collection of values returned by getSteeringPolicyAttachment.

func LookupSteeringPolicyAttachment

This data source provides details about a specific Steering Policy Attachment resource in Oracle Cloud Infrastructure DNS service.

Gets information about the specified steering policy attachment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetSteeringPolicyAttachment(ctx, &dns.GetSteeringPolicyAttachmentArgs{
			SteeringPolicyAttachmentId: testSteeringPolicyAttachmentOciDnsSteeringPolicyAttachment.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSteeringPolicyAttachmentResultOutput

type LookupSteeringPolicyAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSteeringPolicyAttachment.

func (LookupSteeringPolicyAttachmentResultOutput) CompartmentId

The OCID of the compartment containing the steering policy attachment.

func (LookupSteeringPolicyAttachmentResultOutput) DisplayName

A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.

func (LookupSteeringPolicyAttachmentResultOutput) DomainName

The attached domain within the attached zone.

func (LookupSteeringPolicyAttachmentResultOutput) ElementType

func (LookupSteeringPolicyAttachmentResultOutput) Id

The OCID of the resource.

func (LookupSteeringPolicyAttachmentResultOutput) Rtypes

The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.

func (LookupSteeringPolicyAttachmentResultOutput) Self

The canonical absolute URL of the resource.

func (LookupSteeringPolicyAttachmentResultOutput) State

The current state of the resource.

func (LookupSteeringPolicyAttachmentResultOutput) SteeringPolicyAttachmentId

func (o LookupSteeringPolicyAttachmentResultOutput) SteeringPolicyAttachmentId() pulumi.StringOutput

func (LookupSteeringPolicyAttachmentResultOutput) SteeringPolicyId

The OCID of the attached steering policy.

func (LookupSteeringPolicyAttachmentResultOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (LookupSteeringPolicyAttachmentResultOutput) ToLookupSteeringPolicyAttachmentResultOutput

func (o LookupSteeringPolicyAttachmentResultOutput) ToLookupSteeringPolicyAttachmentResultOutput() LookupSteeringPolicyAttachmentResultOutput

func (LookupSteeringPolicyAttachmentResultOutput) ToLookupSteeringPolicyAttachmentResultOutputWithContext

func (o LookupSteeringPolicyAttachmentResultOutput) ToLookupSteeringPolicyAttachmentResultOutputWithContext(ctx context.Context) LookupSteeringPolicyAttachmentResultOutput

func (LookupSteeringPolicyAttachmentResultOutput) ZoneId

The OCID of the attached zone.

type LookupSteeringPolicyOutputArgs

type LookupSteeringPolicyOutputArgs struct {
	// The OCID of the target steering policy.
	SteeringPolicyId pulumi.StringInput `pulumi:"steeringPolicyId"`
}

A collection of arguments for invoking getSteeringPolicy.

func (LookupSteeringPolicyOutputArgs) ElementType

type LookupSteeringPolicyResult

type LookupSteeringPolicyResult struct {
	// The set of all answers that can potentially issue from the steering policy.
	Answers []GetSteeringPolicyAnswer `pulumi:"answers"`
	// The OCID of the compartment containing the steering policy.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName string `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.
	HealthCheckMonitorId string `pulumi:"healthCheckMonitorId"`
	// The OCID of the resource.
	Id string `pulumi:"id"`
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	Rules []GetSteeringPolicyRule `pulumi:"rules"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State            string `pulumi:"state"`
	SteeringPolicyId string `pulumi:"steeringPolicyId"`
	// A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.
	Template string `pulumi:"template"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	Ttl int `pulumi:"ttl"`
}

A collection of values returned by getSteeringPolicy.

func LookupSteeringPolicy

func LookupSteeringPolicy(ctx *pulumi.Context, args *LookupSteeringPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSteeringPolicyResult, error)

This data source provides details about a specific Steering Policy resource in Oracle Cloud Infrastructure DNS service.

Gets information about the specified steering policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetSteeringPolicy(ctx, &dns.GetSteeringPolicyArgs{
			SteeringPolicyId: testSteeringPolicyOciDnsSteeringPolicy.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSteeringPolicyResultOutput

type LookupSteeringPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSteeringPolicy.

func (LookupSteeringPolicyResultOutput) Answers

The set of all answers that can potentially issue from the steering policy.

func (LookupSteeringPolicyResultOutput) CompartmentId

The OCID of the compartment containing the steering policy.

func (LookupSteeringPolicyResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupSteeringPolicyResultOutput) DisplayName

A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.

func (LookupSteeringPolicyResultOutput) ElementType

func (LookupSteeringPolicyResultOutput) FreeformTags

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupSteeringPolicyResultOutput) HealthCheckMonitorId

func (o LookupSteeringPolicyResultOutput) HealthCheckMonitorId() pulumi.StringOutput

The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.

func (LookupSteeringPolicyResultOutput) Id

The OCID of the resource.

func (LookupSteeringPolicyResultOutput) Rules

The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.

func (LookupSteeringPolicyResultOutput) Self

The canonical absolute URL of the resource.

func (LookupSteeringPolicyResultOutput) State

The current state of the resource.

func (LookupSteeringPolicyResultOutput) SteeringPolicyId

func (LookupSteeringPolicyResultOutput) Template

A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.

func (LookupSteeringPolicyResultOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (LookupSteeringPolicyResultOutput) ToLookupSteeringPolicyResultOutput

func (o LookupSteeringPolicyResultOutput) ToLookupSteeringPolicyResultOutput() LookupSteeringPolicyResultOutput

func (LookupSteeringPolicyResultOutput) ToLookupSteeringPolicyResultOutputWithContext

func (o LookupSteeringPolicyResultOutput) ToLookupSteeringPolicyResultOutputWithContext(ctx context.Context) LookupSteeringPolicyResultOutput

func (LookupSteeringPolicyResultOutput) Ttl

The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.

type LookupTsigKeyArgs

type LookupTsigKeyArgs struct {
	// The OCID of the target TSIG key.
	TsigKeyId string `pulumi:"tsigKeyId"`
}

A collection of arguments for invoking getTsigKey.

type LookupTsigKeyOutputArgs

type LookupTsigKeyOutputArgs struct {
	// The OCID of the target TSIG key.
	TsigKeyId pulumi.StringInput `pulumi:"tsigKeyId"`
}

A collection of arguments for invoking getTsigKey.

func (LookupTsigKeyOutputArgs) ElementType

func (LookupTsigKeyOutputArgs) ElementType() reflect.Type

type LookupTsigKeyResult

type LookupTsigKeyResult struct {
	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm string `pulumi:"algorithm"`
	// The OCID of the compartment containing the TSIG key.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the resource.
	Id string `pulumi:"id"`
	// A globally unique domain name identifying the key for a given pair of hosts.
	Name string `pulumi:"name"`
	// A base64 string encoding the binary shared secret.
	Secret string `pulumi:"secret"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State string `pulumi:"state"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	TimeUpdated string `pulumi:"timeUpdated"`
	TsigKeyId   string `pulumi:"tsigKeyId"`
}

A collection of values returned by getTsigKey.

func LookupTsigKey

func LookupTsigKey(ctx *pulumi.Context, args *LookupTsigKeyArgs, opts ...pulumi.InvokeOption) (*LookupTsigKeyResult, error)

This data source provides details about a specific Tsig Key resource in Oracle Cloud Infrastructure DNS service.

Gets information about the specified TSIG key.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetTsigKey(ctx, &dns.GetTsigKeyArgs{
			TsigKeyId: testTsigKeyOciDnsTsigKey.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTsigKeyResultOutput

type LookupTsigKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTsigKey.

func (LookupTsigKeyResultOutput) Algorithm

TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).

func (LookupTsigKeyResultOutput) CompartmentId

func (o LookupTsigKeyResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the compartment containing the TSIG key.

func (LookupTsigKeyResultOutput) DefinedTags

func (o LookupTsigKeyResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupTsigKeyResultOutput) ElementType

func (LookupTsigKeyResultOutput) ElementType() reflect.Type

func (LookupTsigKeyResultOutput) FreeformTags

func (o LookupTsigKeyResultOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupTsigKeyResultOutput) Id

The OCID of the resource.

func (LookupTsigKeyResultOutput) Name

A globally unique domain name identifying the key for a given pair of hosts.

func (LookupTsigKeyResultOutput) Secret

A base64 string encoding the binary shared secret.

func (LookupTsigKeyResultOutput) Self

The canonical absolute URL of the resource.

func (LookupTsigKeyResultOutput) State

The current state of the resource.

func (LookupTsigKeyResultOutput) TimeCreated

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (LookupTsigKeyResultOutput) TimeUpdated

The date and time the resource was last updated, expressed in RFC 3339 timestamp format.

func (LookupTsigKeyResultOutput) ToLookupTsigKeyResultOutput

func (o LookupTsigKeyResultOutput) ToLookupTsigKeyResultOutput() LookupTsigKeyResultOutput

func (LookupTsigKeyResultOutput) ToLookupTsigKeyResultOutputWithContext

func (o LookupTsigKeyResultOutput) ToLookupTsigKeyResultOutputWithContext(ctx context.Context) LookupTsigKeyResultOutput

func (LookupTsigKeyResultOutput) TsigKeyId

type LookupViewArgs

type LookupViewArgs struct {
	// Value must be `PRIVATE` when listing views for private zones.
	Scope *string `pulumi:"scope"`
	// The OCID of the target view.
	ViewId *string `pulumi:"viewId"`
}

A collection of arguments for invoking getView.

type LookupViewOutputArgs

type LookupViewOutputArgs struct {
	// Value must be `PRIVATE` when listing views for private zones.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
	// The OCID of the target view.
	ViewId pulumi.StringPtrInput `pulumi:"viewId"`
}

A collection of arguments for invoking getView.

func (LookupViewOutputArgs) ElementType

func (LookupViewOutputArgs) ElementType() reflect.Type

type LookupViewResult

type LookupViewResult struct {
	// The OCID of the owning compartment.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The display name of the view.
	DisplayName string `pulumi:"displayName"`
	// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The OCID of the view.
	Id string `pulumi:"id"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected bool    `pulumi:"isProtected"`
	Scope       *string `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self string `pulumi:"self"`
	// The current state of the resource.
	State string `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated string  `pulumi:"timeUpdated"`
	ViewId      *string `pulumi:"viewId"`
}

A collection of values returned by getView.

func LookupView

func LookupView(ctx *pulumi.Context, args *LookupViewArgs, opts ...pulumi.InvokeOption) (*LookupViewResult, error)

This data source provides details about a specific View resource in Oracle Cloud Infrastructure DNS service.

Gets information about a specific view. Note that attempting to get a view in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.GetView(ctx, &dns.GetViewArgs{
			ViewId: pulumi.StringRef(testViewOciDnsView.Id),
			Scope:  pulumi.StringRef("PRIVATE"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupViewResultOutput

type LookupViewResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getView.

func (LookupViewResultOutput) CompartmentId

func (o LookupViewResultOutput) CompartmentId() pulumi.StringOutput

The OCID of the owning compartment.

func (LookupViewResultOutput) DefinedTags

func (o LookupViewResultOutput) DefinedTags() pulumi.MapOutput

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupViewResultOutput) DisplayName

func (o LookupViewResultOutput) DisplayName() pulumi.StringOutput

The display name of the view.

func (LookupViewResultOutput) ElementType

func (LookupViewResultOutput) ElementType() reflect.Type

func (LookupViewResultOutput) FreeformTags

func (o LookupViewResultOutput) FreeformTags() pulumi.MapOutput

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (LookupViewResultOutput) Id

The OCID of the view.

func (LookupViewResultOutput) IsProtected

func (o LookupViewResultOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (LookupViewResultOutput) Scope

func (LookupViewResultOutput) Self

The canonical absolute URL of the resource.

func (LookupViewResultOutput) State

The current state of the resource.

func (LookupViewResultOutput) TimeCreated

func (o LookupViewResultOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupViewResultOutput) TimeUpdated

func (o LookupViewResultOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (LookupViewResultOutput) ToLookupViewResultOutput

func (o LookupViewResultOutput) ToLookupViewResultOutput() LookupViewResultOutput

func (LookupViewResultOutput) ToLookupViewResultOutputWithContext

func (o LookupViewResultOutput) ToLookupViewResultOutputWithContext(ctx context.Context) LookupViewResultOutput

func (LookupViewResultOutput) ViewId

type Record

type Record struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
	CompartmentId pulumi.StringPtrOutput `pulumi:"compartmentId"`
	// The fully qualified domain name where the record can be located. Domain value is case insensitive.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolOutput `pulumi:"isProtected"`
	// (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringPtrOutput `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringOutput `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringOutput `pulumi:"rrsetVersion"`
	// The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Rtype pulumi.StringOutput `pulumi:"rtype"`
	// (Updatable) The Time To Live for the record, in seconds.
	Ttl pulumi.IntPtrOutput `pulumi:"ttl"`
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	ZoneNameOrId pulumi.StringOutput `pulumi:"zoneNameOrId"`
}

**Deprecated. Use Dns.Rrset instead.**

This resource provides the Record resource in Oracle Cloud Infrastructure DNS service.

Replaces records in the specified zone with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewRecord(ctx, "test_record", &Dns.RecordArgs{
			ZoneNameOrId:  pulumi.Any(testZoneNameOr.Id),
			Domain:        pulumi.Any(recordItemsDomain),
			Rtype:         pulumi.Any(recordItemsRtype),
			CompartmentId: pulumi.Any(compartmentId),
			Rdata:         pulumi.Any(recordItemsRdata),
			Ttl:           pulumi.Any(recordItemsTtl),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Import is not supported for this resource.

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 {
	// (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
	CompartmentId pulumi.StringPtrInput
	// The fully qualified domain name where the record can be located. Domain value is case insensitive.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Domain pulumi.StringInput
	// (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringPtrInput
	// The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Rtype pulumi.StringInput
	// (Updatable) The Time To Live for the record, in seconds.
	Ttl pulumi.IntPtrInput
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	ZoneNameOrId pulumi.StringInput
}

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 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) CompartmentId added in v0.4.0

func (o RecordOutput) CompartmentId() pulumi.StringPtrOutput

(Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.

func (RecordOutput) Domain deprecated added in v0.4.0

func (o RecordOutput) Domain() pulumi.StringOutput

The fully qualified domain name where the record can be located. Domain value is case insensitive.

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

func (RecordOutput) ElementType

func (RecordOutput) ElementType() reflect.Type

func (RecordOutput) IsProtected added in v0.4.0

func (o RecordOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

func (RecordOutput) Rdata added in v0.4.0

(Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)

func (RecordOutput) RecordHash added in v0.4.0

func (o RecordOutput) RecordHash() pulumi.StringOutput

A unique identifier for the record within its zone.

func (RecordOutput) RrsetVersion added in v0.4.0

func (o RecordOutput) RrsetVersion() pulumi.StringOutput

The latest version of the record's zone in which its RRSet differs from the preceding version.

func (RecordOutput) Rtype deprecated added in v0.4.0

func (o RecordOutput) Rtype() pulumi.StringOutput

The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

func (RecordOutput) ToRecordOutput

func (o RecordOutput) ToRecordOutput() RecordOutput

func (RecordOutput) ToRecordOutputWithContext

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

func (RecordOutput) Ttl added in v0.4.0

(Updatable) The Time To Live for the record, in seconds.

func (RecordOutput) ZoneNameOrId deprecated added in v0.4.0

func (o RecordOutput) ZoneNameOrId() pulumi.StringOutput

The name or OCID of the target zone.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.

type RecordState

type RecordState struct {
	// (Updatable) The OCID of the compartment the resource belongs to. If supplied, it must match the Zone's compartment ocid.
	CompartmentId pulumi.StringPtrInput
	// The fully qualified domain name where the record can be located. Domain value is case insensitive.
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Domain pulumi.StringPtrInput
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput
	// (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringPtrInput
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringPtrInput
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringPtrInput
	// The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	Rtype pulumi.StringPtrInput
	// (Updatable) The Time To Live for the record, in seconds.
	Ttl pulumi.IntPtrInput
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	//
	// Deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.
	ZoneNameOrId pulumi.StringPtrInput
}

func (RecordState) ElementType

func (RecordState) ElementType() reflect.Type

type Resolver

type Resolver struct {
	pulumi.CustomResourceState

	// The OCID of the attached VCN.
	AttachedVcnId pulumi.StringOutput `pulumi:"attachedVcnId"`
	// (Updatable) The attached views. Views are evaluated in order.
	AttachedViews ResolverAttachedViewArrayOutput `pulumi:"attachedViews"`
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The OCID of the default view.
	DefaultViewId pulumi.StringOutput `pulumi:"defaultViewId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) The display name of the resolver.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Read-only array of endpoints for the resolver.
	Endpoints ResolverEndpointTypeArrayOutput `pulumi:"endpoints"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolOutput `pulumi:"isProtected"`
	// The OCID of the target resolver.
	ResolverId pulumi.StringOutput `pulumi:"resolverId"`
	// (Updatable) Rules for the resolver. Rules are evaluated in order.
	Rules ResolverRuleArrayOutput `pulumi:"rules"`
	// If specified, must be `PRIVATE` when creating private name resolvers.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Resolver resource in Oracle Cloud Infrastructure DNS service.

Updates the specified resolver with your new information.

Note: Resolvers are associated with VCNs and created when a VCN is created. Wait until created VCN's state shows as Available in OCI console before updating DNS resolver properties. Also a VCN cannot be deleted while its resolver has resolver endpoints. Additionally a resolver endpoint cannot be deleted if it is referenced in the resolver's rules. To remove the rules from a resolver user needs to update the resolver resource. Since DNS Resolver gets deleted when VCN is deleted there is no support for Delete for DNS Resolver.

## Import

Resolvers can be imported using their OCID, e.g.

```sh $ pulumi import oci:Dns/resolver:Resolver test_resolver "id" ```

func GetResolver

func GetResolver(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverState, opts ...pulumi.ResourceOption) (*Resolver, error)

GetResolver gets an existing Resolver 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 NewResolver

func NewResolver(ctx *pulumi.Context,
	name string, args *ResolverArgs, opts ...pulumi.ResourceOption) (*Resolver, error)

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

func (*Resolver) ElementType

func (*Resolver) ElementType() reflect.Type

func (*Resolver) ToResolverOutput

func (i *Resolver) ToResolverOutput() ResolverOutput

func (*Resolver) ToResolverOutputWithContext

func (i *Resolver) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

type ResolverArgs

type ResolverArgs struct {
	// (Updatable) The attached views. Views are evaluated in order.
	AttachedViews ResolverAttachedViewArrayInput
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) The display name of the resolver.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput
	// (Updatable) Rules for the resolver. Rules are evaluated in order.
	Rules ResolverRuleArrayInput
	// If specified, must be `PRIVATE` when creating private name resolvers.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrInput
}

The set of arguments for constructing a Resolver resource.

func (ResolverArgs) ElementType

func (ResolverArgs) ElementType() reflect.Type

type ResolverArray

type ResolverArray []ResolverInput

func (ResolverArray) ElementType

func (ResolverArray) ElementType() reflect.Type

func (ResolverArray) ToResolverArrayOutput

func (i ResolverArray) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArray) ToResolverArrayOutputWithContext

func (i ResolverArray) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverArrayInput

type ResolverArrayInput interface {
	pulumi.Input

	ToResolverArrayOutput() ResolverArrayOutput
	ToResolverArrayOutputWithContext(context.Context) ResolverArrayOutput
}

ResolverArrayInput is an input type that accepts ResolverArray and ResolverArrayOutput values. You can construct a concrete instance of `ResolverArrayInput` via:

ResolverArray{ ResolverArgs{...} }

type ResolverArrayOutput

type ResolverArrayOutput struct{ *pulumi.OutputState }

func (ResolverArrayOutput) ElementType

func (ResolverArrayOutput) ElementType() reflect.Type

func (ResolverArrayOutput) Index

func (ResolverArrayOutput) ToResolverArrayOutput

func (o ResolverArrayOutput) ToResolverArrayOutput() ResolverArrayOutput

func (ResolverArrayOutput) ToResolverArrayOutputWithContext

func (o ResolverArrayOutput) ToResolverArrayOutputWithContext(ctx context.Context) ResolverArrayOutput

type ResolverAttachedView

type ResolverAttachedView struct {
	// (Updatable) The OCID of the view.
	ViewId string `pulumi:"viewId"`
}

type ResolverAttachedViewArgs

type ResolverAttachedViewArgs struct {
	// (Updatable) The OCID of the view.
	ViewId pulumi.StringInput `pulumi:"viewId"`
}

func (ResolverAttachedViewArgs) ElementType

func (ResolverAttachedViewArgs) ElementType() reflect.Type

func (ResolverAttachedViewArgs) ToResolverAttachedViewOutput

func (i ResolverAttachedViewArgs) ToResolverAttachedViewOutput() ResolverAttachedViewOutput

func (ResolverAttachedViewArgs) ToResolverAttachedViewOutputWithContext

func (i ResolverAttachedViewArgs) ToResolverAttachedViewOutputWithContext(ctx context.Context) ResolverAttachedViewOutput

type ResolverAttachedViewArray

type ResolverAttachedViewArray []ResolverAttachedViewInput

func (ResolverAttachedViewArray) ElementType

func (ResolverAttachedViewArray) ElementType() reflect.Type

func (ResolverAttachedViewArray) ToResolverAttachedViewArrayOutput

func (i ResolverAttachedViewArray) ToResolverAttachedViewArrayOutput() ResolverAttachedViewArrayOutput

func (ResolverAttachedViewArray) ToResolverAttachedViewArrayOutputWithContext

func (i ResolverAttachedViewArray) ToResolverAttachedViewArrayOutputWithContext(ctx context.Context) ResolverAttachedViewArrayOutput

type ResolverAttachedViewArrayInput

type ResolverAttachedViewArrayInput interface {
	pulumi.Input

	ToResolverAttachedViewArrayOutput() ResolverAttachedViewArrayOutput
	ToResolverAttachedViewArrayOutputWithContext(context.Context) ResolverAttachedViewArrayOutput
}

ResolverAttachedViewArrayInput is an input type that accepts ResolverAttachedViewArray and ResolverAttachedViewArrayOutput values. You can construct a concrete instance of `ResolverAttachedViewArrayInput` via:

ResolverAttachedViewArray{ ResolverAttachedViewArgs{...} }

type ResolverAttachedViewArrayOutput

type ResolverAttachedViewArrayOutput struct{ *pulumi.OutputState }

func (ResolverAttachedViewArrayOutput) ElementType

func (ResolverAttachedViewArrayOutput) Index

func (ResolverAttachedViewArrayOutput) ToResolverAttachedViewArrayOutput

func (o ResolverAttachedViewArrayOutput) ToResolverAttachedViewArrayOutput() ResolverAttachedViewArrayOutput

func (ResolverAttachedViewArrayOutput) ToResolverAttachedViewArrayOutputWithContext

func (o ResolverAttachedViewArrayOutput) ToResolverAttachedViewArrayOutputWithContext(ctx context.Context) ResolverAttachedViewArrayOutput

type ResolverAttachedViewInput

type ResolverAttachedViewInput interface {
	pulumi.Input

	ToResolverAttachedViewOutput() ResolverAttachedViewOutput
	ToResolverAttachedViewOutputWithContext(context.Context) ResolverAttachedViewOutput
}

ResolverAttachedViewInput is an input type that accepts ResolverAttachedViewArgs and ResolverAttachedViewOutput values. You can construct a concrete instance of `ResolverAttachedViewInput` via:

ResolverAttachedViewArgs{...}

type ResolverAttachedViewOutput

type ResolverAttachedViewOutput struct{ *pulumi.OutputState }

func (ResolverAttachedViewOutput) ElementType

func (ResolverAttachedViewOutput) ElementType() reflect.Type

func (ResolverAttachedViewOutput) ToResolverAttachedViewOutput

func (o ResolverAttachedViewOutput) ToResolverAttachedViewOutput() ResolverAttachedViewOutput

func (ResolverAttachedViewOutput) ToResolverAttachedViewOutputWithContext

func (o ResolverAttachedViewOutput) ToResolverAttachedViewOutputWithContext(ctx context.Context) ResolverAttachedViewOutput

func (ResolverAttachedViewOutput) ViewId

(Updatable) The OCID of the view.

type ResolverEndpoint

type ResolverEndpoint struct {
	pulumi.CustomResourceState

	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringOutput `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringOutput `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolOutput `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolOutput `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringOutput `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name pulumi.StringOutput `pulumi:"name"`
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"`
	// The OCID of the target resolver.
	ResolverId pulumi.StringOutput `pulumi:"resolverId"`
	// Value must be `PRIVATE` when creating private name resolver endpoints.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Resolver Endpoint resource in Oracle Cloud Infrastructure DNS service.

Creates a new resolver endpoint. Requires a `PRIVATE` scope query parameter.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewResolverEndpoint(ctx, "test_resolver_endpoint", &Dns.ResolverEndpointArgs{
			IsForwarding:      pulumi.Any(resolverEndpointIsForwarding),
			IsListening:       pulumi.Any(resolverEndpointIsListening),
			Name:              pulumi.Any(resolverEndpointName),
			ResolverId:        pulumi.Any(testResolver.Id),
			SubnetId:          pulumi.Any(testSubnet.Id),
			Scope:             pulumi.String("PRIVATE"),
			EndpointType:      pulumi.Any(resolverEndpointEndpointType),
			ForwardingAddress: pulumi.Any(resolverEndpointForwardingAddress),
			ListeningAddress:  pulumi.Any(resolverEndpointListeningAddress),
			NsgIds:            pulumi.Any(resolverEndpointNsgIds),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For legacy ResolverEndpoints created without `scope`, these ResolverEndpoints can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/resolverEndpoint:ResolverEndpoint test_resolver_endpoint "resolverId/{resolverId}/name/{resolverEndpointName}" ``` For ResolverEndpoints created using `scope`, these ResolverEndpoints can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/resolverEndpoint:ResolverEndpoint test_resolver_endpoint "resolverId/{resolverId}/name/{name}/scope/{scope}" ```

func GetResolverEndpoint

func GetResolverEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResolverEndpointState, opts ...pulumi.ResourceOption) (*ResolverEndpoint, error)

GetResolverEndpoint gets an existing ResolverEndpoint 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 NewResolverEndpoint

func NewResolverEndpoint(ctx *pulumi.Context,
	name string, args *ResolverEndpointArgs, opts ...pulumi.ResourceOption) (*ResolverEndpoint, error)

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

func (*ResolverEndpoint) ElementType

func (*ResolverEndpoint) ElementType() reflect.Type

func (*ResolverEndpoint) ToResolverEndpointOutput

func (i *ResolverEndpoint) ToResolverEndpointOutput() ResolverEndpointOutput

func (*ResolverEndpoint) ToResolverEndpointOutputWithContext

func (i *ResolverEndpoint) ToResolverEndpointOutputWithContext(ctx context.Context) ResolverEndpointOutput

type ResolverEndpointArgs

type ResolverEndpointArgs struct {
	// (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringPtrInput
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringPtrInput
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolInput
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolInput
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringPtrInput
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name pulumi.StringPtrInput
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds pulumi.StringArrayInput
	// The OCID of the target resolver.
	ResolverId pulumi.StringInput
	// Value must be `PRIVATE` when creating private name resolver endpoints.
	Scope pulumi.StringPtrInput
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	SubnetId pulumi.StringInput
}

The set of arguments for constructing a ResolverEndpoint resource.

func (ResolverEndpointArgs) ElementType

func (ResolverEndpointArgs) ElementType() reflect.Type

type ResolverEndpointArray

type ResolverEndpointArray []ResolverEndpointInput

func (ResolverEndpointArray) ElementType

func (ResolverEndpointArray) ElementType() reflect.Type

func (ResolverEndpointArray) ToResolverEndpointArrayOutput

func (i ResolverEndpointArray) ToResolverEndpointArrayOutput() ResolverEndpointArrayOutput

func (ResolverEndpointArray) ToResolverEndpointArrayOutputWithContext

func (i ResolverEndpointArray) ToResolverEndpointArrayOutputWithContext(ctx context.Context) ResolverEndpointArrayOutput

type ResolverEndpointArrayInput

type ResolverEndpointArrayInput interface {
	pulumi.Input

	ToResolverEndpointArrayOutput() ResolverEndpointArrayOutput
	ToResolverEndpointArrayOutputWithContext(context.Context) ResolverEndpointArrayOutput
}

ResolverEndpointArrayInput is an input type that accepts ResolverEndpointArray and ResolverEndpointArrayOutput values. You can construct a concrete instance of `ResolverEndpointArrayInput` via:

ResolverEndpointArray{ ResolverEndpointArgs{...} }

type ResolverEndpointArrayOutput

type ResolverEndpointArrayOutput struct{ *pulumi.OutputState }

func (ResolverEndpointArrayOutput) ElementType

func (ResolverEndpointArrayOutput) Index

func (ResolverEndpointArrayOutput) ToResolverEndpointArrayOutput

func (o ResolverEndpointArrayOutput) ToResolverEndpointArrayOutput() ResolverEndpointArrayOutput

func (ResolverEndpointArrayOutput) ToResolverEndpointArrayOutputWithContext

func (o ResolverEndpointArrayOutput) ToResolverEndpointArrayOutputWithContext(ctx context.Context) ResolverEndpointArrayOutput

type ResolverEndpointInput

type ResolverEndpointInput interface {
	pulumi.Input

	ToResolverEndpointOutput() ResolverEndpointOutput
	ToResolverEndpointOutputWithContext(ctx context.Context) ResolverEndpointOutput
}

type ResolverEndpointMap

type ResolverEndpointMap map[string]ResolverEndpointInput

func (ResolverEndpointMap) ElementType

func (ResolverEndpointMap) ElementType() reflect.Type

func (ResolverEndpointMap) ToResolverEndpointMapOutput

func (i ResolverEndpointMap) ToResolverEndpointMapOutput() ResolverEndpointMapOutput

func (ResolverEndpointMap) ToResolverEndpointMapOutputWithContext

func (i ResolverEndpointMap) ToResolverEndpointMapOutputWithContext(ctx context.Context) ResolverEndpointMapOutput

type ResolverEndpointMapInput

type ResolverEndpointMapInput interface {
	pulumi.Input

	ToResolverEndpointMapOutput() ResolverEndpointMapOutput
	ToResolverEndpointMapOutputWithContext(context.Context) ResolverEndpointMapOutput
}

ResolverEndpointMapInput is an input type that accepts ResolverEndpointMap and ResolverEndpointMapOutput values. You can construct a concrete instance of `ResolverEndpointMapInput` via:

ResolverEndpointMap{ "key": ResolverEndpointArgs{...} }

type ResolverEndpointMapOutput

type ResolverEndpointMapOutput struct{ *pulumi.OutputState }

func (ResolverEndpointMapOutput) ElementType

func (ResolverEndpointMapOutput) ElementType() reflect.Type

func (ResolverEndpointMapOutput) MapIndex

func (ResolverEndpointMapOutput) ToResolverEndpointMapOutput

func (o ResolverEndpointMapOutput) ToResolverEndpointMapOutput() ResolverEndpointMapOutput

func (ResolverEndpointMapOutput) ToResolverEndpointMapOutputWithContext

func (o ResolverEndpointMapOutput) ToResolverEndpointMapOutputWithContext(ctx context.Context) ResolverEndpointMapOutput

type ResolverEndpointOutput

type ResolverEndpointOutput struct{ *pulumi.OutputState }

func (ResolverEndpointOutput) CompartmentId added in v0.4.0

func (o ResolverEndpointOutput) CompartmentId() pulumi.StringOutput

The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.

func (ResolverEndpointOutput) ElementType

func (ResolverEndpointOutput) ElementType() reflect.Type

func (ResolverEndpointOutput) EndpointType added in v0.4.0

func (o ResolverEndpointOutput) EndpointType() pulumi.StringOutput

(Updatable) The type of resolver endpoint. VNIC is currently the only supported type.

func (ResolverEndpointOutput) ForwardingAddress added in v0.4.0

func (o ResolverEndpointOutput) ForwardingAddress() pulumi.StringOutput

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

func (ResolverEndpointOutput) IsForwarding added in v0.4.0

func (o ResolverEndpointOutput) IsForwarding() pulumi.BoolOutput

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

func (ResolverEndpointOutput) IsListening added in v0.4.0

func (o ResolverEndpointOutput) IsListening() pulumi.BoolOutput

A Boolean flag indicating whether or not the resolver endpoint is for listening.

func (ResolverEndpointOutput) ListeningAddress added in v0.4.0

func (o ResolverEndpointOutput) ListeningAddress() pulumi.StringOutput

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

func (ResolverEndpointOutput) Name added in v0.4.0

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

func (ResolverEndpointOutput) NsgIds added in v0.4.0

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

func (ResolverEndpointOutput) ResolverId added in v0.4.0

The OCID of the target resolver.

func (ResolverEndpointOutput) Scope added in v0.4.0

Value must be `PRIVATE` when creating private name resolver endpoints.

func (ResolverEndpointOutput) Self added in v0.4.0

The canonical absolute URL of the resource.

func (ResolverEndpointOutput) State added in v0.4.0

The current state of the resource.

func (ResolverEndpointOutput) SubnetId added in v0.4.0

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ResolverEndpointOutput) TimeCreated added in v0.4.0

func (o ResolverEndpointOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverEndpointOutput) TimeUpdated added in v0.4.0

func (o ResolverEndpointOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverEndpointOutput) ToResolverEndpointOutput

func (o ResolverEndpointOutput) ToResolverEndpointOutput() ResolverEndpointOutput

func (ResolverEndpointOutput) ToResolverEndpointOutputWithContext

func (o ResolverEndpointOutput) ToResolverEndpointOutputWithContext(ctx context.Context) ResolverEndpointOutput

type ResolverEndpointState

type ResolverEndpointState struct {
	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringPtrInput
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringPtrInput
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolPtrInput
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolPtrInput
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringPtrInput
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name pulumi.StringPtrInput
	// An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
	NsgIds pulumi.StringArrayInput
	// The OCID of the target resolver.
	ResolverId pulumi.StringPtrInput
	// Value must be `PRIVATE` when creating private name resolver endpoints.
	Scope pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	SubnetId pulumi.StringPtrInput
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringPtrInput
}

func (ResolverEndpointState) ElementType

func (ResolverEndpointState) ElementType() reflect.Type

type ResolverEndpointType

type ResolverEndpointType struct {
	// (Updatable) The OCID of the owning compartment.
	CompartmentId *string `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType *string `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress *string `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding *bool `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening *bool `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress *string `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name *string `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self *string `pulumi:"self"`
	// The current state of the resource.
	State *string `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId *string `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated *string `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated *string `pulumi:"timeUpdated"`
}

type ResolverEndpointTypeArgs

type ResolverEndpointTypeArgs struct {
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"`
	// The type of resolver endpoint. VNIC is currently the only supported type.
	EndpointType pulumi.StringPtrInput `pulumi:"endpointType"`
	// An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
	ForwardingAddress pulumi.StringPtrInput `pulumi:"forwardingAddress"`
	// A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
	IsForwarding pulumi.BoolPtrInput `pulumi:"isForwarding"`
	// A Boolean flag indicating whether or not the resolver endpoint is for listening.
	IsListening pulumi.BoolPtrInput `pulumi:"isListening"`
	// An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
	ListeningAddress pulumi.StringPtrInput `pulumi:"listeningAddress"`
	// The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringPtrInput `pulumi:"state"`
	// The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
	SubnetId pulumi.StringPtrInput `pulumi:"subnetId"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringPtrInput `pulumi:"timeUpdated"`
}

func (ResolverEndpointTypeArgs) ElementType

func (ResolverEndpointTypeArgs) ElementType() reflect.Type

func (ResolverEndpointTypeArgs) ToResolverEndpointTypeOutput

func (i ResolverEndpointTypeArgs) ToResolverEndpointTypeOutput() ResolverEndpointTypeOutput

func (ResolverEndpointTypeArgs) ToResolverEndpointTypeOutputWithContext

func (i ResolverEndpointTypeArgs) ToResolverEndpointTypeOutputWithContext(ctx context.Context) ResolverEndpointTypeOutput

type ResolverEndpointTypeArray

type ResolverEndpointTypeArray []ResolverEndpointTypeInput

func (ResolverEndpointTypeArray) ElementType

func (ResolverEndpointTypeArray) ElementType() reflect.Type

func (ResolverEndpointTypeArray) ToResolverEndpointTypeArrayOutput

func (i ResolverEndpointTypeArray) ToResolverEndpointTypeArrayOutput() ResolverEndpointTypeArrayOutput

func (ResolverEndpointTypeArray) ToResolverEndpointTypeArrayOutputWithContext

func (i ResolverEndpointTypeArray) ToResolverEndpointTypeArrayOutputWithContext(ctx context.Context) ResolverEndpointTypeArrayOutput

type ResolverEndpointTypeArrayInput

type ResolverEndpointTypeArrayInput interface {
	pulumi.Input

	ToResolverEndpointTypeArrayOutput() ResolverEndpointTypeArrayOutput
	ToResolverEndpointTypeArrayOutputWithContext(context.Context) ResolverEndpointTypeArrayOutput
}

ResolverEndpointTypeArrayInput is an input type that accepts ResolverEndpointTypeArray and ResolverEndpointTypeArrayOutput values. You can construct a concrete instance of `ResolverEndpointTypeArrayInput` via:

ResolverEndpointTypeArray{ ResolverEndpointTypeArgs{...} }

type ResolverEndpointTypeArrayOutput

type ResolverEndpointTypeArrayOutput struct{ *pulumi.OutputState }

func (ResolverEndpointTypeArrayOutput) ElementType

func (ResolverEndpointTypeArrayOutput) Index

func (ResolverEndpointTypeArrayOutput) ToResolverEndpointTypeArrayOutput

func (o ResolverEndpointTypeArrayOutput) ToResolverEndpointTypeArrayOutput() ResolverEndpointTypeArrayOutput

func (ResolverEndpointTypeArrayOutput) ToResolverEndpointTypeArrayOutputWithContext

func (o ResolverEndpointTypeArrayOutput) ToResolverEndpointTypeArrayOutputWithContext(ctx context.Context) ResolverEndpointTypeArrayOutput

type ResolverEndpointTypeInput

type ResolverEndpointTypeInput interface {
	pulumi.Input

	ToResolverEndpointTypeOutput() ResolverEndpointTypeOutput
	ToResolverEndpointTypeOutputWithContext(context.Context) ResolverEndpointTypeOutput
}

ResolverEndpointTypeInput is an input type that accepts ResolverEndpointTypeArgs and ResolverEndpointTypeOutput values. You can construct a concrete instance of `ResolverEndpointTypeInput` via:

ResolverEndpointTypeArgs{...}

type ResolverEndpointTypeOutput

type ResolverEndpointTypeOutput struct{ *pulumi.OutputState }

func (ResolverEndpointTypeOutput) CompartmentId

(Updatable) The OCID of the owning compartment.

func (ResolverEndpointTypeOutput) ElementType

func (ResolverEndpointTypeOutput) ElementType() reflect.Type

func (ResolverEndpointTypeOutput) EndpointType

The type of resolver endpoint. VNIC is currently the only supported type.

func (ResolverEndpointTypeOutput) ForwardingAddress

func (o ResolverEndpointTypeOutput) ForwardingAddress() pulumi.StringPtrOutput

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

func (ResolverEndpointTypeOutput) IsForwarding

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

func (ResolverEndpointTypeOutput) IsListening

A Boolean flag indicating whether or not the resolver endpoint is for listening.

func (ResolverEndpointTypeOutput) ListeningAddress

func (o ResolverEndpointTypeOutput) ListeningAddress() pulumi.StringPtrOutput

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

func (ResolverEndpointTypeOutput) Name

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

func (ResolverEndpointTypeOutput) Self

The canonical absolute URL of the resource.

func (ResolverEndpointTypeOutput) State

The current state of the resource.

func (ResolverEndpointTypeOutput) SubnetId

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

func (ResolverEndpointTypeOutput) TimeCreated

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverEndpointTypeOutput) TimeUpdated

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverEndpointTypeOutput) ToResolverEndpointTypeOutput

func (o ResolverEndpointTypeOutput) ToResolverEndpointTypeOutput() ResolverEndpointTypeOutput

func (ResolverEndpointTypeOutput) ToResolverEndpointTypeOutputWithContext

func (o ResolverEndpointTypeOutput) ToResolverEndpointTypeOutputWithContext(ctx context.Context) ResolverEndpointTypeOutput

type ResolverInput

type ResolverInput interface {
	pulumi.Input

	ToResolverOutput() ResolverOutput
	ToResolverOutputWithContext(ctx context.Context) ResolverOutput
}

type ResolverMap

type ResolverMap map[string]ResolverInput

func (ResolverMap) ElementType

func (ResolverMap) ElementType() reflect.Type

func (ResolverMap) ToResolverMapOutput

func (i ResolverMap) ToResolverMapOutput() ResolverMapOutput

func (ResolverMap) ToResolverMapOutputWithContext

func (i ResolverMap) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverMapInput

type ResolverMapInput interface {
	pulumi.Input

	ToResolverMapOutput() ResolverMapOutput
	ToResolverMapOutputWithContext(context.Context) ResolverMapOutput
}

ResolverMapInput is an input type that accepts ResolverMap and ResolverMapOutput values. You can construct a concrete instance of `ResolverMapInput` via:

ResolverMap{ "key": ResolverArgs{...} }

type ResolverMapOutput

type ResolverMapOutput struct{ *pulumi.OutputState }

func (ResolverMapOutput) ElementType

func (ResolverMapOutput) ElementType() reflect.Type

func (ResolverMapOutput) MapIndex

func (ResolverMapOutput) ToResolverMapOutput

func (o ResolverMapOutput) ToResolverMapOutput() ResolverMapOutput

func (ResolverMapOutput) ToResolverMapOutputWithContext

func (o ResolverMapOutput) ToResolverMapOutputWithContext(ctx context.Context) ResolverMapOutput

type ResolverOutput

type ResolverOutput struct{ *pulumi.OutputState }

func (ResolverOutput) AttachedVcnId added in v0.4.0

func (o ResolverOutput) AttachedVcnId() pulumi.StringOutput

The OCID of the attached VCN.

func (ResolverOutput) AttachedViews added in v0.4.0

(Updatable) The attached views. Views are evaluated in order.

func (ResolverOutput) CompartmentId added in v0.4.0

func (o ResolverOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the owning compartment.

func (ResolverOutput) DefaultViewId added in v0.4.0

func (o ResolverOutput) DefaultViewId() pulumi.StringOutput

The OCID of the default view.

func (ResolverOutput) DefinedTags added in v0.4.0

func (o ResolverOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Operations": {"CostCenter": "42"}}`

func (ResolverOutput) DisplayName added in v0.4.0

func (o ResolverOutput) DisplayName() pulumi.StringOutput

(Updatable) The display name of the resolver.

func (ResolverOutput) ElementType

func (ResolverOutput) ElementType() reflect.Type

func (ResolverOutput) Endpoints added in v0.4.0

Read-only array of endpoints for the resolver.

func (ResolverOutput) FreeformTags added in v0.4.0

func (o ResolverOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Department": "Finance"}`

func (ResolverOutput) IsProtected added in v0.4.0

func (o ResolverOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (ResolverOutput) ResolverId added in v0.4.0

func (o ResolverOutput) ResolverId() pulumi.StringOutput

The OCID of the target resolver.

func (ResolverOutput) Rules added in v0.4.0

(Updatable) Rules for the resolver. Rules are evaluated in order.

func (ResolverOutput) Scope added in v0.4.0

If specified, must be `PRIVATE` when creating private name resolvers.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ResolverOutput) Self added in v0.4.0

The canonical absolute URL of the resource.

func (ResolverOutput) State added in v0.4.0

The current state of the resource.

func (ResolverOutput) TimeCreated added in v0.4.0

func (o ResolverOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverOutput) TimeUpdated added in v0.4.0

func (o ResolverOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ResolverOutput) ToResolverOutput

func (o ResolverOutput) ToResolverOutput() ResolverOutput

func (ResolverOutput) ToResolverOutputWithContext

func (o ResolverOutput) ToResolverOutputWithContext(ctx context.Context) ResolverOutput

type ResolverRule

type ResolverRule struct {
	// (Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.
	Action string `pulumi:"action"`
	// (Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
	ClientAddressConditions []string `pulumi:"clientAddressConditions"`
	// (Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses []string `pulumi:"destinationAddresses"`
	// (Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions []string `pulumi:"qnameCoverConditions"`
	// (Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
	SourceEndpointName string `pulumi:"sourceEndpointName"`
}

type ResolverRuleArgs

type ResolverRuleArgs struct {
	// (Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.
	Action pulumi.StringInput `pulumi:"action"`
	// (Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
	ClientAddressConditions pulumi.StringArrayInput `pulumi:"clientAddressConditions"`
	// (Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses pulumi.StringArrayInput `pulumi:"destinationAddresses"`
	// (Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions pulumi.StringArrayInput `pulumi:"qnameCoverConditions"`
	// (Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
	SourceEndpointName pulumi.StringInput `pulumi:"sourceEndpointName"`
}

func (ResolverRuleArgs) ElementType

func (ResolverRuleArgs) ElementType() reflect.Type

func (ResolverRuleArgs) ToResolverRuleOutput

func (i ResolverRuleArgs) ToResolverRuleOutput() ResolverRuleOutput

func (ResolverRuleArgs) ToResolverRuleOutputWithContext

func (i ResolverRuleArgs) ToResolverRuleOutputWithContext(ctx context.Context) ResolverRuleOutput

type ResolverRuleArray

type ResolverRuleArray []ResolverRuleInput

func (ResolverRuleArray) ElementType

func (ResolverRuleArray) ElementType() reflect.Type

func (ResolverRuleArray) ToResolverRuleArrayOutput

func (i ResolverRuleArray) ToResolverRuleArrayOutput() ResolverRuleArrayOutput

func (ResolverRuleArray) ToResolverRuleArrayOutputWithContext

func (i ResolverRuleArray) ToResolverRuleArrayOutputWithContext(ctx context.Context) ResolverRuleArrayOutput

type ResolverRuleArrayInput

type ResolverRuleArrayInput interface {
	pulumi.Input

	ToResolverRuleArrayOutput() ResolverRuleArrayOutput
	ToResolverRuleArrayOutputWithContext(context.Context) ResolverRuleArrayOutput
}

ResolverRuleArrayInput is an input type that accepts ResolverRuleArray and ResolverRuleArrayOutput values. You can construct a concrete instance of `ResolverRuleArrayInput` via:

ResolverRuleArray{ ResolverRuleArgs{...} }

type ResolverRuleArrayOutput

type ResolverRuleArrayOutput struct{ *pulumi.OutputState }

func (ResolverRuleArrayOutput) ElementType

func (ResolverRuleArrayOutput) ElementType() reflect.Type

func (ResolverRuleArrayOutput) Index

func (ResolverRuleArrayOutput) ToResolverRuleArrayOutput

func (o ResolverRuleArrayOutput) ToResolverRuleArrayOutput() ResolverRuleArrayOutput

func (ResolverRuleArrayOutput) ToResolverRuleArrayOutputWithContext

func (o ResolverRuleArrayOutput) ToResolverRuleArrayOutputWithContext(ctx context.Context) ResolverRuleArrayOutput

type ResolverRuleInput

type ResolverRuleInput interface {
	pulumi.Input

	ToResolverRuleOutput() ResolverRuleOutput
	ToResolverRuleOutputWithContext(context.Context) ResolverRuleOutput
}

ResolverRuleInput is an input type that accepts ResolverRuleArgs and ResolverRuleOutput values. You can construct a concrete instance of `ResolverRuleInput` via:

ResolverRuleArgs{...}

type ResolverRuleOutput

type ResolverRuleOutput struct{ *pulumi.OutputState }

func (ResolverRuleOutput) Action

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

func (ResolverRuleOutput) ClientAddressConditions

func (o ResolverRuleOutput) ClientAddressConditions() pulumi.StringArrayOutput

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

func (ResolverRuleOutput) DestinationAddresses

func (o ResolverRuleOutput) DestinationAddresses() pulumi.StringArrayOutput

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

func (ResolverRuleOutput) ElementType

func (ResolverRuleOutput) ElementType() reflect.Type

func (ResolverRuleOutput) QnameCoverConditions

func (o ResolverRuleOutput) QnameCoverConditions() pulumi.StringArrayOutput

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

func (ResolverRuleOutput) SourceEndpointName

func (o ResolverRuleOutput) SourceEndpointName() pulumi.StringOutput

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

func (ResolverRuleOutput) ToResolverRuleOutput

func (o ResolverRuleOutput) ToResolverRuleOutput() ResolverRuleOutput

func (ResolverRuleOutput) ToResolverRuleOutputWithContext

func (o ResolverRuleOutput) ToResolverRuleOutputWithContext(ctx context.Context) ResolverRuleOutput

type ResolverState

type ResolverState struct {
	// The OCID of the attached VCN.
	AttachedVcnId pulumi.StringPtrInput
	// (Updatable) The attached views. Views are evaluated in order.
	AttachedViews ResolverAttachedViewArrayInput
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringPtrInput
	// The OCID of the default view.
	DefaultViewId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) The display name of the resolver.
	DisplayName pulumi.StringPtrInput
	// Read-only array of endpoints for the resolver.
	Endpoints ResolverEndpointTypeArrayInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput
	// The OCID of the target resolver.
	ResolverId pulumi.StringPtrInput
	// (Updatable) Rules for the resolver. Rules are evaluated in order.
	Rules ResolverRuleArrayInput
	// If specified, must be `PRIVATE` when creating private name resolvers.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringPtrInput
}

func (ResolverState) ElementType

func (ResolverState) ElementType() reflect.Type

type Rrset

type Rrset struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The fully qualified domain name where the record can be located.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// (Updatable)
	// **NOTE** Omitting `items` at time of create, will delete any existing records in the RRSet
	Items RrsetItemArrayOutput `pulumi:"items"`
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringOutput `pulumi:"rtype"`
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating private Rrsets.
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrOutput `pulumi:"viewId"`
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneNameOrId pulumi.StringOutput `pulumi:"zoneNameOrId"`
}

This resource provides the Rrset resource in Oracle Cloud Infrastructure DNS service.

Replaces records in the specified RRSet. When the zone name is provided as a path parameter and the zone has a scope of `PRIVATE` then the viewId query parameter is required.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewRrset(ctx, "test_rrset", &Dns.RrsetArgs{
			Domain:        pulumi.Any(rrsetDomain),
			Rtype:         pulumi.Any(rrsetRtype),
			ZoneNameOrId:  pulumi.Any(testZone.Id),
			CompartmentId: pulumi.Any(compartmentId),
			Items: dns.RrsetItemArray{
				&dns.RrsetItemArgs{
					Domain: pulumi.Any(rrsetItemsDomain),
					Rdata:  pulumi.Any(rrsetItemsRdata),
					Rtype:  pulumi.Any(rrsetItemsRtype),
					Ttl:    pulumi.Any(rrsetItemsTtl),
				},
			},
			Scope:  pulumi.Any(rrsetScope),
			ViewId: pulumi.Any(testView.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For legacy Rrsets that were created without using `scope`, these Rrsets can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/rrset:Rrset test_rrset "zoneNameOrId/{zoneNameOrId}/domain/{domain}/rtype/{rtype}" ``` For Rrsets created using `scope` and `view_id`, these Rrsets can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/rrset:Rrset test_rrset "zoneNameOrId/{zoneNameOrId}/domain/{domain}/rtype/{rtype}/scope/{scope}/viewId/{viewId}" ``` skip adding `{view_id}` at the end if Rrset was created without `view_id`.

func GetRrset

func GetRrset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RrsetState, opts ...pulumi.ResourceOption) (*Rrset, error)

GetRrset gets an existing Rrset 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 NewRrset

func NewRrset(ctx *pulumi.Context,
	name string, args *RrsetArgs, opts ...pulumi.ResourceOption) (*Rrset, error)

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

func (*Rrset) ElementType

func (*Rrset) ElementType() reflect.Type

func (*Rrset) ToRrsetOutput

func (i *Rrset) ToRrsetOutput() RrsetOutput

func (*Rrset) ToRrsetOutputWithContext

func (i *Rrset) ToRrsetOutputWithContext(ctx context.Context) RrsetOutput

type RrsetArgs

type RrsetArgs struct {
	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput
	// The fully qualified domain name where the record can be located.
	Domain pulumi.StringInput
	// (Updatable)
	// **NOTE** Omitting `items` at time of create, will delete any existing records in the RRSet
	Items RrsetItemArrayInput
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringInput
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating private Rrsets.
	Scope pulumi.StringPtrInput
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrInput
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneNameOrId pulumi.StringInput
}

The set of arguments for constructing a Rrset resource.

func (RrsetArgs) ElementType

func (RrsetArgs) ElementType() reflect.Type

type RrsetArray

type RrsetArray []RrsetInput

func (RrsetArray) ElementType

func (RrsetArray) ElementType() reflect.Type

func (RrsetArray) ToRrsetArrayOutput

func (i RrsetArray) ToRrsetArrayOutput() RrsetArrayOutput

func (RrsetArray) ToRrsetArrayOutputWithContext

func (i RrsetArray) ToRrsetArrayOutputWithContext(ctx context.Context) RrsetArrayOutput

type RrsetArrayInput

type RrsetArrayInput interface {
	pulumi.Input

	ToRrsetArrayOutput() RrsetArrayOutput
	ToRrsetArrayOutputWithContext(context.Context) RrsetArrayOutput
}

RrsetArrayInput is an input type that accepts RrsetArray and RrsetArrayOutput values. You can construct a concrete instance of `RrsetArrayInput` via:

RrsetArray{ RrsetArgs{...} }

type RrsetArrayOutput

type RrsetArrayOutput struct{ *pulumi.OutputState }

func (RrsetArrayOutput) ElementType

func (RrsetArrayOutput) ElementType() reflect.Type

func (RrsetArrayOutput) Index

func (RrsetArrayOutput) ToRrsetArrayOutput

func (o RrsetArrayOutput) ToRrsetArrayOutput() RrsetArrayOutput

func (RrsetArrayOutput) ToRrsetArrayOutputWithContext

func (o RrsetArrayOutput) ToRrsetArrayOutputWithContext(ctx context.Context) RrsetArrayOutput

type RrsetInput

type RrsetInput interface {
	pulumi.Input

	ToRrsetOutput() RrsetOutput
	ToRrsetOutputWithContext(ctx context.Context) RrsetOutput
}

type RrsetItem

type RrsetItem struct {
	// The fully qualified domain name where the record can be located.
	Domain string `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected *bool `pulumi:"isProtected"`
	// (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata string `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash *string `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion *string `pulumi:"rrsetVersion"`
	// The type of the target RRSet within the target zone.
	Rtype string `pulumi:"rtype"`
	// (Updatable) The Time To Live for the record, in seconds.
	Ttl int `pulumi:"ttl"`
}

type RrsetItemArgs

type RrsetItemArgs struct {
	// The fully qualified domain name where the record can be located.
	Domain pulumi.StringInput `pulumi:"domain"`
	// A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput `pulumi:"isProtected"`
	// (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// A unique identifier for the record within its zone.
	RecordHash pulumi.StringPtrInput `pulumi:"recordHash"`
	// The latest version of the record's zone in which its RRSet differs from the preceding version.
	RrsetVersion pulumi.StringPtrInput `pulumi:"rrsetVersion"`
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringInput `pulumi:"rtype"`
	// (Updatable) The Time To Live for the record, in seconds.
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (RrsetItemArgs) ElementType

func (RrsetItemArgs) ElementType() reflect.Type

func (RrsetItemArgs) ToRrsetItemOutput

func (i RrsetItemArgs) ToRrsetItemOutput() RrsetItemOutput

func (RrsetItemArgs) ToRrsetItemOutputWithContext

func (i RrsetItemArgs) ToRrsetItemOutputWithContext(ctx context.Context) RrsetItemOutput

type RrsetItemArray

type RrsetItemArray []RrsetItemInput

func (RrsetItemArray) ElementType

func (RrsetItemArray) ElementType() reflect.Type

func (RrsetItemArray) ToRrsetItemArrayOutput

func (i RrsetItemArray) ToRrsetItemArrayOutput() RrsetItemArrayOutput

func (RrsetItemArray) ToRrsetItemArrayOutputWithContext

func (i RrsetItemArray) ToRrsetItemArrayOutputWithContext(ctx context.Context) RrsetItemArrayOutput

type RrsetItemArrayInput

type RrsetItemArrayInput interface {
	pulumi.Input

	ToRrsetItemArrayOutput() RrsetItemArrayOutput
	ToRrsetItemArrayOutputWithContext(context.Context) RrsetItemArrayOutput
}

RrsetItemArrayInput is an input type that accepts RrsetItemArray and RrsetItemArrayOutput values. You can construct a concrete instance of `RrsetItemArrayInput` via:

RrsetItemArray{ RrsetItemArgs{...} }

type RrsetItemArrayOutput

type RrsetItemArrayOutput struct{ *pulumi.OutputState }

func (RrsetItemArrayOutput) ElementType

func (RrsetItemArrayOutput) ElementType() reflect.Type

func (RrsetItemArrayOutput) Index

func (RrsetItemArrayOutput) ToRrsetItemArrayOutput

func (o RrsetItemArrayOutput) ToRrsetItemArrayOutput() RrsetItemArrayOutput

func (RrsetItemArrayOutput) ToRrsetItemArrayOutputWithContext

func (o RrsetItemArrayOutput) ToRrsetItemArrayOutputWithContext(ctx context.Context) RrsetItemArrayOutput

type RrsetItemInput

type RrsetItemInput interface {
	pulumi.Input

	ToRrsetItemOutput() RrsetItemOutput
	ToRrsetItemOutputWithContext(context.Context) RrsetItemOutput
}

RrsetItemInput is an input type that accepts RrsetItemArgs and RrsetItemOutput values. You can construct a concrete instance of `RrsetItemInput` via:

RrsetItemArgs{...}

type RrsetItemOutput

type RrsetItemOutput struct{ *pulumi.OutputState }

func (RrsetItemOutput) Domain

func (o RrsetItemOutput) Domain() pulumi.StringOutput

The fully qualified domain name where the record can be located.

func (RrsetItemOutput) ElementType

func (RrsetItemOutput) ElementType() reflect.Type

func (RrsetItemOutput) IsProtected

func (o RrsetItemOutput) IsProtected() pulumi.BoolPtrOutput

A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

func (RrsetItemOutput) Rdata

(Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)

func (RrsetItemOutput) RecordHash

func (o RrsetItemOutput) RecordHash() pulumi.StringPtrOutput

A unique identifier for the record within its zone.

func (RrsetItemOutput) RrsetVersion

func (o RrsetItemOutput) RrsetVersion() pulumi.StringPtrOutput

The latest version of the record's zone in which its RRSet differs from the preceding version.

func (RrsetItemOutput) Rtype

The type of the target RRSet within the target zone.

func (RrsetItemOutput) ToRrsetItemOutput

func (o RrsetItemOutput) ToRrsetItemOutput() RrsetItemOutput

func (RrsetItemOutput) ToRrsetItemOutputWithContext

func (o RrsetItemOutput) ToRrsetItemOutputWithContext(ctx context.Context) RrsetItemOutput

func (RrsetItemOutput) Ttl

(Updatable) The Time To Live for the record, in seconds.

type RrsetMap

type RrsetMap map[string]RrsetInput

func (RrsetMap) ElementType

func (RrsetMap) ElementType() reflect.Type

func (RrsetMap) ToRrsetMapOutput

func (i RrsetMap) ToRrsetMapOutput() RrsetMapOutput

func (RrsetMap) ToRrsetMapOutputWithContext

func (i RrsetMap) ToRrsetMapOutputWithContext(ctx context.Context) RrsetMapOutput

type RrsetMapInput

type RrsetMapInput interface {
	pulumi.Input

	ToRrsetMapOutput() RrsetMapOutput
	ToRrsetMapOutputWithContext(context.Context) RrsetMapOutput
}

RrsetMapInput is an input type that accepts RrsetMap and RrsetMapOutput values. You can construct a concrete instance of `RrsetMapInput` via:

RrsetMap{ "key": RrsetArgs{...} }

type RrsetMapOutput

type RrsetMapOutput struct{ *pulumi.OutputState }

func (RrsetMapOutput) ElementType

func (RrsetMapOutput) ElementType() reflect.Type

func (RrsetMapOutput) MapIndex

func (RrsetMapOutput) ToRrsetMapOutput

func (o RrsetMapOutput) ToRrsetMapOutput() RrsetMapOutput

func (RrsetMapOutput) ToRrsetMapOutputWithContext

func (o RrsetMapOutput) ToRrsetMapOutputWithContext(ctx context.Context) RrsetMapOutput

type RrsetOutput

type RrsetOutput struct{ *pulumi.OutputState }

func (RrsetOutput) CompartmentId added in v0.4.0

func (o RrsetOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment the resource belongs to.

func (RrsetOutput) Domain added in v0.4.0

func (o RrsetOutput) Domain() pulumi.StringOutput

The fully qualified domain name where the record can be located.

func (RrsetOutput) ElementType

func (RrsetOutput) ElementType() reflect.Type

func (RrsetOutput) Items added in v0.4.0

(Updatable) **NOTE** Omitting `items` at time of create, will delete any existing records in the RRSet

func (RrsetOutput) Rtype added in v0.4.0

func (o RrsetOutput) Rtype() pulumi.StringOutput

The type of the target RRSet within the target zone.

func (RrsetOutput) Scope added in v0.4.0

Specifies to operate only on resources that have a matching DNS scope. This value will be null for zones in the global DNS and `PRIVATE` when creating private Rrsets.

func (RrsetOutput) ToRrsetOutput

func (o RrsetOutput) ToRrsetOutput() RrsetOutput

func (RrsetOutput) ToRrsetOutputWithContext

func (o RrsetOutput) ToRrsetOutputWithContext(ctx context.Context) RrsetOutput

func (RrsetOutput) ViewId added in v0.4.0

func (o RrsetOutput) ViewId() pulumi.StringPtrOutput

The OCID of the view the resource is associated with.

func (RrsetOutput) ZoneNameOrId added in v0.4.0

func (o RrsetOutput) ZoneNameOrId() pulumi.StringOutput

The name or OCID of the target zone.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type RrsetState

type RrsetState struct {
	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput
	// The fully qualified domain name where the record can be located.
	Domain pulumi.StringPtrInput
	// (Updatable)
	// **NOTE** Omitting `items` at time of create, will delete any existing records in the RRSet
	Items RrsetItemArrayInput
	// The type of the target RRSet within the target zone.
	Rtype pulumi.StringPtrInput
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating private Rrsets.
	Scope pulumi.StringPtrInput
	// The OCID of the view the resource is associated with.
	ViewId pulumi.StringPtrInput
	// The name or OCID of the target zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneNameOrId pulumi.StringPtrInput
}

func (RrsetState) ElementType

func (RrsetState) ElementType() reflect.Type

type SteeringPolicy

type SteeringPolicy struct {
	pulumi.CustomResourceState

	// The set of all answers that can potentially issue from the steering policy.
	Answers SteeringPolicyAnswerArrayOutput `pulumi:"answers"`
	// (Updatable) The OCID of the compartment containing the steering policy.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// (Updatable) The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.
	//
	// **Note:** To use the Health Check monitoring feature in a steering policy, a monitor must be created using the Health Checks service first. For more information on how to create a monitor, please see [Managing Health Checks](https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
	HealthCheckMonitorId pulumi.StringOutput `pulumi:"healthCheckMonitorId"`
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	//
	// The first rule receives a shuffled list of all answers, and every other rule receives the list of answers emitted by the one preceding it. The last rule populates the response.
	Rules SteeringPolicyRuleArrayOutput `pulumi:"rules"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// (Updatable) A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.
	//
	// **Example:** The `FAILOVER` template determines answers by filtering the policy's answers using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`, and `LIMIT`. This gives the domain dynamic failover capability.
	//
	// It is **strongly recommended** to use a template other than `CUSTOM` when creating a steering policy.
	//
	// All templates require the rule order to begin with an unconditional `FILTER` rule that keeps answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`. The last rule of a template must must be a `LIMIT` rule. For more information about templates and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
	//
	// **Template Types**
	Template pulumi.StringOutput `pulumi:"template"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// (Updatable) The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Ttl pulumi.IntOutput `pulumi:"ttl"`
}

This resource provides the Steering Policy resource in Oracle Cloud Infrastructure DNS service.

Creates a new steering policy in the specified compartment. For more information on creating policies with templates, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewSteeringPolicy(ctx, "test_steering_policy", &Dns.SteeringPolicyArgs{
			CompartmentId: pulumi.Any(compartmentId),
			DisplayName:   pulumi.Any(steeringPolicyDisplayName),
			Template:      pulumi.Any(steeringPolicyTemplate),
			Answers: dns.SteeringPolicyAnswerArray{
				&dns.SteeringPolicyAnswerArgs{
					Name:       pulumi.Any(steeringPolicyAnswersName),
					Rdata:      pulumi.Any(steeringPolicyAnswersRdata),
					Rtype:      pulumi.Any(steeringPolicyAnswersRtype),
					IsDisabled: pulumi.Any(steeringPolicyAnswersIsDisabled),
					Pool:       pulumi.Any(steeringPolicyAnswersPool),
				},
			},
			DefinedTags:          pulumi.Any(steeringPolicyDefinedTags),
			FreeformTags:         pulumi.Any(steeringPolicyFreeformTags),
			HealthCheckMonitorId: pulumi.Any(testHttpMonitor.Id),
			Rules: dns.SteeringPolicyRuleArray{
				&dns.SteeringPolicyRuleArgs{
					RuleType: pulumi.Any(steeringPolicyRulesRuleType),
					Cases: dns.SteeringPolicyRuleCaseArray{
						&dns.SteeringPolicyRuleCaseArgs{
							AnswerDatas: dns.SteeringPolicyRuleCaseAnswerDataArray{
								&dns.SteeringPolicyRuleCaseAnswerDataArgs{
									AnswerCondition: pulumi.Any(steeringPolicyRulesCasesAnswerDataAnswerCondition),
									ShouldKeep:      pulumi.Any(steeringPolicyRulesCasesAnswerDataShouldKeep),
									Value:           pulumi.Any(steeringPolicyRulesCasesAnswerDataValue),
								},
							},
							CaseCondition: pulumi.Any(steeringPolicyRulesCasesCaseCondition),
							Count:         pulumi.Any(steeringPolicyRulesCasesCount),
						},
					},
					DefaultAnswerDatas: dns.SteeringPolicyRuleDefaultAnswerDataArray{
						&dns.SteeringPolicyRuleDefaultAnswerDataArgs{
							AnswerCondition: pulumi.Any(steeringPolicyRulesDefaultAnswerDataAnswerCondition),
							ShouldKeep:      pulumi.Any(steeringPolicyRulesDefaultAnswerDataShouldKeep),
							Value:           pulumi.Any(steeringPolicyRulesDefaultAnswerDataValue),
						},
					},
					DefaultCount: pulumi.Any(steeringPolicyRulesDefaultCount),
					Description:  pulumi.Any(steeringPolicyRulesDescription),
				},
			},
			Ttl: pulumi.Any(steeringPolicyTtl),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SteeringPolicies can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/steeringPolicy:SteeringPolicy test_steering_policy "id" ```

func GetSteeringPolicy

func GetSteeringPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SteeringPolicyState, opts ...pulumi.ResourceOption) (*SteeringPolicy, error)

GetSteeringPolicy gets an existing SteeringPolicy 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 NewSteeringPolicy

func NewSteeringPolicy(ctx *pulumi.Context,
	name string, args *SteeringPolicyArgs, opts ...pulumi.ResourceOption) (*SteeringPolicy, error)

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

func (*SteeringPolicy) ElementType

func (*SteeringPolicy) ElementType() reflect.Type

func (*SteeringPolicy) ToSteeringPolicyOutput

func (i *SteeringPolicy) ToSteeringPolicyOutput() SteeringPolicyOutput

func (*SteeringPolicy) ToSteeringPolicyOutputWithContext

func (i *SteeringPolicy) ToSteeringPolicyOutputWithContext(ctx context.Context) SteeringPolicyOutput

type SteeringPolicyAnswer

type SteeringPolicyAnswer struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled *bool `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name string `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool *string `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata string `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype string `pulumi:"rtype"`
}

type SteeringPolicyAnswerArgs

type SteeringPolicyAnswerArgs struct {
	// Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	IsDisabled pulumi.BoolPtrInput `pulumi:"isDisabled"`
	// A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.
	Name pulumi.StringInput `pulumi:"name"`
	// The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.
	Pool pulumi.StringPtrInput `pulumi:"pool"`
	// The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata pulumi.StringInput `pulumi:"rdata"`
	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype pulumi.StringInput `pulumi:"rtype"`
}

func (SteeringPolicyAnswerArgs) ElementType

func (SteeringPolicyAnswerArgs) ElementType() reflect.Type

func (SteeringPolicyAnswerArgs) ToSteeringPolicyAnswerOutput

func (i SteeringPolicyAnswerArgs) ToSteeringPolicyAnswerOutput() SteeringPolicyAnswerOutput

func (SteeringPolicyAnswerArgs) ToSteeringPolicyAnswerOutputWithContext

func (i SteeringPolicyAnswerArgs) ToSteeringPolicyAnswerOutputWithContext(ctx context.Context) SteeringPolicyAnswerOutput

type SteeringPolicyAnswerArray

type SteeringPolicyAnswerArray []SteeringPolicyAnswerInput

func (SteeringPolicyAnswerArray) ElementType

func (SteeringPolicyAnswerArray) ElementType() reflect.Type

func (SteeringPolicyAnswerArray) ToSteeringPolicyAnswerArrayOutput

func (i SteeringPolicyAnswerArray) ToSteeringPolicyAnswerArrayOutput() SteeringPolicyAnswerArrayOutput

func (SteeringPolicyAnswerArray) ToSteeringPolicyAnswerArrayOutputWithContext

func (i SteeringPolicyAnswerArray) ToSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) SteeringPolicyAnswerArrayOutput

type SteeringPolicyAnswerArrayInput

type SteeringPolicyAnswerArrayInput interface {
	pulumi.Input

	ToSteeringPolicyAnswerArrayOutput() SteeringPolicyAnswerArrayOutput
	ToSteeringPolicyAnswerArrayOutputWithContext(context.Context) SteeringPolicyAnswerArrayOutput
}

SteeringPolicyAnswerArrayInput is an input type that accepts SteeringPolicyAnswerArray and SteeringPolicyAnswerArrayOutput values. You can construct a concrete instance of `SteeringPolicyAnswerArrayInput` via:

SteeringPolicyAnswerArray{ SteeringPolicyAnswerArgs{...} }

type SteeringPolicyAnswerArrayOutput

type SteeringPolicyAnswerArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyAnswerArrayOutput) ElementType

func (SteeringPolicyAnswerArrayOutput) Index

func (SteeringPolicyAnswerArrayOutput) ToSteeringPolicyAnswerArrayOutput

func (o SteeringPolicyAnswerArrayOutput) ToSteeringPolicyAnswerArrayOutput() SteeringPolicyAnswerArrayOutput

func (SteeringPolicyAnswerArrayOutput) ToSteeringPolicyAnswerArrayOutputWithContext

func (o SteeringPolicyAnswerArrayOutput) ToSteeringPolicyAnswerArrayOutputWithContext(ctx context.Context) SteeringPolicyAnswerArrayOutput

type SteeringPolicyAnswerInput

type SteeringPolicyAnswerInput interface {
	pulumi.Input

	ToSteeringPolicyAnswerOutput() SteeringPolicyAnswerOutput
	ToSteeringPolicyAnswerOutputWithContext(context.Context) SteeringPolicyAnswerOutput
}

SteeringPolicyAnswerInput is an input type that accepts SteeringPolicyAnswerArgs and SteeringPolicyAnswerOutput values. You can construct a concrete instance of `SteeringPolicyAnswerInput` via:

SteeringPolicyAnswerArgs{...}

type SteeringPolicyAnswerOutput

type SteeringPolicyAnswerOutput struct{ *pulumi.OutputState }

func (SteeringPolicyAnswerOutput) ElementType

func (SteeringPolicyAnswerOutput) ElementType() reflect.Type

func (SteeringPolicyAnswerOutput) IsDisabled

Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.

func (SteeringPolicyAnswerOutput) Name

A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`.

func (SteeringPolicyAnswerOutput) Pool

The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`.

func (SteeringPolicyAnswerOutput) Rdata

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (SteeringPolicyAnswerOutput) Rtype

The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (SteeringPolicyAnswerOutput) ToSteeringPolicyAnswerOutput

func (o SteeringPolicyAnswerOutput) ToSteeringPolicyAnswerOutput() SteeringPolicyAnswerOutput

func (SteeringPolicyAnswerOutput) ToSteeringPolicyAnswerOutputWithContext

func (o SteeringPolicyAnswerOutput) ToSteeringPolicyAnswerOutputWithContext(ctx context.Context) SteeringPolicyAnswerOutput

type SteeringPolicyArgs

type SteeringPolicyArgs struct {
	// The set of all answers that can potentially issue from the steering policy.
	Answers SteeringPolicyAnswerArrayInput
	// (Updatable) The OCID of the compartment containing the steering policy.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput
	// (Updatable) A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput
	// (Updatable) The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.
	//
	// **Note:** To use the Health Check monitoring feature in a steering policy, a monitor must be created using the Health Checks service first. For more information on how to create a monitor, please see [Managing Health Checks](https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
	HealthCheckMonitorId pulumi.StringPtrInput
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	//
	// The first rule receives a shuffled list of all answers, and every other rule receives the list of answers emitted by the one preceding it. The last rule populates the response.
	Rules SteeringPolicyRuleArrayInput
	// (Updatable) A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.
	//
	// **Example:** The `FAILOVER` template determines answers by filtering the policy's answers using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`, and `LIMIT`. This gives the domain dynamic failover capability.
	//
	// It is **strongly recommended** to use a template other than `CUSTOM` when creating a steering policy.
	//
	// All templates require the rule order to begin with an unconditional `FILTER` rule that keeps answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`. The last rule of a template must must be a `LIMIT` rule. For more information about templates and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
	//
	// **Template Types**
	Template pulumi.StringInput
	// (Updatable) The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Ttl pulumi.IntPtrInput
}

The set of arguments for constructing a SteeringPolicy resource.

func (SteeringPolicyArgs) ElementType

func (SteeringPolicyArgs) ElementType() reflect.Type

type SteeringPolicyArray

type SteeringPolicyArray []SteeringPolicyInput

func (SteeringPolicyArray) ElementType

func (SteeringPolicyArray) ElementType() reflect.Type

func (SteeringPolicyArray) ToSteeringPolicyArrayOutput

func (i SteeringPolicyArray) ToSteeringPolicyArrayOutput() SteeringPolicyArrayOutput

func (SteeringPolicyArray) ToSteeringPolicyArrayOutputWithContext

func (i SteeringPolicyArray) ToSteeringPolicyArrayOutputWithContext(ctx context.Context) SteeringPolicyArrayOutput

type SteeringPolicyArrayInput

type SteeringPolicyArrayInput interface {
	pulumi.Input

	ToSteeringPolicyArrayOutput() SteeringPolicyArrayOutput
	ToSteeringPolicyArrayOutputWithContext(context.Context) SteeringPolicyArrayOutput
}

SteeringPolicyArrayInput is an input type that accepts SteeringPolicyArray and SteeringPolicyArrayOutput values. You can construct a concrete instance of `SteeringPolicyArrayInput` via:

SteeringPolicyArray{ SteeringPolicyArgs{...} }

type SteeringPolicyArrayOutput

type SteeringPolicyArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyArrayOutput) ElementType

func (SteeringPolicyArrayOutput) ElementType() reflect.Type

func (SteeringPolicyArrayOutput) Index

func (SteeringPolicyArrayOutput) ToSteeringPolicyArrayOutput

func (o SteeringPolicyArrayOutput) ToSteeringPolicyArrayOutput() SteeringPolicyArrayOutput

func (SteeringPolicyArrayOutput) ToSteeringPolicyArrayOutputWithContext

func (o SteeringPolicyArrayOutput) ToSteeringPolicyArrayOutputWithContext(ctx context.Context) SteeringPolicyArrayOutput

type SteeringPolicyAttachment

type SteeringPolicyAttachment struct {
	pulumi.CustomResourceState

	// The OCID of the compartment containing the steering policy attachment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The attached domain within the attached zone. `domainName` is case insensitive.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
	Rtypes pulumi.StringArrayOutput `pulumi:"rtypes"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The OCID of the attached steering policy.
	SteeringPolicyId pulumi.StringOutput `pulumi:"steeringPolicyId"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The OCID of the attached zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneId pulumi.StringOutput `pulumi:"zoneId"`
}

This resource provides the Steering Policy Attachment resource in Oracle Cloud Infrastructure DNS service.

Creates a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain.

For the purposes of access control, the attachment is automatically placed into the same compartment as the domain's zone.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewSteeringPolicyAttachment(ctx, "test_steering_policy_attachment", &Dns.SteeringPolicyAttachmentArgs{
			DomainName:       pulumi.Any(steeringPolicyAttachmentDomainName),
			SteeringPolicyId: pulumi.Any(testSteeringPolicy.Id),
			ZoneId:           pulumi.Any(testZone.Id),
			DisplayName:      pulumi.Any(steeringPolicyAttachmentDisplayName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SteeringPolicyAttachments can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/steeringPolicyAttachment:SteeringPolicyAttachment test_steering_policy_attachment "id" ```

func GetSteeringPolicyAttachment

func GetSteeringPolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SteeringPolicyAttachmentState, opts ...pulumi.ResourceOption) (*SteeringPolicyAttachment, error)

GetSteeringPolicyAttachment gets an existing SteeringPolicyAttachment 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 NewSteeringPolicyAttachment

func NewSteeringPolicyAttachment(ctx *pulumi.Context,
	name string, args *SteeringPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*SteeringPolicyAttachment, error)

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

func (*SteeringPolicyAttachment) ElementType

func (*SteeringPolicyAttachment) ElementType() reflect.Type

func (*SteeringPolicyAttachment) ToSteeringPolicyAttachmentOutput

func (i *SteeringPolicyAttachment) ToSteeringPolicyAttachmentOutput() SteeringPolicyAttachmentOutput

func (*SteeringPolicyAttachment) ToSteeringPolicyAttachmentOutputWithContext

func (i *SteeringPolicyAttachment) ToSteeringPolicyAttachmentOutputWithContext(ctx context.Context) SteeringPolicyAttachmentOutput

type SteeringPolicyAttachmentArgs

type SteeringPolicyAttachmentArgs struct {
	// (Updatable) A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// The attached domain within the attached zone. `domainName` is case insensitive.
	DomainName pulumi.StringInput
	// The OCID of the attached steering policy.
	SteeringPolicyId pulumi.StringInput
	// The OCID of the attached zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneId pulumi.StringInput
}

The set of arguments for constructing a SteeringPolicyAttachment resource.

func (SteeringPolicyAttachmentArgs) ElementType

type SteeringPolicyAttachmentArray

type SteeringPolicyAttachmentArray []SteeringPolicyAttachmentInput

func (SteeringPolicyAttachmentArray) ElementType

func (SteeringPolicyAttachmentArray) ToSteeringPolicyAttachmentArrayOutput

func (i SteeringPolicyAttachmentArray) ToSteeringPolicyAttachmentArrayOutput() SteeringPolicyAttachmentArrayOutput

func (SteeringPolicyAttachmentArray) ToSteeringPolicyAttachmentArrayOutputWithContext

func (i SteeringPolicyAttachmentArray) ToSteeringPolicyAttachmentArrayOutputWithContext(ctx context.Context) SteeringPolicyAttachmentArrayOutput

type SteeringPolicyAttachmentArrayInput

type SteeringPolicyAttachmentArrayInput interface {
	pulumi.Input

	ToSteeringPolicyAttachmentArrayOutput() SteeringPolicyAttachmentArrayOutput
	ToSteeringPolicyAttachmentArrayOutputWithContext(context.Context) SteeringPolicyAttachmentArrayOutput
}

SteeringPolicyAttachmentArrayInput is an input type that accepts SteeringPolicyAttachmentArray and SteeringPolicyAttachmentArrayOutput values. You can construct a concrete instance of `SteeringPolicyAttachmentArrayInput` via:

SteeringPolicyAttachmentArray{ SteeringPolicyAttachmentArgs{...} }

type SteeringPolicyAttachmentArrayOutput

type SteeringPolicyAttachmentArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyAttachmentArrayOutput) ElementType

func (SteeringPolicyAttachmentArrayOutput) Index

func (SteeringPolicyAttachmentArrayOutput) ToSteeringPolicyAttachmentArrayOutput

func (o SteeringPolicyAttachmentArrayOutput) ToSteeringPolicyAttachmentArrayOutput() SteeringPolicyAttachmentArrayOutput

func (SteeringPolicyAttachmentArrayOutput) ToSteeringPolicyAttachmentArrayOutputWithContext

func (o SteeringPolicyAttachmentArrayOutput) ToSteeringPolicyAttachmentArrayOutputWithContext(ctx context.Context) SteeringPolicyAttachmentArrayOutput

type SteeringPolicyAttachmentInput

type SteeringPolicyAttachmentInput interface {
	pulumi.Input

	ToSteeringPolicyAttachmentOutput() SteeringPolicyAttachmentOutput
	ToSteeringPolicyAttachmentOutputWithContext(ctx context.Context) SteeringPolicyAttachmentOutput
}

type SteeringPolicyAttachmentMap

type SteeringPolicyAttachmentMap map[string]SteeringPolicyAttachmentInput

func (SteeringPolicyAttachmentMap) ElementType

func (SteeringPolicyAttachmentMap) ToSteeringPolicyAttachmentMapOutput

func (i SteeringPolicyAttachmentMap) ToSteeringPolicyAttachmentMapOutput() SteeringPolicyAttachmentMapOutput

func (SteeringPolicyAttachmentMap) ToSteeringPolicyAttachmentMapOutputWithContext

func (i SteeringPolicyAttachmentMap) ToSteeringPolicyAttachmentMapOutputWithContext(ctx context.Context) SteeringPolicyAttachmentMapOutput

type SteeringPolicyAttachmentMapInput

type SteeringPolicyAttachmentMapInput interface {
	pulumi.Input

	ToSteeringPolicyAttachmentMapOutput() SteeringPolicyAttachmentMapOutput
	ToSteeringPolicyAttachmentMapOutputWithContext(context.Context) SteeringPolicyAttachmentMapOutput
}

SteeringPolicyAttachmentMapInput is an input type that accepts SteeringPolicyAttachmentMap and SteeringPolicyAttachmentMapOutput values. You can construct a concrete instance of `SteeringPolicyAttachmentMapInput` via:

SteeringPolicyAttachmentMap{ "key": SteeringPolicyAttachmentArgs{...} }

type SteeringPolicyAttachmentMapOutput

type SteeringPolicyAttachmentMapOutput struct{ *pulumi.OutputState }

func (SteeringPolicyAttachmentMapOutput) ElementType

func (SteeringPolicyAttachmentMapOutput) MapIndex

func (SteeringPolicyAttachmentMapOutput) ToSteeringPolicyAttachmentMapOutput

func (o SteeringPolicyAttachmentMapOutput) ToSteeringPolicyAttachmentMapOutput() SteeringPolicyAttachmentMapOutput

func (SteeringPolicyAttachmentMapOutput) ToSteeringPolicyAttachmentMapOutputWithContext

func (o SteeringPolicyAttachmentMapOutput) ToSteeringPolicyAttachmentMapOutputWithContext(ctx context.Context) SteeringPolicyAttachmentMapOutput

type SteeringPolicyAttachmentOutput

type SteeringPolicyAttachmentOutput struct{ *pulumi.OutputState }

func (SteeringPolicyAttachmentOutput) CompartmentId added in v0.4.0

The OCID of the compartment containing the steering policy attachment.

func (SteeringPolicyAttachmentOutput) DisplayName added in v0.4.0

(Updatable) A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.

func (SteeringPolicyAttachmentOutput) DomainName added in v0.4.0

The attached domain within the attached zone. `domainName` is case insensitive.

func (SteeringPolicyAttachmentOutput) ElementType

func (SteeringPolicyAttachmentOutput) Rtypes added in v0.4.0

The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.

func (SteeringPolicyAttachmentOutput) Self added in v0.4.0

The canonical absolute URL of the resource.

func (SteeringPolicyAttachmentOutput) State added in v0.4.0

The current state of the resource.

func (SteeringPolicyAttachmentOutput) SteeringPolicyId added in v0.4.0

func (o SteeringPolicyAttachmentOutput) SteeringPolicyId() pulumi.StringOutput

The OCID of the attached steering policy.

func (SteeringPolicyAttachmentOutput) TimeCreated added in v0.4.0

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (SteeringPolicyAttachmentOutput) ToSteeringPolicyAttachmentOutput

func (o SteeringPolicyAttachmentOutput) ToSteeringPolicyAttachmentOutput() SteeringPolicyAttachmentOutput

func (SteeringPolicyAttachmentOutput) ToSteeringPolicyAttachmentOutputWithContext

func (o SteeringPolicyAttachmentOutput) ToSteeringPolicyAttachmentOutputWithContext(ctx context.Context) SteeringPolicyAttachmentOutput

func (SteeringPolicyAttachmentOutput) ZoneId added in v0.4.0

The OCID of the attached zone.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type SteeringPolicyAttachmentState

type SteeringPolicyAttachmentState struct {
	// The OCID of the compartment containing the steering policy attachment.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// The attached domain within the attached zone. `domainName` is case insensitive.
	DomainName pulumi.StringPtrInput
	// The record types covered by the attachment at the domain. The set of record types is determined by aggregating the record types from the answers defined in the steering policy.
	Rtypes pulumi.StringArrayInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// The OCID of the attached steering policy.
	SteeringPolicyId pulumi.StringPtrInput
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringPtrInput
	// The OCID of the attached zone.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneId pulumi.StringPtrInput
}

func (SteeringPolicyAttachmentState) ElementType

type SteeringPolicyInput

type SteeringPolicyInput interface {
	pulumi.Input

	ToSteeringPolicyOutput() SteeringPolicyOutput
	ToSteeringPolicyOutputWithContext(ctx context.Context) SteeringPolicyOutput
}

type SteeringPolicyMap

type SteeringPolicyMap map[string]SteeringPolicyInput

func (SteeringPolicyMap) ElementType

func (SteeringPolicyMap) ElementType() reflect.Type

func (SteeringPolicyMap) ToSteeringPolicyMapOutput

func (i SteeringPolicyMap) ToSteeringPolicyMapOutput() SteeringPolicyMapOutput

func (SteeringPolicyMap) ToSteeringPolicyMapOutputWithContext

func (i SteeringPolicyMap) ToSteeringPolicyMapOutputWithContext(ctx context.Context) SteeringPolicyMapOutput

type SteeringPolicyMapInput

type SteeringPolicyMapInput interface {
	pulumi.Input

	ToSteeringPolicyMapOutput() SteeringPolicyMapOutput
	ToSteeringPolicyMapOutputWithContext(context.Context) SteeringPolicyMapOutput
}

SteeringPolicyMapInput is an input type that accepts SteeringPolicyMap and SteeringPolicyMapOutput values. You can construct a concrete instance of `SteeringPolicyMapInput` via:

SteeringPolicyMap{ "key": SteeringPolicyArgs{...} }

type SteeringPolicyMapOutput

type SteeringPolicyMapOutput struct{ *pulumi.OutputState }

func (SteeringPolicyMapOutput) ElementType

func (SteeringPolicyMapOutput) ElementType() reflect.Type

func (SteeringPolicyMapOutput) MapIndex

func (SteeringPolicyMapOutput) ToSteeringPolicyMapOutput

func (o SteeringPolicyMapOutput) ToSteeringPolicyMapOutput() SteeringPolicyMapOutput

func (SteeringPolicyMapOutput) ToSteeringPolicyMapOutputWithContext

func (o SteeringPolicyMapOutput) ToSteeringPolicyMapOutputWithContext(ctx context.Context) SteeringPolicyMapOutput

type SteeringPolicyOutput

type SteeringPolicyOutput struct{ *pulumi.OutputState }

func (SteeringPolicyOutput) Answers added in v0.4.0

The set of all answers that can potentially issue from the steering policy.

func (SteeringPolicyOutput) CompartmentId added in v0.4.0

func (o SteeringPolicyOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment containing the steering policy.

func (SteeringPolicyOutput) DefinedTags added in v0.4.0

func (o SteeringPolicyOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (SteeringPolicyOutput) DisplayName added in v0.4.0

func (o SteeringPolicyOutput) DisplayName() pulumi.StringOutput

(Updatable) A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.

func (SteeringPolicyOutput) ElementType

func (SteeringPolicyOutput) ElementType() reflect.Type

func (SteeringPolicyOutput) FreeformTags added in v0.4.0

func (o SteeringPolicyOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

func (SteeringPolicyOutput) HealthCheckMonitorId added in v0.4.0

func (o SteeringPolicyOutput) HealthCheckMonitorId() pulumi.StringOutput

(Updatable) The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.

**Note:** To use the Health Check monitoring feature in a steering policy, a monitor must be created using the Health Checks service first. For more information on how to create a monitor, please see [Managing Health Checks](https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).

func (SteeringPolicyOutput) Rules added in v0.4.0

The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.

The first rule receives a shuffled list of all answers, and every other rule receives the list of answers emitted by the one preceding it. The last rule populates the response.

func (SteeringPolicyOutput) Self added in v0.4.0

The canonical absolute URL of the resource.

func (SteeringPolicyOutput) State added in v0.4.0

The current state of the resource.

func (SteeringPolicyOutput) Template added in v0.4.0

(Updatable) A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.

**Example:** The `FAILOVER` template determines answers by filtering the policy's answers using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`, and `LIMIT`. This gives the domain dynamic failover capability.

It is **strongly recommended** to use a template other than `CUSTOM` when creating a steering policy.

All templates require the rule order to begin with an unconditional `FILTER` rule that keeps answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`. The last rule of a template must must be a `LIMIT` rule. For more information about templates and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).

**Template Types**

func (SteeringPolicyOutput) TimeCreated added in v0.4.0

func (o SteeringPolicyOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (SteeringPolicyOutput) ToSteeringPolicyOutput

func (o SteeringPolicyOutput) ToSteeringPolicyOutput() SteeringPolicyOutput

func (SteeringPolicyOutput) ToSteeringPolicyOutputWithContext

func (o SteeringPolicyOutput) ToSteeringPolicyOutputWithContext(ctx context.Context) SteeringPolicyOutput

func (SteeringPolicyOutput) Ttl added in v0.4.0

(Updatable) The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type SteeringPolicyRule

type SteeringPolicyRule struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases []SteeringPolicyRuleCase `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas []SteeringPolicyRuleDefaultAnswerData `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount *int `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description *string `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType string `pulumi:"ruleType"`
}

type SteeringPolicyRuleArgs

type SteeringPolicyRuleArgs struct {
	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.
	Cases SteeringPolicyRuleCaseArrayInput `pulumi:"cases"`
	// Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerDatas SteeringPolicyRuleDefaultAnswerDataArrayInput `pulumi:"defaultAnswerDatas"`
	// Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount pulumi.IntPtrInput `pulumi:"defaultCount"`
	// A user-defined description of the rule's purpose or behavior.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The type of a rule determines its sorting/filtering behavior.
	RuleType pulumi.StringInput `pulumi:"ruleType"`
}

func (SteeringPolicyRuleArgs) ElementType

func (SteeringPolicyRuleArgs) ElementType() reflect.Type

func (SteeringPolicyRuleArgs) ToSteeringPolicyRuleOutput

func (i SteeringPolicyRuleArgs) ToSteeringPolicyRuleOutput() SteeringPolicyRuleOutput

func (SteeringPolicyRuleArgs) ToSteeringPolicyRuleOutputWithContext

func (i SteeringPolicyRuleArgs) ToSteeringPolicyRuleOutputWithContext(ctx context.Context) SteeringPolicyRuleOutput

type SteeringPolicyRuleArray

type SteeringPolicyRuleArray []SteeringPolicyRuleInput

func (SteeringPolicyRuleArray) ElementType

func (SteeringPolicyRuleArray) ElementType() reflect.Type

func (SteeringPolicyRuleArray) ToSteeringPolicyRuleArrayOutput

func (i SteeringPolicyRuleArray) ToSteeringPolicyRuleArrayOutput() SteeringPolicyRuleArrayOutput

func (SteeringPolicyRuleArray) ToSteeringPolicyRuleArrayOutputWithContext

func (i SteeringPolicyRuleArray) ToSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleArrayOutput

type SteeringPolicyRuleArrayInput

type SteeringPolicyRuleArrayInput interface {
	pulumi.Input

	ToSteeringPolicyRuleArrayOutput() SteeringPolicyRuleArrayOutput
	ToSteeringPolicyRuleArrayOutputWithContext(context.Context) SteeringPolicyRuleArrayOutput
}

SteeringPolicyRuleArrayInput is an input type that accepts SteeringPolicyRuleArray and SteeringPolicyRuleArrayOutput values. You can construct a concrete instance of `SteeringPolicyRuleArrayInput` via:

SteeringPolicyRuleArray{ SteeringPolicyRuleArgs{...} }

type SteeringPolicyRuleArrayOutput

type SteeringPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleArrayOutput) ElementType

func (SteeringPolicyRuleArrayOutput) Index

func (SteeringPolicyRuleArrayOutput) ToSteeringPolicyRuleArrayOutput

func (o SteeringPolicyRuleArrayOutput) ToSteeringPolicyRuleArrayOutput() SteeringPolicyRuleArrayOutput

func (SteeringPolicyRuleArrayOutput) ToSteeringPolicyRuleArrayOutputWithContext

func (o SteeringPolicyRuleArrayOutput) ToSteeringPolicyRuleArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleArrayOutput

type SteeringPolicyRuleCase

type SteeringPolicyRuleCase struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas []SteeringPolicyRuleCaseAnswerData `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition *string `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count *int `pulumi:"count"`
}

type SteeringPolicyRuleCaseAnswerData

type SteeringPolicyRuleCaseAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition *string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep *bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value *int `pulumi:"value"`
}

type SteeringPolicyRuleCaseAnswerDataArgs

type SteeringPolicyRuleCaseAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringPtrInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolPtrInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (SteeringPolicyRuleCaseAnswerDataArgs) ElementType

func (SteeringPolicyRuleCaseAnswerDataArgs) ToSteeringPolicyRuleCaseAnswerDataOutput

func (i SteeringPolicyRuleCaseAnswerDataArgs) ToSteeringPolicyRuleCaseAnswerDataOutput() SteeringPolicyRuleCaseAnswerDataOutput

func (SteeringPolicyRuleCaseAnswerDataArgs) ToSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (i SteeringPolicyRuleCaseAnswerDataArgs) ToSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseAnswerDataOutput

type SteeringPolicyRuleCaseAnswerDataArray

type SteeringPolicyRuleCaseAnswerDataArray []SteeringPolicyRuleCaseAnswerDataInput

func (SteeringPolicyRuleCaseAnswerDataArray) ElementType

func (SteeringPolicyRuleCaseAnswerDataArray) ToSteeringPolicyRuleCaseAnswerDataArrayOutput

func (i SteeringPolicyRuleCaseAnswerDataArray) ToSteeringPolicyRuleCaseAnswerDataArrayOutput() SteeringPolicyRuleCaseAnswerDataArrayOutput

func (SteeringPolicyRuleCaseAnswerDataArray) ToSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (i SteeringPolicyRuleCaseAnswerDataArray) ToSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseAnswerDataArrayOutput

type SteeringPolicyRuleCaseAnswerDataArrayInput

type SteeringPolicyRuleCaseAnswerDataArrayInput interface {
	pulumi.Input

	ToSteeringPolicyRuleCaseAnswerDataArrayOutput() SteeringPolicyRuleCaseAnswerDataArrayOutput
	ToSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(context.Context) SteeringPolicyRuleCaseAnswerDataArrayOutput
}

SteeringPolicyRuleCaseAnswerDataArrayInput is an input type that accepts SteeringPolicyRuleCaseAnswerDataArray and SteeringPolicyRuleCaseAnswerDataArrayOutput values. You can construct a concrete instance of `SteeringPolicyRuleCaseAnswerDataArrayInput` via:

SteeringPolicyRuleCaseAnswerDataArray{ SteeringPolicyRuleCaseAnswerDataArgs{...} }

type SteeringPolicyRuleCaseAnswerDataArrayOutput

type SteeringPolicyRuleCaseAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleCaseAnswerDataArrayOutput) ElementType

func (SteeringPolicyRuleCaseAnswerDataArrayOutput) Index

func (SteeringPolicyRuleCaseAnswerDataArrayOutput) ToSteeringPolicyRuleCaseAnswerDataArrayOutput

func (o SteeringPolicyRuleCaseAnswerDataArrayOutput) ToSteeringPolicyRuleCaseAnswerDataArrayOutput() SteeringPolicyRuleCaseAnswerDataArrayOutput

func (SteeringPolicyRuleCaseAnswerDataArrayOutput) ToSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext

func (o SteeringPolicyRuleCaseAnswerDataArrayOutput) ToSteeringPolicyRuleCaseAnswerDataArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseAnswerDataArrayOutput

type SteeringPolicyRuleCaseAnswerDataInput

type SteeringPolicyRuleCaseAnswerDataInput interface {
	pulumi.Input

	ToSteeringPolicyRuleCaseAnswerDataOutput() SteeringPolicyRuleCaseAnswerDataOutput
	ToSteeringPolicyRuleCaseAnswerDataOutputWithContext(context.Context) SteeringPolicyRuleCaseAnswerDataOutput
}

SteeringPolicyRuleCaseAnswerDataInput is an input type that accepts SteeringPolicyRuleCaseAnswerDataArgs and SteeringPolicyRuleCaseAnswerDataOutput values. You can construct a concrete instance of `SteeringPolicyRuleCaseAnswerDataInput` via:

SteeringPolicyRuleCaseAnswerDataArgs{...}

type SteeringPolicyRuleCaseAnswerDataOutput

type SteeringPolicyRuleCaseAnswerDataOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleCaseAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (SteeringPolicyRuleCaseAnswerDataOutput) ElementType

func (SteeringPolicyRuleCaseAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (SteeringPolicyRuleCaseAnswerDataOutput) ToSteeringPolicyRuleCaseAnswerDataOutput

func (o SteeringPolicyRuleCaseAnswerDataOutput) ToSteeringPolicyRuleCaseAnswerDataOutput() SteeringPolicyRuleCaseAnswerDataOutput

func (SteeringPolicyRuleCaseAnswerDataOutput) ToSteeringPolicyRuleCaseAnswerDataOutputWithContext

func (o SteeringPolicyRuleCaseAnswerDataOutput) ToSteeringPolicyRuleCaseAnswerDataOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseAnswerDataOutput

func (SteeringPolicyRuleCaseAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type SteeringPolicyRuleCaseArgs

type SteeringPolicyRuleCaseArgs struct {
	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerDatas SteeringPolicyRuleCaseAnswerDataArrayInput `pulumi:"answerDatas"`
	// An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.
	CaseCondition pulumi.StringPtrInput `pulumi:"caseCondition"`
	// The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.
	Count pulumi.IntPtrInput `pulumi:"count"`
}

func (SteeringPolicyRuleCaseArgs) ElementType

func (SteeringPolicyRuleCaseArgs) ElementType() reflect.Type

func (SteeringPolicyRuleCaseArgs) ToSteeringPolicyRuleCaseOutput

func (i SteeringPolicyRuleCaseArgs) ToSteeringPolicyRuleCaseOutput() SteeringPolicyRuleCaseOutput

func (SteeringPolicyRuleCaseArgs) ToSteeringPolicyRuleCaseOutputWithContext

func (i SteeringPolicyRuleCaseArgs) ToSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseOutput

type SteeringPolicyRuleCaseArray

type SteeringPolicyRuleCaseArray []SteeringPolicyRuleCaseInput

func (SteeringPolicyRuleCaseArray) ElementType

func (SteeringPolicyRuleCaseArray) ToSteeringPolicyRuleCaseArrayOutput

func (i SteeringPolicyRuleCaseArray) ToSteeringPolicyRuleCaseArrayOutput() SteeringPolicyRuleCaseArrayOutput

func (SteeringPolicyRuleCaseArray) ToSteeringPolicyRuleCaseArrayOutputWithContext

func (i SteeringPolicyRuleCaseArray) ToSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseArrayOutput

type SteeringPolicyRuleCaseArrayInput

type SteeringPolicyRuleCaseArrayInput interface {
	pulumi.Input

	ToSteeringPolicyRuleCaseArrayOutput() SteeringPolicyRuleCaseArrayOutput
	ToSteeringPolicyRuleCaseArrayOutputWithContext(context.Context) SteeringPolicyRuleCaseArrayOutput
}

SteeringPolicyRuleCaseArrayInput is an input type that accepts SteeringPolicyRuleCaseArray and SteeringPolicyRuleCaseArrayOutput values. You can construct a concrete instance of `SteeringPolicyRuleCaseArrayInput` via:

SteeringPolicyRuleCaseArray{ SteeringPolicyRuleCaseArgs{...} }

type SteeringPolicyRuleCaseArrayOutput

type SteeringPolicyRuleCaseArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleCaseArrayOutput) ElementType

func (SteeringPolicyRuleCaseArrayOutput) Index

func (SteeringPolicyRuleCaseArrayOutput) ToSteeringPolicyRuleCaseArrayOutput

func (o SteeringPolicyRuleCaseArrayOutput) ToSteeringPolicyRuleCaseArrayOutput() SteeringPolicyRuleCaseArrayOutput

func (SteeringPolicyRuleCaseArrayOutput) ToSteeringPolicyRuleCaseArrayOutputWithContext

func (o SteeringPolicyRuleCaseArrayOutput) ToSteeringPolicyRuleCaseArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseArrayOutput

type SteeringPolicyRuleCaseInput

type SteeringPolicyRuleCaseInput interface {
	pulumi.Input

	ToSteeringPolicyRuleCaseOutput() SteeringPolicyRuleCaseOutput
	ToSteeringPolicyRuleCaseOutputWithContext(context.Context) SteeringPolicyRuleCaseOutput
}

SteeringPolicyRuleCaseInput is an input type that accepts SteeringPolicyRuleCaseArgs and SteeringPolicyRuleCaseOutput values. You can construct a concrete instance of `SteeringPolicyRuleCaseInput` via:

SteeringPolicyRuleCaseArgs{...}

type SteeringPolicyRuleCaseOutput

type SteeringPolicyRuleCaseOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleCaseOutput) AnswerDatas

An array of `SteeringPolicyPriorityAnswerData` objects.

func (SteeringPolicyRuleCaseOutput) CaseCondition

An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office.

func (SteeringPolicyRuleCaseOutput) Count

The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed.

func (SteeringPolicyRuleCaseOutput) ElementType

func (SteeringPolicyRuleCaseOutput) ToSteeringPolicyRuleCaseOutput

func (o SteeringPolicyRuleCaseOutput) ToSteeringPolicyRuleCaseOutput() SteeringPolicyRuleCaseOutput

func (SteeringPolicyRuleCaseOutput) ToSteeringPolicyRuleCaseOutputWithContext

func (o SteeringPolicyRuleCaseOutput) ToSteeringPolicyRuleCaseOutputWithContext(ctx context.Context) SteeringPolicyRuleCaseOutput

type SteeringPolicyRuleDefaultAnswerData

type SteeringPolicyRuleDefaultAnswerData struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition *string `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep *bool `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value *int `pulumi:"value"`
}

type SteeringPolicyRuleDefaultAnswerDataArgs

type SteeringPolicyRuleDefaultAnswerDataArgs struct {
	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition pulumi.StringPtrInput `pulumi:"answerCondition"`
	// Keeps the answer only if the value is `true`.
	ShouldKeep pulumi.BoolPtrInput `pulumi:"shouldKeep"`
	// The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value pulumi.IntPtrInput `pulumi:"value"`
}

func (SteeringPolicyRuleDefaultAnswerDataArgs) ElementType

func (SteeringPolicyRuleDefaultAnswerDataArgs) ToSteeringPolicyRuleDefaultAnswerDataOutput

func (i SteeringPolicyRuleDefaultAnswerDataArgs) ToSteeringPolicyRuleDefaultAnswerDataOutput() SteeringPolicyRuleDefaultAnswerDataOutput

func (SteeringPolicyRuleDefaultAnswerDataArgs) ToSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (i SteeringPolicyRuleDefaultAnswerDataArgs) ToSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) SteeringPolicyRuleDefaultAnswerDataOutput

type SteeringPolicyRuleDefaultAnswerDataArray

type SteeringPolicyRuleDefaultAnswerDataArray []SteeringPolicyRuleDefaultAnswerDataInput

func (SteeringPolicyRuleDefaultAnswerDataArray) ElementType

func (SteeringPolicyRuleDefaultAnswerDataArray) ToSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (i SteeringPolicyRuleDefaultAnswerDataArray) ToSteeringPolicyRuleDefaultAnswerDataArrayOutput() SteeringPolicyRuleDefaultAnswerDataArrayOutput

func (SteeringPolicyRuleDefaultAnswerDataArray) ToSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (i SteeringPolicyRuleDefaultAnswerDataArray) ToSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleDefaultAnswerDataArrayOutput

type SteeringPolicyRuleDefaultAnswerDataArrayInput

type SteeringPolicyRuleDefaultAnswerDataArrayInput interface {
	pulumi.Input

	ToSteeringPolicyRuleDefaultAnswerDataArrayOutput() SteeringPolicyRuleDefaultAnswerDataArrayOutput
	ToSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(context.Context) SteeringPolicyRuleDefaultAnswerDataArrayOutput
}

SteeringPolicyRuleDefaultAnswerDataArrayInput is an input type that accepts SteeringPolicyRuleDefaultAnswerDataArray and SteeringPolicyRuleDefaultAnswerDataArrayOutput values. You can construct a concrete instance of `SteeringPolicyRuleDefaultAnswerDataArrayInput` via:

SteeringPolicyRuleDefaultAnswerDataArray{ SteeringPolicyRuleDefaultAnswerDataArgs{...} }

type SteeringPolicyRuleDefaultAnswerDataArrayOutput

type SteeringPolicyRuleDefaultAnswerDataArrayOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleDefaultAnswerDataArrayOutput) ElementType

func (SteeringPolicyRuleDefaultAnswerDataArrayOutput) Index

func (SteeringPolicyRuleDefaultAnswerDataArrayOutput) ToSteeringPolicyRuleDefaultAnswerDataArrayOutput

func (o SteeringPolicyRuleDefaultAnswerDataArrayOutput) ToSteeringPolicyRuleDefaultAnswerDataArrayOutput() SteeringPolicyRuleDefaultAnswerDataArrayOutput

func (SteeringPolicyRuleDefaultAnswerDataArrayOutput) ToSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext

func (o SteeringPolicyRuleDefaultAnswerDataArrayOutput) ToSteeringPolicyRuleDefaultAnswerDataArrayOutputWithContext(ctx context.Context) SteeringPolicyRuleDefaultAnswerDataArrayOutput

type SteeringPolicyRuleDefaultAnswerDataInput

type SteeringPolicyRuleDefaultAnswerDataInput interface {
	pulumi.Input

	ToSteeringPolicyRuleDefaultAnswerDataOutput() SteeringPolicyRuleDefaultAnswerDataOutput
	ToSteeringPolicyRuleDefaultAnswerDataOutputWithContext(context.Context) SteeringPolicyRuleDefaultAnswerDataOutput
}

SteeringPolicyRuleDefaultAnswerDataInput is an input type that accepts SteeringPolicyRuleDefaultAnswerDataArgs and SteeringPolicyRuleDefaultAnswerDataOutput values. You can construct a concrete instance of `SteeringPolicyRuleDefaultAnswerDataInput` via:

SteeringPolicyRuleDefaultAnswerDataArgs{...}

type SteeringPolicyRuleDefaultAnswerDataOutput

type SteeringPolicyRuleDefaultAnswerDataOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleDefaultAnswerDataOutput) AnswerCondition

An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

func (SteeringPolicyRuleDefaultAnswerDataOutput) ElementType

func (SteeringPolicyRuleDefaultAnswerDataOutput) ShouldKeep

Keeps the answer only if the value is `true`.

func (SteeringPolicyRuleDefaultAnswerDataOutput) ToSteeringPolicyRuleDefaultAnswerDataOutput

func (o SteeringPolicyRuleDefaultAnswerDataOutput) ToSteeringPolicyRuleDefaultAnswerDataOutput() SteeringPolicyRuleDefaultAnswerDataOutput

func (SteeringPolicyRuleDefaultAnswerDataOutput) ToSteeringPolicyRuleDefaultAnswerDataOutputWithContext

func (o SteeringPolicyRuleDefaultAnswerDataOutput) ToSteeringPolicyRuleDefaultAnswerDataOutputWithContext(ctx context.Context) SteeringPolicyRuleDefaultAnswerDataOutput

func (SteeringPolicyRuleDefaultAnswerDataOutput) Value

The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`.

type SteeringPolicyRuleInput

type SteeringPolicyRuleInput interface {
	pulumi.Input

	ToSteeringPolicyRuleOutput() SteeringPolicyRuleOutput
	ToSteeringPolicyRuleOutputWithContext(context.Context) SteeringPolicyRuleOutput
}

SteeringPolicyRuleInput is an input type that accepts SteeringPolicyRuleArgs and SteeringPolicyRuleOutput values. You can construct a concrete instance of `SteeringPolicyRuleInput` via:

SteeringPolicyRuleArgs{...}

type SteeringPolicyRuleOutput

type SteeringPolicyRuleOutput struct{ *pulumi.OutputState }

func (SteeringPolicyRuleOutput) Cases

An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate configurations for how it should behave during processing for any given DNS query. When a rule has no sequence of `cases`, it is always evaluated with the same configuration during processing. When a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a non-empty sequence of `cases`, its behavior during processing is configured by the first matching `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression evaluates to true for the given query.

func (SteeringPolicyRuleOutput) DefaultAnswerDatas

Defines a default set of answer conditions and values that are applied to an answer when `cases` is not defined for the rule, or a matching case does not have any matching `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed.

func (SteeringPolicyRuleOutput) DefaultCount

func (o SteeringPolicyRuleOutput) DefaultCount() pulumi.IntPtrOutput

Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers.

func (SteeringPolicyRuleOutput) Description

A user-defined description of the rule's purpose or behavior.

func (SteeringPolicyRuleOutput) ElementType

func (SteeringPolicyRuleOutput) ElementType() reflect.Type

func (SteeringPolicyRuleOutput) RuleType

The type of a rule determines its sorting/filtering behavior.

func (SteeringPolicyRuleOutput) ToSteeringPolicyRuleOutput

func (o SteeringPolicyRuleOutput) ToSteeringPolicyRuleOutput() SteeringPolicyRuleOutput

func (SteeringPolicyRuleOutput) ToSteeringPolicyRuleOutputWithContext

func (o SteeringPolicyRuleOutput) ToSteeringPolicyRuleOutputWithContext(ctx context.Context) SteeringPolicyRuleOutput

type SteeringPolicyState

type SteeringPolicyState struct {
	// The set of all answers that can potentially issue from the steering policy.
	Answers SteeringPolicyAnswerArrayInput
	// (Updatable) The OCID of the compartment containing the steering policy.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	DefinedTags pulumi.MapInput
	// (Updatable) A user-friendly name for the steering policy. Does not have to be unique and can be changed. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	FreeformTags pulumi.MapInput
	// (Updatable) The OCID of the health check monitor providing health data about the answers of the steering policy. A steering policy answer with `rdata` matching a monitored endpoint will use the health data of that endpoint. A steering policy answer with `rdata` not matching any monitored endpoint will be assumed healthy.
	//
	// **Note:** To use the Health Check monitoring feature in a steering policy, a monitor must be created using the Health Checks service first. For more information on how to create a monitor, please see [Managing Health Checks](https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
	HealthCheckMonitorId pulumi.StringPtrInput
	// The series of rules that will be processed in sequence to reduce the pool of answers to a response for any given request.
	//
	// The first rule receives a shuffled list of all answers, and every other rule receives the list of answers emitted by the one preceding it. The last rule populates the response.
	Rules SteeringPolicyRuleArrayInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// (Updatable) A set of predefined rules based on the desired purpose of the steering policy. Each template utilizes Traffic Management's rules in a different order to produce the desired results when answering DNS queries.
	//
	// **Example:** The `FAILOVER` template determines answers by filtering the policy's answers using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`, and `LIMIT`. This gives the domain dynamic failover capability.
	//
	// It is **strongly recommended** to use a template other than `CUSTOM` when creating a steering policy.
	//
	// All templates require the rule order to begin with an unconditional `FILTER` rule that keeps answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`. The last rule of a template must must be a `LIMIT` rule. For more information about templates and code examples, see [Traffic Management API Guide](https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
	//
	// **Template Types**
	Template pulumi.StringPtrInput
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringPtrInput
	// (Updatable) The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Ttl pulumi.IntPtrInput
}

func (SteeringPolicyState) ElementType

func (SteeringPolicyState) ElementType() reflect.Type

type TsigKey

type TsigKey struct {
	pulumi.CustomResourceState

	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm pulumi.StringOutput `pulumi:"algorithm"`
	// (Updatable) The OCID of the compartment containing the TSIG key.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A globally unique domain name identifying the key for a given pair of hosts.
	Name pulumi.StringOutput `pulumi:"name"`
	// A base64 string encoding the binary shared secret.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Secret pulumi.StringOutput `pulumi:"secret"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Tsig Key resource in Oracle Cloud Infrastructure DNS service.

Creates a new TSIG key in the specified compartment. There is no `opc-retry-token` header since TSIG key names must be globally unique.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewTsigKey(ctx, "test_tsig_key", &Dns.TsigKeyArgs{
			Algorithm:     pulumi.Any(tsigKeyAlgorithm),
			CompartmentId: pulumi.Any(compartmentId),
			Name:          pulumi.Any(tsigKeyName),
			Secret:        pulumi.Any(tsigKeySecret),
			DefinedTags:   pulumi.Any(tsigKeyDefinedTags),
			FreeformTags:  pulumi.Any(tsigKeyFreeformTags),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

TsigKeys can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/tsigKey:TsigKey test_tsig_key "id" ```

func GetTsigKey

func GetTsigKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TsigKeyState, opts ...pulumi.ResourceOption) (*TsigKey, error)

GetTsigKey gets an existing TsigKey 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 NewTsigKey

func NewTsigKey(ctx *pulumi.Context,
	name string, args *TsigKeyArgs, opts ...pulumi.ResourceOption) (*TsigKey, error)

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

func (*TsigKey) ElementType

func (*TsigKey) ElementType() reflect.Type

func (*TsigKey) ToTsigKeyOutput

func (i *TsigKey) ToTsigKeyOutput() TsigKeyOutput

func (*TsigKey) ToTsigKeyOutputWithContext

func (i *TsigKey) ToTsigKeyOutputWithContext(ctx context.Context) TsigKeyOutput

type TsigKeyArgs

type TsigKeyArgs struct {
	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm pulumi.StringInput
	// (Updatable) The OCID of the compartment containing the TSIG key.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A globally unique domain name identifying the key for a given pair of hosts.
	Name pulumi.StringPtrInput
	// A base64 string encoding the binary shared secret.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Secret pulumi.StringInput
}

The set of arguments for constructing a TsigKey resource.

func (TsigKeyArgs) ElementType

func (TsigKeyArgs) ElementType() reflect.Type

type TsigKeyArray

type TsigKeyArray []TsigKeyInput

func (TsigKeyArray) ElementType

func (TsigKeyArray) ElementType() reflect.Type

func (TsigKeyArray) ToTsigKeyArrayOutput

func (i TsigKeyArray) ToTsigKeyArrayOutput() TsigKeyArrayOutput

func (TsigKeyArray) ToTsigKeyArrayOutputWithContext

func (i TsigKeyArray) ToTsigKeyArrayOutputWithContext(ctx context.Context) TsigKeyArrayOutput

type TsigKeyArrayInput

type TsigKeyArrayInput interface {
	pulumi.Input

	ToTsigKeyArrayOutput() TsigKeyArrayOutput
	ToTsigKeyArrayOutputWithContext(context.Context) TsigKeyArrayOutput
}

TsigKeyArrayInput is an input type that accepts TsigKeyArray and TsigKeyArrayOutput values. You can construct a concrete instance of `TsigKeyArrayInput` via:

TsigKeyArray{ TsigKeyArgs{...} }

type TsigKeyArrayOutput

type TsigKeyArrayOutput struct{ *pulumi.OutputState }

func (TsigKeyArrayOutput) ElementType

func (TsigKeyArrayOutput) ElementType() reflect.Type

func (TsigKeyArrayOutput) Index

func (TsigKeyArrayOutput) ToTsigKeyArrayOutput

func (o TsigKeyArrayOutput) ToTsigKeyArrayOutput() TsigKeyArrayOutput

func (TsigKeyArrayOutput) ToTsigKeyArrayOutputWithContext

func (o TsigKeyArrayOutput) ToTsigKeyArrayOutputWithContext(ctx context.Context) TsigKeyArrayOutput

type TsigKeyInput

type TsigKeyInput interface {
	pulumi.Input

	ToTsigKeyOutput() TsigKeyOutput
	ToTsigKeyOutputWithContext(ctx context.Context) TsigKeyOutput
}

type TsigKeyMap

type TsigKeyMap map[string]TsigKeyInput

func (TsigKeyMap) ElementType

func (TsigKeyMap) ElementType() reflect.Type

func (TsigKeyMap) ToTsigKeyMapOutput

func (i TsigKeyMap) ToTsigKeyMapOutput() TsigKeyMapOutput

func (TsigKeyMap) ToTsigKeyMapOutputWithContext

func (i TsigKeyMap) ToTsigKeyMapOutputWithContext(ctx context.Context) TsigKeyMapOutput

type TsigKeyMapInput

type TsigKeyMapInput interface {
	pulumi.Input

	ToTsigKeyMapOutput() TsigKeyMapOutput
	ToTsigKeyMapOutputWithContext(context.Context) TsigKeyMapOutput
}

TsigKeyMapInput is an input type that accepts TsigKeyMap and TsigKeyMapOutput values. You can construct a concrete instance of `TsigKeyMapInput` via:

TsigKeyMap{ "key": TsigKeyArgs{...} }

type TsigKeyMapOutput

type TsigKeyMapOutput struct{ *pulumi.OutputState }

func (TsigKeyMapOutput) ElementType

func (TsigKeyMapOutput) ElementType() reflect.Type

func (TsigKeyMapOutput) MapIndex

func (TsigKeyMapOutput) ToTsigKeyMapOutput

func (o TsigKeyMapOutput) ToTsigKeyMapOutput() TsigKeyMapOutput

func (TsigKeyMapOutput) ToTsigKeyMapOutputWithContext

func (o TsigKeyMapOutput) ToTsigKeyMapOutputWithContext(ctx context.Context) TsigKeyMapOutput

type TsigKeyOutput

type TsigKeyOutput struct{ *pulumi.OutputState }

func (TsigKeyOutput) Algorithm added in v0.4.0

func (o TsigKeyOutput) Algorithm() pulumi.StringOutput

TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).

func (TsigKeyOutput) CompartmentId added in v0.4.0

func (o TsigKeyOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment containing the TSIG key.

func (TsigKeyOutput) DefinedTags added in v0.4.0

func (o TsigKeyOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Operations": {"CostCenter": "42"}}`

func (TsigKeyOutput) ElementType

func (TsigKeyOutput) ElementType() reflect.Type

func (TsigKeyOutput) FreeformTags added in v0.4.0

func (o TsigKeyOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Department": "Finance"}`

func (TsigKeyOutput) Name added in v0.4.0

A globally unique domain name identifying the key for a given pair of hosts.

func (TsigKeyOutput) Secret added in v0.4.0

func (o TsigKeyOutput) Secret() pulumi.StringOutput

A base64 string encoding the binary shared secret.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (TsigKeyOutput) Self added in v0.4.0

The canonical absolute URL of the resource.

func (TsigKeyOutput) State added in v0.4.0

func (o TsigKeyOutput) State() pulumi.StringOutput

The current state of the resource.

func (TsigKeyOutput) TimeCreated added in v0.4.0

func (o TsigKeyOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created, expressed in RFC 3339 timestamp format.

func (TsigKeyOutput) TimeUpdated added in v0.4.0

func (o TsigKeyOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated, expressed in RFC 3339 timestamp format.

func (TsigKeyOutput) ToTsigKeyOutput

func (o TsigKeyOutput) ToTsigKeyOutput() TsigKeyOutput

func (TsigKeyOutput) ToTsigKeyOutputWithContext

func (o TsigKeyOutput) ToTsigKeyOutputWithContext(ctx context.Context) TsigKeyOutput

type TsigKeyState

type TsigKeyState struct {
	// TSIG key algorithms are encoded as domain names, but most consist of only one non-empty label, which is not required to be explicitly absolute. Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha512. For more information on these algorithms, see [RFC 4635](https://tools.ietf.org/html/rfc4635#section-2).
	Algorithm pulumi.StringPtrInput
	// (Updatable) The OCID of the compartment containing the TSIG key.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A globally unique domain name identifying the key for a given pair of hosts.
	Name pulumi.StringPtrInput
	// A base64 string encoding the binary shared secret.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Secret pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	TimeCreated pulumi.StringPtrInput
	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	TimeUpdated pulumi.StringPtrInput
}

func (TsigKeyState) ElementType

func (TsigKeyState) ElementType() reflect.Type

type View

type View struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) The display name of the view.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolOutput `pulumi:"isProtected"`
	// If specified, must be `PRIVATE` when creating a view for private zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrOutput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current state of the resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the View resource in Oracle Cloud Infrastructure DNS service.

Creates a new view in the specified compartment.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewView(ctx, "test_view", &Dns.ViewArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Scope:         pulumi.String("PRIVATE"),
			DefinedTags:   pulumi.Any(viewDefinedTags),
			DisplayName:   pulumi.Any(viewDisplayName),
			FreeformTags:  pulumi.Any(viewFreeformTags),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Views can be imported using their OCID, e.g.

```sh $ pulumi import oci:Dns/view:View test_view "id" ```

func GetView

func GetView(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ViewState, opts ...pulumi.ResourceOption) (*View, error)

GetView gets an existing View 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 NewView

func NewView(ctx *pulumi.Context,
	name string, args *ViewArgs, opts ...pulumi.ResourceOption) (*View, error)

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

func (*View) ElementType

func (*View) ElementType() reflect.Type

func (*View) ToViewOutput

func (i *View) ToViewOutput() ViewOutput

func (*View) ToViewOutputWithContext

func (i *View) ToViewOutputWithContext(ctx context.Context) ViewOutput

type ViewArgs

type ViewArgs struct {
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) The display name of the view.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// If specified, must be `PRIVATE` when creating a view for private zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrInput
}

The set of arguments for constructing a View resource.

func (ViewArgs) ElementType

func (ViewArgs) ElementType() reflect.Type

type ViewArray

type ViewArray []ViewInput

func (ViewArray) ElementType

func (ViewArray) ElementType() reflect.Type

func (ViewArray) ToViewArrayOutput

func (i ViewArray) ToViewArrayOutput() ViewArrayOutput

func (ViewArray) ToViewArrayOutputWithContext

func (i ViewArray) ToViewArrayOutputWithContext(ctx context.Context) ViewArrayOutput

type ViewArrayInput

type ViewArrayInput interface {
	pulumi.Input

	ToViewArrayOutput() ViewArrayOutput
	ToViewArrayOutputWithContext(context.Context) ViewArrayOutput
}

ViewArrayInput is an input type that accepts ViewArray and ViewArrayOutput values. You can construct a concrete instance of `ViewArrayInput` via:

ViewArray{ ViewArgs{...} }

type ViewArrayOutput

type ViewArrayOutput struct{ *pulumi.OutputState }

func (ViewArrayOutput) ElementType

func (ViewArrayOutput) ElementType() reflect.Type

func (ViewArrayOutput) Index

func (ViewArrayOutput) ToViewArrayOutput

func (o ViewArrayOutput) ToViewArrayOutput() ViewArrayOutput

func (ViewArrayOutput) ToViewArrayOutputWithContext

func (o ViewArrayOutput) ToViewArrayOutputWithContext(ctx context.Context) ViewArrayOutput

type ViewInput

type ViewInput interface {
	pulumi.Input

	ToViewOutput() ViewOutput
	ToViewOutputWithContext(ctx context.Context) ViewOutput
}

type ViewMap

type ViewMap map[string]ViewInput

func (ViewMap) ElementType

func (ViewMap) ElementType() reflect.Type

func (ViewMap) ToViewMapOutput

func (i ViewMap) ToViewMapOutput() ViewMapOutput

func (ViewMap) ToViewMapOutputWithContext

func (i ViewMap) ToViewMapOutputWithContext(ctx context.Context) ViewMapOutput

type ViewMapInput

type ViewMapInput interface {
	pulumi.Input

	ToViewMapOutput() ViewMapOutput
	ToViewMapOutputWithContext(context.Context) ViewMapOutput
}

ViewMapInput is an input type that accepts ViewMap and ViewMapOutput values. You can construct a concrete instance of `ViewMapInput` via:

ViewMap{ "key": ViewArgs{...} }

type ViewMapOutput

type ViewMapOutput struct{ *pulumi.OutputState }

func (ViewMapOutput) ElementType

func (ViewMapOutput) ElementType() reflect.Type

func (ViewMapOutput) MapIndex

func (ViewMapOutput) ToViewMapOutput

func (o ViewMapOutput) ToViewMapOutput() ViewMapOutput

func (ViewMapOutput) ToViewMapOutputWithContext

func (o ViewMapOutput) ToViewMapOutputWithContext(ctx context.Context) ViewMapOutput

type ViewOutput

type ViewOutput struct{ *pulumi.OutputState }

func (ViewOutput) CompartmentId added in v0.4.0

func (o ViewOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the owning compartment.

func (ViewOutput) DefinedTags added in v0.4.0

func (o ViewOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Operations": {"CostCenter": "42"}}`

func (ViewOutput) DisplayName added in v0.4.0

func (o ViewOutput) DisplayName() pulumi.StringOutput

(Updatable) The display name of the view.

func (ViewOutput) ElementType

func (ViewOutput) ElementType() reflect.Type

func (ViewOutput) FreeformTags added in v0.4.0

func (o ViewOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Department": "Finance"}`

func (ViewOutput) IsProtected added in v0.4.0

func (o ViewOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (ViewOutput) Scope added in v0.4.0

func (o ViewOutput) Scope() pulumi.StringPtrOutput

If specified, must be `PRIVATE` when creating a view for private zones.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

func (ViewOutput) Self added in v0.4.0

func (o ViewOutput) Self() pulumi.StringOutput

The canonical absolute URL of the resource.

func (ViewOutput) State added in v0.4.0

func (o ViewOutput) State() pulumi.StringOutput

The current state of the resource.

func (ViewOutput) TimeCreated added in v0.4.0

func (o ViewOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ViewOutput) TimeUpdated added in v0.4.0

func (o ViewOutput) TimeUpdated() pulumi.StringOutput

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ViewOutput) ToViewOutput

func (o ViewOutput) ToViewOutput() ViewOutput

func (ViewOutput) ToViewOutputWithContext

func (o ViewOutput) ToViewOutputWithContext(ctx context.Context) ViewOutput

type ViewState

type ViewState struct {
	// (Updatable) The OCID of the owning compartment.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) The display name of the view.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput
	// If specified, must be `PRIVATE` when creating a view for private zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	Scope pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current state of the resource.
	State pulumi.StringPtrInput
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput
	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeUpdated pulumi.StringPtrInput
}

func (ViewState) ElementType

func (ViewState) ElementType() reflect.Type

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams ZoneExternalDownstreamArrayOutput `pulumi:"externalDownstreams"`
	// (Updatable) External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters ZoneExternalMasterArrayOutput `pulumi:"externalMasters"`
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolOutput `pulumi:"isProtected"`
	// The name of the zone.
	Name pulumi.StringOutput `pulumi:"name"`
	// The authoritative nameservers for the zone.
	Nameservers ZoneNameserverArrayOutput `pulumi:"nameservers"`
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating a private zone.
	Scope pulumi.StringOutput `pulumi:"scope"`
	// The canonical absolute URL of the resource.
	Self pulumi.StringOutput `pulumi:"self"`
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial pulumi.IntOutput `pulumi:"serial"`
	// The current state of the zone resource.
	State pulumi.StringOutput `pulumi:"state"`
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version pulumi.StringOutput `pulumi:"version"`
	// The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
	ViewId pulumi.StringPtrOutput `pulumi:"viewId"`
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers ZoneZoneTransferServerArrayOutput `pulumi:"zoneTransferServers"`
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneType pulumi.StringOutput `pulumi:"zoneType"`
}

This resource provides the Zone resource in Oracle Cloud Infrastructure DNS service.

Creates a new zone in the specified compartment. For global zones, if the `Content-Type` header for the request is `text/dns`, the `compartmentId` query parameter is required. `text/dns` for the `Content-Type` header is not supported for private zones. Query parameter scope with a value of `PRIVATE` is required when creating a private zone. Private zones must have a zone type of `PRIMARY`. Creating a private zone at or under `oraclevcn.com` within the default protected view of a VCN-dedicated resolver is not permitted.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewZone(ctx, "test_zone", &Dns.ZoneArgs{
			CompartmentId: pulumi.Any(compartmentId),
			Name:          pulumi.Any(zoneName),
			ZoneType:      pulumi.Any(zoneZoneType),
			DefinedTags:   pulumi.Any(zoneDefinedTags),
			ExternalDownstreams: dns.ZoneExternalDownstreamArray{
				&dns.ZoneExternalDownstreamArgs{
					Address:   pulumi.Any(zoneExternalDownstreamsAddress),
					Port:      pulumi.Any(zoneExternalDownstreamsPort),
					TsigKeyId: pulumi.Any(testTsigKey.Id),
				},
			},
			ExternalMasters: dns.ZoneExternalMasterArray{
				&dns.ZoneExternalMasterArgs{
					Address:   pulumi.Any(zoneExternalMastersAddress),
					Port:      pulumi.Any(zoneExternalMastersPort),
					TsigKeyId: pulumi.Any(testTsigKey.Id),
				},
			},
			FreeformTags: pulumi.Any(zoneFreeformTags),
			Scope:        pulumi.Any(zoneScope),
			ViewId:       pulumi.Any(testView.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Zones can be imported using the `id`, e.g.

```sh $ pulumi import oci:Dns/zone:Zone test_zone "id" ```

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 {
	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams ZoneExternalDownstreamArrayInput
	// (Updatable) External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters ZoneExternalMasterArrayInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// The name of the zone.
	Name pulumi.StringPtrInput
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating a private zone.
	Scope pulumi.StringPtrInput
	// The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
	ViewId pulumi.StringPtrInput
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneType 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 ZoneExternalDownstream added in v0.19.0

type ZoneExternalDownstream struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address string `pulumi:"address"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port *int `pulumi:"port"`
	// (Updatable) The OCID of the TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
}

type ZoneExternalDownstreamArgs added in v0.19.0

type ZoneExternalDownstreamArgs struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address pulumi.StringInput `pulumi:"address"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// (Updatable) The OCID of the TSIG key.
	TsigKeyId pulumi.StringPtrInput `pulumi:"tsigKeyId"`
}

func (ZoneExternalDownstreamArgs) ElementType added in v0.19.0

func (ZoneExternalDownstreamArgs) ElementType() reflect.Type

func (ZoneExternalDownstreamArgs) ToZoneExternalDownstreamOutput added in v0.19.0

func (i ZoneExternalDownstreamArgs) ToZoneExternalDownstreamOutput() ZoneExternalDownstreamOutput

func (ZoneExternalDownstreamArgs) ToZoneExternalDownstreamOutputWithContext added in v0.19.0

func (i ZoneExternalDownstreamArgs) ToZoneExternalDownstreamOutputWithContext(ctx context.Context) ZoneExternalDownstreamOutput

type ZoneExternalDownstreamArray added in v0.19.0

type ZoneExternalDownstreamArray []ZoneExternalDownstreamInput

func (ZoneExternalDownstreamArray) ElementType added in v0.19.0

func (ZoneExternalDownstreamArray) ToZoneExternalDownstreamArrayOutput added in v0.19.0

func (i ZoneExternalDownstreamArray) ToZoneExternalDownstreamArrayOutput() ZoneExternalDownstreamArrayOutput

func (ZoneExternalDownstreamArray) ToZoneExternalDownstreamArrayOutputWithContext added in v0.19.0

func (i ZoneExternalDownstreamArray) ToZoneExternalDownstreamArrayOutputWithContext(ctx context.Context) ZoneExternalDownstreamArrayOutput

type ZoneExternalDownstreamArrayInput added in v0.19.0

type ZoneExternalDownstreamArrayInput interface {
	pulumi.Input

	ToZoneExternalDownstreamArrayOutput() ZoneExternalDownstreamArrayOutput
	ToZoneExternalDownstreamArrayOutputWithContext(context.Context) ZoneExternalDownstreamArrayOutput
}

ZoneExternalDownstreamArrayInput is an input type that accepts ZoneExternalDownstreamArray and ZoneExternalDownstreamArrayOutput values. You can construct a concrete instance of `ZoneExternalDownstreamArrayInput` via:

ZoneExternalDownstreamArray{ ZoneExternalDownstreamArgs{...} }

type ZoneExternalDownstreamArrayOutput added in v0.19.0

type ZoneExternalDownstreamArrayOutput struct{ *pulumi.OutputState }

func (ZoneExternalDownstreamArrayOutput) ElementType added in v0.19.0

func (ZoneExternalDownstreamArrayOutput) Index added in v0.19.0

func (ZoneExternalDownstreamArrayOutput) ToZoneExternalDownstreamArrayOutput added in v0.19.0

func (o ZoneExternalDownstreamArrayOutput) ToZoneExternalDownstreamArrayOutput() ZoneExternalDownstreamArrayOutput

func (ZoneExternalDownstreamArrayOutput) ToZoneExternalDownstreamArrayOutputWithContext added in v0.19.0

func (o ZoneExternalDownstreamArrayOutput) ToZoneExternalDownstreamArrayOutputWithContext(ctx context.Context) ZoneExternalDownstreamArrayOutput

type ZoneExternalDownstreamInput added in v0.19.0

type ZoneExternalDownstreamInput interface {
	pulumi.Input

	ToZoneExternalDownstreamOutput() ZoneExternalDownstreamOutput
	ToZoneExternalDownstreamOutputWithContext(context.Context) ZoneExternalDownstreamOutput
}

ZoneExternalDownstreamInput is an input type that accepts ZoneExternalDownstreamArgs and ZoneExternalDownstreamOutput values. You can construct a concrete instance of `ZoneExternalDownstreamInput` via:

ZoneExternalDownstreamArgs{...}

type ZoneExternalDownstreamOutput added in v0.19.0

type ZoneExternalDownstreamOutput struct{ *pulumi.OutputState }

func (ZoneExternalDownstreamOutput) Address added in v0.19.0

(Updatable) The server's IP address (IPv4 or IPv6).

func (ZoneExternalDownstreamOutput) ElementType added in v0.19.0

func (ZoneExternalDownstreamOutput) Port added in v0.19.0

(Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.

func (ZoneExternalDownstreamOutput) ToZoneExternalDownstreamOutput added in v0.19.0

func (o ZoneExternalDownstreamOutput) ToZoneExternalDownstreamOutput() ZoneExternalDownstreamOutput

func (ZoneExternalDownstreamOutput) ToZoneExternalDownstreamOutputWithContext added in v0.19.0

func (o ZoneExternalDownstreamOutput) ToZoneExternalDownstreamOutputWithContext(ctx context.Context) ZoneExternalDownstreamOutput

func (ZoneExternalDownstreamOutput) TsigKeyId added in v0.19.0

(Updatable) The OCID of the TSIG key.

type ZoneExternalMaster

type ZoneExternalMaster struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address string `pulumi:"address"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port *int `pulumi:"port"`
	// (Updatable) The OCID of the TSIG key.
	TsigKeyId *string `pulumi:"tsigKeyId"`
}

type ZoneExternalMasterArgs

type ZoneExternalMasterArgs struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address pulumi.StringInput `pulumi:"address"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// (Updatable) The OCID of the TSIG key.
	TsigKeyId pulumi.StringPtrInput `pulumi:"tsigKeyId"`
}

func (ZoneExternalMasterArgs) ElementType

func (ZoneExternalMasterArgs) ElementType() reflect.Type

func (ZoneExternalMasterArgs) ToZoneExternalMasterOutput

func (i ZoneExternalMasterArgs) ToZoneExternalMasterOutput() ZoneExternalMasterOutput

func (ZoneExternalMasterArgs) ToZoneExternalMasterOutputWithContext

func (i ZoneExternalMasterArgs) ToZoneExternalMasterOutputWithContext(ctx context.Context) ZoneExternalMasterOutput

type ZoneExternalMasterArray

type ZoneExternalMasterArray []ZoneExternalMasterInput

func (ZoneExternalMasterArray) ElementType

func (ZoneExternalMasterArray) ElementType() reflect.Type

func (ZoneExternalMasterArray) ToZoneExternalMasterArrayOutput

func (i ZoneExternalMasterArray) ToZoneExternalMasterArrayOutput() ZoneExternalMasterArrayOutput

func (ZoneExternalMasterArray) ToZoneExternalMasterArrayOutputWithContext

func (i ZoneExternalMasterArray) ToZoneExternalMasterArrayOutputWithContext(ctx context.Context) ZoneExternalMasterArrayOutput

type ZoneExternalMasterArrayInput

type ZoneExternalMasterArrayInput interface {
	pulumi.Input

	ToZoneExternalMasterArrayOutput() ZoneExternalMasterArrayOutput
	ToZoneExternalMasterArrayOutputWithContext(context.Context) ZoneExternalMasterArrayOutput
}

ZoneExternalMasterArrayInput is an input type that accepts ZoneExternalMasterArray and ZoneExternalMasterArrayOutput values. You can construct a concrete instance of `ZoneExternalMasterArrayInput` via:

ZoneExternalMasterArray{ ZoneExternalMasterArgs{...} }

type ZoneExternalMasterArrayOutput

type ZoneExternalMasterArrayOutput struct{ *pulumi.OutputState }

func (ZoneExternalMasterArrayOutput) ElementType

func (ZoneExternalMasterArrayOutput) Index

func (ZoneExternalMasterArrayOutput) ToZoneExternalMasterArrayOutput

func (o ZoneExternalMasterArrayOutput) ToZoneExternalMasterArrayOutput() ZoneExternalMasterArrayOutput

func (ZoneExternalMasterArrayOutput) ToZoneExternalMasterArrayOutputWithContext

func (o ZoneExternalMasterArrayOutput) ToZoneExternalMasterArrayOutputWithContext(ctx context.Context) ZoneExternalMasterArrayOutput

type ZoneExternalMasterInput

type ZoneExternalMasterInput interface {
	pulumi.Input

	ToZoneExternalMasterOutput() ZoneExternalMasterOutput
	ToZoneExternalMasterOutputWithContext(context.Context) ZoneExternalMasterOutput
}

ZoneExternalMasterInput is an input type that accepts ZoneExternalMasterArgs and ZoneExternalMasterOutput values. You can construct a concrete instance of `ZoneExternalMasterInput` via:

ZoneExternalMasterArgs{...}

type ZoneExternalMasterOutput

type ZoneExternalMasterOutput struct{ *pulumi.OutputState }

func (ZoneExternalMasterOutput) Address

(Updatable) The server's IP address (IPv4 or IPv6).

func (ZoneExternalMasterOutput) ElementType

func (ZoneExternalMasterOutput) ElementType() reflect.Type

func (ZoneExternalMasterOutput) Port

(Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.

func (ZoneExternalMasterOutput) ToZoneExternalMasterOutput

func (o ZoneExternalMasterOutput) ToZoneExternalMasterOutput() ZoneExternalMasterOutput

func (ZoneExternalMasterOutput) ToZoneExternalMasterOutputWithContext

func (o ZoneExternalMasterOutput) ToZoneExternalMasterOutputWithContext(ctx context.Context) ZoneExternalMasterOutput

func (ZoneExternalMasterOutput) TsigKeyId

(Updatable) The OCID of the TSIG key.

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 ZoneNameserver

type ZoneNameserver struct {
	// The hostname of the nameserver.
	Hostname *string `pulumi:"hostname"`
}

type ZoneNameserverArgs

type ZoneNameserverArgs struct {
	// The hostname of the nameserver.
	Hostname pulumi.StringPtrInput `pulumi:"hostname"`
}

func (ZoneNameserverArgs) ElementType

func (ZoneNameserverArgs) ElementType() reflect.Type

func (ZoneNameserverArgs) ToZoneNameserverOutput

func (i ZoneNameserverArgs) ToZoneNameserverOutput() ZoneNameserverOutput

func (ZoneNameserverArgs) ToZoneNameserverOutputWithContext

func (i ZoneNameserverArgs) ToZoneNameserverOutputWithContext(ctx context.Context) ZoneNameserverOutput

type ZoneNameserverArray

type ZoneNameserverArray []ZoneNameserverInput

func (ZoneNameserverArray) ElementType

func (ZoneNameserverArray) ElementType() reflect.Type

func (ZoneNameserverArray) ToZoneNameserverArrayOutput

func (i ZoneNameserverArray) ToZoneNameserverArrayOutput() ZoneNameserverArrayOutput

func (ZoneNameserverArray) ToZoneNameserverArrayOutputWithContext

func (i ZoneNameserverArray) ToZoneNameserverArrayOutputWithContext(ctx context.Context) ZoneNameserverArrayOutput

type ZoneNameserverArrayInput

type ZoneNameserverArrayInput interface {
	pulumi.Input

	ToZoneNameserverArrayOutput() ZoneNameserverArrayOutput
	ToZoneNameserverArrayOutputWithContext(context.Context) ZoneNameserverArrayOutput
}

ZoneNameserverArrayInput is an input type that accepts ZoneNameserverArray and ZoneNameserverArrayOutput values. You can construct a concrete instance of `ZoneNameserverArrayInput` via:

ZoneNameserverArray{ ZoneNameserverArgs{...} }

type ZoneNameserverArrayOutput

type ZoneNameserverArrayOutput struct{ *pulumi.OutputState }

func (ZoneNameserverArrayOutput) ElementType

func (ZoneNameserverArrayOutput) ElementType() reflect.Type

func (ZoneNameserverArrayOutput) Index

func (ZoneNameserverArrayOutput) ToZoneNameserverArrayOutput

func (o ZoneNameserverArrayOutput) ToZoneNameserverArrayOutput() ZoneNameserverArrayOutput

func (ZoneNameserverArrayOutput) ToZoneNameserverArrayOutputWithContext

func (o ZoneNameserverArrayOutput) ToZoneNameserverArrayOutputWithContext(ctx context.Context) ZoneNameserverArrayOutput

type ZoneNameserverInput

type ZoneNameserverInput interface {
	pulumi.Input

	ToZoneNameserverOutput() ZoneNameserverOutput
	ToZoneNameserverOutputWithContext(context.Context) ZoneNameserverOutput
}

ZoneNameserverInput is an input type that accepts ZoneNameserverArgs and ZoneNameserverOutput values. You can construct a concrete instance of `ZoneNameserverInput` via:

ZoneNameserverArgs{...}

type ZoneNameserverOutput

type ZoneNameserverOutput struct{ *pulumi.OutputState }

func (ZoneNameserverOutput) ElementType

func (ZoneNameserverOutput) ElementType() reflect.Type

func (ZoneNameserverOutput) Hostname

The hostname of the nameserver.

func (ZoneNameserverOutput) ToZoneNameserverOutput

func (o ZoneNameserverOutput) ToZoneNameserverOutput() ZoneNameserverOutput

func (ZoneNameserverOutput) ToZoneNameserverOutputWithContext

func (o ZoneNameserverOutput) ToZoneNameserverOutputWithContext(ctx context.Context) ZoneNameserverOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) CompartmentId added in v0.4.0

func (o ZoneOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment the resource belongs to.

func (ZoneOutput) DefinedTags added in v0.4.0

func (o ZoneOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Operations": {"CostCenter": "42"}}`

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) ExternalDownstreams added in v0.19.0

func (o ZoneOutput) ExternalDownstreams() ZoneExternalDownstreamArrayOutput

(Updatable) External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.

func (ZoneOutput) ExternalMasters added in v0.4.0

func (o ZoneOutput) ExternalMasters() ZoneExternalMasterArrayOutput

(Updatable) External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.

func (ZoneOutput) FreeformTags added in v0.4.0

func (o ZoneOutput) FreeformTags() pulumi.MapOutput

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).

**Example:** `{"Department": "Finance"}`

func (ZoneOutput) IsProtected added in v0.4.0

func (o ZoneOutput) IsProtected() pulumi.BoolOutput

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

func (ZoneOutput) Name added in v0.4.0

func (o ZoneOutput) Name() pulumi.StringOutput

The name of the zone.

func (ZoneOutput) Nameservers added in v0.4.0

func (o ZoneOutput) Nameservers() ZoneNameserverArrayOutput

The authoritative nameservers for the zone.

func (ZoneOutput) Scope added in v0.4.0

func (o ZoneOutput) Scope() pulumi.StringOutput

Specifies to operate only on resources that have a matching DNS scope. This value will be null for zones in the global DNS and `PRIVATE` when creating a private zone.

func (ZoneOutput) Self added in v0.4.0

func (o ZoneOutput) Self() pulumi.StringOutput

The canonical absolute URL of the resource.

func (ZoneOutput) Serial added in v0.4.0

func (o ZoneOutput) Serial() pulumi.IntOutput

The current serial of the zone. As seen in the zone's SOA record.

func (ZoneOutput) State added in v0.4.0

func (o ZoneOutput) State() pulumi.StringOutput

The current state of the zone resource.

func (ZoneOutput) TimeCreated added in v0.4.0

func (o ZoneOutput) TimeCreated() pulumi.StringOutput

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

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

func (ZoneOutput) Version added in v0.4.0

func (o ZoneOutput) Version() pulumi.StringOutput

Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.

func (ZoneOutput) ViewId added in v0.4.0

func (o ZoneOutput) ViewId() pulumi.StringPtrOutput

The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.

func (ZoneOutput) ZoneTransferServers added in v0.19.0

func (o ZoneOutput) ZoneTransferServers() ZoneZoneTransferServerArrayOutput

The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.

func (ZoneOutput) ZoneType added in v0.4.0

func (o ZoneOutput) ZoneType() pulumi.StringOutput

The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

type ZoneState

type ZoneState struct {
	// (Updatable) The OCID of the compartment the resource belongs to.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Operations": {"CostCenter": "42"}}`
	DefinedTags pulumi.MapInput
	// (Updatable) External secondary servers for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
	ExternalDownstreams ZoneExternalDownstreamArrayInput
	// (Updatable) External master servers for the zone. `externalMasters` becomes a required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters ZoneExternalMasterArrayInput
	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	//
	// **Example:** `{"Department": "Finance"}`
	FreeformTags pulumi.MapInput
	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected pulumi.BoolPtrInput
	// The name of the zone.
	Name pulumi.StringPtrInput
	// The authoritative nameservers for the zone.
	Nameservers ZoneNameserverArrayInput
	// Specifies to operate only on resources that have a matching DNS scope.
	// This value will be null for zones in the global DNS and `PRIVATE` when creating a private zone.
	Scope pulumi.StringPtrInput
	// The canonical absolute URL of the resource.
	Self pulumi.StringPtrInput
	// The current serial of the zone. As seen in the zone's SOA record.
	Serial pulumi.IntPtrInput
	// The current state of the zone resource.
	State pulumi.StringPtrInput
	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
	TimeCreated pulumi.StringPtrInput
	// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived.
	Version pulumi.StringPtrInput
	// The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
	ViewId pulumi.StringPtrInput
	// The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers ZoneZoneTransferServerArrayInput
	// The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
	//
	// ** IMPORTANT **
	// Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
	ZoneType pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

type ZoneZoneTransferServer added in v0.19.0

type ZoneZoneTransferServer struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address *string `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination *bool `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource *bool `pulumi:"isTransferSource"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port *int `pulumi:"port"`
}

type ZoneZoneTransferServerArgs added in v0.19.0

type ZoneZoneTransferServerArgs struct {
	// (Updatable) The server's IP address (IPv4 or IPv6).
	Address pulumi.StringPtrInput `pulumi:"address"`
	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination pulumi.BoolPtrInput `pulumi:"isTransferDestination"`
	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource pulumi.BoolPtrInput `pulumi:"isTransferSource"`
	// (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ZoneZoneTransferServerArgs) ElementType added in v0.19.0

func (ZoneZoneTransferServerArgs) ElementType() reflect.Type

func (ZoneZoneTransferServerArgs) ToZoneZoneTransferServerOutput added in v0.19.0

func (i ZoneZoneTransferServerArgs) ToZoneZoneTransferServerOutput() ZoneZoneTransferServerOutput

func (ZoneZoneTransferServerArgs) ToZoneZoneTransferServerOutputWithContext added in v0.19.0

func (i ZoneZoneTransferServerArgs) ToZoneZoneTransferServerOutputWithContext(ctx context.Context) ZoneZoneTransferServerOutput

type ZoneZoneTransferServerArray added in v0.19.0

type ZoneZoneTransferServerArray []ZoneZoneTransferServerInput

func (ZoneZoneTransferServerArray) ElementType added in v0.19.0

func (ZoneZoneTransferServerArray) ToZoneZoneTransferServerArrayOutput added in v0.19.0

func (i ZoneZoneTransferServerArray) ToZoneZoneTransferServerArrayOutput() ZoneZoneTransferServerArrayOutput

func (ZoneZoneTransferServerArray) ToZoneZoneTransferServerArrayOutputWithContext added in v0.19.0

func (i ZoneZoneTransferServerArray) ToZoneZoneTransferServerArrayOutputWithContext(ctx context.Context) ZoneZoneTransferServerArrayOutput

type ZoneZoneTransferServerArrayInput added in v0.19.0

type ZoneZoneTransferServerArrayInput interface {
	pulumi.Input

	ToZoneZoneTransferServerArrayOutput() ZoneZoneTransferServerArrayOutput
	ToZoneZoneTransferServerArrayOutputWithContext(context.Context) ZoneZoneTransferServerArrayOutput
}

ZoneZoneTransferServerArrayInput is an input type that accepts ZoneZoneTransferServerArray and ZoneZoneTransferServerArrayOutput values. You can construct a concrete instance of `ZoneZoneTransferServerArrayInput` via:

ZoneZoneTransferServerArray{ ZoneZoneTransferServerArgs{...} }

type ZoneZoneTransferServerArrayOutput added in v0.19.0

type ZoneZoneTransferServerArrayOutput struct{ *pulumi.OutputState }

func (ZoneZoneTransferServerArrayOutput) ElementType added in v0.19.0

func (ZoneZoneTransferServerArrayOutput) Index added in v0.19.0

func (ZoneZoneTransferServerArrayOutput) ToZoneZoneTransferServerArrayOutput added in v0.19.0

func (o ZoneZoneTransferServerArrayOutput) ToZoneZoneTransferServerArrayOutput() ZoneZoneTransferServerArrayOutput

func (ZoneZoneTransferServerArrayOutput) ToZoneZoneTransferServerArrayOutputWithContext added in v0.19.0

func (o ZoneZoneTransferServerArrayOutput) ToZoneZoneTransferServerArrayOutputWithContext(ctx context.Context) ZoneZoneTransferServerArrayOutput

type ZoneZoneTransferServerInput added in v0.19.0

type ZoneZoneTransferServerInput interface {
	pulumi.Input

	ToZoneZoneTransferServerOutput() ZoneZoneTransferServerOutput
	ToZoneZoneTransferServerOutputWithContext(context.Context) ZoneZoneTransferServerOutput
}

ZoneZoneTransferServerInput is an input type that accepts ZoneZoneTransferServerArgs and ZoneZoneTransferServerOutput values. You can construct a concrete instance of `ZoneZoneTransferServerInput` via:

ZoneZoneTransferServerArgs{...}

type ZoneZoneTransferServerOutput added in v0.19.0

type ZoneZoneTransferServerOutput struct{ *pulumi.OutputState }

func (ZoneZoneTransferServerOutput) Address added in v0.19.0

(Updatable) The server's IP address (IPv4 or IPv6).

func (ZoneZoneTransferServerOutput) ElementType added in v0.19.0

func (ZoneZoneTransferServerOutput) IsTransferDestination added in v0.19.0

func (o ZoneZoneTransferServerOutput) IsTransferDestination() pulumi.BoolPtrOutput

A Boolean flag indicating whether or not the server is a zone data transfer destination.

func (ZoneZoneTransferServerOutput) IsTransferSource added in v0.19.0

func (o ZoneZoneTransferServerOutput) IsTransferSource() pulumi.BoolPtrOutput

A Boolean flag indicating whether or not the server is a zone data transfer source.

func (ZoneZoneTransferServerOutput) Port added in v0.19.0

(Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value.

func (ZoneZoneTransferServerOutput) ToZoneZoneTransferServerOutput added in v0.19.0

func (o ZoneZoneTransferServerOutput) ToZoneZoneTransferServerOutput() ZoneZoneTransferServerOutput

func (ZoneZoneTransferServerOutput) ToZoneZoneTransferServerOutputWithContext added in v0.19.0

func (o ZoneZoneTransferServerOutput) ToZoneZoneTransferServerOutputWithContext(ctx context.Context) ZoneZoneTransferServerOutput

Jump to

Keyboard shortcuts

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