ns1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing ns1 cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v1.4.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type APIKey

type APIKey struct {
	pulumi.CustomResourceState

	// Whether the apikey can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrOutput `pulumi:"accountManageAccountSettings"`
	// Whether the apikey can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrOutput `pulumi:"accountManageApikeys"`
	// Whether the apikey can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrOutput `pulumi:"accountManageIpWhitelist"`
	// Whether the apikey can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrOutput `pulumi:"accountManagePaymentMethods"`
	// Whether the apikey can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrOutput `pulumi:"accountManagePlan"`
	// Whether the apikey can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrOutput `pulumi:"accountManageTeams"`
	// Whether the apikey can modify account users.
	AccountManageUsers pulumi.BoolPtrOutput `pulumi:"accountManageUsers"`
	// Whether the apikey can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrOutput `pulumi:"accountViewActivityLog"`
	// Whether the apikey can view invoices.
	AccountViewInvoices pulumi.BoolPtrOutput `pulumi:"accountViewInvoices"`
	// Whether the apikey can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrOutput `pulumi:"dataManageDatafeeds"`
	// Whether the apikey can modify data sources.
	DataManageDatasources pulumi.BoolPtrOutput `pulumi:"dataManageDatasources"`
	// Whether the apikey can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrOutput `pulumi:"dataPushToDatafeeds"`
	// Whether the apikey can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrOutput `pulumi:"dhcpManageDhcp"`
	// Whether the apikey can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrOutput `pulumi:"dhcpViewDhcp"`
	// Whether the apikey can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrOutput `pulumi:"dnsManageZones"`
	// Whether the apikey can view the accounts zones.
	DnsViewZones pulumi.BoolPtrOutput `pulumi:"dnsViewZones"`
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrOutput `pulumi:"dnsZonesAllowByDefault"`
	// List of zones that the apikey may access.
	DnsZonesAllows pulumi.StringArrayOutput `pulumi:"dnsZonesAllows"`
	// List of zones that the apikey may not access.
	DnsZonesDenies pulumi.StringArrayOutput `pulumi:"dnsZonesDenies"`
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrOutput `pulumi:"ipWhitelistStrict"`
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayOutput `pulumi:"ipWhitelists"`
	// Whether the apikey can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrOutput `pulumi:"ipamManageIpam"`
	// Whether the apikey can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrOutput `pulumi:"ipamViewIpam"`
	// (Computed) The apikeys authentication token.
	Key pulumi.StringOutput `pulumi:"key"`
	// Whether the apikey can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrOutput `pulumi:"monitoringManageJobs"`
	// Whether the apikey can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrOutput `pulumi:"monitoringManageLists"`
	// Whether the apikey can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrOutput `pulumi:"monitoringViewJobs"`
	// The free form name of the apikey.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether the apikey can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrOutput `pulumi:"securityManageActiveDirectory"`
	// Whether the apikey can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrOutput `pulumi:"securityManageGlobal2fa"`
	// The teams that the apikey belongs to.
	Teams pulumi.StringArrayOutput `pulumi:"teams"`
}

func GetAPIKey

func GetAPIKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *APIKeyState, opts ...pulumi.ResourceOption) (*APIKey, error)

GetAPIKey gets an existing APIKey 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 NewAPIKey

func NewAPIKey(ctx *pulumi.Context,
	name string, args *APIKeyArgs, opts ...pulumi.ResourceOption) (*APIKey, error)

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

func (*APIKey) ElementType added in v1.3.1

func (*APIKey) ElementType() reflect.Type

func (*APIKey) ToAPIKeyOutput added in v1.3.1

func (i *APIKey) ToAPIKeyOutput() APIKeyOutput

func (*APIKey) ToAPIKeyOutputWithContext added in v1.3.1

func (i *APIKey) ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput

func (*APIKey) ToAPIKeyPtrOutput added in v1.4.1

func (i *APIKey) ToAPIKeyPtrOutput() APIKeyPtrOutput

func (*APIKey) ToAPIKeyPtrOutputWithContext added in v1.4.1

func (i *APIKey) ToAPIKeyPtrOutputWithContext(ctx context.Context) APIKeyPtrOutput

type APIKeyArgs

type APIKeyArgs struct {
	// Whether the apikey can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the apikey can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the apikey can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the apikey can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// Whether the apikey can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the apikey can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the apikey can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the apikey can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the apikey can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the apikey can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the apikey can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the apikey can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the apikey can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the apikey can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the apikey can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the apikey can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the apikey may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the apikey may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrInput
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayInput
	// Whether the apikey can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	// Whether the apikey can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrInput
	// Whether the apikey can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the apikey can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the apikey can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the apikey.
	Name pulumi.StringPtrInput
	// Whether the apikey can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the apikey can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
	// The teams that the apikey belongs to.
	Teams pulumi.StringArrayInput
}

The set of arguments for constructing a APIKey resource.

func (APIKeyArgs) ElementType

func (APIKeyArgs) ElementType() reflect.Type

type APIKeyArray added in v1.4.1

type APIKeyArray []APIKeyInput

func (APIKeyArray) ElementType added in v1.4.1

func (APIKeyArray) ElementType() reflect.Type

func (APIKeyArray) ToAPIKeyArrayOutput added in v1.4.1

func (i APIKeyArray) ToAPIKeyArrayOutput() APIKeyArrayOutput

func (APIKeyArray) ToAPIKeyArrayOutputWithContext added in v1.4.1

func (i APIKeyArray) ToAPIKeyArrayOutputWithContext(ctx context.Context) APIKeyArrayOutput

type APIKeyArrayInput added in v1.4.1

type APIKeyArrayInput interface {
	pulumi.Input

	ToAPIKeyArrayOutput() APIKeyArrayOutput
	ToAPIKeyArrayOutputWithContext(context.Context) APIKeyArrayOutput
}

APIKeyArrayInput is an input type that accepts APIKeyArray and APIKeyArrayOutput values. You can construct a concrete instance of `APIKeyArrayInput` via:

APIKeyArray{ APIKeyArgs{...} }

type APIKeyArrayOutput added in v1.4.1

type APIKeyArrayOutput struct{ *pulumi.OutputState }

func (APIKeyArrayOutput) ElementType added in v1.4.1

func (APIKeyArrayOutput) ElementType() reflect.Type

func (APIKeyArrayOutput) Index added in v1.4.1

func (APIKeyArrayOutput) ToAPIKeyArrayOutput added in v1.4.1

func (o APIKeyArrayOutput) ToAPIKeyArrayOutput() APIKeyArrayOutput

func (APIKeyArrayOutput) ToAPIKeyArrayOutputWithContext added in v1.4.1

func (o APIKeyArrayOutput) ToAPIKeyArrayOutputWithContext(ctx context.Context) APIKeyArrayOutput

type APIKeyInput added in v1.3.1

type APIKeyInput interface {
	pulumi.Input

	ToAPIKeyOutput() APIKeyOutput
	ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput
}

type APIKeyMap added in v1.4.1

type APIKeyMap map[string]APIKeyInput

func (APIKeyMap) ElementType added in v1.4.1

func (APIKeyMap) ElementType() reflect.Type

func (APIKeyMap) ToAPIKeyMapOutput added in v1.4.1

func (i APIKeyMap) ToAPIKeyMapOutput() APIKeyMapOutput

func (APIKeyMap) ToAPIKeyMapOutputWithContext added in v1.4.1

func (i APIKeyMap) ToAPIKeyMapOutputWithContext(ctx context.Context) APIKeyMapOutput

type APIKeyMapInput added in v1.4.1

type APIKeyMapInput interface {
	pulumi.Input

	ToAPIKeyMapOutput() APIKeyMapOutput
	ToAPIKeyMapOutputWithContext(context.Context) APIKeyMapOutput
}

APIKeyMapInput is an input type that accepts APIKeyMap and APIKeyMapOutput values. You can construct a concrete instance of `APIKeyMapInput` via:

APIKeyMap{ "key": APIKeyArgs{...} }

type APIKeyMapOutput added in v1.4.1

type APIKeyMapOutput struct{ *pulumi.OutputState }

func (APIKeyMapOutput) ElementType added in v1.4.1

func (APIKeyMapOutput) ElementType() reflect.Type

func (APIKeyMapOutput) MapIndex added in v1.4.1

func (APIKeyMapOutput) ToAPIKeyMapOutput added in v1.4.1

func (o APIKeyMapOutput) ToAPIKeyMapOutput() APIKeyMapOutput

func (APIKeyMapOutput) ToAPIKeyMapOutputWithContext added in v1.4.1

func (o APIKeyMapOutput) ToAPIKeyMapOutputWithContext(ctx context.Context) APIKeyMapOutput

type APIKeyOutput added in v1.3.1

type APIKeyOutput struct {
	*pulumi.OutputState
}

func (APIKeyOutput) ElementType added in v1.3.1

func (APIKeyOutput) ElementType() reflect.Type

func (APIKeyOutput) ToAPIKeyOutput added in v1.3.1

func (o APIKeyOutput) ToAPIKeyOutput() APIKeyOutput

func (APIKeyOutput) ToAPIKeyOutputWithContext added in v1.3.1

func (o APIKeyOutput) ToAPIKeyOutputWithContext(ctx context.Context) APIKeyOutput

func (APIKeyOutput) ToAPIKeyPtrOutput added in v1.4.1

func (o APIKeyOutput) ToAPIKeyPtrOutput() APIKeyPtrOutput

func (APIKeyOutput) ToAPIKeyPtrOutputWithContext added in v1.4.1

func (o APIKeyOutput) ToAPIKeyPtrOutputWithContext(ctx context.Context) APIKeyPtrOutput

type APIKeyPtrInput added in v1.4.1

type APIKeyPtrInput interface {
	pulumi.Input

	ToAPIKeyPtrOutput() APIKeyPtrOutput
	ToAPIKeyPtrOutputWithContext(ctx context.Context) APIKeyPtrOutput
}

type APIKeyPtrOutput added in v1.4.1

type APIKeyPtrOutput struct {
	*pulumi.OutputState
}

func (APIKeyPtrOutput) ElementType added in v1.4.1

func (APIKeyPtrOutput) ElementType() reflect.Type

func (APIKeyPtrOutput) ToAPIKeyPtrOutput added in v1.4.1

func (o APIKeyPtrOutput) ToAPIKeyPtrOutput() APIKeyPtrOutput

func (APIKeyPtrOutput) ToAPIKeyPtrOutputWithContext added in v1.4.1

func (o APIKeyPtrOutput) ToAPIKeyPtrOutputWithContext(ctx context.Context) APIKeyPtrOutput

type APIKeyState

type APIKeyState struct {
	// Whether the apikey can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the apikey can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the apikey can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the apikey can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// Whether the apikey can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the apikey can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the apikey can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the apikey can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the apikey can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the apikey can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the apikey can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the apikey can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the apikey can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the apikey can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the apikey can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the apikey can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the apikey may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the apikey may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrInput
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayInput
	// Whether the apikey can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	// Whether the apikey can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrInput
	// (Computed) The apikeys authentication token.
	Key pulumi.StringPtrInput
	// Whether the apikey can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the apikey can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the apikey can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the apikey.
	Name pulumi.StringPtrInput
	// Whether the apikey can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the apikey can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
	// The teams that the apikey belongs to.
	Teams pulumi.StringArrayInput
}

func (APIKeyState) ElementType

func (APIKeyState) ElementType() reflect.Type

type DataFeed

type DataFeed struct {
	pulumi.CustomResourceState

	// The feeds configuration matching the specification in
	// `feedConfig` from /data/sourcetypes.
	Config pulumi.MapOutput `pulumi:"config"`
	// The free form name of the data feed.
	Name pulumi.StringOutput `pulumi:"name"`
	// The data source id that this feed is connected to.
	SourceId pulumi.StringOutput `pulumi:"sourceId"`
}

Provides a NS1 Data Feed resource. This can be used to create, modify, and delete data feeds.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ns1.NewDataSource(ctx, "example", &ns1.DataSourceArgs{
			Sourcetype: pulumi.String("nsone_v1"),
		})
		if err != nil {
			return err
		}
		_, err = ns1.NewDataFeed(ctx, "uswestFeed", &ns1.DataFeedArgs{
			Config: pulumi.StringMap{
				"label": pulumi.String("uswest"),
			},
			SourceId: example.ID(),
		})
		if err != nil {
			return err
		}
		_, err = ns1.NewDataFeed(ctx, "useastFeed", &ns1.DataFeedArgs{
			Config: pulumi.StringMap{
				"label": pulumi.String("useast"),
			},
			SourceId: example.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## NS1 Documentation

[Datafeed Api Doc](https://ns1.com/api#data-feeds)

func GetDataFeed

func GetDataFeed(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataFeedState, opts ...pulumi.ResourceOption) (*DataFeed, error)

GetDataFeed gets an existing DataFeed 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 NewDataFeed

func NewDataFeed(ctx *pulumi.Context,
	name string, args *DataFeedArgs, opts ...pulumi.ResourceOption) (*DataFeed, error)

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

func (*DataFeed) ElementType added in v1.3.1

func (*DataFeed) ElementType() reflect.Type

func (*DataFeed) ToDataFeedOutput added in v1.3.1

func (i *DataFeed) ToDataFeedOutput() DataFeedOutput

func (*DataFeed) ToDataFeedOutputWithContext added in v1.3.1

func (i *DataFeed) ToDataFeedOutputWithContext(ctx context.Context) DataFeedOutput

func (*DataFeed) ToDataFeedPtrOutput added in v1.4.1

func (i *DataFeed) ToDataFeedPtrOutput() DataFeedPtrOutput

func (*DataFeed) ToDataFeedPtrOutputWithContext added in v1.4.1

func (i *DataFeed) ToDataFeedPtrOutputWithContext(ctx context.Context) DataFeedPtrOutput

type DataFeedArgs

type DataFeedArgs struct {
	// The feeds configuration matching the specification in
	// `feedConfig` from /data/sourcetypes.
	Config pulumi.MapInput
	// The free form name of the data feed.
	Name pulumi.StringPtrInput
	// The data source id that this feed is connected to.
	SourceId pulumi.StringInput
}

The set of arguments for constructing a DataFeed resource.

func (DataFeedArgs) ElementType

func (DataFeedArgs) ElementType() reflect.Type

type DataFeedArray added in v1.4.1

type DataFeedArray []DataFeedInput

func (DataFeedArray) ElementType added in v1.4.1

func (DataFeedArray) ElementType() reflect.Type

func (DataFeedArray) ToDataFeedArrayOutput added in v1.4.1

func (i DataFeedArray) ToDataFeedArrayOutput() DataFeedArrayOutput

func (DataFeedArray) ToDataFeedArrayOutputWithContext added in v1.4.1

func (i DataFeedArray) ToDataFeedArrayOutputWithContext(ctx context.Context) DataFeedArrayOutput

type DataFeedArrayInput added in v1.4.1

type DataFeedArrayInput interface {
	pulumi.Input

	ToDataFeedArrayOutput() DataFeedArrayOutput
	ToDataFeedArrayOutputWithContext(context.Context) DataFeedArrayOutput
}

DataFeedArrayInput is an input type that accepts DataFeedArray and DataFeedArrayOutput values. You can construct a concrete instance of `DataFeedArrayInput` via:

DataFeedArray{ DataFeedArgs{...} }

type DataFeedArrayOutput added in v1.4.1

type DataFeedArrayOutput struct{ *pulumi.OutputState }

func (DataFeedArrayOutput) ElementType added in v1.4.1

func (DataFeedArrayOutput) ElementType() reflect.Type

func (DataFeedArrayOutput) Index added in v1.4.1

func (DataFeedArrayOutput) ToDataFeedArrayOutput added in v1.4.1

func (o DataFeedArrayOutput) ToDataFeedArrayOutput() DataFeedArrayOutput

func (DataFeedArrayOutput) ToDataFeedArrayOutputWithContext added in v1.4.1

func (o DataFeedArrayOutput) ToDataFeedArrayOutputWithContext(ctx context.Context) DataFeedArrayOutput

type DataFeedInput added in v1.3.1

type DataFeedInput interface {
	pulumi.Input

	ToDataFeedOutput() DataFeedOutput
	ToDataFeedOutputWithContext(ctx context.Context) DataFeedOutput
}

type DataFeedMap added in v1.4.1

type DataFeedMap map[string]DataFeedInput

func (DataFeedMap) ElementType added in v1.4.1

func (DataFeedMap) ElementType() reflect.Type

func (DataFeedMap) ToDataFeedMapOutput added in v1.4.1

func (i DataFeedMap) ToDataFeedMapOutput() DataFeedMapOutput

func (DataFeedMap) ToDataFeedMapOutputWithContext added in v1.4.1

func (i DataFeedMap) ToDataFeedMapOutputWithContext(ctx context.Context) DataFeedMapOutput

type DataFeedMapInput added in v1.4.1

type DataFeedMapInput interface {
	pulumi.Input

	ToDataFeedMapOutput() DataFeedMapOutput
	ToDataFeedMapOutputWithContext(context.Context) DataFeedMapOutput
}

DataFeedMapInput is an input type that accepts DataFeedMap and DataFeedMapOutput values. You can construct a concrete instance of `DataFeedMapInput` via:

DataFeedMap{ "key": DataFeedArgs{...} }

type DataFeedMapOutput added in v1.4.1

type DataFeedMapOutput struct{ *pulumi.OutputState }

func (DataFeedMapOutput) ElementType added in v1.4.1

func (DataFeedMapOutput) ElementType() reflect.Type

func (DataFeedMapOutput) MapIndex added in v1.4.1

func (DataFeedMapOutput) ToDataFeedMapOutput added in v1.4.1

func (o DataFeedMapOutput) ToDataFeedMapOutput() DataFeedMapOutput

func (DataFeedMapOutput) ToDataFeedMapOutputWithContext added in v1.4.1

func (o DataFeedMapOutput) ToDataFeedMapOutputWithContext(ctx context.Context) DataFeedMapOutput

type DataFeedOutput added in v1.3.1

type DataFeedOutput struct {
	*pulumi.OutputState
}

func (DataFeedOutput) ElementType added in v1.3.1

func (DataFeedOutput) ElementType() reflect.Type

func (DataFeedOutput) ToDataFeedOutput added in v1.3.1

func (o DataFeedOutput) ToDataFeedOutput() DataFeedOutput

func (DataFeedOutput) ToDataFeedOutputWithContext added in v1.3.1

func (o DataFeedOutput) ToDataFeedOutputWithContext(ctx context.Context) DataFeedOutput

func (DataFeedOutput) ToDataFeedPtrOutput added in v1.4.1

func (o DataFeedOutput) ToDataFeedPtrOutput() DataFeedPtrOutput

func (DataFeedOutput) ToDataFeedPtrOutputWithContext added in v1.4.1

func (o DataFeedOutput) ToDataFeedPtrOutputWithContext(ctx context.Context) DataFeedPtrOutput

type DataFeedPtrInput added in v1.4.1

type DataFeedPtrInput interface {
	pulumi.Input

	ToDataFeedPtrOutput() DataFeedPtrOutput
	ToDataFeedPtrOutputWithContext(ctx context.Context) DataFeedPtrOutput
}

type DataFeedPtrOutput added in v1.4.1

type DataFeedPtrOutput struct {
	*pulumi.OutputState
}

func (DataFeedPtrOutput) ElementType added in v1.4.1

func (DataFeedPtrOutput) ElementType() reflect.Type

func (DataFeedPtrOutput) ToDataFeedPtrOutput added in v1.4.1

func (o DataFeedPtrOutput) ToDataFeedPtrOutput() DataFeedPtrOutput

func (DataFeedPtrOutput) ToDataFeedPtrOutputWithContext added in v1.4.1

func (o DataFeedPtrOutput) ToDataFeedPtrOutputWithContext(ctx context.Context) DataFeedPtrOutput

type DataFeedState

type DataFeedState struct {
	// The feeds configuration matching the specification in
	// `feedConfig` from /data/sourcetypes.
	Config pulumi.MapInput
	// The free form name of the data feed.
	Name pulumi.StringPtrInput
	// The data source id that this feed is connected to.
	SourceId pulumi.StringPtrInput
}

func (DataFeedState) ElementType

func (DataFeedState) ElementType() reflect.Type

type DataSource

type DataSource struct {
	pulumi.CustomResourceState

	// The data source configuration, determined by its type,
	// matching the specification in `config` from /data/sourcetypes.
	Config pulumi.MapOutput `pulumi:"config"`
	// The free form name of the data source.
	Name pulumi.StringOutput `pulumi:"name"`
	// The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
	Sourcetype pulumi.StringOutput `pulumi:"sourcetype"`
}

Provides a NS1 Data Source resource. This can be used to create, modify, and delete data sources.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.NewDataSource(ctx, "example", &ns1.DataSourceArgs{
			Sourcetype: pulumi.String("nsone_v1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## NS1 Documentation

[Datasource Api Doc](https://ns1.com/api#data-sources)

func GetDataSource

func GetDataSource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataSourceState, opts ...pulumi.ResourceOption) (*DataSource, error)

GetDataSource gets an existing DataSource 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 NewDataSource

func NewDataSource(ctx *pulumi.Context,
	name string, args *DataSourceArgs, opts ...pulumi.ResourceOption) (*DataSource, error)

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

func (*DataSource) ElementType added in v1.3.1

func (*DataSource) ElementType() reflect.Type

func (*DataSource) ToDataSourceOutput added in v1.3.1

func (i *DataSource) ToDataSourceOutput() DataSourceOutput

func (*DataSource) ToDataSourceOutputWithContext added in v1.3.1

func (i *DataSource) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput

func (*DataSource) ToDataSourcePtrOutput added in v1.4.1

func (i *DataSource) ToDataSourcePtrOutput() DataSourcePtrOutput

func (*DataSource) ToDataSourcePtrOutputWithContext added in v1.4.1

func (i *DataSource) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourceArgs

type DataSourceArgs struct {
	// The data source configuration, determined by its type,
	// matching the specification in `config` from /data/sourcetypes.
	Config pulumi.MapInput
	// The free form name of the data source.
	Name pulumi.StringPtrInput
	// The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
	Sourcetype pulumi.StringInput
}

The set of arguments for constructing a DataSource resource.

func (DataSourceArgs) ElementType

func (DataSourceArgs) ElementType() reflect.Type

type DataSourceArray added in v1.4.1

type DataSourceArray []DataSourceInput

func (DataSourceArray) ElementType added in v1.4.1

func (DataSourceArray) ElementType() reflect.Type

func (DataSourceArray) ToDataSourceArrayOutput added in v1.4.1

func (i DataSourceArray) ToDataSourceArrayOutput() DataSourceArrayOutput

func (DataSourceArray) ToDataSourceArrayOutputWithContext added in v1.4.1

func (i DataSourceArray) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput

type DataSourceArrayInput added in v1.4.1

type DataSourceArrayInput interface {
	pulumi.Input

	ToDataSourceArrayOutput() DataSourceArrayOutput
	ToDataSourceArrayOutputWithContext(context.Context) DataSourceArrayOutput
}

DataSourceArrayInput is an input type that accepts DataSourceArray and DataSourceArrayOutput values. You can construct a concrete instance of `DataSourceArrayInput` via:

DataSourceArray{ DataSourceArgs{...} }

type DataSourceArrayOutput added in v1.4.1

type DataSourceArrayOutput struct{ *pulumi.OutputState }

func (DataSourceArrayOutput) ElementType added in v1.4.1

func (DataSourceArrayOutput) ElementType() reflect.Type

func (DataSourceArrayOutput) Index added in v1.4.1

func (DataSourceArrayOutput) ToDataSourceArrayOutput added in v1.4.1

func (o DataSourceArrayOutput) ToDataSourceArrayOutput() DataSourceArrayOutput

func (DataSourceArrayOutput) ToDataSourceArrayOutputWithContext added in v1.4.1

func (o DataSourceArrayOutput) ToDataSourceArrayOutputWithContext(ctx context.Context) DataSourceArrayOutput

type DataSourceInput added in v1.3.1

type DataSourceInput interface {
	pulumi.Input

	ToDataSourceOutput() DataSourceOutput
	ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput
}

type DataSourceMap added in v1.4.1

type DataSourceMap map[string]DataSourceInput

func (DataSourceMap) ElementType added in v1.4.1

func (DataSourceMap) ElementType() reflect.Type

func (DataSourceMap) ToDataSourceMapOutput added in v1.4.1

func (i DataSourceMap) ToDataSourceMapOutput() DataSourceMapOutput

func (DataSourceMap) ToDataSourceMapOutputWithContext added in v1.4.1

func (i DataSourceMap) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput

type DataSourceMapInput added in v1.4.1

type DataSourceMapInput interface {
	pulumi.Input

	ToDataSourceMapOutput() DataSourceMapOutput
	ToDataSourceMapOutputWithContext(context.Context) DataSourceMapOutput
}

DataSourceMapInput is an input type that accepts DataSourceMap and DataSourceMapOutput values. You can construct a concrete instance of `DataSourceMapInput` via:

DataSourceMap{ "key": DataSourceArgs{...} }

type DataSourceMapOutput added in v1.4.1

type DataSourceMapOutput struct{ *pulumi.OutputState }

func (DataSourceMapOutput) ElementType added in v1.4.1

func (DataSourceMapOutput) ElementType() reflect.Type

func (DataSourceMapOutput) MapIndex added in v1.4.1

func (DataSourceMapOutput) ToDataSourceMapOutput added in v1.4.1

func (o DataSourceMapOutput) ToDataSourceMapOutput() DataSourceMapOutput

func (DataSourceMapOutput) ToDataSourceMapOutputWithContext added in v1.4.1

func (o DataSourceMapOutput) ToDataSourceMapOutputWithContext(ctx context.Context) DataSourceMapOutput

type DataSourceOutput added in v1.3.1

type DataSourceOutput struct {
	*pulumi.OutputState
}

func (DataSourceOutput) ElementType added in v1.3.1

func (DataSourceOutput) ElementType() reflect.Type

func (DataSourceOutput) ToDataSourceOutput added in v1.3.1

func (o DataSourceOutput) ToDataSourceOutput() DataSourceOutput

func (DataSourceOutput) ToDataSourceOutputWithContext added in v1.3.1

func (o DataSourceOutput) ToDataSourceOutputWithContext(ctx context.Context) DataSourceOutput

func (DataSourceOutput) ToDataSourcePtrOutput added in v1.4.1

func (o DataSourceOutput) ToDataSourcePtrOutput() DataSourcePtrOutput

func (DataSourceOutput) ToDataSourcePtrOutputWithContext added in v1.4.1

func (o DataSourceOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourcePtrInput added in v1.4.1

type DataSourcePtrInput interface {
	pulumi.Input

	ToDataSourcePtrOutput() DataSourcePtrOutput
	ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput
}

type DataSourcePtrOutput added in v1.4.1

type DataSourcePtrOutput struct {
	*pulumi.OutputState
}

func (DataSourcePtrOutput) ElementType added in v1.4.1

func (DataSourcePtrOutput) ElementType() reflect.Type

func (DataSourcePtrOutput) ToDataSourcePtrOutput added in v1.4.1

func (o DataSourcePtrOutput) ToDataSourcePtrOutput() DataSourcePtrOutput

func (DataSourcePtrOutput) ToDataSourcePtrOutputWithContext added in v1.4.1

func (o DataSourcePtrOutput) ToDataSourcePtrOutputWithContext(ctx context.Context) DataSourcePtrOutput

type DataSourceState

type DataSourceState struct {
	// The data source configuration, determined by its type,
	// matching the specification in `config` from /data/sourcetypes.
	Config pulumi.MapInput
	// The free form name of the data source.
	Name pulumi.StringPtrInput
	// The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
	Sourcetype pulumi.StringPtrInput
}

func (DataSourceState) ElementType

func (DataSourceState) ElementType() reflect.Type

type GetDNSSecArgs

type GetDNSSecArgs struct {
	// The name of the zone to get DNSSEC details for.
	Zone string `pulumi:"zone"`
}

A collection of arguments for invoking getDNSSec.

type GetDNSSecDelegation

type GetDNSSecDelegation struct {
	// (Computed) List of Keys. Key is documented below.
	Dnskeys []GetDNSSecDelegationDnskey `pulumi:"dnskeys"`
	// (Computed) List of Keys. Key is documented below.
	Ds []GetDNSSecDelegationD `pulumi:"ds"`
	// (Computed) TTL for the Keys (int).
	Ttl int `pulumi:"ttl"`
}

type GetDNSSecDelegationArgs

type GetDNSSecDelegationArgs struct {
	// (Computed) List of Keys. Key is documented below.
	Dnskeys GetDNSSecDelegationDnskeyArrayInput `pulumi:"dnskeys"`
	// (Computed) List of Keys. Key is documented below.
	Ds GetDNSSecDelegationDArrayInput `pulumi:"ds"`
	// (Computed) TTL for the Keys (int).
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetDNSSecDelegationArgs) ElementType

func (GetDNSSecDelegationArgs) ElementType() reflect.Type

func (GetDNSSecDelegationArgs) ToGetDNSSecDelegationOutput

func (i GetDNSSecDelegationArgs) ToGetDNSSecDelegationOutput() GetDNSSecDelegationOutput

func (GetDNSSecDelegationArgs) ToGetDNSSecDelegationOutputWithContext

func (i GetDNSSecDelegationArgs) ToGetDNSSecDelegationOutputWithContext(ctx context.Context) GetDNSSecDelegationOutput

type GetDNSSecDelegationD

type GetDNSSecDelegationD struct {
	// (Computed) Algorithm of the key.
	Algorithm string `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags string `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol string `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey string `pulumi:"publicKey"`
}

type GetDNSSecDelegationDArgs

type GetDNSSecDelegationDArgs struct {
	// (Computed) Algorithm of the key.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags pulumi.StringInput `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
}

func (GetDNSSecDelegationDArgs) ElementType

func (GetDNSSecDelegationDArgs) ElementType() reflect.Type

func (GetDNSSecDelegationDArgs) ToGetDNSSecDelegationDOutput

func (i GetDNSSecDelegationDArgs) ToGetDNSSecDelegationDOutput() GetDNSSecDelegationDOutput

func (GetDNSSecDelegationDArgs) ToGetDNSSecDelegationDOutputWithContext

func (i GetDNSSecDelegationDArgs) ToGetDNSSecDelegationDOutputWithContext(ctx context.Context) GetDNSSecDelegationDOutput

type GetDNSSecDelegationDArray

type GetDNSSecDelegationDArray []GetDNSSecDelegationDInput

func (GetDNSSecDelegationDArray) ElementType

func (GetDNSSecDelegationDArray) ElementType() reflect.Type

func (GetDNSSecDelegationDArray) ToGetDNSSecDelegationDArrayOutput

func (i GetDNSSecDelegationDArray) ToGetDNSSecDelegationDArrayOutput() GetDNSSecDelegationDArrayOutput

func (GetDNSSecDelegationDArray) ToGetDNSSecDelegationDArrayOutputWithContext

func (i GetDNSSecDelegationDArray) ToGetDNSSecDelegationDArrayOutputWithContext(ctx context.Context) GetDNSSecDelegationDArrayOutput

type GetDNSSecDelegationDArrayInput

type GetDNSSecDelegationDArrayInput interface {
	pulumi.Input

	ToGetDNSSecDelegationDArrayOutput() GetDNSSecDelegationDArrayOutput
	ToGetDNSSecDelegationDArrayOutputWithContext(context.Context) GetDNSSecDelegationDArrayOutput
}

GetDNSSecDelegationDArrayInput is an input type that accepts GetDNSSecDelegationDArray and GetDNSSecDelegationDArrayOutput values. You can construct a concrete instance of `GetDNSSecDelegationDArrayInput` via:

GetDNSSecDelegationDArray{ GetDNSSecDelegationDArgs{...} }

type GetDNSSecDelegationDArrayOutput

type GetDNSSecDelegationDArrayOutput struct{ *pulumi.OutputState }

func (GetDNSSecDelegationDArrayOutput) ElementType

func (GetDNSSecDelegationDArrayOutput) Index

func (GetDNSSecDelegationDArrayOutput) ToGetDNSSecDelegationDArrayOutput

func (o GetDNSSecDelegationDArrayOutput) ToGetDNSSecDelegationDArrayOutput() GetDNSSecDelegationDArrayOutput

func (GetDNSSecDelegationDArrayOutput) ToGetDNSSecDelegationDArrayOutputWithContext

func (o GetDNSSecDelegationDArrayOutput) ToGetDNSSecDelegationDArrayOutputWithContext(ctx context.Context) GetDNSSecDelegationDArrayOutput

type GetDNSSecDelegationDInput

type GetDNSSecDelegationDInput interface {
	pulumi.Input

	ToGetDNSSecDelegationDOutput() GetDNSSecDelegationDOutput
	ToGetDNSSecDelegationDOutputWithContext(context.Context) GetDNSSecDelegationDOutput
}

GetDNSSecDelegationDInput is an input type that accepts GetDNSSecDelegationDArgs and GetDNSSecDelegationDOutput values. You can construct a concrete instance of `GetDNSSecDelegationDInput` via:

GetDNSSecDelegationDArgs{...}

type GetDNSSecDelegationDOutput

type GetDNSSecDelegationDOutput struct{ *pulumi.OutputState }

func (GetDNSSecDelegationDOutput) Algorithm

(Computed) Algorithm of the key.

func (GetDNSSecDelegationDOutput) ElementType

func (GetDNSSecDelegationDOutput) ElementType() reflect.Type

func (GetDNSSecDelegationDOutput) Flags

(Computed) Flags for the key.

func (GetDNSSecDelegationDOutput) Protocol

(Computed) Protocol of the key.

func (GetDNSSecDelegationDOutput) PublicKey

(Computed) Public key for the key.

func (GetDNSSecDelegationDOutput) ToGetDNSSecDelegationDOutput

func (o GetDNSSecDelegationDOutput) ToGetDNSSecDelegationDOutput() GetDNSSecDelegationDOutput

func (GetDNSSecDelegationDOutput) ToGetDNSSecDelegationDOutputWithContext

func (o GetDNSSecDelegationDOutput) ToGetDNSSecDelegationDOutputWithContext(ctx context.Context) GetDNSSecDelegationDOutput

type GetDNSSecDelegationDnskey

type GetDNSSecDelegationDnskey struct {
	// (Computed) Algorithm of the key.
	Algorithm string `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags string `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol string `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey string `pulumi:"publicKey"`
}

type GetDNSSecDelegationDnskeyArgs

type GetDNSSecDelegationDnskeyArgs struct {
	// (Computed) Algorithm of the key.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags pulumi.StringInput `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
}

func (GetDNSSecDelegationDnskeyArgs) ElementType

func (GetDNSSecDelegationDnskeyArgs) ToGetDNSSecDelegationDnskeyOutput

func (i GetDNSSecDelegationDnskeyArgs) ToGetDNSSecDelegationDnskeyOutput() GetDNSSecDelegationDnskeyOutput

func (GetDNSSecDelegationDnskeyArgs) ToGetDNSSecDelegationDnskeyOutputWithContext

func (i GetDNSSecDelegationDnskeyArgs) ToGetDNSSecDelegationDnskeyOutputWithContext(ctx context.Context) GetDNSSecDelegationDnskeyOutput

type GetDNSSecDelegationDnskeyArray

type GetDNSSecDelegationDnskeyArray []GetDNSSecDelegationDnskeyInput

func (GetDNSSecDelegationDnskeyArray) ElementType

func (GetDNSSecDelegationDnskeyArray) ToGetDNSSecDelegationDnskeyArrayOutput

func (i GetDNSSecDelegationDnskeyArray) ToGetDNSSecDelegationDnskeyArrayOutput() GetDNSSecDelegationDnskeyArrayOutput

func (GetDNSSecDelegationDnskeyArray) ToGetDNSSecDelegationDnskeyArrayOutputWithContext

func (i GetDNSSecDelegationDnskeyArray) ToGetDNSSecDelegationDnskeyArrayOutputWithContext(ctx context.Context) GetDNSSecDelegationDnskeyArrayOutput

type GetDNSSecDelegationDnskeyArrayInput

type GetDNSSecDelegationDnskeyArrayInput interface {
	pulumi.Input

	ToGetDNSSecDelegationDnskeyArrayOutput() GetDNSSecDelegationDnskeyArrayOutput
	ToGetDNSSecDelegationDnskeyArrayOutputWithContext(context.Context) GetDNSSecDelegationDnskeyArrayOutput
}

GetDNSSecDelegationDnskeyArrayInput is an input type that accepts GetDNSSecDelegationDnskeyArray and GetDNSSecDelegationDnskeyArrayOutput values. You can construct a concrete instance of `GetDNSSecDelegationDnskeyArrayInput` via:

GetDNSSecDelegationDnskeyArray{ GetDNSSecDelegationDnskeyArgs{...} }

type GetDNSSecDelegationDnskeyArrayOutput

type GetDNSSecDelegationDnskeyArrayOutput struct{ *pulumi.OutputState }

func (GetDNSSecDelegationDnskeyArrayOutput) ElementType

func (GetDNSSecDelegationDnskeyArrayOutput) Index

func (GetDNSSecDelegationDnskeyArrayOutput) ToGetDNSSecDelegationDnskeyArrayOutput

func (o GetDNSSecDelegationDnskeyArrayOutput) ToGetDNSSecDelegationDnskeyArrayOutput() GetDNSSecDelegationDnskeyArrayOutput

func (GetDNSSecDelegationDnskeyArrayOutput) ToGetDNSSecDelegationDnskeyArrayOutputWithContext

func (o GetDNSSecDelegationDnskeyArrayOutput) ToGetDNSSecDelegationDnskeyArrayOutputWithContext(ctx context.Context) GetDNSSecDelegationDnskeyArrayOutput

type GetDNSSecDelegationDnskeyInput

type GetDNSSecDelegationDnskeyInput interface {
	pulumi.Input

	ToGetDNSSecDelegationDnskeyOutput() GetDNSSecDelegationDnskeyOutput
	ToGetDNSSecDelegationDnskeyOutputWithContext(context.Context) GetDNSSecDelegationDnskeyOutput
}

GetDNSSecDelegationDnskeyInput is an input type that accepts GetDNSSecDelegationDnskeyArgs and GetDNSSecDelegationDnskeyOutput values. You can construct a concrete instance of `GetDNSSecDelegationDnskeyInput` via:

GetDNSSecDelegationDnskeyArgs{...}

type GetDNSSecDelegationDnskeyOutput

type GetDNSSecDelegationDnskeyOutput struct{ *pulumi.OutputState }

func (GetDNSSecDelegationDnskeyOutput) Algorithm

(Computed) Algorithm of the key.

func (GetDNSSecDelegationDnskeyOutput) ElementType

func (GetDNSSecDelegationDnskeyOutput) Flags

(Computed) Flags for the key.

func (GetDNSSecDelegationDnskeyOutput) Protocol

(Computed) Protocol of the key.

func (GetDNSSecDelegationDnskeyOutput) PublicKey

(Computed) Public key for the key.

func (GetDNSSecDelegationDnskeyOutput) ToGetDNSSecDelegationDnskeyOutput

func (o GetDNSSecDelegationDnskeyOutput) ToGetDNSSecDelegationDnskeyOutput() GetDNSSecDelegationDnskeyOutput

func (GetDNSSecDelegationDnskeyOutput) ToGetDNSSecDelegationDnskeyOutputWithContext

func (o GetDNSSecDelegationDnskeyOutput) ToGetDNSSecDelegationDnskeyOutputWithContext(ctx context.Context) GetDNSSecDelegationDnskeyOutput

type GetDNSSecDelegationInput

type GetDNSSecDelegationInput interface {
	pulumi.Input

	ToGetDNSSecDelegationOutput() GetDNSSecDelegationOutput
	ToGetDNSSecDelegationOutputWithContext(context.Context) GetDNSSecDelegationOutput
}

GetDNSSecDelegationInput is an input type that accepts GetDNSSecDelegationArgs and GetDNSSecDelegationOutput values. You can construct a concrete instance of `GetDNSSecDelegationInput` via:

GetDNSSecDelegationArgs{...}

type GetDNSSecDelegationOutput

type GetDNSSecDelegationOutput struct{ *pulumi.OutputState }

func (GetDNSSecDelegationOutput) Dnskeys

(Computed) List of Keys. Key is documented below.

func (GetDNSSecDelegationOutput) Ds

(Computed) List of Keys. Key is documented below.

func (GetDNSSecDelegationOutput) ElementType

func (GetDNSSecDelegationOutput) ElementType() reflect.Type

func (GetDNSSecDelegationOutput) ToGetDNSSecDelegationOutput

func (o GetDNSSecDelegationOutput) ToGetDNSSecDelegationOutput() GetDNSSecDelegationOutput

func (GetDNSSecDelegationOutput) ToGetDNSSecDelegationOutputWithContext

func (o GetDNSSecDelegationOutput) ToGetDNSSecDelegationOutputWithContext(ctx context.Context) GetDNSSecDelegationOutput

func (GetDNSSecDelegationOutput) Ttl

(Computed) TTL for the Keys (int).

type GetDNSSecKeys

type GetDNSSecKeys struct {
	// (Computed) List of Keys. Key is documented below.
	Dnskeys []GetDNSSecKeysDnskey `pulumi:"dnskeys"`
	// (Computed) TTL for the Keys (int).
	Ttl int `pulumi:"ttl"`
}

type GetDNSSecKeysArgs

type GetDNSSecKeysArgs struct {
	// (Computed) List of Keys. Key is documented below.
	Dnskeys GetDNSSecKeysDnskeyArrayInput `pulumi:"dnskeys"`
	// (Computed) TTL for the Keys (int).
	Ttl pulumi.IntInput `pulumi:"ttl"`
}

func (GetDNSSecKeysArgs) ElementType

func (GetDNSSecKeysArgs) ElementType() reflect.Type

func (GetDNSSecKeysArgs) ToGetDNSSecKeysOutput

func (i GetDNSSecKeysArgs) ToGetDNSSecKeysOutput() GetDNSSecKeysOutput

func (GetDNSSecKeysArgs) ToGetDNSSecKeysOutputWithContext

func (i GetDNSSecKeysArgs) ToGetDNSSecKeysOutputWithContext(ctx context.Context) GetDNSSecKeysOutput

type GetDNSSecKeysDnskey

type GetDNSSecKeysDnskey struct {
	// (Computed) Algorithm of the key.
	Algorithm string `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags string `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol string `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey string `pulumi:"publicKey"`
}

type GetDNSSecKeysDnskeyArgs

type GetDNSSecKeysDnskeyArgs struct {
	// (Computed) Algorithm of the key.
	Algorithm pulumi.StringInput `pulumi:"algorithm"`
	// (Computed) Flags for the key.
	Flags pulumi.StringInput `pulumi:"flags"`
	// (Computed) Protocol of the key.
	Protocol pulumi.StringInput `pulumi:"protocol"`
	// (Computed) Public key for the key.
	PublicKey pulumi.StringInput `pulumi:"publicKey"`
}

func (GetDNSSecKeysDnskeyArgs) ElementType

func (GetDNSSecKeysDnskeyArgs) ElementType() reflect.Type

func (GetDNSSecKeysDnskeyArgs) ToGetDNSSecKeysDnskeyOutput

func (i GetDNSSecKeysDnskeyArgs) ToGetDNSSecKeysDnskeyOutput() GetDNSSecKeysDnskeyOutput

func (GetDNSSecKeysDnskeyArgs) ToGetDNSSecKeysDnskeyOutputWithContext

func (i GetDNSSecKeysDnskeyArgs) ToGetDNSSecKeysDnskeyOutputWithContext(ctx context.Context) GetDNSSecKeysDnskeyOutput

type GetDNSSecKeysDnskeyArray

type GetDNSSecKeysDnskeyArray []GetDNSSecKeysDnskeyInput

func (GetDNSSecKeysDnskeyArray) ElementType

func (GetDNSSecKeysDnskeyArray) ElementType() reflect.Type

func (GetDNSSecKeysDnskeyArray) ToGetDNSSecKeysDnskeyArrayOutput

func (i GetDNSSecKeysDnskeyArray) ToGetDNSSecKeysDnskeyArrayOutput() GetDNSSecKeysDnskeyArrayOutput

func (GetDNSSecKeysDnskeyArray) ToGetDNSSecKeysDnskeyArrayOutputWithContext

func (i GetDNSSecKeysDnskeyArray) ToGetDNSSecKeysDnskeyArrayOutputWithContext(ctx context.Context) GetDNSSecKeysDnskeyArrayOutput

type GetDNSSecKeysDnskeyArrayInput

type GetDNSSecKeysDnskeyArrayInput interface {
	pulumi.Input

	ToGetDNSSecKeysDnskeyArrayOutput() GetDNSSecKeysDnskeyArrayOutput
	ToGetDNSSecKeysDnskeyArrayOutputWithContext(context.Context) GetDNSSecKeysDnskeyArrayOutput
}

GetDNSSecKeysDnskeyArrayInput is an input type that accepts GetDNSSecKeysDnskeyArray and GetDNSSecKeysDnskeyArrayOutput values. You can construct a concrete instance of `GetDNSSecKeysDnskeyArrayInput` via:

GetDNSSecKeysDnskeyArray{ GetDNSSecKeysDnskeyArgs{...} }

type GetDNSSecKeysDnskeyArrayOutput

type GetDNSSecKeysDnskeyArrayOutput struct{ *pulumi.OutputState }

func (GetDNSSecKeysDnskeyArrayOutput) ElementType

func (GetDNSSecKeysDnskeyArrayOutput) Index

func (GetDNSSecKeysDnskeyArrayOutput) ToGetDNSSecKeysDnskeyArrayOutput

func (o GetDNSSecKeysDnskeyArrayOutput) ToGetDNSSecKeysDnskeyArrayOutput() GetDNSSecKeysDnskeyArrayOutput

func (GetDNSSecKeysDnskeyArrayOutput) ToGetDNSSecKeysDnskeyArrayOutputWithContext

func (o GetDNSSecKeysDnskeyArrayOutput) ToGetDNSSecKeysDnskeyArrayOutputWithContext(ctx context.Context) GetDNSSecKeysDnskeyArrayOutput

type GetDNSSecKeysDnskeyInput

type GetDNSSecKeysDnskeyInput interface {
	pulumi.Input

	ToGetDNSSecKeysDnskeyOutput() GetDNSSecKeysDnskeyOutput
	ToGetDNSSecKeysDnskeyOutputWithContext(context.Context) GetDNSSecKeysDnskeyOutput
}

GetDNSSecKeysDnskeyInput is an input type that accepts GetDNSSecKeysDnskeyArgs and GetDNSSecKeysDnskeyOutput values. You can construct a concrete instance of `GetDNSSecKeysDnskeyInput` via:

GetDNSSecKeysDnskeyArgs{...}

type GetDNSSecKeysDnskeyOutput

type GetDNSSecKeysDnskeyOutput struct{ *pulumi.OutputState }

func (GetDNSSecKeysDnskeyOutput) Algorithm

(Computed) Algorithm of the key.

func (GetDNSSecKeysDnskeyOutput) ElementType

func (GetDNSSecKeysDnskeyOutput) ElementType() reflect.Type

func (GetDNSSecKeysDnskeyOutput) Flags

(Computed) Flags for the key.

func (GetDNSSecKeysDnskeyOutput) Protocol

(Computed) Protocol of the key.

func (GetDNSSecKeysDnskeyOutput) PublicKey

(Computed) Public key for the key.

func (GetDNSSecKeysDnskeyOutput) ToGetDNSSecKeysDnskeyOutput

func (o GetDNSSecKeysDnskeyOutput) ToGetDNSSecKeysDnskeyOutput() GetDNSSecKeysDnskeyOutput

func (GetDNSSecKeysDnskeyOutput) ToGetDNSSecKeysDnskeyOutputWithContext

func (o GetDNSSecKeysDnskeyOutput) ToGetDNSSecKeysDnskeyOutputWithContext(ctx context.Context) GetDNSSecKeysDnskeyOutput

type GetDNSSecKeysInput

type GetDNSSecKeysInput interface {
	pulumi.Input

	ToGetDNSSecKeysOutput() GetDNSSecKeysOutput
	ToGetDNSSecKeysOutputWithContext(context.Context) GetDNSSecKeysOutput
}

GetDNSSecKeysInput is an input type that accepts GetDNSSecKeysArgs and GetDNSSecKeysOutput values. You can construct a concrete instance of `GetDNSSecKeysInput` via:

GetDNSSecKeysArgs{...}

type GetDNSSecKeysOutput

type GetDNSSecKeysOutput struct{ *pulumi.OutputState }

func (GetDNSSecKeysOutput) Dnskeys

(Computed) List of Keys. Key is documented below.

func (GetDNSSecKeysOutput) ElementType

func (GetDNSSecKeysOutput) ElementType() reflect.Type

func (GetDNSSecKeysOutput) ToGetDNSSecKeysOutput

func (o GetDNSSecKeysOutput) ToGetDNSSecKeysOutput() GetDNSSecKeysOutput

func (GetDNSSecKeysOutput) ToGetDNSSecKeysOutputWithContext

func (o GetDNSSecKeysOutput) ToGetDNSSecKeysOutputWithContext(ctx context.Context) GetDNSSecKeysOutput

func (GetDNSSecKeysOutput) Ttl

(Computed) TTL for the Keys (int).

type GetDNSSecResult

type GetDNSSecResult struct {
	// (Computed) - Delegation field is documented
	// below.
	Delegation GetDNSSecDelegation `pulumi:"delegation"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Computed) - Keys field is documented below.
	Keys GetDNSSecKeys `pulumi:"keys"`
	Zone string        `pulumi:"zone"`
}

A collection of values returned by getDNSSec.

func GetDNSSec

func GetDNSSec(ctx *pulumi.Context, args *GetDNSSecArgs, opts ...pulumi.InvokeOption) (*GetDNSSecResult, error)

Provides DNSSEC details about a NS1 Zone.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleZone, err := ns1.NewZone(ctx, "exampleZone", &ns1.ZoneArgs{
			Dnssec: pulumi.Bool(true),
			Zone:   pulumi.String("terraform.example.io"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRecordAnswer added in v1.2.0

type GetRecordAnswer struct {
	Answer string `pulumi:"answer"`
	// Map of metadata
	Meta   map[string]interface{} `pulumi:"meta"`
	Region string                 `pulumi:"region"`
}

type GetRecordAnswerArgs added in v1.2.0

type GetRecordAnswerArgs struct {
	Answer pulumi.StringInput `pulumi:"answer"`
	// Map of metadata
	Meta   pulumi.MapInput    `pulumi:"meta"`
	Region pulumi.StringInput `pulumi:"region"`
}

func (GetRecordAnswerArgs) ElementType added in v1.2.0

func (GetRecordAnswerArgs) ElementType() reflect.Type

func (GetRecordAnswerArgs) ToGetRecordAnswerOutput added in v1.2.0

func (i GetRecordAnswerArgs) ToGetRecordAnswerOutput() GetRecordAnswerOutput

func (GetRecordAnswerArgs) ToGetRecordAnswerOutputWithContext added in v1.2.0

func (i GetRecordAnswerArgs) ToGetRecordAnswerOutputWithContext(ctx context.Context) GetRecordAnswerOutput

type GetRecordAnswerArray added in v1.2.0

type GetRecordAnswerArray []GetRecordAnswerInput

func (GetRecordAnswerArray) ElementType added in v1.2.0

func (GetRecordAnswerArray) ElementType() reflect.Type

func (GetRecordAnswerArray) ToGetRecordAnswerArrayOutput added in v1.2.0

func (i GetRecordAnswerArray) ToGetRecordAnswerArrayOutput() GetRecordAnswerArrayOutput

func (GetRecordAnswerArray) ToGetRecordAnswerArrayOutputWithContext added in v1.2.0

func (i GetRecordAnswerArray) ToGetRecordAnswerArrayOutputWithContext(ctx context.Context) GetRecordAnswerArrayOutput

type GetRecordAnswerArrayInput added in v1.2.0

type GetRecordAnswerArrayInput interface {
	pulumi.Input

	ToGetRecordAnswerArrayOutput() GetRecordAnswerArrayOutput
	ToGetRecordAnswerArrayOutputWithContext(context.Context) GetRecordAnswerArrayOutput
}

GetRecordAnswerArrayInput is an input type that accepts GetRecordAnswerArray and GetRecordAnswerArrayOutput values. You can construct a concrete instance of `GetRecordAnswerArrayInput` via:

GetRecordAnswerArray{ GetRecordAnswerArgs{...} }

type GetRecordAnswerArrayOutput added in v1.2.0

type GetRecordAnswerArrayOutput struct{ *pulumi.OutputState }

func (GetRecordAnswerArrayOutput) ElementType added in v1.2.0

func (GetRecordAnswerArrayOutput) ElementType() reflect.Type

func (GetRecordAnswerArrayOutput) Index added in v1.2.0

func (GetRecordAnswerArrayOutput) ToGetRecordAnswerArrayOutput added in v1.2.0

func (o GetRecordAnswerArrayOutput) ToGetRecordAnswerArrayOutput() GetRecordAnswerArrayOutput

func (GetRecordAnswerArrayOutput) ToGetRecordAnswerArrayOutputWithContext added in v1.2.0

func (o GetRecordAnswerArrayOutput) ToGetRecordAnswerArrayOutputWithContext(ctx context.Context) GetRecordAnswerArrayOutput

type GetRecordAnswerInput added in v1.2.0

type GetRecordAnswerInput interface {
	pulumi.Input

	ToGetRecordAnswerOutput() GetRecordAnswerOutput
	ToGetRecordAnswerOutputWithContext(context.Context) GetRecordAnswerOutput
}

GetRecordAnswerInput is an input type that accepts GetRecordAnswerArgs and GetRecordAnswerOutput values. You can construct a concrete instance of `GetRecordAnswerInput` via:

GetRecordAnswerArgs{...}

type GetRecordAnswerOutput added in v1.2.0

type GetRecordAnswerOutput struct{ *pulumi.OutputState }

func (GetRecordAnswerOutput) Answer added in v1.2.0

func (GetRecordAnswerOutput) ElementType added in v1.2.0

func (GetRecordAnswerOutput) ElementType() reflect.Type

func (GetRecordAnswerOutput) Meta added in v1.2.0

Map of metadata

func (GetRecordAnswerOutput) Region added in v1.2.0

func (GetRecordAnswerOutput) ToGetRecordAnswerOutput added in v1.2.0

func (o GetRecordAnswerOutput) ToGetRecordAnswerOutput() GetRecordAnswerOutput

func (GetRecordAnswerOutput) ToGetRecordAnswerOutputWithContext added in v1.2.0

func (o GetRecordAnswerOutput) ToGetRecordAnswerOutputWithContext(ctx context.Context) GetRecordAnswerOutput

type GetRecordFilter added in v1.2.0

type GetRecordFilter struct {
	Config   map[string]interface{} `pulumi:"config"`
	Disabled bool                   `pulumi:"disabled"`
	Filter   string                 `pulumi:"filter"`
}

type GetRecordFilterArgs added in v1.2.0

type GetRecordFilterArgs struct {
	Config   pulumi.MapInput    `pulumi:"config"`
	Disabled pulumi.BoolInput   `pulumi:"disabled"`
	Filter   pulumi.StringInput `pulumi:"filter"`
}

func (GetRecordFilterArgs) ElementType added in v1.2.0

func (GetRecordFilterArgs) ElementType() reflect.Type

func (GetRecordFilterArgs) ToGetRecordFilterOutput added in v1.2.0

func (i GetRecordFilterArgs) ToGetRecordFilterOutput() GetRecordFilterOutput

func (GetRecordFilterArgs) ToGetRecordFilterOutputWithContext added in v1.2.0

func (i GetRecordFilterArgs) ToGetRecordFilterOutputWithContext(ctx context.Context) GetRecordFilterOutput

type GetRecordFilterArray added in v1.2.0

type GetRecordFilterArray []GetRecordFilterInput

func (GetRecordFilterArray) ElementType added in v1.2.0

func (GetRecordFilterArray) ElementType() reflect.Type

func (GetRecordFilterArray) ToGetRecordFilterArrayOutput added in v1.2.0

func (i GetRecordFilterArray) ToGetRecordFilterArrayOutput() GetRecordFilterArrayOutput

func (GetRecordFilterArray) ToGetRecordFilterArrayOutputWithContext added in v1.2.0

func (i GetRecordFilterArray) ToGetRecordFilterArrayOutputWithContext(ctx context.Context) GetRecordFilterArrayOutput

type GetRecordFilterArrayInput added in v1.2.0

type GetRecordFilterArrayInput interface {
	pulumi.Input

	ToGetRecordFilterArrayOutput() GetRecordFilterArrayOutput
	ToGetRecordFilterArrayOutputWithContext(context.Context) GetRecordFilterArrayOutput
}

GetRecordFilterArrayInput is an input type that accepts GetRecordFilterArray and GetRecordFilterArrayOutput values. You can construct a concrete instance of `GetRecordFilterArrayInput` via:

GetRecordFilterArray{ GetRecordFilterArgs{...} }

type GetRecordFilterArrayOutput added in v1.2.0

type GetRecordFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecordFilterArrayOutput) ElementType added in v1.2.0

func (GetRecordFilterArrayOutput) ElementType() reflect.Type

func (GetRecordFilterArrayOutput) Index added in v1.2.0

func (GetRecordFilterArrayOutput) ToGetRecordFilterArrayOutput added in v1.2.0

func (o GetRecordFilterArrayOutput) ToGetRecordFilterArrayOutput() GetRecordFilterArrayOutput

func (GetRecordFilterArrayOutput) ToGetRecordFilterArrayOutputWithContext added in v1.2.0

func (o GetRecordFilterArrayOutput) ToGetRecordFilterArrayOutputWithContext(ctx context.Context) GetRecordFilterArrayOutput

type GetRecordFilterInput added in v1.2.0

type GetRecordFilterInput interface {
	pulumi.Input

	ToGetRecordFilterOutput() GetRecordFilterOutput
	ToGetRecordFilterOutputWithContext(context.Context) GetRecordFilterOutput
}

GetRecordFilterInput is an input type that accepts GetRecordFilterArgs and GetRecordFilterOutput values. You can construct a concrete instance of `GetRecordFilterInput` via:

GetRecordFilterArgs{...}

type GetRecordFilterOutput added in v1.2.0

type GetRecordFilterOutput struct{ *pulumi.OutputState }

func (GetRecordFilterOutput) Config added in v1.2.0

func (GetRecordFilterOutput) Disabled added in v1.2.0

func (GetRecordFilterOutput) ElementType added in v1.2.0

func (GetRecordFilterOutput) ElementType() reflect.Type

func (GetRecordFilterOutput) Filter added in v1.2.0

func (GetRecordFilterOutput) ToGetRecordFilterOutput added in v1.2.0

func (o GetRecordFilterOutput) ToGetRecordFilterOutput() GetRecordFilterOutput

func (GetRecordFilterOutput) ToGetRecordFilterOutputWithContext added in v1.2.0

func (o GetRecordFilterOutput) ToGetRecordFilterOutputWithContext(ctx context.Context) GetRecordFilterOutput

type GetRecordRegion added in v1.2.0

type GetRecordRegion struct {
	// Map of metadata
	Meta map[string]interface{} `pulumi:"meta"`
	Name string                 `pulumi:"name"`
}

type GetRecordRegionArgs added in v1.2.0

type GetRecordRegionArgs struct {
	// Map of metadata
	Meta pulumi.MapInput    `pulumi:"meta"`
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRecordRegionArgs) ElementType added in v1.2.0

func (GetRecordRegionArgs) ElementType() reflect.Type

func (GetRecordRegionArgs) ToGetRecordRegionOutput added in v1.2.0

func (i GetRecordRegionArgs) ToGetRecordRegionOutput() GetRecordRegionOutput

func (GetRecordRegionArgs) ToGetRecordRegionOutputWithContext added in v1.2.0

func (i GetRecordRegionArgs) ToGetRecordRegionOutputWithContext(ctx context.Context) GetRecordRegionOutput

type GetRecordRegionArray added in v1.2.0

type GetRecordRegionArray []GetRecordRegionInput

func (GetRecordRegionArray) ElementType added in v1.2.0

func (GetRecordRegionArray) ElementType() reflect.Type

func (GetRecordRegionArray) ToGetRecordRegionArrayOutput added in v1.2.0

func (i GetRecordRegionArray) ToGetRecordRegionArrayOutput() GetRecordRegionArrayOutput

func (GetRecordRegionArray) ToGetRecordRegionArrayOutputWithContext added in v1.2.0

func (i GetRecordRegionArray) ToGetRecordRegionArrayOutputWithContext(ctx context.Context) GetRecordRegionArrayOutput

type GetRecordRegionArrayInput added in v1.2.0

type GetRecordRegionArrayInput interface {
	pulumi.Input

	ToGetRecordRegionArrayOutput() GetRecordRegionArrayOutput
	ToGetRecordRegionArrayOutputWithContext(context.Context) GetRecordRegionArrayOutput
}

GetRecordRegionArrayInput is an input type that accepts GetRecordRegionArray and GetRecordRegionArrayOutput values. You can construct a concrete instance of `GetRecordRegionArrayInput` via:

GetRecordRegionArray{ GetRecordRegionArgs{...} }

type GetRecordRegionArrayOutput added in v1.2.0

type GetRecordRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRecordRegionArrayOutput) ElementType added in v1.2.0

func (GetRecordRegionArrayOutput) ElementType() reflect.Type

func (GetRecordRegionArrayOutput) Index added in v1.2.0

func (GetRecordRegionArrayOutput) ToGetRecordRegionArrayOutput added in v1.2.0

func (o GetRecordRegionArrayOutput) ToGetRecordRegionArrayOutput() GetRecordRegionArrayOutput

func (GetRecordRegionArrayOutput) ToGetRecordRegionArrayOutputWithContext added in v1.2.0

func (o GetRecordRegionArrayOutput) ToGetRecordRegionArrayOutputWithContext(ctx context.Context) GetRecordRegionArrayOutput

type GetRecordRegionInput added in v1.2.0

type GetRecordRegionInput interface {
	pulumi.Input

	ToGetRecordRegionOutput() GetRecordRegionOutput
	ToGetRecordRegionOutputWithContext(context.Context) GetRecordRegionOutput
}

GetRecordRegionInput is an input type that accepts GetRecordRegionArgs and GetRecordRegionOutput values. You can construct a concrete instance of `GetRecordRegionInput` via:

GetRecordRegionArgs{...}

type GetRecordRegionOutput added in v1.2.0

type GetRecordRegionOutput struct{ *pulumi.OutputState }

func (GetRecordRegionOutput) ElementType added in v1.2.0

func (GetRecordRegionOutput) ElementType() reflect.Type

func (GetRecordRegionOutput) Meta added in v1.2.0

Map of metadata

func (GetRecordRegionOutput) Name added in v1.2.0

func (GetRecordRegionOutput) ToGetRecordRegionOutput added in v1.2.0

func (o GetRecordRegionOutput) ToGetRecordRegionOutput() GetRecordRegionOutput

func (GetRecordRegionOutput) ToGetRecordRegionOutputWithContext added in v1.2.0

func (o GetRecordRegionOutput) ToGetRecordRegionOutputWithContext(ctx context.Context) GetRecordRegionOutput

type GetZoneSecondary

type GetZoneSecondary struct {
	// IPv4 address of the secondary server.
	Ip string `pulumi:"ip"`
	// List of network IDs (`int`) for which the zone should be made
	// available. Default is network 0, the primary NSONE Global Network.
	Networks []int `pulumi:"networks"`
	// Whether we send `NOTIFY` messages to the secondary host
	// when the zone changes. Default `false`.
	Notify bool `pulumi:"notify"`
	// Port of the the secondary server. Default `53`.
	Port int `pulumi:"port"`
}

type GetZoneSecondaryArgs

type GetZoneSecondaryArgs struct {
	// IPv4 address of the secondary server.
	Ip pulumi.StringInput `pulumi:"ip"`
	// List of network IDs (`int`) for which the zone should be made
	// available. Default is network 0, the primary NSONE Global Network.
	Networks pulumi.IntArrayInput `pulumi:"networks"`
	// Whether we send `NOTIFY` messages to the secondary host
	// when the zone changes. Default `false`.
	Notify pulumi.BoolInput `pulumi:"notify"`
	// Port of the the secondary server. Default `53`.
	Port pulumi.IntInput `pulumi:"port"`
}

func (GetZoneSecondaryArgs) ElementType

func (GetZoneSecondaryArgs) ElementType() reflect.Type

func (GetZoneSecondaryArgs) ToGetZoneSecondaryOutput

func (i GetZoneSecondaryArgs) ToGetZoneSecondaryOutput() GetZoneSecondaryOutput

func (GetZoneSecondaryArgs) ToGetZoneSecondaryOutputWithContext

func (i GetZoneSecondaryArgs) ToGetZoneSecondaryOutputWithContext(ctx context.Context) GetZoneSecondaryOutput

type GetZoneSecondaryArray

type GetZoneSecondaryArray []GetZoneSecondaryInput

func (GetZoneSecondaryArray) ElementType

func (GetZoneSecondaryArray) ElementType() reflect.Type

func (GetZoneSecondaryArray) ToGetZoneSecondaryArrayOutput

func (i GetZoneSecondaryArray) ToGetZoneSecondaryArrayOutput() GetZoneSecondaryArrayOutput

func (GetZoneSecondaryArray) ToGetZoneSecondaryArrayOutputWithContext

func (i GetZoneSecondaryArray) ToGetZoneSecondaryArrayOutputWithContext(ctx context.Context) GetZoneSecondaryArrayOutput

type GetZoneSecondaryArrayInput

type GetZoneSecondaryArrayInput interface {
	pulumi.Input

	ToGetZoneSecondaryArrayOutput() GetZoneSecondaryArrayOutput
	ToGetZoneSecondaryArrayOutputWithContext(context.Context) GetZoneSecondaryArrayOutput
}

GetZoneSecondaryArrayInput is an input type that accepts GetZoneSecondaryArray and GetZoneSecondaryArrayOutput values. You can construct a concrete instance of `GetZoneSecondaryArrayInput` via:

GetZoneSecondaryArray{ GetZoneSecondaryArgs{...} }

type GetZoneSecondaryArrayOutput

type GetZoneSecondaryArrayOutput struct{ *pulumi.OutputState }

func (GetZoneSecondaryArrayOutput) ElementType

func (GetZoneSecondaryArrayOutput) Index

func (GetZoneSecondaryArrayOutput) ToGetZoneSecondaryArrayOutput

func (o GetZoneSecondaryArrayOutput) ToGetZoneSecondaryArrayOutput() GetZoneSecondaryArrayOutput

func (GetZoneSecondaryArrayOutput) ToGetZoneSecondaryArrayOutputWithContext

func (o GetZoneSecondaryArrayOutput) ToGetZoneSecondaryArrayOutputWithContext(ctx context.Context) GetZoneSecondaryArrayOutput

type GetZoneSecondaryInput

type GetZoneSecondaryInput interface {
	pulumi.Input

	ToGetZoneSecondaryOutput() GetZoneSecondaryOutput
	ToGetZoneSecondaryOutputWithContext(context.Context) GetZoneSecondaryOutput
}

GetZoneSecondaryInput is an input type that accepts GetZoneSecondaryArgs and GetZoneSecondaryOutput values. You can construct a concrete instance of `GetZoneSecondaryInput` via:

GetZoneSecondaryArgs{...}

type GetZoneSecondaryOutput

type GetZoneSecondaryOutput struct{ *pulumi.OutputState }

func (GetZoneSecondaryOutput) ElementType

func (GetZoneSecondaryOutput) ElementType() reflect.Type

func (GetZoneSecondaryOutput) Ip

IPv4 address of the secondary server.

func (GetZoneSecondaryOutput) Networks

List of network IDs (`int`) for which the zone should be made available. Default is network 0, the primary NSONE Global Network.

func (GetZoneSecondaryOutput) Notify

Whether we send `NOTIFY` messages to the secondary host when the zone changes. Default `false`.

func (GetZoneSecondaryOutput) Port

Port of the the secondary server. Default `53`.

func (GetZoneSecondaryOutput) ToGetZoneSecondaryOutput

func (o GetZoneSecondaryOutput) ToGetZoneSecondaryOutput() GetZoneSecondaryOutput

func (GetZoneSecondaryOutput) ToGetZoneSecondaryOutputWithContext

func (o GetZoneSecondaryOutput) ToGetZoneSecondaryOutputWithContext(ctx context.Context) GetZoneSecondaryOutput

type LookupRecordArgs added in v1.2.0

type LookupRecordArgs struct {
	// The records' domain.
	Domain string `pulumi:"domain"`
	// The records' RR type.
	Type string `pulumi:"type"`
	// The zone the record belongs to.
	Zone string `pulumi:"zone"`
}

A collection of arguments for invoking getRecord.

type LookupRecordResult added in v1.2.0

type LookupRecordResult struct {
	// List of NS1 answers.
	Answers []GetRecordAnswer `pulumi:"answers"`
	Domain  string            `pulumi:"domain"`
	// List of NS1 filters.
	Filters []GetRecordFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The target record this links to.
	Link string `pulumi:"link"`
	// Map of metadata
	Meta map[string]interface{} `pulumi:"meta"`
	// List of regions.
	Regions      []GetRecordRegion `pulumi:"regions"`
	ShortAnswers []string          `pulumi:"shortAnswers"`
	// The records' time to live (in seconds).
	Ttl  int    `pulumi:"ttl"`
	Type string `pulumi:"type"`
	// Whether to use EDNS client subnet data when available (in filter chain).
	UseClientSubnet bool   `pulumi:"useClientSubnet"`
	Zone            string `pulumi:"zone"`
}

A collection of values returned by getRecord.

func LookupRecord added in v1.2.0

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

Provides details about a NS1 Record. Use this if you would simply like to read information from NS1 into your configurations. For read/write operations, you should use a resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.LookupRecord(ctx, &ns1.LookupRecordArgs{
			Domain: "terraform.example.io",
			Type:   "A",
			Zone:   "example.io",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupZoneArgs

type LookupZoneArgs struct {
	// List of additional IPv4 addresses for the primary
	// zone.
	AdditionalPrimaries []string `pulumi:"additionalPrimaries"`
	// The domain name of the zone.
	Zone string `pulumi:"zone"`
}

A collection of arguments for invoking getZone.

type LookupZoneResult

type LookupZoneResult struct {
	// List of additional IPv4 addresses for the primary
	// zone.
	AdditionalPrimaries []string `pulumi:"additionalPrimaries"`
	// Authoritative Name Servers.
	DnsServers string `pulumi:"dnsServers"`
	// Whether or not DNSSEC is enabled for the zone.
	Dnssec bool `pulumi:"dnssec"`
	// The SOA Expiry.
	Expiry int `pulumi:"expiry"`
	// The SOA Hostmaster.
	Hostmaster string `pulumi:"hostmaster"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The linked target zone.
	Link string `pulumi:"link"`
	// List of network IDs (`int`) for which the zone should be made
	// available. Default is network 0, the primary NSONE Global Network.
	Networks []int `pulumi:"networks"`
	// The SOA NX TTL.
	NxTtl int `pulumi:"nxTtl"`
	// The primary zones' IPv4 address.
	Primary string `pulumi:"primary"`
	// The SOA Refresh.
	Refresh int `pulumi:"refresh"`
	// The SOA Retry.
	Retry int `pulumi:"retry"`
	// List of secondary servers. Secondaries is
	// documented below.
	Secondaries []GetZoneSecondary `pulumi:"secondaries"`
	// The SOA TTL.
	Ttl  int    `pulumi:"ttl"`
	Zone string `pulumi:"zone"`
}

A collection of values returned by getZone.

func LookupZone

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

Provides details about a NS1 Zone. Use this if you would simply like to read information from NS1 into your configurations. For read/write operations, you should use a resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.LookupZone(ctx, &ns1.LookupZoneArgs{
			Zone: "terraform.example.io",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type MonitoringJob

type MonitoringJob struct {
	pulumi.CustomResourceState

	// Indicates if the job is active or temporarily disabled.
	Active pulumi.BoolPtrOutput `pulumi:"active"`
	// A configuration dictionary with keys and values depending on the job_type. Configuration details for each jobType are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Config pulumi.MapOutput `pulumi:"config"`
	// The frequency, in seconds, at which to run the monitoring job in each region.
	Frequency pulumi.IntOutput `pulumi:"frequency"`
	// The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
	JobType pulumi.StringOutput `pulumi:"jobType"`
	// The free-form display name for the monitoring job.
	Name pulumi.StringOutput `pulumi:"name"`
	// Freeform notes to be included in any notifications about this job.
	Notes pulumi.StringPtrOutput `pulumi:"notes"`
	// The time in seconds after a failure to wait before sending a notification.
	NotifyDelay pulumi.IntPtrOutput `pulumi:"notifyDelay"`
	// If true, a notification is sent when a job returns to an "up" state.
	NotifyFailback pulumi.BoolPtrOutput   `pulumi:"notifyFailback"`
	NotifyList     pulumi.StringPtrOutput `pulumi:"notifyList"`
	// If true, notifications are sent for any regional failure (and failback if desired), in addition to global state notifications.
	NotifyRegional pulumi.BoolPtrOutput `pulumi:"notifyRegional"`
	// The time in seconds between repeat notifications of a failed job.
	NotifyRepeat pulumi.IntPtrOutput `pulumi:"notifyRepeat"`
	// The policy for determining the monitor's global status
	// based on the status of the job in all regions. See NS1 API docs for supported values.
	Policy pulumi.StringPtrOutput `pulumi:"policy"`
	// If true, on any apparent state change, the job is quickly re-run after one second to confirm the state change before notification.
	RapidRecheck pulumi.BoolPtrOutput `pulumi:"rapidRecheck"`
	// The list of region codes in which to run the monitoring
	// job. See NS1 API docs for supported values.
	Regions pulumi.StringArrayOutput `pulumi:"regions"`
	// A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Rules MonitoringJobRuleArrayOutput `pulumi:"rules"`
}

Provides a NS1 Monitoring Job resource. This can be used to create, modify, and delete monitoring jobs.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.NewMonitoringJob(ctx, "uswestMonitor", &ns1.MonitoringJobArgs{
			Active: pulumi.Bool(true),
			Config: pulumi.Map{
				"host": pulumi.String("example-elb-uswest.aws.amazon.com"),
				"port": pulumi.Float64(443),
				"send": pulumi.String(fmt.Sprintf("%v%v%v", "HEAD / HTTP/1.0\n", "\n", "\n")),
				"ssl": pulumi.Float64(1),
			},
			Frequency:    pulumi.Int(60),
			JobType:      pulumi.String("tcp"),
			Policy:       pulumi.String("quorum"),
			RapidRecheck: pulumi.Bool(true),
			Regions: pulumi.StringArray{
				pulumi.String("sjc"),
				pulumi.String("sin"),
				pulumi.String("lga"),
			},
			Rules: ns1.MonitoringJobRuleArray{
				&ns1.MonitoringJobRuleArgs{
					Comparison: pulumi.String("contains"),
					Key:        pulumi.String("output"),
					Value:      pulumi.String("200 OK"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## NS1 Documentation

[MonitoringJob Api Doc](https://ns1.com/api#monitoring-jobs)

func GetMonitoringJob

func GetMonitoringJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitoringJobState, opts ...pulumi.ResourceOption) (*MonitoringJob, error)

GetMonitoringJob gets an existing MonitoringJob 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 NewMonitoringJob

func NewMonitoringJob(ctx *pulumi.Context,
	name string, args *MonitoringJobArgs, opts ...pulumi.ResourceOption) (*MonitoringJob, error)

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

func (*MonitoringJob) ElementType added in v1.3.1

func (*MonitoringJob) ElementType() reflect.Type

func (*MonitoringJob) ToMonitoringJobOutput added in v1.3.1

func (i *MonitoringJob) ToMonitoringJobOutput() MonitoringJobOutput

func (*MonitoringJob) ToMonitoringJobOutputWithContext added in v1.3.1

func (i *MonitoringJob) ToMonitoringJobOutputWithContext(ctx context.Context) MonitoringJobOutput

func (*MonitoringJob) ToMonitoringJobPtrOutput added in v1.4.1

func (i *MonitoringJob) ToMonitoringJobPtrOutput() MonitoringJobPtrOutput

func (*MonitoringJob) ToMonitoringJobPtrOutputWithContext added in v1.4.1

func (i *MonitoringJob) ToMonitoringJobPtrOutputWithContext(ctx context.Context) MonitoringJobPtrOutput

type MonitoringJobArgs

type MonitoringJobArgs struct {
	// Indicates if the job is active or temporarily disabled.
	Active pulumi.BoolPtrInput
	// A configuration dictionary with keys and values depending on the job_type. Configuration details for each jobType are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Config pulumi.MapInput
	// The frequency, in seconds, at which to run the monitoring job in each region.
	Frequency pulumi.IntInput
	// The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
	JobType pulumi.StringInput
	// The free-form display name for the monitoring job.
	Name pulumi.StringPtrInput
	// Freeform notes to be included in any notifications about this job.
	Notes pulumi.StringPtrInput
	// The time in seconds after a failure to wait before sending a notification.
	NotifyDelay pulumi.IntPtrInput
	// If true, a notification is sent when a job returns to an "up" state.
	NotifyFailback pulumi.BoolPtrInput
	NotifyList     pulumi.StringPtrInput
	// If true, notifications are sent for any regional failure (and failback if desired), in addition to global state notifications.
	NotifyRegional pulumi.BoolPtrInput
	// The time in seconds between repeat notifications of a failed job.
	NotifyRepeat pulumi.IntPtrInput
	// The policy for determining the monitor's global status
	// based on the status of the job in all regions. See NS1 API docs for supported values.
	Policy pulumi.StringPtrInput
	// If true, on any apparent state change, the job is quickly re-run after one second to confirm the state change before notification.
	RapidRecheck pulumi.BoolPtrInput
	// The list of region codes in which to run the monitoring
	// job. See NS1 API docs for supported values.
	Regions pulumi.StringArrayInput
	// A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Rules MonitoringJobRuleArrayInput
}

The set of arguments for constructing a MonitoringJob resource.

func (MonitoringJobArgs) ElementType

func (MonitoringJobArgs) ElementType() reflect.Type

type MonitoringJobArray added in v1.4.1

type MonitoringJobArray []MonitoringJobInput

func (MonitoringJobArray) ElementType added in v1.4.1

func (MonitoringJobArray) ElementType() reflect.Type

func (MonitoringJobArray) ToMonitoringJobArrayOutput added in v1.4.1

func (i MonitoringJobArray) ToMonitoringJobArrayOutput() MonitoringJobArrayOutput

func (MonitoringJobArray) ToMonitoringJobArrayOutputWithContext added in v1.4.1

func (i MonitoringJobArray) ToMonitoringJobArrayOutputWithContext(ctx context.Context) MonitoringJobArrayOutput

type MonitoringJobArrayInput added in v1.4.1

type MonitoringJobArrayInput interface {
	pulumi.Input

	ToMonitoringJobArrayOutput() MonitoringJobArrayOutput
	ToMonitoringJobArrayOutputWithContext(context.Context) MonitoringJobArrayOutput
}

MonitoringJobArrayInput is an input type that accepts MonitoringJobArray and MonitoringJobArrayOutput values. You can construct a concrete instance of `MonitoringJobArrayInput` via:

MonitoringJobArray{ MonitoringJobArgs{...} }

type MonitoringJobArrayOutput added in v1.4.1

type MonitoringJobArrayOutput struct{ *pulumi.OutputState }

func (MonitoringJobArrayOutput) ElementType added in v1.4.1

func (MonitoringJobArrayOutput) ElementType() reflect.Type

func (MonitoringJobArrayOutput) Index added in v1.4.1

func (MonitoringJobArrayOutput) ToMonitoringJobArrayOutput added in v1.4.1

func (o MonitoringJobArrayOutput) ToMonitoringJobArrayOutput() MonitoringJobArrayOutput

func (MonitoringJobArrayOutput) ToMonitoringJobArrayOutputWithContext added in v1.4.1

func (o MonitoringJobArrayOutput) ToMonitoringJobArrayOutputWithContext(ctx context.Context) MonitoringJobArrayOutput

type MonitoringJobInput added in v1.3.1

type MonitoringJobInput interface {
	pulumi.Input

	ToMonitoringJobOutput() MonitoringJobOutput
	ToMonitoringJobOutputWithContext(ctx context.Context) MonitoringJobOutput
}

type MonitoringJobMap added in v1.4.1

type MonitoringJobMap map[string]MonitoringJobInput

func (MonitoringJobMap) ElementType added in v1.4.1

func (MonitoringJobMap) ElementType() reflect.Type

func (MonitoringJobMap) ToMonitoringJobMapOutput added in v1.4.1

func (i MonitoringJobMap) ToMonitoringJobMapOutput() MonitoringJobMapOutput

func (MonitoringJobMap) ToMonitoringJobMapOutputWithContext added in v1.4.1

func (i MonitoringJobMap) ToMonitoringJobMapOutputWithContext(ctx context.Context) MonitoringJobMapOutput

type MonitoringJobMapInput added in v1.4.1

type MonitoringJobMapInput interface {
	pulumi.Input

	ToMonitoringJobMapOutput() MonitoringJobMapOutput
	ToMonitoringJobMapOutputWithContext(context.Context) MonitoringJobMapOutput
}

MonitoringJobMapInput is an input type that accepts MonitoringJobMap and MonitoringJobMapOutput values. You can construct a concrete instance of `MonitoringJobMapInput` via:

MonitoringJobMap{ "key": MonitoringJobArgs{...} }

type MonitoringJobMapOutput added in v1.4.1

type MonitoringJobMapOutput struct{ *pulumi.OutputState }

func (MonitoringJobMapOutput) ElementType added in v1.4.1

func (MonitoringJobMapOutput) ElementType() reflect.Type

func (MonitoringJobMapOutput) MapIndex added in v1.4.1

func (MonitoringJobMapOutput) ToMonitoringJobMapOutput added in v1.4.1

func (o MonitoringJobMapOutput) ToMonitoringJobMapOutput() MonitoringJobMapOutput

func (MonitoringJobMapOutput) ToMonitoringJobMapOutputWithContext added in v1.4.1

func (o MonitoringJobMapOutput) ToMonitoringJobMapOutputWithContext(ctx context.Context) MonitoringJobMapOutput

type MonitoringJobOutput added in v1.3.1

type MonitoringJobOutput struct {
	*pulumi.OutputState
}

func (MonitoringJobOutput) ElementType added in v1.3.1

func (MonitoringJobOutput) ElementType() reflect.Type

func (MonitoringJobOutput) ToMonitoringJobOutput added in v1.3.1

func (o MonitoringJobOutput) ToMonitoringJobOutput() MonitoringJobOutput

func (MonitoringJobOutput) ToMonitoringJobOutputWithContext added in v1.3.1

func (o MonitoringJobOutput) ToMonitoringJobOutputWithContext(ctx context.Context) MonitoringJobOutput

func (MonitoringJobOutput) ToMonitoringJobPtrOutput added in v1.4.1

func (o MonitoringJobOutput) ToMonitoringJobPtrOutput() MonitoringJobPtrOutput

func (MonitoringJobOutput) ToMonitoringJobPtrOutputWithContext added in v1.4.1

func (o MonitoringJobOutput) ToMonitoringJobPtrOutputWithContext(ctx context.Context) MonitoringJobPtrOutput

type MonitoringJobPtrInput added in v1.4.1

type MonitoringJobPtrInput interface {
	pulumi.Input

	ToMonitoringJobPtrOutput() MonitoringJobPtrOutput
	ToMonitoringJobPtrOutputWithContext(ctx context.Context) MonitoringJobPtrOutput
}

type MonitoringJobPtrOutput added in v1.4.1

type MonitoringJobPtrOutput struct {
	*pulumi.OutputState
}

func (MonitoringJobPtrOutput) ElementType added in v1.4.1

func (MonitoringJobPtrOutput) ElementType() reflect.Type

func (MonitoringJobPtrOutput) ToMonitoringJobPtrOutput added in v1.4.1

func (o MonitoringJobPtrOutput) ToMonitoringJobPtrOutput() MonitoringJobPtrOutput

func (MonitoringJobPtrOutput) ToMonitoringJobPtrOutputWithContext added in v1.4.1

func (o MonitoringJobPtrOutput) ToMonitoringJobPtrOutputWithContext(ctx context.Context) MonitoringJobPtrOutput

type MonitoringJobRule

type MonitoringJobRule struct {
	Comparison string `pulumi:"comparison"`
	Key        string `pulumi:"key"`
	Value      string `pulumi:"value"`
}

type MonitoringJobRuleArgs

type MonitoringJobRuleArgs struct {
	Comparison pulumi.StringInput `pulumi:"comparison"`
	Key        pulumi.StringInput `pulumi:"key"`
	Value      pulumi.StringInput `pulumi:"value"`
}

func (MonitoringJobRuleArgs) ElementType

func (MonitoringJobRuleArgs) ElementType() reflect.Type

func (MonitoringJobRuleArgs) ToMonitoringJobRuleOutput

func (i MonitoringJobRuleArgs) ToMonitoringJobRuleOutput() MonitoringJobRuleOutput

func (MonitoringJobRuleArgs) ToMonitoringJobRuleOutputWithContext

func (i MonitoringJobRuleArgs) ToMonitoringJobRuleOutputWithContext(ctx context.Context) MonitoringJobRuleOutput

type MonitoringJobRuleArray

type MonitoringJobRuleArray []MonitoringJobRuleInput

func (MonitoringJobRuleArray) ElementType

func (MonitoringJobRuleArray) ElementType() reflect.Type

func (MonitoringJobRuleArray) ToMonitoringJobRuleArrayOutput

func (i MonitoringJobRuleArray) ToMonitoringJobRuleArrayOutput() MonitoringJobRuleArrayOutput

func (MonitoringJobRuleArray) ToMonitoringJobRuleArrayOutputWithContext

func (i MonitoringJobRuleArray) ToMonitoringJobRuleArrayOutputWithContext(ctx context.Context) MonitoringJobRuleArrayOutput

type MonitoringJobRuleArrayInput

type MonitoringJobRuleArrayInput interface {
	pulumi.Input

	ToMonitoringJobRuleArrayOutput() MonitoringJobRuleArrayOutput
	ToMonitoringJobRuleArrayOutputWithContext(context.Context) MonitoringJobRuleArrayOutput
}

MonitoringJobRuleArrayInput is an input type that accepts MonitoringJobRuleArray and MonitoringJobRuleArrayOutput values. You can construct a concrete instance of `MonitoringJobRuleArrayInput` via:

MonitoringJobRuleArray{ MonitoringJobRuleArgs{...} }

type MonitoringJobRuleArrayOutput

type MonitoringJobRuleArrayOutput struct{ *pulumi.OutputState }

func (MonitoringJobRuleArrayOutput) ElementType

func (MonitoringJobRuleArrayOutput) Index

func (MonitoringJobRuleArrayOutput) ToMonitoringJobRuleArrayOutput

func (o MonitoringJobRuleArrayOutput) ToMonitoringJobRuleArrayOutput() MonitoringJobRuleArrayOutput

func (MonitoringJobRuleArrayOutput) ToMonitoringJobRuleArrayOutputWithContext

func (o MonitoringJobRuleArrayOutput) ToMonitoringJobRuleArrayOutputWithContext(ctx context.Context) MonitoringJobRuleArrayOutput

type MonitoringJobRuleInput

type MonitoringJobRuleInput interface {
	pulumi.Input

	ToMonitoringJobRuleOutput() MonitoringJobRuleOutput
	ToMonitoringJobRuleOutputWithContext(context.Context) MonitoringJobRuleOutput
}

MonitoringJobRuleInput is an input type that accepts MonitoringJobRuleArgs and MonitoringJobRuleOutput values. You can construct a concrete instance of `MonitoringJobRuleInput` via:

MonitoringJobRuleArgs{...}

type MonitoringJobRuleOutput

type MonitoringJobRuleOutput struct{ *pulumi.OutputState }

func (MonitoringJobRuleOutput) Comparison

func (MonitoringJobRuleOutput) ElementType

func (MonitoringJobRuleOutput) ElementType() reflect.Type

func (MonitoringJobRuleOutput) Key

func (MonitoringJobRuleOutput) ToMonitoringJobRuleOutput

func (o MonitoringJobRuleOutput) ToMonitoringJobRuleOutput() MonitoringJobRuleOutput

func (MonitoringJobRuleOutput) ToMonitoringJobRuleOutputWithContext

func (o MonitoringJobRuleOutput) ToMonitoringJobRuleOutputWithContext(ctx context.Context) MonitoringJobRuleOutput

func (MonitoringJobRuleOutput) Value

type MonitoringJobState

type MonitoringJobState struct {
	// Indicates if the job is active or temporarily disabled.
	Active pulumi.BoolPtrInput
	// A configuration dictionary with keys and values depending on the job_type. Configuration details for each jobType are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Config pulumi.MapInput
	// The frequency, in seconds, at which to run the monitoring job in each region.
	Frequency pulumi.IntPtrInput
	// The type of monitoring job to be run. Refer to the NS1 API documentation (https://ns1.com/api#monitoring-jobs) for supported values which include ping, tcp, dns, http.
	JobType pulumi.StringPtrInput
	// The free-form display name for the monitoring job.
	Name pulumi.StringPtrInput
	// Freeform notes to be included in any notifications about this job.
	Notes pulumi.StringPtrInput
	// The time in seconds after a failure to wait before sending a notification.
	NotifyDelay pulumi.IntPtrInput
	// If true, a notification is sent when a job returns to an "up" state.
	NotifyFailback pulumi.BoolPtrInput
	NotifyList     pulumi.StringPtrInput
	// If true, notifications are sent for any regional failure (and failback if desired), in addition to global state notifications.
	NotifyRegional pulumi.BoolPtrInput
	// The time in seconds between repeat notifications of a failed job.
	NotifyRepeat pulumi.IntPtrInput
	// The policy for determining the monitor's global status
	// based on the status of the job in all regions. See NS1 API docs for supported values.
	Policy pulumi.StringPtrInput
	// If true, on any apparent state change, the job is quickly re-run after one second to confirm the state change before notification.
	RapidRecheck pulumi.BoolPtrInput
	// The list of region codes in which to run the monitoring
	// job. See NS1 API docs for supported values.
	Regions pulumi.StringArrayInput
	// A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
	Rules MonitoringJobRuleArrayInput
}

func (MonitoringJobState) ElementType

func (MonitoringJobState) ElementType() reflect.Type

type NotifyList

type NotifyList struct {
	pulumi.CustomResourceState

	// The free-form display name for the notify list.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
	Notifications NotifyListNotificationArrayOutput `pulumi:"notifications"`
}

Provides a NS1 Notify List resource. This can be used to create, modify, and delete notify lists.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.NewNotifyList(ctx, "nl", &ns1.NotifyListArgs{
			Notifications: ns1.NotifyListNotificationArray{
				&ns1.NotifyListNotificationArgs{
					Config: pulumi.StringMap{
						"url": pulumi.String("http://www.mywebhook.com"),
					},
					Type: pulumi.String("webhook"),
				},
				&ns1.NotifyListNotificationArgs{
					Config: pulumi.StringMap{
						"email": pulumi.String("test@test.com"),
					},
					Type: pulumi.String("email"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## NS1 Documentation

[NotifyList Api Doc](https://ns1.com/api#notification-lists)

func GetNotifyList

func GetNotifyList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotifyListState, opts ...pulumi.ResourceOption) (*NotifyList, error)

GetNotifyList gets an existing NotifyList 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 NewNotifyList

func NewNotifyList(ctx *pulumi.Context,
	name string, args *NotifyListArgs, opts ...pulumi.ResourceOption) (*NotifyList, error)

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

func (*NotifyList) ElementType added in v1.3.1

func (*NotifyList) ElementType() reflect.Type

func (*NotifyList) ToNotifyListOutput added in v1.3.1

func (i *NotifyList) ToNotifyListOutput() NotifyListOutput

func (*NotifyList) ToNotifyListOutputWithContext added in v1.3.1

func (i *NotifyList) ToNotifyListOutputWithContext(ctx context.Context) NotifyListOutput

func (*NotifyList) ToNotifyListPtrOutput added in v1.4.1

func (i *NotifyList) ToNotifyListPtrOutput() NotifyListPtrOutput

func (*NotifyList) ToNotifyListPtrOutputWithContext added in v1.4.1

func (i *NotifyList) ToNotifyListPtrOutputWithContext(ctx context.Context) NotifyListPtrOutput

type NotifyListArgs

type NotifyListArgs struct {
	// The free-form display name for the notify list.
	Name pulumi.StringPtrInput
	// A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
	Notifications NotifyListNotificationArrayInput
}

The set of arguments for constructing a NotifyList resource.

func (NotifyListArgs) ElementType

func (NotifyListArgs) ElementType() reflect.Type

type NotifyListArray added in v1.4.1

type NotifyListArray []NotifyListInput

func (NotifyListArray) ElementType added in v1.4.1

func (NotifyListArray) ElementType() reflect.Type

func (NotifyListArray) ToNotifyListArrayOutput added in v1.4.1

func (i NotifyListArray) ToNotifyListArrayOutput() NotifyListArrayOutput

func (NotifyListArray) ToNotifyListArrayOutputWithContext added in v1.4.1

func (i NotifyListArray) ToNotifyListArrayOutputWithContext(ctx context.Context) NotifyListArrayOutput

type NotifyListArrayInput added in v1.4.1

type NotifyListArrayInput interface {
	pulumi.Input

	ToNotifyListArrayOutput() NotifyListArrayOutput
	ToNotifyListArrayOutputWithContext(context.Context) NotifyListArrayOutput
}

NotifyListArrayInput is an input type that accepts NotifyListArray and NotifyListArrayOutput values. You can construct a concrete instance of `NotifyListArrayInput` via:

NotifyListArray{ NotifyListArgs{...} }

type NotifyListArrayOutput added in v1.4.1

type NotifyListArrayOutput struct{ *pulumi.OutputState }

func (NotifyListArrayOutput) ElementType added in v1.4.1

func (NotifyListArrayOutput) ElementType() reflect.Type

func (NotifyListArrayOutput) Index added in v1.4.1

func (NotifyListArrayOutput) ToNotifyListArrayOutput added in v1.4.1

func (o NotifyListArrayOutput) ToNotifyListArrayOutput() NotifyListArrayOutput

func (NotifyListArrayOutput) ToNotifyListArrayOutputWithContext added in v1.4.1

func (o NotifyListArrayOutput) ToNotifyListArrayOutputWithContext(ctx context.Context) NotifyListArrayOutput

type NotifyListInput added in v1.3.1

type NotifyListInput interface {
	pulumi.Input

	ToNotifyListOutput() NotifyListOutput
	ToNotifyListOutputWithContext(ctx context.Context) NotifyListOutput
}

type NotifyListMap added in v1.4.1

type NotifyListMap map[string]NotifyListInput

func (NotifyListMap) ElementType added in v1.4.1

func (NotifyListMap) ElementType() reflect.Type

func (NotifyListMap) ToNotifyListMapOutput added in v1.4.1

func (i NotifyListMap) ToNotifyListMapOutput() NotifyListMapOutput

func (NotifyListMap) ToNotifyListMapOutputWithContext added in v1.4.1

func (i NotifyListMap) ToNotifyListMapOutputWithContext(ctx context.Context) NotifyListMapOutput

type NotifyListMapInput added in v1.4.1

type NotifyListMapInput interface {
	pulumi.Input

	ToNotifyListMapOutput() NotifyListMapOutput
	ToNotifyListMapOutputWithContext(context.Context) NotifyListMapOutput
}

NotifyListMapInput is an input type that accepts NotifyListMap and NotifyListMapOutput values. You can construct a concrete instance of `NotifyListMapInput` via:

NotifyListMap{ "key": NotifyListArgs{...} }

type NotifyListMapOutput added in v1.4.1

type NotifyListMapOutput struct{ *pulumi.OutputState }

func (NotifyListMapOutput) ElementType added in v1.4.1

func (NotifyListMapOutput) ElementType() reflect.Type

func (NotifyListMapOutput) MapIndex added in v1.4.1

func (NotifyListMapOutput) ToNotifyListMapOutput added in v1.4.1

func (o NotifyListMapOutput) ToNotifyListMapOutput() NotifyListMapOutput

func (NotifyListMapOutput) ToNotifyListMapOutputWithContext added in v1.4.1

func (o NotifyListMapOutput) ToNotifyListMapOutputWithContext(ctx context.Context) NotifyListMapOutput

type NotifyListNotification

type NotifyListNotification struct {
	// Configuration details for the given notifier type.
	Config map[string]interface{} `pulumi:"config"`
	// The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
	Type string `pulumi:"type"`
}

type NotifyListNotificationArgs

type NotifyListNotificationArgs struct {
	// Configuration details for the given notifier type.
	Config pulumi.MapInput `pulumi:"config"`
	// The type of notifier. Available notifiers are indicated in /notifytypes endpoint.
	Type pulumi.StringInput `pulumi:"type"`
}

func (NotifyListNotificationArgs) ElementType

func (NotifyListNotificationArgs) ElementType() reflect.Type

func (NotifyListNotificationArgs) ToNotifyListNotificationOutput

func (i NotifyListNotificationArgs) ToNotifyListNotificationOutput() NotifyListNotificationOutput

func (NotifyListNotificationArgs) ToNotifyListNotificationOutputWithContext

func (i NotifyListNotificationArgs) ToNotifyListNotificationOutputWithContext(ctx context.Context) NotifyListNotificationOutput

type NotifyListNotificationArray

type NotifyListNotificationArray []NotifyListNotificationInput

func (NotifyListNotificationArray) ElementType

func (NotifyListNotificationArray) ToNotifyListNotificationArrayOutput

func (i NotifyListNotificationArray) ToNotifyListNotificationArrayOutput() NotifyListNotificationArrayOutput

func (NotifyListNotificationArray) ToNotifyListNotificationArrayOutputWithContext

func (i NotifyListNotificationArray) ToNotifyListNotificationArrayOutputWithContext(ctx context.Context) NotifyListNotificationArrayOutput

type NotifyListNotificationArrayInput

type NotifyListNotificationArrayInput interface {
	pulumi.Input

	ToNotifyListNotificationArrayOutput() NotifyListNotificationArrayOutput
	ToNotifyListNotificationArrayOutputWithContext(context.Context) NotifyListNotificationArrayOutput
}

NotifyListNotificationArrayInput is an input type that accepts NotifyListNotificationArray and NotifyListNotificationArrayOutput values. You can construct a concrete instance of `NotifyListNotificationArrayInput` via:

NotifyListNotificationArray{ NotifyListNotificationArgs{...} }

type NotifyListNotificationArrayOutput

type NotifyListNotificationArrayOutput struct{ *pulumi.OutputState }

func (NotifyListNotificationArrayOutput) ElementType

func (NotifyListNotificationArrayOutput) Index

func (NotifyListNotificationArrayOutput) ToNotifyListNotificationArrayOutput

func (o NotifyListNotificationArrayOutput) ToNotifyListNotificationArrayOutput() NotifyListNotificationArrayOutput

func (NotifyListNotificationArrayOutput) ToNotifyListNotificationArrayOutputWithContext

func (o NotifyListNotificationArrayOutput) ToNotifyListNotificationArrayOutputWithContext(ctx context.Context) NotifyListNotificationArrayOutput

type NotifyListNotificationInput

type NotifyListNotificationInput interface {
	pulumi.Input

	ToNotifyListNotificationOutput() NotifyListNotificationOutput
	ToNotifyListNotificationOutputWithContext(context.Context) NotifyListNotificationOutput
}

NotifyListNotificationInput is an input type that accepts NotifyListNotificationArgs and NotifyListNotificationOutput values. You can construct a concrete instance of `NotifyListNotificationInput` via:

NotifyListNotificationArgs{...}

type NotifyListNotificationOutput

type NotifyListNotificationOutput struct{ *pulumi.OutputState }

func (NotifyListNotificationOutput) Config

Configuration details for the given notifier type.

func (NotifyListNotificationOutput) ElementType

func (NotifyListNotificationOutput) ToNotifyListNotificationOutput

func (o NotifyListNotificationOutput) ToNotifyListNotificationOutput() NotifyListNotificationOutput

func (NotifyListNotificationOutput) ToNotifyListNotificationOutputWithContext

func (o NotifyListNotificationOutput) ToNotifyListNotificationOutputWithContext(ctx context.Context) NotifyListNotificationOutput

func (NotifyListNotificationOutput) Type

The type of notifier. Available notifiers are indicated in /notifytypes endpoint.

type NotifyListOutput added in v1.3.1

type NotifyListOutput struct {
	*pulumi.OutputState
}

func (NotifyListOutput) ElementType added in v1.3.1

func (NotifyListOutput) ElementType() reflect.Type

func (NotifyListOutput) ToNotifyListOutput added in v1.3.1

func (o NotifyListOutput) ToNotifyListOutput() NotifyListOutput

func (NotifyListOutput) ToNotifyListOutputWithContext added in v1.3.1

func (o NotifyListOutput) ToNotifyListOutputWithContext(ctx context.Context) NotifyListOutput

func (NotifyListOutput) ToNotifyListPtrOutput added in v1.4.1

func (o NotifyListOutput) ToNotifyListPtrOutput() NotifyListPtrOutput

func (NotifyListOutput) ToNotifyListPtrOutputWithContext added in v1.4.1

func (o NotifyListOutput) ToNotifyListPtrOutputWithContext(ctx context.Context) NotifyListPtrOutput

type NotifyListPtrInput added in v1.4.1

type NotifyListPtrInput interface {
	pulumi.Input

	ToNotifyListPtrOutput() NotifyListPtrOutput
	ToNotifyListPtrOutputWithContext(ctx context.Context) NotifyListPtrOutput
}

type NotifyListPtrOutput added in v1.4.1

type NotifyListPtrOutput struct {
	*pulumi.OutputState
}

func (NotifyListPtrOutput) ElementType added in v1.4.1

func (NotifyListPtrOutput) ElementType() reflect.Type

func (NotifyListPtrOutput) ToNotifyListPtrOutput added in v1.4.1

func (o NotifyListPtrOutput) ToNotifyListPtrOutput() NotifyListPtrOutput

func (NotifyListPtrOutput) ToNotifyListPtrOutputWithContext added in v1.4.1

func (o NotifyListPtrOutput) ToNotifyListPtrOutputWithContext(ctx context.Context) NotifyListPtrOutput

type NotifyListState

type NotifyListState struct {
	// The free-form display name for the notify list.
	Name pulumi.StringPtrInput
	// A list of notifiers. All notifiers in a notification list will receive notifications whenever an event is send to the list (e.g., when a monitoring job fails). Notifiers are documented below.
	Notifications NotifyListNotificationArrayInput
}

func (NotifyListState) ElementType

func (NotifyListState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the ns1 package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

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

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

func (*Provider) ElementType added in v1.3.1

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v1.3.1

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v1.3.1

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

func (*Provider) ToProviderPtrOutput added in v1.4.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v1.4.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	// The ns1 API key, this is required
	Apikey               pulumi.StringPtrInput
	EnableDdi            pulumi.BoolPtrInput
	Endpoint             pulumi.StringPtrInput
	IgnoreSsl            pulumi.BoolPtrInput
	RateLimitParallelism pulumi.IntPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v1.3.1

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput added in v1.3.1

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v1.3.1

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v1.3.1

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v1.3.1

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

func (ProviderOutput) ToProviderPtrOutput added in v1.4.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v1.4.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v1.4.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v1.4.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v1.4.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v1.4.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v1.4.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type Record

type Record struct {
	pulumi.CustomResourceState

	// One or more NS1 answers for the records' specified type.
	// Answers are documented below.
	Answers RecordAnswerArrayOutput `pulumi:"answers"`
	// The records' domain. Cannot have leading or trailing
	// dots - see the example above and `FQDN formatting` below.
	Domain pulumi.StringOutput `pulumi:"domain"`
	// One or more NS1 filters for the record(order matters).
	// Filters are documented below.
	Filters RecordFilterArrayOutput `pulumi:"filters"`
	// The target record to link to. This means this record is a
	// 'linked' record, and it inherits all properties from its target.
	Link pulumi.StringPtrOutput `pulumi:"link"`
	Meta pulumi.MapOutput       `pulumi:"meta"`
	// One or more "regions" for the record. These are really
	// just groupings based on metadata, and are called "Answer Groups" in the NS1 UI,
	// but remain `regions` here for legacy reasons. Regions are
	// documented below. Please note the ordering requirement!
	Regions RecordRegionArrayOutput `pulumi:"regions"`
	// Deprecated: short_answers will be deprecated in a future release. It is suggested to migrate to a regular "answers" block.
	ShortAnswers pulumi.StringArrayOutput `pulumi:"shortAnswers"`
	// The records' time to live (in seconds).
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// The records' RR type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Whether to use EDNS client subnet data when
	// available(in filter chain).
	// * `  meta ` - (Optional) meta is supported at the `record` level. Meta
	//   is documented below.
	UseClientSubnet pulumi.BoolPtrOutput `pulumi:"useClientSubnet"`
	// The zone the record belongs to. Cannot have leading or
	// trailing dots (".") - see the example above and `FQDN formatting` below.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

Provides a NS1 Record resource. This can be used to create, modify, and delete records.

## NS1 Documentation

[Record Api Doc](https://ns1.com/api#records)

## Import

```sh

$ pulumi import ns1:index/record:Record <name> <zone>/<domain>/<type>`

```

So for the example above

```sh

$ pulumi import ns1:index/record:Record www terraform.example.io/www.terraform.example.io/CNAME`

```

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 added in v1.3.1

func (*Record) ElementType() reflect.Type

func (*Record) ToRecordOutput added in v1.3.1

func (i *Record) ToRecordOutput() RecordOutput

func (*Record) ToRecordOutputWithContext added in v1.3.1

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

func (*Record) ToRecordPtrOutput added in v1.4.1

func (i *Record) ToRecordPtrOutput() RecordPtrOutput

func (*Record) ToRecordPtrOutputWithContext added in v1.4.1

func (i *Record) ToRecordPtrOutputWithContext(ctx context.Context) RecordPtrOutput

type RecordAnswer

type RecordAnswer struct {
	// Space delimited string of RDATA fields dependent on the record type.
	Answer *string                `pulumi:"answer"`
	Meta   map[string]interface{} `pulumi:"meta"`
	// The region (Answer Group really) that this answer
	// belongs to. This should be one of the names specified in `regions`. Only a
	// single `region` per answer is currently supported. If you want an answer in
	// multiple regions, duplicating the answer (including metadata) is the correct
	// approach.
	// * `  meta ` - (Optional) meta is supported at the `answer` level. Meta
	//   is documented below.
	Region *string `pulumi:"region"`
}

type RecordAnswerArgs

type RecordAnswerArgs struct {
	// Space delimited string of RDATA fields dependent on the record type.
	Answer pulumi.StringPtrInput `pulumi:"answer"`
	Meta   pulumi.MapInput       `pulumi:"meta"`
	// The region (Answer Group really) that this answer
	// belongs to. This should be one of the names specified in `regions`. Only a
	// single `region` per answer is currently supported. If you want an answer in
	// multiple regions, duplicating the answer (including metadata) is the correct
	// approach.
	// * `  meta ` - (Optional) meta is supported at the `answer` level. Meta
	//   is documented below.
	Region pulumi.StringPtrInput `pulumi:"region"`
}

func (RecordAnswerArgs) ElementType

func (RecordAnswerArgs) ElementType() reflect.Type

func (RecordAnswerArgs) ToRecordAnswerOutput

func (i RecordAnswerArgs) ToRecordAnswerOutput() RecordAnswerOutput

func (RecordAnswerArgs) ToRecordAnswerOutputWithContext

func (i RecordAnswerArgs) ToRecordAnswerOutputWithContext(ctx context.Context) RecordAnswerOutput

type RecordAnswerArray

type RecordAnswerArray []RecordAnswerInput

func (RecordAnswerArray) ElementType

func (RecordAnswerArray) ElementType() reflect.Type

func (RecordAnswerArray) ToRecordAnswerArrayOutput

func (i RecordAnswerArray) ToRecordAnswerArrayOutput() RecordAnswerArrayOutput

func (RecordAnswerArray) ToRecordAnswerArrayOutputWithContext

func (i RecordAnswerArray) ToRecordAnswerArrayOutputWithContext(ctx context.Context) RecordAnswerArrayOutput

type RecordAnswerArrayInput

type RecordAnswerArrayInput interface {
	pulumi.Input

	ToRecordAnswerArrayOutput() RecordAnswerArrayOutput
	ToRecordAnswerArrayOutputWithContext(context.Context) RecordAnswerArrayOutput
}

RecordAnswerArrayInput is an input type that accepts RecordAnswerArray and RecordAnswerArrayOutput values. You can construct a concrete instance of `RecordAnswerArrayInput` via:

RecordAnswerArray{ RecordAnswerArgs{...} }

type RecordAnswerArrayOutput

type RecordAnswerArrayOutput struct{ *pulumi.OutputState }

func (RecordAnswerArrayOutput) ElementType

func (RecordAnswerArrayOutput) ElementType() reflect.Type

func (RecordAnswerArrayOutput) Index

func (RecordAnswerArrayOutput) ToRecordAnswerArrayOutput

func (o RecordAnswerArrayOutput) ToRecordAnswerArrayOutput() RecordAnswerArrayOutput

func (RecordAnswerArrayOutput) ToRecordAnswerArrayOutputWithContext

func (o RecordAnswerArrayOutput) ToRecordAnswerArrayOutputWithContext(ctx context.Context) RecordAnswerArrayOutput

type RecordAnswerInput

type RecordAnswerInput interface {
	pulumi.Input

	ToRecordAnswerOutput() RecordAnswerOutput
	ToRecordAnswerOutputWithContext(context.Context) RecordAnswerOutput
}

RecordAnswerInput is an input type that accepts RecordAnswerArgs and RecordAnswerOutput values. You can construct a concrete instance of `RecordAnswerInput` via:

RecordAnswerArgs{...}

type RecordAnswerOutput

type RecordAnswerOutput struct{ *pulumi.OutputState }

func (RecordAnswerOutput) Answer

Space delimited string of RDATA fields dependent on the record type.

func (RecordAnswerOutput) ElementType

func (RecordAnswerOutput) ElementType() reflect.Type

func (RecordAnswerOutput) Meta

func (RecordAnswerOutput) Region

The region (Answer Group really) that this answer belongs to. This should be one of the names specified in `regions`. Only a single `region` per answer is currently supported. If you want an answer in multiple regions, duplicating the answer (including metadata) is the correct approach.

  • ` meta ` - (Optional) meta is supported at the `answer` level. Meta is documented below.

func (RecordAnswerOutput) ToRecordAnswerOutput

func (o RecordAnswerOutput) ToRecordAnswerOutput() RecordAnswerOutput

func (RecordAnswerOutput) ToRecordAnswerOutputWithContext

func (o RecordAnswerOutput) ToRecordAnswerOutputWithContext(ctx context.Context) RecordAnswerOutput

type RecordArgs

type RecordArgs struct {
	// One or more NS1 answers for the records' specified type.
	// Answers are documented below.
	Answers RecordAnswerArrayInput
	// The records' domain. Cannot have leading or trailing
	// dots - see the example above and `FQDN formatting` below.
	Domain pulumi.StringInput
	// One or more NS1 filters for the record(order matters).
	// Filters are documented below.
	Filters RecordFilterArrayInput
	// The target record to link to. This means this record is a
	// 'linked' record, and it inherits all properties from its target.
	Link pulumi.StringPtrInput
	Meta pulumi.MapInput
	// One or more "regions" for the record. These are really
	// just groupings based on metadata, and are called "Answer Groups" in the NS1 UI,
	// but remain `regions` here for legacy reasons. Regions are
	// documented below. Please note the ordering requirement!
	Regions RecordRegionArrayInput
	// Deprecated: short_answers will be deprecated in a future release. It is suggested to migrate to a regular "answers" block.
	ShortAnswers pulumi.StringArrayInput
	// The records' time to live (in seconds).
	Ttl pulumi.IntPtrInput
	// The records' RR type.
	Type pulumi.StringInput
	// Whether to use EDNS client subnet data when
	// available(in filter chain).
	// * `  meta ` - (Optional) meta is supported at the `record` level. Meta
	//   is documented below.
	UseClientSubnet pulumi.BoolPtrInput
	// The zone the record belongs to. Cannot have leading or
	// trailing dots (".") - see the example above and `FQDN formatting` below.
	Zone pulumi.StringInput
}

The set of arguments for constructing a Record resource.

func (RecordArgs) ElementType

func (RecordArgs) ElementType() reflect.Type

type RecordArray added in v1.4.1

type RecordArray []RecordInput

func (RecordArray) ElementType added in v1.4.1

func (RecordArray) ElementType() reflect.Type

func (RecordArray) ToRecordArrayOutput added in v1.4.1

func (i RecordArray) ToRecordArrayOutput() RecordArrayOutput

func (RecordArray) ToRecordArrayOutputWithContext added in v1.4.1

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

type RecordArrayInput added in v1.4.1

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 added in v1.4.1

type RecordArrayOutput struct{ *pulumi.OutputState }

func (RecordArrayOutput) ElementType added in v1.4.1

func (RecordArrayOutput) ElementType() reflect.Type

func (RecordArrayOutput) Index added in v1.4.1

func (RecordArrayOutput) ToRecordArrayOutput added in v1.4.1

func (o RecordArrayOutput) ToRecordArrayOutput() RecordArrayOutput

func (RecordArrayOutput) ToRecordArrayOutputWithContext added in v1.4.1

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

type RecordFilter

type RecordFilter struct {
	// The filters' configuration. Simple key/value pairs
	// determined by the filter type.
	Config map[string]interface{} `pulumi:"config"`
	// Determines whether the filter is applied in the
	// filter chain.
	Disabled *bool `pulumi:"disabled"`
	// The type of filter.
	Filter string `pulumi:"filter"`
}

type RecordFilterArgs

type RecordFilterArgs struct {
	// The filters' configuration. Simple key/value pairs
	// determined by the filter type.
	Config pulumi.MapInput `pulumi:"config"`
	// Determines whether the filter is applied in the
	// filter chain.
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// The type of filter.
	Filter pulumi.StringInput `pulumi:"filter"`
}

func (RecordFilterArgs) ElementType

func (RecordFilterArgs) ElementType() reflect.Type

func (RecordFilterArgs) ToRecordFilterOutput

func (i RecordFilterArgs) ToRecordFilterOutput() RecordFilterOutput

func (RecordFilterArgs) ToRecordFilterOutputWithContext

func (i RecordFilterArgs) ToRecordFilterOutputWithContext(ctx context.Context) RecordFilterOutput

type RecordFilterArray

type RecordFilterArray []RecordFilterInput

func (RecordFilterArray) ElementType

func (RecordFilterArray) ElementType() reflect.Type

func (RecordFilterArray) ToRecordFilterArrayOutput

func (i RecordFilterArray) ToRecordFilterArrayOutput() RecordFilterArrayOutput

func (RecordFilterArray) ToRecordFilterArrayOutputWithContext

func (i RecordFilterArray) ToRecordFilterArrayOutputWithContext(ctx context.Context) RecordFilterArrayOutput

type RecordFilterArrayInput

type RecordFilterArrayInput interface {
	pulumi.Input

	ToRecordFilterArrayOutput() RecordFilterArrayOutput
	ToRecordFilterArrayOutputWithContext(context.Context) RecordFilterArrayOutput
}

RecordFilterArrayInput is an input type that accepts RecordFilterArray and RecordFilterArrayOutput values. You can construct a concrete instance of `RecordFilterArrayInput` via:

RecordFilterArray{ RecordFilterArgs{...} }

type RecordFilterArrayOutput

type RecordFilterArrayOutput struct{ *pulumi.OutputState }

func (RecordFilterArrayOutput) ElementType

func (RecordFilterArrayOutput) ElementType() reflect.Type

func (RecordFilterArrayOutput) Index

func (RecordFilterArrayOutput) ToRecordFilterArrayOutput

func (o RecordFilterArrayOutput) ToRecordFilterArrayOutput() RecordFilterArrayOutput

func (RecordFilterArrayOutput) ToRecordFilterArrayOutputWithContext

func (o RecordFilterArrayOutput) ToRecordFilterArrayOutputWithContext(ctx context.Context) RecordFilterArrayOutput

type RecordFilterInput

type RecordFilterInput interface {
	pulumi.Input

	ToRecordFilterOutput() RecordFilterOutput
	ToRecordFilterOutputWithContext(context.Context) RecordFilterOutput
}

RecordFilterInput is an input type that accepts RecordFilterArgs and RecordFilterOutput values. You can construct a concrete instance of `RecordFilterInput` via:

RecordFilterArgs{...}

type RecordFilterOutput

type RecordFilterOutput struct{ *pulumi.OutputState }

func (RecordFilterOutput) Config

func (o RecordFilterOutput) Config() pulumi.MapOutput

The filters' configuration. Simple key/value pairs determined by the filter type.

func (RecordFilterOutput) Disabled

Determines whether the filter is applied in the filter chain.

func (RecordFilterOutput) ElementType

func (RecordFilterOutput) ElementType() reflect.Type

func (RecordFilterOutput) Filter

The type of filter.

func (RecordFilterOutput) ToRecordFilterOutput

func (o RecordFilterOutput) ToRecordFilterOutput() RecordFilterOutput

func (RecordFilterOutput) ToRecordFilterOutputWithContext

func (o RecordFilterOutput) ToRecordFilterOutputWithContext(ctx context.Context) RecordFilterOutput

type RecordInput added in v1.3.1

type RecordInput interface {
	pulumi.Input

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

type RecordMap added in v1.4.1

type RecordMap map[string]RecordInput

func (RecordMap) ElementType added in v1.4.1

func (RecordMap) ElementType() reflect.Type

func (RecordMap) ToRecordMapOutput added in v1.4.1

func (i RecordMap) ToRecordMapOutput() RecordMapOutput

func (RecordMap) ToRecordMapOutputWithContext added in v1.4.1

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

type RecordMapInput added in v1.4.1

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 added in v1.4.1

type RecordMapOutput struct{ *pulumi.OutputState }

func (RecordMapOutput) ElementType added in v1.4.1

func (RecordMapOutput) ElementType() reflect.Type

func (RecordMapOutput) MapIndex added in v1.4.1

func (RecordMapOutput) ToRecordMapOutput added in v1.4.1

func (o RecordMapOutput) ToRecordMapOutput() RecordMapOutput

func (RecordMapOutput) ToRecordMapOutputWithContext added in v1.4.1

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

type RecordOutput added in v1.3.1

type RecordOutput struct {
	*pulumi.OutputState
}

func (RecordOutput) ElementType added in v1.3.1

func (RecordOutput) ElementType() reflect.Type

func (RecordOutput) ToRecordOutput added in v1.3.1

func (o RecordOutput) ToRecordOutput() RecordOutput

func (RecordOutput) ToRecordOutputWithContext added in v1.3.1

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

func (RecordOutput) ToRecordPtrOutput added in v1.4.1

func (o RecordOutput) ToRecordPtrOutput() RecordPtrOutput

func (RecordOutput) ToRecordPtrOutputWithContext added in v1.4.1

func (o RecordOutput) ToRecordPtrOutputWithContext(ctx context.Context) RecordPtrOutput

type RecordPtrInput added in v1.4.1

type RecordPtrInput interface {
	pulumi.Input

	ToRecordPtrOutput() RecordPtrOutput
	ToRecordPtrOutputWithContext(ctx context.Context) RecordPtrOutput
}

type RecordPtrOutput added in v1.4.1

type RecordPtrOutput struct {
	*pulumi.OutputState
}

func (RecordPtrOutput) ElementType added in v1.4.1

func (RecordPtrOutput) ElementType() reflect.Type

func (RecordPtrOutput) ToRecordPtrOutput added in v1.4.1

func (o RecordPtrOutput) ToRecordPtrOutput() RecordPtrOutput

func (RecordPtrOutput) ToRecordPtrOutputWithContext added in v1.4.1

func (o RecordPtrOutput) ToRecordPtrOutputWithContext(ctx context.Context) RecordPtrOutput

type RecordRegion

type RecordRegion struct {
	Meta map[string]interface{} `pulumi:"meta"`
	// Name of the region (or Answer Group).
	Name string `pulumi:"name"`
}

type RecordRegionArgs

type RecordRegionArgs struct {
	Meta pulumi.MapInput `pulumi:"meta"`
	// Name of the region (or Answer Group).
	Name pulumi.StringInput `pulumi:"name"`
}

func (RecordRegionArgs) ElementType

func (RecordRegionArgs) ElementType() reflect.Type

func (RecordRegionArgs) ToRecordRegionOutput

func (i RecordRegionArgs) ToRecordRegionOutput() RecordRegionOutput

func (RecordRegionArgs) ToRecordRegionOutputWithContext

func (i RecordRegionArgs) ToRecordRegionOutputWithContext(ctx context.Context) RecordRegionOutput

type RecordRegionArray

type RecordRegionArray []RecordRegionInput

func (RecordRegionArray) ElementType

func (RecordRegionArray) ElementType() reflect.Type

func (RecordRegionArray) ToRecordRegionArrayOutput

func (i RecordRegionArray) ToRecordRegionArrayOutput() RecordRegionArrayOutput

func (RecordRegionArray) ToRecordRegionArrayOutputWithContext

func (i RecordRegionArray) ToRecordRegionArrayOutputWithContext(ctx context.Context) RecordRegionArrayOutput

type RecordRegionArrayInput

type RecordRegionArrayInput interface {
	pulumi.Input

	ToRecordRegionArrayOutput() RecordRegionArrayOutput
	ToRecordRegionArrayOutputWithContext(context.Context) RecordRegionArrayOutput
}

RecordRegionArrayInput is an input type that accepts RecordRegionArray and RecordRegionArrayOutput values. You can construct a concrete instance of `RecordRegionArrayInput` via:

RecordRegionArray{ RecordRegionArgs{...} }

type RecordRegionArrayOutput

type RecordRegionArrayOutput struct{ *pulumi.OutputState }

func (RecordRegionArrayOutput) ElementType

func (RecordRegionArrayOutput) ElementType() reflect.Type

func (RecordRegionArrayOutput) Index

func (RecordRegionArrayOutput) ToRecordRegionArrayOutput

func (o RecordRegionArrayOutput) ToRecordRegionArrayOutput() RecordRegionArrayOutput

func (RecordRegionArrayOutput) ToRecordRegionArrayOutputWithContext

func (o RecordRegionArrayOutput) ToRecordRegionArrayOutputWithContext(ctx context.Context) RecordRegionArrayOutput

type RecordRegionInput

type RecordRegionInput interface {
	pulumi.Input

	ToRecordRegionOutput() RecordRegionOutput
	ToRecordRegionOutputWithContext(context.Context) RecordRegionOutput
}

RecordRegionInput is an input type that accepts RecordRegionArgs and RecordRegionOutput values. You can construct a concrete instance of `RecordRegionInput` via:

RecordRegionArgs{...}

type RecordRegionOutput

type RecordRegionOutput struct{ *pulumi.OutputState }

func (RecordRegionOutput) ElementType

func (RecordRegionOutput) ElementType() reflect.Type

func (RecordRegionOutput) Meta

func (RecordRegionOutput) Name

Name of the region (or Answer Group).

func (RecordRegionOutput) ToRecordRegionOutput

func (o RecordRegionOutput) ToRecordRegionOutput() RecordRegionOutput

func (RecordRegionOutput) ToRecordRegionOutputWithContext

func (o RecordRegionOutput) ToRecordRegionOutputWithContext(ctx context.Context) RecordRegionOutput

type RecordState

type RecordState struct {
	// One or more NS1 answers for the records' specified type.
	// Answers are documented below.
	Answers RecordAnswerArrayInput
	// The records' domain. Cannot have leading or trailing
	// dots - see the example above and `FQDN formatting` below.
	Domain pulumi.StringPtrInput
	// One or more NS1 filters for the record(order matters).
	// Filters are documented below.
	Filters RecordFilterArrayInput
	// The target record to link to. This means this record is a
	// 'linked' record, and it inherits all properties from its target.
	Link pulumi.StringPtrInput
	Meta pulumi.MapInput
	// One or more "regions" for the record. These are really
	// just groupings based on metadata, and are called "Answer Groups" in the NS1 UI,
	// but remain `regions` here for legacy reasons. Regions are
	// documented below. Please note the ordering requirement!
	Regions RecordRegionArrayInput
	// Deprecated: short_answers will be deprecated in a future release. It is suggested to migrate to a regular "answers" block.
	ShortAnswers pulumi.StringArrayInput
	// The records' time to live (in seconds).
	Ttl pulumi.IntPtrInput
	// The records' RR type.
	Type pulumi.StringPtrInput
	// Whether to use EDNS client subnet data when
	// available(in filter chain).
	// * `  meta ` - (Optional) meta is supported at the `record` level. Meta
	//   is documented below.
	UseClientSubnet pulumi.BoolPtrInput
	// The zone the record belongs to. Cannot have leading or
	// trailing dots (".") - see the example above and `FQDN formatting` below.
	Zone pulumi.StringPtrInput
}

func (RecordState) ElementType

func (RecordState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	// Whether the team can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrOutput `pulumi:"accountManageAccountSettings"`
	// Whether the team can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrOutput `pulumi:"accountManageApikeys"`
	// Whether the team can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrOutput `pulumi:"accountManageIpWhitelist"`
	// Whether the team can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrOutput `pulumi:"accountManagePaymentMethods"`
	// Whether the team can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrOutput `pulumi:"accountManagePlan"`
	// Whether the team can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrOutput `pulumi:"accountManageTeams"`
	// Whether the team can modify account users.
	AccountManageUsers pulumi.BoolPtrOutput `pulumi:"accountManageUsers"`
	// Whether the team can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrOutput `pulumi:"accountViewActivityLog"`
	// Whether the team can view invoices.
	AccountViewInvoices pulumi.BoolPtrOutput `pulumi:"accountViewInvoices"`
	// Whether the team can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrOutput `pulumi:"dataManageDatafeeds"`
	// Whether the team can modify data sources.
	DataManageDatasources pulumi.BoolPtrOutput `pulumi:"dataManageDatasources"`
	// Whether the team can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrOutput `pulumi:"dataPushToDatafeeds"`
	// Whether the team can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrOutput `pulumi:"dhcpManageDhcp"`
	// Whether the team can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrOutput `pulumi:"dhcpViewDhcp"`
	// Whether the team can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrOutput `pulumi:"dnsManageZones"`
	// Whether the team can view the accounts zones.
	DnsViewZones pulumi.BoolPtrOutput `pulumi:"dnsViewZones"`
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrOutput `pulumi:"dnsZonesAllowByDefault"`
	// List of zones that the team may access.
	DnsZonesAllows pulumi.StringArrayOutput `pulumi:"dnsZonesAllows"`
	// List of zones that the team may not access.
	DnsZonesDenies pulumi.StringArrayOutput `pulumi:"dnsZonesDenies"`
	// The IP addresses to whitelist for this key.
	IpWhitelists TeamIpWhitelistArrayOutput `pulumi:"ipWhitelists"`
	// Whether the team can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrOutput `pulumi:"ipamManageIpam"`
	// Whether the team can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrOutput `pulumi:"ipamViewIpam"`
	// Whether the team can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrOutput `pulumi:"monitoringManageJobs"`
	// Whether the team can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrOutput `pulumi:"monitoringManageLists"`
	// Whether the team can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrOutput `pulumi:"monitoringViewJobs"`
	// The free form name of the team.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether the team can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrOutput `pulumi:"securityManageActiveDirectory"`
	// Whether the team can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrOutput `pulumi:"securityManageGlobal2fa"`
}

Provides a NS1 Team resource. This can be used to create, modify, and delete teams. The credentials used must have the `manageTeams` permission set.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-ns1/sdk/go/ns1"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ns1.NewTeam(ctx, "example", &ns1.TeamArgs{
			AccountManageUsers: pulumi.Bool(false),
			DnsViewZones:       pulumi.Bool(false),
			IpWhitelists: ns1.TeamIpWhitelistArray{
				&ns1.TeamIpWhitelistArgs{
					Name: pulumi.String("whitelist-1"),
					Values: pulumi.StringArray{
						pulumi.String("1.1.1.1"),
						pulumi.String("2.2.2.2"),
					},
				},
				&ns1.TeamIpWhitelistArgs{
					Name: pulumi.String("whitelist-2"),
					Values: pulumi.StringArray{
						pulumi.String("3.3.3.3"),
						pulumi.String("4.4.4.4"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ns1.NewTeam(ctx, "example2", &ns1.TeamArgs{
			DataManageDatasources: pulumi.Bool(true),
			DnsViewZones:          pulumi.Bool(true),
			DnsZonesAllows: pulumi.StringArray{
				pulumi.String("mytest.zone"),
			},
			DnsZonesAllowByDefault: pulumi.Bool(true),
			DnsZonesDenies: pulumi.StringArray{
				pulumi.String("myother.zone"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## NS1 Documentation

[Team Api Docs](https://ns1.com/api#team)

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team 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 NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

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

func (*Team) ElementType added in v1.3.1

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput added in v1.3.1

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext added in v1.3.1

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

func (*Team) ToTeamPtrOutput added in v1.4.1

func (i *Team) ToTeamPtrOutput() TeamPtrOutput

func (*Team) ToTeamPtrOutputWithContext added in v1.4.1

func (i *Team) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

type TeamArgs

type TeamArgs struct {
	// Whether the team can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the team can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the team can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the team can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// Whether the team can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the team can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the team can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the team can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the team can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the team can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the team can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the team can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the team can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the team can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the team can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the team can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the team may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the team may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// The IP addresses to whitelist for this key.
	IpWhitelists TeamIpWhitelistArrayInput
	// Whether the team can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	// Whether the team can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrInput
	// Whether the team can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the team can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the team can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the team.
	Name pulumi.StringPtrInput
	// Whether the team can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the team can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray added in v1.4.1

type TeamArray []TeamInput

func (TeamArray) ElementType added in v1.4.1

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput added in v1.4.1

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext added in v1.4.1

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput added in v1.4.1

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput added in v1.4.1

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType added in v1.4.1

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index added in v1.4.1

func (TeamArrayOutput) ToTeamArrayOutput added in v1.4.1

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext added in v1.4.1

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput added in v1.3.1

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamIpWhitelist

type TeamIpWhitelist struct {
	// The free form name of the team.
	Name   string   `pulumi:"name"`
	Values []string `pulumi:"values"`
}

type TeamIpWhitelistArgs

type TeamIpWhitelistArgs struct {
	// The free form name of the team.
	Name   pulumi.StringInput      `pulumi:"name"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (TeamIpWhitelistArgs) ElementType

func (TeamIpWhitelistArgs) ElementType() reflect.Type

func (TeamIpWhitelistArgs) ToTeamIpWhitelistOutput

func (i TeamIpWhitelistArgs) ToTeamIpWhitelistOutput() TeamIpWhitelistOutput

func (TeamIpWhitelistArgs) ToTeamIpWhitelistOutputWithContext

func (i TeamIpWhitelistArgs) ToTeamIpWhitelistOutputWithContext(ctx context.Context) TeamIpWhitelistOutput

type TeamIpWhitelistArray

type TeamIpWhitelistArray []TeamIpWhitelistInput

func (TeamIpWhitelistArray) ElementType

func (TeamIpWhitelistArray) ElementType() reflect.Type

func (TeamIpWhitelistArray) ToTeamIpWhitelistArrayOutput

func (i TeamIpWhitelistArray) ToTeamIpWhitelistArrayOutput() TeamIpWhitelistArrayOutput

func (TeamIpWhitelistArray) ToTeamIpWhitelistArrayOutputWithContext

func (i TeamIpWhitelistArray) ToTeamIpWhitelistArrayOutputWithContext(ctx context.Context) TeamIpWhitelistArrayOutput

type TeamIpWhitelistArrayInput

type TeamIpWhitelistArrayInput interface {
	pulumi.Input

	ToTeamIpWhitelistArrayOutput() TeamIpWhitelistArrayOutput
	ToTeamIpWhitelistArrayOutputWithContext(context.Context) TeamIpWhitelistArrayOutput
}

TeamIpWhitelistArrayInput is an input type that accepts TeamIpWhitelistArray and TeamIpWhitelistArrayOutput values. You can construct a concrete instance of `TeamIpWhitelistArrayInput` via:

TeamIpWhitelistArray{ TeamIpWhitelistArgs{...} }

type TeamIpWhitelistArrayOutput

type TeamIpWhitelistArrayOutput struct{ *pulumi.OutputState }

func (TeamIpWhitelistArrayOutput) ElementType

func (TeamIpWhitelistArrayOutput) ElementType() reflect.Type

func (TeamIpWhitelistArrayOutput) Index

func (TeamIpWhitelistArrayOutput) ToTeamIpWhitelistArrayOutput

func (o TeamIpWhitelistArrayOutput) ToTeamIpWhitelistArrayOutput() TeamIpWhitelistArrayOutput

func (TeamIpWhitelistArrayOutput) ToTeamIpWhitelistArrayOutputWithContext

func (o TeamIpWhitelistArrayOutput) ToTeamIpWhitelistArrayOutputWithContext(ctx context.Context) TeamIpWhitelistArrayOutput

type TeamIpWhitelistInput

type TeamIpWhitelistInput interface {
	pulumi.Input

	ToTeamIpWhitelistOutput() TeamIpWhitelistOutput
	ToTeamIpWhitelistOutputWithContext(context.Context) TeamIpWhitelistOutput
}

TeamIpWhitelistInput is an input type that accepts TeamIpWhitelistArgs and TeamIpWhitelistOutput values. You can construct a concrete instance of `TeamIpWhitelistInput` via:

TeamIpWhitelistArgs{...}

type TeamIpWhitelistOutput

type TeamIpWhitelistOutput struct{ *pulumi.OutputState }

func (TeamIpWhitelistOutput) ElementType

func (TeamIpWhitelistOutput) ElementType() reflect.Type

func (TeamIpWhitelistOutput) Name

The free form name of the team.

func (TeamIpWhitelistOutput) ToTeamIpWhitelistOutput

func (o TeamIpWhitelistOutput) ToTeamIpWhitelistOutput() TeamIpWhitelistOutput

func (TeamIpWhitelistOutput) ToTeamIpWhitelistOutputWithContext

func (o TeamIpWhitelistOutput) ToTeamIpWhitelistOutputWithContext(ctx context.Context) TeamIpWhitelistOutput

func (TeamIpWhitelistOutput) Values

type TeamMap added in v1.4.1

type TeamMap map[string]TeamInput

func (TeamMap) ElementType added in v1.4.1

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput added in v1.4.1

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext added in v1.4.1

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput added in v1.4.1

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput added in v1.4.1

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType added in v1.4.1

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex added in v1.4.1

func (TeamMapOutput) ToTeamMapOutput added in v1.4.1

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext added in v1.4.1

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamOutput added in v1.3.1

type TeamOutput struct {
	*pulumi.OutputState
}

func (TeamOutput) ElementType added in v1.3.1

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) ToTeamOutput added in v1.3.1

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext added in v1.3.1

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

func (TeamOutput) ToTeamPtrOutput added in v1.4.1

func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamOutput) ToTeamPtrOutputWithContext added in v1.4.1

func (o TeamOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

type TeamPtrInput added in v1.4.1

type TeamPtrInput interface {
	pulumi.Input

	ToTeamPtrOutput() TeamPtrOutput
	ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput
}

type TeamPtrOutput added in v1.4.1

type TeamPtrOutput struct {
	*pulumi.OutputState
}

func (TeamPtrOutput) ElementType added in v1.4.1

func (TeamPtrOutput) ElementType() reflect.Type

func (TeamPtrOutput) ToTeamPtrOutput added in v1.4.1

func (o TeamPtrOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamPtrOutput) ToTeamPtrOutputWithContext added in v1.4.1

func (o TeamPtrOutput) ToTeamPtrOutputWithContext(ctx context.Context) TeamPtrOutput

type TeamState

type TeamState struct {
	// Whether the team can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the team can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the team can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the team can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// Whether the team can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the team can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the team can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the team can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the team can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the team can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the team can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the team can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the team can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the team can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the team can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the team can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the team may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the team may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// The IP addresses to whitelist for this key.
	IpWhitelists TeamIpWhitelistArrayInput
	// Whether the team can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	// Whether the team can view IPAM.
	// Only relevant for the DDI product.
	IpamViewIpam pulumi.BoolPtrInput
	// Whether the team can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the team can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the team can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the team.
	Name pulumi.StringPtrInput
	// Whether the team can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the team can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// Whether the user can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrOutput `pulumi:"accountManageAccountSettings"`
	// Whether the user can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrOutput `pulumi:"accountManageApikeys"`
	// Whether the user can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrOutput `pulumi:"accountManageIpWhitelist"`
	// Whether the user can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrOutput `pulumi:"accountManagePaymentMethods"`
	// **Deprecated** Whether the user can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrOutput `pulumi:"accountManagePlan"`
	// Whether the user can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrOutput `pulumi:"accountManageTeams"`
	// Whether the user can modify account users.
	AccountManageUsers pulumi.BoolPtrOutput `pulumi:"accountManageUsers"`
	// Whether the user can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrOutput `pulumi:"accountViewActivityLog"`
	// Whether the user can view invoices.
	AccountViewInvoices pulumi.BoolPtrOutput `pulumi:"accountViewInvoices"`
	// Whether the user can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrOutput `pulumi:"dataManageDatafeeds"`
	// Whether the user can modify data sources.
	DataManageDatasources pulumi.BoolPtrOutput `pulumi:"dataManageDatasources"`
	// Whether the user can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrOutput `pulumi:"dataPushToDatafeeds"`
	// Whether the user can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrOutput `pulumi:"dhcpManageDhcp"`
	// Whether the user can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrOutput `pulumi:"dhcpViewDhcp"`
	// Whether the user can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrOutput `pulumi:"dnsManageZones"`
	// Whether the user can view the accounts zones.
	DnsViewZones pulumi.BoolPtrOutput `pulumi:"dnsViewZones"`
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrOutput `pulumi:"dnsZonesAllowByDefault"`
	// List of zones that the user may access.
	DnsZonesAllows pulumi.StringArrayOutput `pulumi:"dnsZonesAllows"`
	// List of zones that the user may not access.
	DnsZonesDenies pulumi.StringArrayOutput `pulumi:"dnsZonesDenies"`
	// The email address of the user.
	Email pulumi.StringOutput `pulumi:"email"`
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrOutput `pulumi:"ipWhitelistStrict"`
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayOutput `pulumi:"ipWhitelists"`
	// Whether the user can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrOutput `pulumi:"ipamManageIpam"`
	IpamViewIpam   pulumi.BoolPtrOutput `pulumi:"ipamViewIpam"`
	// Whether the user can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrOutput `pulumi:"monitoringManageJobs"`
	// Whether the user can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrOutput `pulumi:"monitoringManageLists"`
	// Whether the user can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrOutput `pulumi:"monitoringViewJobs"`
	// The free form name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not to notify the user of specified events. Only `billing` is available currently.
	Notify pulumi.MapOutput `pulumi:"notify"`
	// Whether the user can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrOutput `pulumi:"securityManageActiveDirectory"`
	// Whether the user can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrOutput `pulumi:"securityManageGlobal2fa"`
	// The teams that the user belongs to.
	Teams pulumi.StringArrayOutput `pulumi:"teams"`
	// The users login name.
	Username pulumi.StringOutput `pulumi:"username"`
}

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User 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 NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

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

func (*User) ElementType added in v1.3.1

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v1.3.1

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v1.3.1

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

func (*User) ToUserPtrOutput added in v1.4.1

func (i *User) ToUserPtrOutput() UserPtrOutput

func (*User) ToUserPtrOutputWithContext added in v1.4.1

func (i *User) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserArgs

type UserArgs struct {
	// Whether the user can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the user can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the user can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the user can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// **Deprecated** Whether the user can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the user can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the user can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the user can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the user can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the user can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the user can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the user can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the user can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the user can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the user can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the user can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the user may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the user may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// The email address of the user.
	Email pulumi.StringInput
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrInput
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayInput
	// Whether the user can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	IpamViewIpam   pulumi.BoolPtrInput
	// Whether the user can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the user can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the user can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the user.
	Name pulumi.StringPtrInput
	// Whether or not to notify the user of specified events. Only `billing` is available currently.
	Notify pulumi.MapInput
	// Whether the user can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the user can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
	// The teams that the user belongs to.
	Teams pulumi.StringArrayInput
	// The users login name.
	Username pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray added in v1.4.1

type UserArray []UserInput

func (UserArray) ElementType added in v1.4.1

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v1.4.1

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v1.4.1

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v1.4.1

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput added in v1.4.1

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v1.4.1

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v1.4.1

func (UserArrayOutput) ToUserArrayOutput added in v1.4.1

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v1.4.1

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput added in v1.3.1

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v1.4.1

type UserMap map[string]UserInput

func (UserMap) ElementType added in v1.4.1

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v1.4.1

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v1.4.1

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v1.4.1

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput added in v1.4.1

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v1.4.1

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v1.4.1

func (UserMapOutput) ToUserMapOutput added in v1.4.1

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v1.4.1

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput added in v1.3.1

type UserOutput struct {
	*pulumi.OutputState
}

func (UserOutput) ElementType added in v1.3.1

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput added in v1.3.1

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v1.3.1

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) ToUserPtrOutput added in v1.4.1

func (o UserOutput) ToUserPtrOutput() UserPtrOutput

func (UserOutput) ToUserPtrOutputWithContext added in v1.4.1

func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserPtrInput added in v1.4.1

type UserPtrInput interface {
	pulumi.Input

	ToUserPtrOutput() UserPtrOutput
	ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
}

type UserPtrOutput added in v1.4.1

type UserPtrOutput struct {
	*pulumi.OutputState
}

func (UserPtrOutput) ElementType added in v1.4.1

func (UserPtrOutput) ElementType() reflect.Type

func (UserPtrOutput) ToUserPtrOutput added in v1.4.1

func (o UserPtrOutput) ToUserPtrOutput() UserPtrOutput

func (UserPtrOutput) ToUserPtrOutputWithContext added in v1.4.1

func (o UserPtrOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserState

type UserState struct {
	// Whether the user can modify account settings.
	AccountManageAccountSettings pulumi.BoolPtrInput
	// Whether the user can modify account apikeys.
	AccountManageApikeys pulumi.BoolPtrInput
	// Whether the user can manage ip whitelist.
	AccountManageIpWhitelist pulumi.BoolPtrInput
	// Whether the user can modify account payment methods.
	AccountManagePaymentMethods pulumi.BoolPtrInput
	// **Deprecated** Whether the user can modify the account plan.
	//
	// Deprecated: obsolete, should no longer be used
	AccountManagePlan pulumi.BoolPtrInput
	// Whether the user can modify other teams in the account.
	AccountManageTeams pulumi.BoolPtrInput
	// Whether the user can modify account users.
	AccountManageUsers pulumi.BoolPtrInput
	// Whether the user can view activity logs.
	AccountViewActivityLog pulumi.BoolPtrInput
	// Whether the user can view invoices.
	AccountViewInvoices pulumi.BoolPtrInput
	// Whether the user can modify data feeds.
	DataManageDatafeeds pulumi.BoolPtrInput
	// Whether the user can modify data sources.
	DataManageDatasources pulumi.BoolPtrInput
	// Whether the user can publish to data feeds.
	DataPushToDatafeeds pulumi.BoolPtrInput
	// Whether the user can manage DHCP.
	// Only relevant for the DDI product.
	DhcpManageDhcp pulumi.BoolPtrInput
	// Whether the user can view DHCP.
	// Only relevant for the DDI product.
	DhcpViewDhcp pulumi.BoolPtrInput
	// Whether the user can modify the accounts zones.
	DnsManageZones pulumi.BoolPtrInput
	// Whether the user can view the accounts zones.
	DnsViewZones pulumi.BoolPtrInput
	// If true, enable the `dnsZonesAllow` list, otherwise enable the `dnsZonesDeny` list.
	DnsZonesAllowByDefault pulumi.BoolPtrInput
	// List of zones that the user may access.
	DnsZonesAllows pulumi.StringArrayInput
	// List of zones that the user may not access.
	DnsZonesDenies pulumi.StringArrayInput
	// The email address of the user.
	Email pulumi.StringPtrInput
	// Sets exclusivity on this IP whitelist.
	IpWhitelistStrict pulumi.BoolPtrInput
	// The IP addresses to whitelist for this key.
	IpWhitelists pulumi.StringArrayInput
	// Whether the user can manage IPAM.
	// Only relevant for the DDI product.
	IpamManageIpam pulumi.BoolPtrInput
	IpamViewIpam   pulumi.BoolPtrInput
	// Whether the user can modify monitoring jobs.
	MonitoringManageJobs pulumi.BoolPtrInput
	// Whether the user can modify notification lists.
	MonitoringManageLists pulumi.BoolPtrInput
	// Whether the user can view monitoring jobs.
	MonitoringViewJobs pulumi.BoolPtrInput
	// The free form name of the user.
	Name pulumi.StringPtrInput
	// Whether or not to notify the user of specified events. Only `billing` is available currently.
	Notify pulumi.MapInput
	// Whether the user can manage global active directory.
	// Only relevant for the DDI product.
	SecurityManageActiveDirectory pulumi.BoolPtrInput
	// Whether the user can manage global two factor authentication.
	SecurityManageGlobal2fa pulumi.BoolPtrInput
	// The teams that the user belongs to.
	Teams pulumi.StringArrayInput
	// The users login name.
	Username pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// List of additional IPv4 addresses for the primary
	// zone. Conflicts with `secondaries`.
	AdditionalPrimaries  pulumi.StringArrayOutput `pulumi:"additionalPrimaries"`
	AutogenerateNsRecord pulumi.BoolPtrOutput     `pulumi:"autogenerateNsRecord"`
	// (Computed) Authoritative Name Servers.
	DnsServers pulumi.StringOutput `pulumi:"dnsServers"`
	// Whether or not DNSSEC is enabled for the zone.
	// Note that DNSSEC must be enabled on the account by support for this to be set
	// to `true`.
	Dnssec pulumi.BoolOutput `pulumi:"dnssec"`
	// The SOA Expiry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Expiry pulumi.IntOutput `pulumi:"expiry"`
	// (Computed) The SOA Hostmaster.
	Hostmaster pulumi.StringOutput `pulumi:"hostmaster"`
	// The target zone(domain name) to link to.
	Link pulumi.StringPtrOutput `pulumi:"link"`
	// - List of network IDs (`int`) for which the zone
	//   should be made available. Default is network 0, the primary NSONE Global
	//   Network. Normally, you should not have to worry about this.
	Networks pulumi.IntArrayOutput `pulumi:"networks"`
	// The SOA NX TTL. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	NxTtl pulumi.IntOutput `pulumi:"nxTtl"`
	// The primary zones' IPv4 address. This makes the zone a
	// secondary. Conflicts with `secondaries`.
	Primary pulumi.StringPtrOutput `pulumi:"primary"`
	// The SOA Refresh. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Refresh pulumi.IntOutput `pulumi:"refresh"`
	// The SOA Retry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Retry pulumi.IntOutput `pulumi:"retry"`
	// List of secondary servers. This makes the zone a
	// primary. Conflicts with `primary` and `additionalPrimaries`.
	// Secondaries is documented below.
	Secondaries ZoneSecondaryArrayOutput `pulumi:"secondaries"`
	// The SOA TTL.
	Ttl pulumi.IntOutput `pulumi:"ttl"`
	// The domain name of the zone.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

## Import

```sh

$ pulumi import ns1:index/zone:Zone <name> <zone>`

```

So for the example above

```sh

$ pulumi import ns1:index/zone:Zone example terraform.example.io`

```

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 added in v1.3.1

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput added in v1.3.1

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext added in v1.3.1

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

func (*Zone) ToZonePtrOutput added in v1.4.1

func (i *Zone) ToZonePtrOutput() ZonePtrOutput

func (*Zone) ToZonePtrOutputWithContext added in v1.4.1

func (i *Zone) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

type ZoneArgs

type ZoneArgs struct {
	// List of additional IPv4 addresses for the primary
	// zone. Conflicts with `secondaries`.
	AdditionalPrimaries  pulumi.StringArrayInput
	AutogenerateNsRecord pulumi.BoolPtrInput
	// Whether or not DNSSEC is enabled for the zone.
	// Note that DNSSEC must be enabled on the account by support for this to be set
	// to `true`.
	Dnssec pulumi.BoolPtrInput
	// The SOA Expiry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Expiry pulumi.IntPtrInput
	// The target zone(domain name) to link to.
	Link pulumi.StringPtrInput
	// - List of network IDs (`int`) for which the zone
	//   should be made available. Default is network 0, the primary NSONE Global
	//   Network. Normally, you should not have to worry about this.
	Networks pulumi.IntArrayInput
	// The SOA NX TTL. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	NxTtl pulumi.IntPtrInput
	// The primary zones' IPv4 address. This makes the zone a
	// secondary. Conflicts with `secondaries`.
	Primary pulumi.StringPtrInput
	// The SOA Refresh. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Refresh pulumi.IntPtrInput
	// The SOA Retry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Retry pulumi.IntPtrInput
	// List of secondary servers. This makes the zone a
	// primary. Conflicts with `primary` and `additionalPrimaries`.
	// Secondaries is documented below.
	Secondaries ZoneSecondaryArrayInput
	// The SOA TTL.
	Ttl pulumi.IntPtrInput
	// The domain name of the zone.
	Zone pulumi.StringInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray added in v1.4.1

type ZoneArray []ZoneInput

func (ZoneArray) ElementType added in v1.4.1

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput added in v1.4.1

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext added in v1.4.1

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

type ZoneArrayInput added in v1.4.1

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 added in v1.4.1

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType added in v1.4.1

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index added in v1.4.1

func (ZoneArrayOutput) ToZoneArrayOutput added in v1.4.1

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext added in v1.4.1

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

type ZoneInput added in v1.3.1

type ZoneInput interface {
	pulumi.Input

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

type ZoneMap added in v1.4.1

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType added in v1.4.1

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput added in v1.4.1

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext added in v1.4.1

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

type ZoneMapInput added in v1.4.1

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 added in v1.4.1

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType added in v1.4.1

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex added in v1.4.1

func (ZoneMapOutput) ToZoneMapOutput added in v1.4.1

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext added in v1.4.1

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

type ZoneOutput added in v1.3.1

type ZoneOutput struct {
	*pulumi.OutputState
}

func (ZoneOutput) ElementType added in v1.3.1

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) ToZoneOutput added in v1.3.1

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext added in v1.3.1

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

func (ZoneOutput) ToZonePtrOutput added in v1.4.1

func (o ZoneOutput) ToZonePtrOutput() ZonePtrOutput

func (ZoneOutput) ToZonePtrOutputWithContext added in v1.4.1

func (o ZoneOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

type ZonePtrInput added in v1.4.1

type ZonePtrInput interface {
	pulumi.Input

	ToZonePtrOutput() ZonePtrOutput
	ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput
}

type ZonePtrOutput added in v1.4.1

type ZonePtrOutput struct {
	*pulumi.OutputState
}

func (ZonePtrOutput) ElementType added in v1.4.1

func (ZonePtrOutput) ElementType() reflect.Type

func (ZonePtrOutput) ToZonePtrOutput added in v1.4.1

func (o ZonePtrOutput) ToZonePtrOutput() ZonePtrOutput

func (ZonePtrOutput) ToZonePtrOutputWithContext added in v1.4.1

func (o ZonePtrOutput) ToZonePtrOutputWithContext(ctx context.Context) ZonePtrOutput

type ZoneSecondary

type ZoneSecondary struct {
	// IPv4 address of the secondary server.
	Ip string `pulumi:"ip"`
	// - List of network IDs (`int`) for which the zone
	//   should be made available. Default is network 0, the primary NSONE Global
	//   Network. Normally, you should not have to worry about this.
	Networks []int `pulumi:"networks"`
	// Whether we send `NOTIFY` messages to the secondary host
	// when the zone changes. Default `false`.
	Notify *bool `pulumi:"notify"`
	// Port of the the secondary server. Default `53`.
	Port *int `pulumi:"port"`
}

type ZoneSecondaryArgs

type ZoneSecondaryArgs struct {
	// IPv4 address of the secondary server.
	Ip pulumi.StringInput `pulumi:"ip"`
	// - List of network IDs (`int`) for which the zone
	//   should be made available. Default is network 0, the primary NSONE Global
	//   Network. Normally, you should not have to worry about this.
	Networks pulumi.IntArrayInput `pulumi:"networks"`
	// Whether we send `NOTIFY` messages to the secondary host
	// when the zone changes. Default `false`.
	Notify pulumi.BoolPtrInput `pulumi:"notify"`
	// Port of the the secondary server. Default `53`.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (ZoneSecondaryArgs) ElementType

func (ZoneSecondaryArgs) ElementType() reflect.Type

func (ZoneSecondaryArgs) ToZoneSecondaryOutput

func (i ZoneSecondaryArgs) ToZoneSecondaryOutput() ZoneSecondaryOutput

func (ZoneSecondaryArgs) ToZoneSecondaryOutputWithContext

func (i ZoneSecondaryArgs) ToZoneSecondaryOutputWithContext(ctx context.Context) ZoneSecondaryOutput

type ZoneSecondaryArray

type ZoneSecondaryArray []ZoneSecondaryInput

func (ZoneSecondaryArray) ElementType

func (ZoneSecondaryArray) ElementType() reflect.Type

func (ZoneSecondaryArray) ToZoneSecondaryArrayOutput

func (i ZoneSecondaryArray) ToZoneSecondaryArrayOutput() ZoneSecondaryArrayOutput

func (ZoneSecondaryArray) ToZoneSecondaryArrayOutputWithContext

func (i ZoneSecondaryArray) ToZoneSecondaryArrayOutputWithContext(ctx context.Context) ZoneSecondaryArrayOutput

type ZoneSecondaryArrayInput

type ZoneSecondaryArrayInput interface {
	pulumi.Input

	ToZoneSecondaryArrayOutput() ZoneSecondaryArrayOutput
	ToZoneSecondaryArrayOutputWithContext(context.Context) ZoneSecondaryArrayOutput
}

ZoneSecondaryArrayInput is an input type that accepts ZoneSecondaryArray and ZoneSecondaryArrayOutput values. You can construct a concrete instance of `ZoneSecondaryArrayInput` via:

ZoneSecondaryArray{ ZoneSecondaryArgs{...} }

type ZoneSecondaryArrayOutput

type ZoneSecondaryArrayOutput struct{ *pulumi.OutputState }

func (ZoneSecondaryArrayOutput) ElementType

func (ZoneSecondaryArrayOutput) ElementType() reflect.Type

func (ZoneSecondaryArrayOutput) Index

func (ZoneSecondaryArrayOutput) ToZoneSecondaryArrayOutput

func (o ZoneSecondaryArrayOutput) ToZoneSecondaryArrayOutput() ZoneSecondaryArrayOutput

func (ZoneSecondaryArrayOutput) ToZoneSecondaryArrayOutputWithContext

func (o ZoneSecondaryArrayOutput) ToZoneSecondaryArrayOutputWithContext(ctx context.Context) ZoneSecondaryArrayOutput

type ZoneSecondaryInput

type ZoneSecondaryInput interface {
	pulumi.Input

	ToZoneSecondaryOutput() ZoneSecondaryOutput
	ToZoneSecondaryOutputWithContext(context.Context) ZoneSecondaryOutput
}

ZoneSecondaryInput is an input type that accepts ZoneSecondaryArgs and ZoneSecondaryOutput values. You can construct a concrete instance of `ZoneSecondaryInput` via:

ZoneSecondaryArgs{...}

type ZoneSecondaryOutput

type ZoneSecondaryOutput struct{ *pulumi.OutputState }

func (ZoneSecondaryOutput) ElementType

func (ZoneSecondaryOutput) ElementType() reflect.Type

func (ZoneSecondaryOutput) Ip

IPv4 address of the secondary server.

func (ZoneSecondaryOutput) Networks

  • List of network IDs (`int`) for which the zone should be made available. Default is network 0, the primary NSONE Global Network. Normally, you should not have to worry about this.

func (ZoneSecondaryOutput) Notify

Whether we send `NOTIFY` messages to the secondary host when the zone changes. Default `false`.

func (ZoneSecondaryOutput) Port

Port of the the secondary server. Default `53`.

func (ZoneSecondaryOutput) ToZoneSecondaryOutput

func (o ZoneSecondaryOutput) ToZoneSecondaryOutput() ZoneSecondaryOutput

func (ZoneSecondaryOutput) ToZoneSecondaryOutputWithContext

func (o ZoneSecondaryOutput) ToZoneSecondaryOutputWithContext(ctx context.Context) ZoneSecondaryOutput

type ZoneState

type ZoneState struct {
	// List of additional IPv4 addresses for the primary
	// zone. Conflicts with `secondaries`.
	AdditionalPrimaries  pulumi.StringArrayInput
	AutogenerateNsRecord pulumi.BoolPtrInput
	// (Computed) Authoritative Name Servers.
	DnsServers pulumi.StringPtrInput
	// Whether or not DNSSEC is enabled for the zone.
	// Note that DNSSEC must be enabled on the account by support for this to be set
	// to `true`.
	Dnssec pulumi.BoolPtrInput
	// The SOA Expiry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Expiry pulumi.IntPtrInput
	// (Computed) The SOA Hostmaster.
	Hostmaster pulumi.StringPtrInput
	// The target zone(domain name) to link to.
	Link pulumi.StringPtrInput
	// - List of network IDs (`int`) for which the zone
	//   should be made available. Default is network 0, the primary NSONE Global
	//   Network. Normally, you should not have to worry about this.
	Networks pulumi.IntArrayInput
	// The SOA NX TTL. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	NxTtl pulumi.IntPtrInput
	// The primary zones' IPv4 address. This makes the zone a
	// secondary. Conflicts with `secondaries`.
	Primary pulumi.StringPtrInput
	// The SOA Refresh. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Refresh pulumi.IntPtrInput
	// The SOA Retry. Conflicts with `primary` and
	// `additionalPrimaries` (default must be accepted).
	Retry pulumi.IntPtrInput
	// List of secondary servers. This makes the zone a
	// primary. Conflicts with `primary` and `additionalPrimaries`.
	// Secondaries is documented below.
	Secondaries ZoneSecondaryArrayInput
	// The SOA TTL.
	Ttl pulumi.IntPtrInput
	// The domain name of the zone.
	Zone pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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