mongodbatlas

package
v1.7.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 mongodbatlas cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v1.5.0

func PkgVersion() (semver.Version, error)

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

Types

type AlertConfiguration

type AlertConfiguration struct {
	pulumi.CustomResourceState

	// Unique identifier for the alert configuration.
	AlertConfigurationId pulumi.StringOutput `pulumi:"alertConfigurationId"`
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
	Created pulumi.StringOutput `pulumi:"created"`
	// It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The type of event that will trigger an alert.
	EventType       pulumi.StringOutput                        `pulumi:"eventType"`
	Matchers        AlertConfigurationMatcherArrayOutput       `pulumi:"matchers"`
	MetricThreshold AlertConfigurationMetricThresholdPtrOutput `pulumi:"metricThreshold"`
	Notifications   AlertConfigurationNotificationArrayOutput  `pulumi:"notifications"`
	// The ID of the project where the alert configuration will create.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Threshold value outside of which an alert will be triggered.
	Threshold AlertConfigurationThresholdPtrOutput `pulumi:"threshold"`
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
	Updated pulumi.StringOutput `pulumi:"updated"`
}

`AlertConfiguration` provides an Alert Configuration resource to define the conditions that trigger an alert and the methods of notification within a MongoDB Atlas project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewAlertConfiguration(ctx, "test", &mongodbatlas.AlertConfigurationArgs{
			Enabled:   pulumi.Bool(true),
			EventType: pulumi.String("OUTSIDE_METRIC_THRESHOLD"),
			Matchers: mongodbatlas.AlertConfigurationMatcherArray{
				&mongodbatlas.AlertConfigurationMatcherArgs{
					FieldName: pulumi.String("HOSTNAME_AND_PORT"),
					Operator:  pulumi.String("EQUALS"),
					Value:     pulumi.String("SECONDARY"),
				},
			},
			MetricThreshold: &mongodbatlas.AlertConfigurationMetricThresholdArgs{
				Metric_name: pulumi.String("ASSERT_REGULAR"),
				Mode:        pulumi.String("AVERAGE"),
				Operator:    pulumi.String("LESS_THAN"),
				Threshold:   pulumi.Float64(99),
				Units:       pulumi.String("RAW"),
			},
			Notifications: mongodbatlas.AlertConfigurationNotificationArray{
				&mongodbatlas.AlertConfigurationNotificationArgs{
					DelayMin:     pulumi.Int(0),
					EmailEnabled: pulumi.Bool(true),
					IntervalMin:  pulumi.Int(5),
					Roles: pulumi.StringArray{
						pulumi.String("GROUP_CHARTS_ADMIN"),
						pulumi.String("GROUP_CLUSTER_MANAGER"),
					},
					SmsEnabled: pulumi.Bool(false),
					TypeName:   pulumi.String("GROUP"),
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewAlertConfiguration(ctx, "test", &mongodbatlas.AlertConfigurationArgs{
			Enabled:   pulumi.Bool(true),
			EventType: pulumi.String("REPLICATION_OPLOG_WINDOW_RUNNING_OUT"),
			Matchers: mongodbatlas.AlertConfigurationMatcherArray{
				&mongodbatlas.AlertConfigurationMatcherArgs{
					FieldName: pulumi.String("HOSTNAME_AND_PORT"),
					Operator:  pulumi.String("EQUALS"),
					Value:     pulumi.String("SECONDARY"),
				},
			},
			Notifications: mongodbatlas.AlertConfigurationNotificationArray{
				&mongodbatlas.AlertConfigurationNotificationArgs{
					DelayMin:     pulumi.Int(0),
					EmailEnabled: pulumi.Bool(true),
					IntervalMin:  pulumi.Int(5),
					Roles: pulumi.StringArray{
						pulumi.String("GROUP_CHARTS_ADMIN"),
						pulumi.String("GROUP_CLUSTER_MANAGER"),
					},
					SmsEnabled: pulumi.Bool(false),
					TypeName:   pulumi.String("GROUP"),
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			Threshold: &mongodbatlas.AlertConfigurationThresholdArgs{
				Operator:  pulumi.String("LESS_THAN"),
				Threshold: pulumi.Float64(1),
				Units:     pulumi.String("HOURS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Alert Configuration can be imported using the `project_id-alert_configuration_id`, e.g.

```sh

$ pulumi import mongodbatlas:index/alertConfiguration:AlertConfiguration test 5d0f1f74cf09a29120e123cd-5d0f1f74cf09a29120e1fscg

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/alert-configurations/)

func GetAlertConfiguration

func GetAlertConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertConfigurationState, opts ...pulumi.ResourceOption) (*AlertConfiguration, error)

GetAlertConfiguration gets an existing AlertConfiguration 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 NewAlertConfiguration

func NewAlertConfiguration(ctx *pulumi.Context,
	name string, args *AlertConfigurationArgs, opts ...pulumi.ResourceOption) (*AlertConfiguration, error)

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

func (*AlertConfiguration) ElementType added in v1.3.1

func (*AlertConfiguration) ElementType() reflect.Type

func (*AlertConfiguration) ToAlertConfigurationOutput added in v1.3.1

func (i *AlertConfiguration) ToAlertConfigurationOutput() AlertConfigurationOutput

func (*AlertConfiguration) ToAlertConfigurationOutputWithContext added in v1.3.1

func (i *AlertConfiguration) ToAlertConfigurationOutputWithContext(ctx context.Context) AlertConfigurationOutput

func (*AlertConfiguration) ToAlertConfigurationPtrOutput added in v1.5.2

func (i *AlertConfiguration) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (*AlertConfiguration) ToAlertConfigurationPtrOutputWithContext added in v1.5.2

func (i *AlertConfiguration) ToAlertConfigurationPtrOutputWithContext(ctx context.Context) AlertConfigurationPtrOutput

type AlertConfigurationArgs

type AlertConfigurationArgs struct {
	// It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
	Enabled pulumi.BoolPtrInput
	// The type of event that will trigger an alert.
	EventType       pulumi.StringInput
	Matchers        AlertConfigurationMatcherArrayInput
	MetricThreshold AlertConfigurationMetricThresholdPtrInput
	Notifications   AlertConfigurationNotificationArrayInput
	// The ID of the project where the alert configuration will create.
	ProjectId pulumi.StringInput
	// Threshold value outside of which an alert will be triggered.
	Threshold AlertConfigurationThresholdPtrInput
}

The set of arguments for constructing a AlertConfiguration resource.

func (AlertConfigurationArgs) ElementType

func (AlertConfigurationArgs) ElementType() reflect.Type

type AlertConfigurationArray added in v1.5.2

type AlertConfigurationArray []AlertConfigurationInput

func (AlertConfigurationArray) ElementType added in v1.5.2

func (AlertConfigurationArray) ElementType() reflect.Type

func (AlertConfigurationArray) ToAlertConfigurationArrayOutput added in v1.5.2

func (i AlertConfigurationArray) ToAlertConfigurationArrayOutput() AlertConfigurationArrayOutput

func (AlertConfigurationArray) ToAlertConfigurationArrayOutputWithContext added in v1.5.2

func (i AlertConfigurationArray) ToAlertConfigurationArrayOutputWithContext(ctx context.Context) AlertConfigurationArrayOutput

type AlertConfigurationArrayInput added in v1.5.2

type AlertConfigurationArrayInput interface {
	pulumi.Input

	ToAlertConfigurationArrayOutput() AlertConfigurationArrayOutput
	ToAlertConfigurationArrayOutputWithContext(context.Context) AlertConfigurationArrayOutput
}

AlertConfigurationArrayInput is an input type that accepts AlertConfigurationArray and AlertConfigurationArrayOutput values. You can construct a concrete instance of `AlertConfigurationArrayInput` via:

AlertConfigurationArray{ AlertConfigurationArgs{...} }

type AlertConfigurationArrayOutput added in v1.5.2

type AlertConfigurationArrayOutput struct{ *pulumi.OutputState }

func (AlertConfigurationArrayOutput) ElementType added in v1.5.2

func (AlertConfigurationArrayOutput) Index added in v1.5.2

func (AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutput added in v1.5.2

func (o AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutput() AlertConfigurationArrayOutput

func (AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutputWithContext added in v1.5.2

func (o AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutputWithContext(ctx context.Context) AlertConfigurationArrayOutput

type AlertConfigurationInput added in v1.3.1

type AlertConfigurationInput interface {
	pulumi.Input

	ToAlertConfigurationOutput() AlertConfigurationOutput
	ToAlertConfigurationOutputWithContext(ctx context.Context) AlertConfigurationOutput
}

type AlertConfigurationMap added in v1.5.2

type AlertConfigurationMap map[string]AlertConfigurationInput

func (AlertConfigurationMap) ElementType added in v1.5.2

func (AlertConfigurationMap) ElementType() reflect.Type

func (AlertConfigurationMap) ToAlertConfigurationMapOutput added in v1.5.2

func (i AlertConfigurationMap) ToAlertConfigurationMapOutput() AlertConfigurationMapOutput

func (AlertConfigurationMap) ToAlertConfigurationMapOutputWithContext added in v1.5.2

func (i AlertConfigurationMap) ToAlertConfigurationMapOutputWithContext(ctx context.Context) AlertConfigurationMapOutput

type AlertConfigurationMapInput added in v1.5.2

type AlertConfigurationMapInput interface {
	pulumi.Input

	ToAlertConfigurationMapOutput() AlertConfigurationMapOutput
	ToAlertConfigurationMapOutputWithContext(context.Context) AlertConfigurationMapOutput
}

AlertConfigurationMapInput is an input type that accepts AlertConfigurationMap and AlertConfigurationMapOutput values. You can construct a concrete instance of `AlertConfigurationMapInput` via:

AlertConfigurationMap{ "key": AlertConfigurationArgs{...} }

type AlertConfigurationMapOutput added in v1.5.2

type AlertConfigurationMapOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMapOutput) ElementType added in v1.5.2

func (AlertConfigurationMapOutput) MapIndex added in v1.5.2

func (AlertConfigurationMapOutput) ToAlertConfigurationMapOutput added in v1.5.2

func (o AlertConfigurationMapOutput) ToAlertConfigurationMapOutput() AlertConfigurationMapOutput

func (AlertConfigurationMapOutput) ToAlertConfigurationMapOutputWithContext added in v1.5.2

func (o AlertConfigurationMapOutput) ToAlertConfigurationMapOutputWithContext(ctx context.Context) AlertConfigurationMapOutput

type AlertConfigurationMatcher

type AlertConfigurationMatcher struct {
	// Name of the field in the target object to match on.
	FieldName *string `pulumi:"fieldName"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator *string `pulumi:"operator"`
	// Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
	// - `PRIMARY`
	// - `SECONDARY`
	// - `STANDALONE`
	// - `CONFIG`
	// - `MONGOS`
	Value *string `pulumi:"value"`
}

type AlertConfigurationMatcherArgs

type AlertConfigurationMatcherArgs struct {
	// Name of the field in the target object to match on.
	FieldName pulumi.StringPtrInput `pulumi:"fieldName"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
	// - `PRIMARY`
	// - `SECONDARY`
	// - `STANDALONE`
	// - `CONFIG`
	// - `MONGOS`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (AlertConfigurationMatcherArgs) ElementType

func (AlertConfigurationMatcherArgs) ToAlertConfigurationMatcherOutput

func (i AlertConfigurationMatcherArgs) ToAlertConfigurationMatcherOutput() AlertConfigurationMatcherOutput

func (AlertConfigurationMatcherArgs) ToAlertConfigurationMatcherOutputWithContext

func (i AlertConfigurationMatcherArgs) ToAlertConfigurationMatcherOutputWithContext(ctx context.Context) AlertConfigurationMatcherOutput

type AlertConfigurationMatcherArray

type AlertConfigurationMatcherArray []AlertConfigurationMatcherInput

func (AlertConfigurationMatcherArray) ElementType

func (AlertConfigurationMatcherArray) ToAlertConfigurationMatcherArrayOutput

func (i AlertConfigurationMatcherArray) ToAlertConfigurationMatcherArrayOutput() AlertConfigurationMatcherArrayOutput

func (AlertConfigurationMatcherArray) ToAlertConfigurationMatcherArrayOutputWithContext

func (i AlertConfigurationMatcherArray) ToAlertConfigurationMatcherArrayOutputWithContext(ctx context.Context) AlertConfigurationMatcherArrayOutput

type AlertConfigurationMatcherArrayInput

type AlertConfigurationMatcherArrayInput interface {
	pulumi.Input

	ToAlertConfigurationMatcherArrayOutput() AlertConfigurationMatcherArrayOutput
	ToAlertConfigurationMatcherArrayOutputWithContext(context.Context) AlertConfigurationMatcherArrayOutput
}

AlertConfigurationMatcherArrayInput is an input type that accepts AlertConfigurationMatcherArray and AlertConfigurationMatcherArrayOutput values. You can construct a concrete instance of `AlertConfigurationMatcherArrayInput` via:

AlertConfigurationMatcherArray{ AlertConfigurationMatcherArgs{...} }

type AlertConfigurationMatcherArrayOutput

type AlertConfigurationMatcherArrayOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMatcherArrayOutput) ElementType

func (AlertConfigurationMatcherArrayOutput) Index

func (AlertConfigurationMatcherArrayOutput) ToAlertConfigurationMatcherArrayOutput

func (o AlertConfigurationMatcherArrayOutput) ToAlertConfigurationMatcherArrayOutput() AlertConfigurationMatcherArrayOutput

func (AlertConfigurationMatcherArrayOutput) ToAlertConfigurationMatcherArrayOutputWithContext

func (o AlertConfigurationMatcherArrayOutput) ToAlertConfigurationMatcherArrayOutputWithContext(ctx context.Context) AlertConfigurationMatcherArrayOutput

type AlertConfigurationMatcherInput

type AlertConfigurationMatcherInput interface {
	pulumi.Input

	ToAlertConfigurationMatcherOutput() AlertConfigurationMatcherOutput
	ToAlertConfigurationMatcherOutputWithContext(context.Context) AlertConfigurationMatcherOutput
}

AlertConfigurationMatcherInput is an input type that accepts AlertConfigurationMatcherArgs and AlertConfigurationMatcherOutput values. You can construct a concrete instance of `AlertConfigurationMatcherInput` via:

AlertConfigurationMatcherArgs{...}

type AlertConfigurationMatcherOutput

type AlertConfigurationMatcherOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMatcherOutput) ElementType

func (AlertConfigurationMatcherOutput) FieldName

Name of the field in the target object to match on.

func (AlertConfigurationMatcherOutput) Operator

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (AlertConfigurationMatcherOutput) ToAlertConfigurationMatcherOutput

func (o AlertConfigurationMatcherOutput) ToAlertConfigurationMatcherOutput() AlertConfigurationMatcherOutput

func (AlertConfigurationMatcherOutput) ToAlertConfigurationMatcherOutputWithContext

func (o AlertConfigurationMatcherOutput) ToAlertConfigurationMatcherOutputWithContext(ctx context.Context) AlertConfigurationMatcherOutput

func (AlertConfigurationMatcherOutput) Value

Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values: - `PRIMARY` - `SECONDARY` - `STANDALONE` - `CONFIG` - `MONGOS`

type AlertConfigurationMetricThreshold

type AlertConfigurationMetricThreshold struct {
	// Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)
	MetricName *string `pulumi:"metricName"`
	// This must be set to AVERAGE. Atlas computes the current metric value as an average.
	Mode *string `pulumi:"mode"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator *string `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold *float64 `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units *string `pulumi:"units"`
}

type AlertConfigurationMetricThresholdArgs

type AlertConfigurationMetricThresholdArgs struct {
	// Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// This must be set to AVERAGE. Atlas computes the current metric value as an average.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold pulumi.Float64PtrInput `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units pulumi.StringPtrInput `pulumi:"units"`
}

func (AlertConfigurationMetricThresholdArgs) ElementType

func (AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdOutput

func (i AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdOutput() AlertConfigurationMetricThresholdOutput

func (AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdOutputWithContext

func (i AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdOutputWithContext(ctx context.Context) AlertConfigurationMetricThresholdOutput

func (AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdPtrOutput

func (i AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdPtrOutput() AlertConfigurationMetricThresholdPtrOutput

func (AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdPtrOutputWithContext

func (i AlertConfigurationMetricThresholdArgs) ToAlertConfigurationMetricThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationMetricThresholdPtrOutput

type AlertConfigurationMetricThresholdInput

type AlertConfigurationMetricThresholdInput interface {
	pulumi.Input

	ToAlertConfigurationMetricThresholdOutput() AlertConfigurationMetricThresholdOutput
	ToAlertConfigurationMetricThresholdOutputWithContext(context.Context) AlertConfigurationMetricThresholdOutput
}

AlertConfigurationMetricThresholdInput is an input type that accepts AlertConfigurationMetricThresholdArgs and AlertConfigurationMetricThresholdOutput values. You can construct a concrete instance of `AlertConfigurationMetricThresholdInput` via:

AlertConfigurationMetricThresholdArgs{...}

type AlertConfigurationMetricThresholdOutput

type AlertConfigurationMetricThresholdOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMetricThresholdOutput) ElementType

func (AlertConfigurationMetricThresholdOutput) MetricName

Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)

func (AlertConfigurationMetricThresholdOutput) Mode

This must be set to AVERAGE. Atlas computes the current metric value as an average.

func (AlertConfigurationMetricThresholdOutput) Operator

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (AlertConfigurationMetricThresholdOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdOutput

func (o AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdOutput() AlertConfigurationMetricThresholdOutput

func (AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdOutputWithContext

func (o AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdOutputWithContext(ctx context.Context) AlertConfigurationMetricThresholdOutput

func (AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdPtrOutput

func (o AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdPtrOutput() AlertConfigurationMetricThresholdPtrOutput

func (AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdPtrOutputWithContext

func (o AlertConfigurationMetricThresholdOutput) ToAlertConfigurationMetricThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationMetricThresholdPtrOutput

func (AlertConfigurationMetricThresholdOutput) Units

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type AlertConfigurationMetricThresholdPtrInput

type AlertConfigurationMetricThresholdPtrInput interface {
	pulumi.Input

	ToAlertConfigurationMetricThresholdPtrOutput() AlertConfigurationMetricThresholdPtrOutput
	ToAlertConfigurationMetricThresholdPtrOutputWithContext(context.Context) AlertConfigurationMetricThresholdPtrOutput
}

AlertConfigurationMetricThresholdPtrInput is an input type that accepts AlertConfigurationMetricThresholdArgs, AlertConfigurationMetricThresholdPtr and AlertConfigurationMetricThresholdPtrOutput values. You can construct a concrete instance of `AlertConfigurationMetricThresholdPtrInput` via:

        AlertConfigurationMetricThresholdArgs{...}

or:

        nil

type AlertConfigurationMetricThresholdPtrOutput

type AlertConfigurationMetricThresholdPtrOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMetricThresholdPtrOutput) Elem

func (AlertConfigurationMetricThresholdPtrOutput) ElementType

func (AlertConfigurationMetricThresholdPtrOutput) MetricName

Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)

func (AlertConfigurationMetricThresholdPtrOutput) Mode

This must be set to AVERAGE. Atlas computes the current metric value as an average.

func (AlertConfigurationMetricThresholdPtrOutput) Operator

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (AlertConfigurationMetricThresholdPtrOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationMetricThresholdPtrOutput) ToAlertConfigurationMetricThresholdPtrOutput

func (o AlertConfigurationMetricThresholdPtrOutput) ToAlertConfigurationMetricThresholdPtrOutput() AlertConfigurationMetricThresholdPtrOutput

func (AlertConfigurationMetricThresholdPtrOutput) ToAlertConfigurationMetricThresholdPtrOutputWithContext

func (o AlertConfigurationMetricThresholdPtrOutput) ToAlertConfigurationMetricThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationMetricThresholdPtrOutput

func (AlertConfigurationMetricThresholdPtrOutput) Units

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type AlertConfigurationNotification

type AlertConfigurationNotification struct {
	// Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	ApiToken *string `pulumi:"apiToken"`
	// Slack channel name. Required for the SLACK notifications type.
	ChannelName *string `pulumi:"channelName"`
	// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
	DatadogApiKey *string `pulumi:"datadogApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
	DatadogRegion *string `pulumi:"datadogRegion"`
	// Number of minutes to wait after an alert condition is detected before sending out the first notification.
	DelayMin *int `pulumi:"delayMin"`
	// Email address to which alert notifications are sent. Required for the EMAIL notifications type.
	EmailAddress *string `pulumi:"emailAddress"`
	// Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	EmailEnabled *bool `pulumi:"emailEnabled"`
	// Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type
	FlowName *string `pulumi:"flowName"`
	// The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	FlowdockApiToken *string `pulumi:"flowdockApiToken"`
	// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
	IntervalMin *int `pulumi:"intervalMin"`
	// Mobile number to which alert notifications are sent. Required for the SMS notifications type.
	MobileNumber *string `pulumi:"mobileNumber"`
	// Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	OpsGenieApiKey *string `pulumi:"opsGenieApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
	OpsGenieRegion *string `pulumi:"opsGenieRegion"`
	// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
	OrgName *string  `pulumi:"orgName"`
	Roles   []string `pulumi:"roles"`
	// PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	ServiceKey *string `pulumi:"serviceKey"`
	// Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	SmsEnabled *bool `pulumi:"smsEnabled"`
	// Unique identifier of a team.
	TeamId *string `pulumi:"teamId"`
	// Type of alert notification.
	// Accepted values are:
	// - `DATADOG`
	// - `EMAIL`
	// - `FLOWDOCK`
	TypeName *string `pulumi:"typeName"`
	// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.
	Username *string `pulumi:"username"`
	// VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsApiKey *string `pulumi:"victorOpsApiKey"`
	// VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsRoutingKey *string `pulumi:"victorOpsRoutingKey"`
}

type AlertConfigurationNotificationArgs

type AlertConfigurationNotificationArgs struct {
	// Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	ApiToken pulumi.StringPtrInput `pulumi:"apiToken"`
	// Slack channel name. Required for the SLACK notifications type.
	ChannelName pulumi.StringPtrInput `pulumi:"channelName"`
	// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
	DatadogApiKey pulumi.StringPtrInput `pulumi:"datadogApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
	DatadogRegion pulumi.StringPtrInput `pulumi:"datadogRegion"`
	// Number of minutes to wait after an alert condition is detected before sending out the first notification.
	DelayMin pulumi.IntPtrInput `pulumi:"delayMin"`
	// Email address to which alert notifications are sent. Required for the EMAIL notifications type.
	EmailAddress pulumi.StringPtrInput `pulumi:"emailAddress"`
	// Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	EmailEnabled pulumi.BoolPtrInput `pulumi:"emailEnabled"`
	// Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type
	FlowName pulumi.StringPtrInput `pulumi:"flowName"`
	// The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	FlowdockApiToken pulumi.StringPtrInput `pulumi:"flowdockApiToken"`
	// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
	IntervalMin pulumi.IntPtrInput `pulumi:"intervalMin"`
	// Mobile number to which alert notifications are sent. Required for the SMS notifications type.
	MobileNumber pulumi.StringPtrInput `pulumi:"mobileNumber"`
	// Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	OpsGenieApiKey pulumi.StringPtrInput `pulumi:"opsGenieApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
	OpsGenieRegion pulumi.StringPtrInput `pulumi:"opsGenieRegion"`
	// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
	OrgName pulumi.StringPtrInput   `pulumi:"orgName"`
	Roles   pulumi.StringArrayInput `pulumi:"roles"`
	// PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	ServiceKey pulumi.StringPtrInput `pulumi:"serviceKey"`
	// Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	SmsEnabled pulumi.BoolPtrInput `pulumi:"smsEnabled"`
	// Unique identifier of a team.
	TeamId pulumi.StringPtrInput `pulumi:"teamId"`
	// Type of alert notification.
	// Accepted values are:
	// - `DATADOG`
	// - `EMAIL`
	// - `FLOWDOCK`
	TypeName pulumi.StringPtrInput `pulumi:"typeName"`
	// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.
	Username pulumi.StringPtrInput `pulumi:"username"`
	// VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsApiKey pulumi.StringPtrInput `pulumi:"victorOpsApiKey"`
	// VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsRoutingKey pulumi.StringPtrInput `pulumi:"victorOpsRoutingKey"`
}

func (AlertConfigurationNotificationArgs) ElementType

func (AlertConfigurationNotificationArgs) ToAlertConfigurationNotificationOutput

func (i AlertConfigurationNotificationArgs) ToAlertConfigurationNotificationOutput() AlertConfigurationNotificationOutput

func (AlertConfigurationNotificationArgs) ToAlertConfigurationNotificationOutputWithContext

func (i AlertConfigurationNotificationArgs) ToAlertConfigurationNotificationOutputWithContext(ctx context.Context) AlertConfigurationNotificationOutput

type AlertConfigurationNotificationArray

type AlertConfigurationNotificationArray []AlertConfigurationNotificationInput

func (AlertConfigurationNotificationArray) ElementType

func (AlertConfigurationNotificationArray) ToAlertConfigurationNotificationArrayOutput

func (i AlertConfigurationNotificationArray) ToAlertConfigurationNotificationArrayOutput() AlertConfigurationNotificationArrayOutput

func (AlertConfigurationNotificationArray) ToAlertConfigurationNotificationArrayOutputWithContext

func (i AlertConfigurationNotificationArray) ToAlertConfigurationNotificationArrayOutputWithContext(ctx context.Context) AlertConfigurationNotificationArrayOutput

type AlertConfigurationNotificationArrayInput

type AlertConfigurationNotificationArrayInput interface {
	pulumi.Input

	ToAlertConfigurationNotificationArrayOutput() AlertConfigurationNotificationArrayOutput
	ToAlertConfigurationNotificationArrayOutputWithContext(context.Context) AlertConfigurationNotificationArrayOutput
}

AlertConfigurationNotificationArrayInput is an input type that accepts AlertConfigurationNotificationArray and AlertConfigurationNotificationArrayOutput values. You can construct a concrete instance of `AlertConfigurationNotificationArrayInput` via:

AlertConfigurationNotificationArray{ AlertConfigurationNotificationArgs{...} }

type AlertConfigurationNotificationArrayOutput

type AlertConfigurationNotificationArrayOutput struct{ *pulumi.OutputState }

func (AlertConfigurationNotificationArrayOutput) ElementType

func (AlertConfigurationNotificationArrayOutput) Index

func (AlertConfigurationNotificationArrayOutput) ToAlertConfigurationNotificationArrayOutput

func (o AlertConfigurationNotificationArrayOutput) ToAlertConfigurationNotificationArrayOutput() AlertConfigurationNotificationArrayOutput

func (AlertConfigurationNotificationArrayOutput) ToAlertConfigurationNotificationArrayOutputWithContext

func (o AlertConfigurationNotificationArrayOutput) ToAlertConfigurationNotificationArrayOutputWithContext(ctx context.Context) AlertConfigurationNotificationArrayOutput

type AlertConfigurationNotificationInput

type AlertConfigurationNotificationInput interface {
	pulumi.Input

	ToAlertConfigurationNotificationOutput() AlertConfigurationNotificationOutput
	ToAlertConfigurationNotificationOutputWithContext(context.Context) AlertConfigurationNotificationOutput
}

AlertConfigurationNotificationInput is an input type that accepts AlertConfigurationNotificationArgs and AlertConfigurationNotificationOutput values. You can construct a concrete instance of `AlertConfigurationNotificationInput` via:

AlertConfigurationNotificationArgs{...}

type AlertConfigurationNotificationOutput

type AlertConfigurationNotificationOutput struct{ *pulumi.OutputState }

func (AlertConfigurationNotificationOutput) ApiToken

Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (AlertConfigurationNotificationOutput) ChannelName

Slack channel name. Required for the SLACK notifications type.

func (AlertConfigurationNotificationOutput) DatadogApiKey

Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.

func (AlertConfigurationNotificationOutput) DatadogRegion

Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.

func (AlertConfigurationNotificationOutput) DelayMin

Number of minutes to wait after an alert condition is detected before sending out the first notification.

func (AlertConfigurationNotificationOutput) ElementType

func (AlertConfigurationNotificationOutput) EmailAddress

Email address to which alert notifications are sent. Required for the EMAIL notifications type.

func (AlertConfigurationNotificationOutput) EmailEnabled

Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.

func (AlertConfigurationNotificationOutput) FlowName

Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type

func (AlertConfigurationNotificationOutput) FlowdockApiToken

The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (AlertConfigurationNotificationOutput) IntervalMin

Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.

func (AlertConfigurationNotificationOutput) MobileNumber

Mobile number to which alert notifications are sent. Required for the SMS notifications type.

func (AlertConfigurationNotificationOutput) OpsGenieApiKey

Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (AlertConfigurationNotificationOutput) OpsGenieRegion

Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.

func (AlertConfigurationNotificationOutput) OrgName

Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.

func (AlertConfigurationNotificationOutput) Roles

func (AlertConfigurationNotificationOutput) ServiceKey

PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

func (AlertConfigurationNotificationOutput) SmsEnabled

Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.

func (AlertConfigurationNotificationOutput) TeamId

Unique identifier of a team.

func (AlertConfigurationNotificationOutput) ToAlertConfigurationNotificationOutput

func (o AlertConfigurationNotificationOutput) ToAlertConfigurationNotificationOutput() AlertConfigurationNotificationOutput

func (AlertConfigurationNotificationOutput) ToAlertConfigurationNotificationOutputWithContext

func (o AlertConfigurationNotificationOutput) ToAlertConfigurationNotificationOutputWithContext(ctx context.Context) AlertConfigurationNotificationOutput

func (AlertConfigurationNotificationOutput) TypeName

Type of alert notification. Accepted values are: - `DATADOG` - `EMAIL` - `FLOWDOCK`

func (AlertConfigurationNotificationOutput) Username

Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.

func (AlertConfigurationNotificationOutput) VictorOpsApiKey

VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

func (AlertConfigurationNotificationOutput) VictorOpsRoutingKey

VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

type AlertConfigurationOutput added in v1.3.1

type AlertConfigurationOutput struct {
	*pulumi.OutputState
}

func (AlertConfigurationOutput) ElementType added in v1.3.1

func (AlertConfigurationOutput) ElementType() reflect.Type

func (AlertConfigurationOutput) ToAlertConfigurationOutput added in v1.3.1

func (o AlertConfigurationOutput) ToAlertConfigurationOutput() AlertConfigurationOutput

func (AlertConfigurationOutput) ToAlertConfigurationOutputWithContext added in v1.3.1

func (o AlertConfigurationOutput) ToAlertConfigurationOutputWithContext(ctx context.Context) AlertConfigurationOutput

func (AlertConfigurationOutput) ToAlertConfigurationPtrOutput added in v1.5.2

func (o AlertConfigurationOutput) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (AlertConfigurationOutput) ToAlertConfigurationPtrOutputWithContext added in v1.5.2

func (o AlertConfigurationOutput) ToAlertConfigurationPtrOutputWithContext(ctx context.Context) AlertConfigurationPtrOutput

type AlertConfigurationPtrInput added in v1.5.2

type AlertConfigurationPtrInput interface {
	pulumi.Input

	ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput
	ToAlertConfigurationPtrOutputWithContext(ctx context.Context) AlertConfigurationPtrOutput
}

type AlertConfigurationPtrOutput added in v1.5.2

type AlertConfigurationPtrOutput struct {
	*pulumi.OutputState
}

func (AlertConfigurationPtrOutput) ElementType added in v1.5.2

func (AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutput added in v1.5.2

func (o AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutputWithContext added in v1.5.2

func (o AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutputWithContext(ctx context.Context) AlertConfigurationPtrOutput

type AlertConfigurationState

type AlertConfigurationState struct {
	// Unique identifier for the alert configuration.
	AlertConfigurationId pulumi.StringPtrInput
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
	Created pulumi.StringPtrInput
	// It is not required, but If the attribute is omitted, by default will be false, and the configuration would be disabled. You must set true to enable the configuration.
	Enabled pulumi.BoolPtrInput
	// The type of event that will trigger an alert.
	EventType       pulumi.StringPtrInput
	Matchers        AlertConfigurationMatcherArrayInput
	MetricThreshold AlertConfigurationMetricThresholdPtrInput
	Notifications   AlertConfigurationNotificationArrayInput
	// The ID of the project where the alert configuration will create.
	ProjectId pulumi.StringPtrInput
	// Threshold value outside of which an alert will be triggered.
	Threshold AlertConfigurationThresholdPtrInput
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
	Updated pulumi.StringPtrInput
}

func (AlertConfigurationState) ElementType

func (AlertConfigurationState) ElementType() reflect.Type

type AlertConfigurationThreshold added in v1.2.1

type AlertConfigurationThreshold struct {
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator *string `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold *float64 `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units *string `pulumi:"units"`
}

type AlertConfigurationThresholdArgs added in v1.2.1

type AlertConfigurationThresholdArgs struct {
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold pulumi.Float64PtrInput `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units pulumi.StringPtrInput `pulumi:"units"`
}

func (AlertConfigurationThresholdArgs) ElementType added in v1.2.1

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutput added in v1.2.1

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutput() AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutputWithContext added in v1.2.1

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutputWithContext(ctx context.Context) AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutput added in v1.2.1

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutputWithContext added in v1.2.1

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationThresholdPtrOutput

type AlertConfigurationThresholdInput added in v1.2.1

type AlertConfigurationThresholdInput interface {
	pulumi.Input

	ToAlertConfigurationThresholdOutput() AlertConfigurationThresholdOutput
	ToAlertConfigurationThresholdOutputWithContext(context.Context) AlertConfigurationThresholdOutput
}

AlertConfigurationThresholdInput is an input type that accepts AlertConfigurationThresholdArgs and AlertConfigurationThresholdOutput values. You can construct a concrete instance of `AlertConfigurationThresholdInput` via:

AlertConfigurationThresholdArgs{...}

type AlertConfigurationThresholdOutput added in v1.2.1

type AlertConfigurationThresholdOutput struct{ *pulumi.OutputState }

func (AlertConfigurationThresholdOutput) ElementType added in v1.2.1

func (AlertConfigurationThresholdOutput) Operator added in v1.2.1

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (AlertConfigurationThresholdOutput) Threshold added in v1.2.1

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutput added in v1.2.1

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutput() AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutputWithContext added in v1.2.1

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutputWithContext(ctx context.Context) AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutput added in v1.2.1

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutputWithContext added in v1.2.1

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdOutput) Units added in v1.2.1

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type AlertConfigurationThresholdPtrInput added in v1.2.1

type AlertConfigurationThresholdPtrInput interface {
	pulumi.Input

	ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput
	ToAlertConfigurationThresholdPtrOutputWithContext(context.Context) AlertConfigurationThresholdPtrOutput
}

AlertConfigurationThresholdPtrInput is an input type that accepts AlertConfigurationThresholdArgs, AlertConfigurationThresholdPtr and AlertConfigurationThresholdPtrOutput values. You can construct a concrete instance of `AlertConfigurationThresholdPtrInput` via:

        AlertConfigurationThresholdArgs{...}

or:

        nil

func AlertConfigurationThresholdPtr added in v1.2.1

type AlertConfigurationThresholdPtrOutput added in v1.2.1

type AlertConfigurationThresholdPtrOutput struct{ *pulumi.OutputState }

func (AlertConfigurationThresholdPtrOutput) Elem added in v1.2.1

func (AlertConfigurationThresholdPtrOutput) ElementType added in v1.2.1

func (AlertConfigurationThresholdPtrOutput) Operator added in v1.2.1

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (AlertConfigurationThresholdPtrOutput) Threshold added in v1.2.1

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutput added in v1.2.1

func (o AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutputWithContext added in v1.2.1

func (o AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutputWithContext(ctx context.Context) AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdPtrOutput) Units added in v1.2.1

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type Auditing

type Auditing struct {
	pulumi.CustomResourceState

	// JSON-formatted audit filter used by the project
	AuditAuthorizationSuccess pulumi.BoolOutput `pulumi:"auditAuthorizationSuccess"`
	// Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see auditAuthorizationSuccess
	AuditFilter pulumi.StringOutput `pulumi:"auditFilter"`
	// Denotes the configuration method for the audit filter. Possible values are:
	// * NONE - auditing not configured for the project.
	// * FILTER_BUILDER - auditing configured via Atlas UI filter builder.
	// * FILTER_JSON - auditing configured via Atlas custom filter or API.
	ConfigurationType pulumi.StringOutput `pulumi:"configurationType"`
	// Denotes whether or not the project associated with the {project_id} has database auditing enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The unique ID for the project to configure auditing.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`Auditing` provides an Auditing resource. This allows auditing to be created.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewAuditing(ctx, "test", &mongodbatlas.AuditingArgs{
			AuditAuthorizationSuccess: pulumi.Bool(false),
			AuditFilter:               pulumi.String("{ 'atype': 'authenticate', 'param': {   'user': 'auditAdmin',   'db': 'admin',   'mechanism': 'SCRAM-SHA-1' }}"),
			Enabled:                   pulumi.Bool(true),
			ProjectId:                 pulumi.String("<project-id>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Auditing must be imported using auditing ID, e.g.

```sh

$ pulumi import mongodbatlas:index/auditing:Auditing my_auditing 5d09d6a59ccf6445652a444a

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/auditing/)

func GetAuditing

func GetAuditing(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuditingState, opts ...pulumi.ResourceOption) (*Auditing, error)

GetAuditing gets an existing Auditing 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 NewAuditing

func NewAuditing(ctx *pulumi.Context,
	name string, args *AuditingArgs, opts ...pulumi.ResourceOption) (*Auditing, error)

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

func (*Auditing) ElementType added in v1.3.1

func (*Auditing) ElementType() reflect.Type

func (*Auditing) ToAuditingOutput added in v1.3.1

func (i *Auditing) ToAuditingOutput() AuditingOutput

func (*Auditing) ToAuditingOutputWithContext added in v1.3.1

func (i *Auditing) ToAuditingOutputWithContext(ctx context.Context) AuditingOutput

func (*Auditing) ToAuditingPtrOutput added in v1.5.2

func (i *Auditing) ToAuditingPtrOutput() AuditingPtrOutput

func (*Auditing) ToAuditingPtrOutputWithContext added in v1.5.2

func (i *Auditing) ToAuditingPtrOutputWithContext(ctx context.Context) AuditingPtrOutput

type AuditingArgs

type AuditingArgs struct {
	// JSON-formatted audit filter used by the project
	AuditAuthorizationSuccess pulumi.BoolPtrInput
	// Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see auditAuthorizationSuccess
	AuditFilter pulumi.StringPtrInput
	// Denotes whether or not the project associated with the {project_id} has database auditing enabled.
	Enabled pulumi.BoolPtrInput
	// The unique ID for the project to configure auditing.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a Auditing resource.

func (AuditingArgs) ElementType

func (AuditingArgs) ElementType() reflect.Type

type AuditingArray added in v1.5.2

type AuditingArray []AuditingInput

func (AuditingArray) ElementType added in v1.5.2

func (AuditingArray) ElementType() reflect.Type

func (AuditingArray) ToAuditingArrayOutput added in v1.5.2

func (i AuditingArray) ToAuditingArrayOutput() AuditingArrayOutput

func (AuditingArray) ToAuditingArrayOutputWithContext added in v1.5.2

func (i AuditingArray) ToAuditingArrayOutputWithContext(ctx context.Context) AuditingArrayOutput

type AuditingArrayInput added in v1.5.2

type AuditingArrayInput interface {
	pulumi.Input

	ToAuditingArrayOutput() AuditingArrayOutput
	ToAuditingArrayOutputWithContext(context.Context) AuditingArrayOutput
}

AuditingArrayInput is an input type that accepts AuditingArray and AuditingArrayOutput values. You can construct a concrete instance of `AuditingArrayInput` via:

AuditingArray{ AuditingArgs{...} }

type AuditingArrayOutput added in v1.5.2

type AuditingArrayOutput struct{ *pulumi.OutputState }

func (AuditingArrayOutput) ElementType added in v1.5.2

func (AuditingArrayOutput) ElementType() reflect.Type

func (AuditingArrayOutput) Index added in v1.5.2

func (AuditingArrayOutput) ToAuditingArrayOutput added in v1.5.2

func (o AuditingArrayOutput) ToAuditingArrayOutput() AuditingArrayOutput

func (AuditingArrayOutput) ToAuditingArrayOutputWithContext added in v1.5.2

func (o AuditingArrayOutput) ToAuditingArrayOutputWithContext(ctx context.Context) AuditingArrayOutput

type AuditingInput added in v1.3.1

type AuditingInput interface {
	pulumi.Input

	ToAuditingOutput() AuditingOutput
	ToAuditingOutputWithContext(ctx context.Context) AuditingOutput
}

type AuditingMap added in v1.5.2

type AuditingMap map[string]AuditingInput

func (AuditingMap) ElementType added in v1.5.2

func (AuditingMap) ElementType() reflect.Type

func (AuditingMap) ToAuditingMapOutput added in v1.5.2

func (i AuditingMap) ToAuditingMapOutput() AuditingMapOutput

func (AuditingMap) ToAuditingMapOutputWithContext added in v1.5.2

func (i AuditingMap) ToAuditingMapOutputWithContext(ctx context.Context) AuditingMapOutput

type AuditingMapInput added in v1.5.2

type AuditingMapInput interface {
	pulumi.Input

	ToAuditingMapOutput() AuditingMapOutput
	ToAuditingMapOutputWithContext(context.Context) AuditingMapOutput
}

AuditingMapInput is an input type that accepts AuditingMap and AuditingMapOutput values. You can construct a concrete instance of `AuditingMapInput` via:

AuditingMap{ "key": AuditingArgs{...} }

type AuditingMapOutput added in v1.5.2

type AuditingMapOutput struct{ *pulumi.OutputState }

func (AuditingMapOutput) ElementType added in v1.5.2

func (AuditingMapOutput) ElementType() reflect.Type

func (AuditingMapOutput) MapIndex added in v1.5.2

func (AuditingMapOutput) ToAuditingMapOutput added in v1.5.2

func (o AuditingMapOutput) ToAuditingMapOutput() AuditingMapOutput

func (AuditingMapOutput) ToAuditingMapOutputWithContext added in v1.5.2

func (o AuditingMapOutput) ToAuditingMapOutputWithContext(ctx context.Context) AuditingMapOutput

type AuditingOutput added in v1.3.1

type AuditingOutput struct {
	*pulumi.OutputState
}

func (AuditingOutput) ElementType added in v1.3.1

func (AuditingOutput) ElementType() reflect.Type

func (AuditingOutput) ToAuditingOutput added in v1.3.1

func (o AuditingOutput) ToAuditingOutput() AuditingOutput

func (AuditingOutput) ToAuditingOutputWithContext added in v1.3.1

func (o AuditingOutput) ToAuditingOutputWithContext(ctx context.Context) AuditingOutput

func (AuditingOutput) ToAuditingPtrOutput added in v1.5.2

func (o AuditingOutput) ToAuditingPtrOutput() AuditingPtrOutput

func (AuditingOutput) ToAuditingPtrOutputWithContext added in v1.5.2

func (o AuditingOutput) ToAuditingPtrOutputWithContext(ctx context.Context) AuditingPtrOutput

type AuditingPtrInput added in v1.5.2

type AuditingPtrInput interface {
	pulumi.Input

	ToAuditingPtrOutput() AuditingPtrOutput
	ToAuditingPtrOutputWithContext(ctx context.Context) AuditingPtrOutput
}

type AuditingPtrOutput added in v1.5.2

type AuditingPtrOutput struct {
	*pulumi.OutputState
}

func (AuditingPtrOutput) ElementType added in v1.5.2

func (AuditingPtrOutput) ElementType() reflect.Type

func (AuditingPtrOutput) ToAuditingPtrOutput added in v1.5.2

func (o AuditingPtrOutput) ToAuditingPtrOutput() AuditingPtrOutput

func (AuditingPtrOutput) ToAuditingPtrOutputWithContext added in v1.5.2

func (o AuditingPtrOutput) ToAuditingPtrOutputWithContext(ctx context.Context) AuditingPtrOutput

type AuditingState

type AuditingState struct {
	// JSON-formatted audit filter used by the project
	AuditAuthorizationSuccess pulumi.BoolPtrInput
	// Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see auditAuthorizationSuccess
	AuditFilter pulumi.StringPtrInput
	// Denotes the configuration method for the audit filter. Possible values are:
	// * NONE - auditing not configured for the project.
	// * FILTER_BUILDER - auditing configured via Atlas UI filter builder.
	// * FILTER_JSON - auditing configured via Atlas custom filter or API.
	ConfigurationType pulumi.StringPtrInput
	// Denotes whether or not the project associated with the {project_id} has database auditing enabled.
	Enabled pulumi.BoolPtrInput
	// The unique ID for the project to configure auditing.
	ProjectId pulumi.StringPtrInput
}

func (AuditingState) ElementType

func (AuditingState) ElementType() reflect.Type

type CloudProviderAccess added in v1.4.0

type CloudProviderAccess struct {
	pulumi.CustomResourceState

	// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
	AtlasAssumedRoleExternalId pulumi.StringOutput `pulumi:"atlasAssumedRoleExternalId"`
	// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
	AtlasAwsAccountArn pulumi.StringOutput `pulumi:"atlasAwsAccountArn"`
	// Date on which this role was authorized.
	AuthorizedDate pulumi.StringOutput `pulumi:"authorizedDate"`
	// Date on which this role was created.
	CreatedDate pulumi.StringOutput `pulumi:"createdDate"`
	// Atlas features this AWS IAM role is linked to.
	FeatureUsages CloudProviderAccessFeatureUsageArrayOutput `pulumi:"featureUsages"`
	// - ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
	IamAssumedRoleArn pulumi.StringPtrOutput `pulumi:"iamAssumedRoleArn"`
	// The unique ID for the project to get all Cloud Provider Access
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The cloud provider for which to create a new role. Currently only AWS is supported.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Unique ID of this role.
	RoleId pulumi.StringOutput `pulumi:"roleId"`
}

## Import

The Cloud Provider Access resource can be imported using project ID and the provider name and mongodbatlas role id, in the format `project_id`-`provider_name`-`role_id`, e.g.

```sh

$ pulumi import mongodbatlas:index/cloudProviderAccess:CloudProviderAccess my_role 1112222b3bf99403840e8934-AWS-5fc17d476f7a33224f5b224e

```

See [MongoDB Atlas API](https://docs.atlas.mongodb.com/reference/api/cloud-provider-access-create-one-role/) Documentation for more information.

func GetCloudProviderAccess added in v1.4.0

func GetCloudProviderAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderAccessState, opts ...pulumi.ResourceOption) (*CloudProviderAccess, error)

GetCloudProviderAccess gets an existing CloudProviderAccess 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 NewCloudProviderAccess added in v1.4.0

func NewCloudProviderAccess(ctx *pulumi.Context,
	name string, args *CloudProviderAccessArgs, opts ...pulumi.ResourceOption) (*CloudProviderAccess, error)

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

func (*CloudProviderAccess) ElementType added in v1.4.0

func (*CloudProviderAccess) ElementType() reflect.Type

func (*CloudProviderAccess) ToCloudProviderAccessOutput added in v1.4.0

func (i *CloudProviderAccess) ToCloudProviderAccessOutput() CloudProviderAccessOutput

func (*CloudProviderAccess) ToCloudProviderAccessOutputWithContext added in v1.4.0

func (i *CloudProviderAccess) ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput

func (*CloudProviderAccess) ToCloudProviderAccessPtrOutput added in v1.5.2

func (i *CloudProviderAccess) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (*CloudProviderAccess) ToCloudProviderAccessPtrOutputWithContext added in v1.5.2

func (i *CloudProviderAccess) ToCloudProviderAccessPtrOutputWithContext(ctx context.Context) CloudProviderAccessPtrOutput

type CloudProviderAccessArgs added in v1.4.0

type CloudProviderAccessArgs struct {
	// - ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
	IamAssumedRoleArn pulumi.StringPtrInput
	// The unique ID for the project to get all Cloud Provider Access
	ProjectId pulumi.StringInput
	// The cloud provider for which to create a new role. Currently only AWS is supported.
	ProviderName pulumi.StringInput
}

The set of arguments for constructing a CloudProviderAccess resource.

func (CloudProviderAccessArgs) ElementType added in v1.4.0

func (CloudProviderAccessArgs) ElementType() reflect.Type

type CloudProviderAccessArray added in v1.5.2

type CloudProviderAccessArray []CloudProviderAccessInput

func (CloudProviderAccessArray) ElementType added in v1.5.2

func (CloudProviderAccessArray) ElementType() reflect.Type

func (CloudProviderAccessArray) ToCloudProviderAccessArrayOutput added in v1.5.2

func (i CloudProviderAccessArray) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput

func (CloudProviderAccessArray) ToCloudProviderAccessArrayOutputWithContext added in v1.5.2

func (i CloudProviderAccessArray) ToCloudProviderAccessArrayOutputWithContext(ctx context.Context) CloudProviderAccessArrayOutput

type CloudProviderAccessArrayInput added in v1.5.2

type CloudProviderAccessArrayInput interface {
	pulumi.Input

	ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput
	ToCloudProviderAccessArrayOutputWithContext(context.Context) CloudProviderAccessArrayOutput
}

CloudProviderAccessArrayInput is an input type that accepts CloudProviderAccessArray and CloudProviderAccessArrayOutput values. You can construct a concrete instance of `CloudProviderAccessArrayInput` via:

CloudProviderAccessArray{ CloudProviderAccessArgs{...} }

type CloudProviderAccessArrayOutput added in v1.5.2

type CloudProviderAccessArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessArrayOutput) ElementType added in v1.5.2

func (CloudProviderAccessArrayOutput) Index added in v1.5.2

func (CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutput added in v1.5.2

func (o CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput

func (CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutputWithContext added in v1.5.2

func (o CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutputWithContext(ctx context.Context) CloudProviderAccessArrayOutput

type CloudProviderAccessFeatureUsage added in v1.4.0

type CloudProviderAccessFeatureUsage struct {
	FeatureId   *string `pulumi:"featureId"`
	FeatureType *string `pulumi:"featureType"`
}

type CloudProviderAccessFeatureUsageArgs added in v1.4.0

type CloudProviderAccessFeatureUsageArgs struct {
	FeatureId   pulumi.StringPtrInput `pulumi:"featureId"`
	FeatureType pulumi.StringPtrInput `pulumi:"featureType"`
}

func (CloudProviderAccessFeatureUsageArgs) ElementType added in v1.4.0

func (CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutput added in v1.4.0

func (i CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput

func (CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutputWithContext added in v1.4.0

func (i CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageOutput

type CloudProviderAccessFeatureUsageArray added in v1.4.0

type CloudProviderAccessFeatureUsageArray []CloudProviderAccessFeatureUsageInput

func (CloudProviderAccessFeatureUsageArray) ElementType added in v1.4.0

func (CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutput added in v1.4.0

func (i CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput

func (CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutputWithContext added in v1.4.0

func (i CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageArrayOutput

type CloudProviderAccessFeatureUsageArrayInput added in v1.4.0

type CloudProviderAccessFeatureUsageArrayInput interface {
	pulumi.Input

	ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput
	ToCloudProviderAccessFeatureUsageArrayOutputWithContext(context.Context) CloudProviderAccessFeatureUsageArrayOutput
}

CloudProviderAccessFeatureUsageArrayInput is an input type that accepts CloudProviderAccessFeatureUsageArray and CloudProviderAccessFeatureUsageArrayOutput values. You can construct a concrete instance of `CloudProviderAccessFeatureUsageArrayInput` via:

CloudProviderAccessFeatureUsageArray{ CloudProviderAccessFeatureUsageArgs{...} }

type CloudProviderAccessFeatureUsageArrayOutput added in v1.4.0

type CloudProviderAccessFeatureUsageArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessFeatureUsageArrayOutput) ElementType added in v1.4.0

func (CloudProviderAccessFeatureUsageArrayOutput) Index added in v1.4.0

func (CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutput added in v1.4.0

func (o CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput

func (CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutputWithContext added in v1.4.0

func (o CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageArrayOutput

type CloudProviderAccessFeatureUsageInput added in v1.4.0

type CloudProviderAccessFeatureUsageInput interface {
	pulumi.Input

	ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput
	ToCloudProviderAccessFeatureUsageOutputWithContext(context.Context) CloudProviderAccessFeatureUsageOutput
}

CloudProviderAccessFeatureUsageInput is an input type that accepts CloudProviderAccessFeatureUsageArgs and CloudProviderAccessFeatureUsageOutput values. You can construct a concrete instance of `CloudProviderAccessFeatureUsageInput` via:

CloudProviderAccessFeatureUsageArgs{...}

type CloudProviderAccessFeatureUsageOutput added in v1.4.0

type CloudProviderAccessFeatureUsageOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessFeatureUsageOutput) ElementType added in v1.4.0

func (CloudProviderAccessFeatureUsageOutput) FeatureId added in v1.4.0

func (CloudProviderAccessFeatureUsageOutput) FeatureType added in v1.4.0

func (CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutput added in v1.4.0

func (o CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput

func (CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutputWithContext added in v1.4.0

func (o CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessFeatureUsageOutput

type CloudProviderAccessInput added in v1.4.0

type CloudProviderAccessInput interface {
	pulumi.Input

	ToCloudProviderAccessOutput() CloudProviderAccessOutput
	ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput
}

type CloudProviderAccessMap added in v1.5.2

type CloudProviderAccessMap map[string]CloudProviderAccessInput

func (CloudProviderAccessMap) ElementType added in v1.5.2

func (CloudProviderAccessMap) ElementType() reflect.Type

func (CloudProviderAccessMap) ToCloudProviderAccessMapOutput added in v1.5.2

func (i CloudProviderAccessMap) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput

func (CloudProviderAccessMap) ToCloudProviderAccessMapOutputWithContext added in v1.5.2

func (i CloudProviderAccessMap) ToCloudProviderAccessMapOutputWithContext(ctx context.Context) CloudProviderAccessMapOutput

type CloudProviderAccessMapInput added in v1.5.2

type CloudProviderAccessMapInput interface {
	pulumi.Input

	ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput
	ToCloudProviderAccessMapOutputWithContext(context.Context) CloudProviderAccessMapOutput
}

CloudProviderAccessMapInput is an input type that accepts CloudProviderAccessMap and CloudProviderAccessMapOutput values. You can construct a concrete instance of `CloudProviderAccessMapInput` via:

CloudProviderAccessMap{ "key": CloudProviderAccessArgs{...} }

type CloudProviderAccessMapOutput added in v1.5.2

type CloudProviderAccessMapOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessMapOutput) ElementType added in v1.5.2

func (CloudProviderAccessMapOutput) MapIndex added in v1.5.2

func (CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutput added in v1.5.2

func (o CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput

func (CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutputWithContext added in v1.5.2

func (o CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutputWithContext(ctx context.Context) CloudProviderAccessMapOutput

type CloudProviderAccessOutput added in v1.4.0

type CloudProviderAccessOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessOutput) ElementType added in v1.4.0

func (CloudProviderAccessOutput) ElementType() reflect.Type

func (CloudProviderAccessOutput) ToCloudProviderAccessOutput added in v1.4.0

func (o CloudProviderAccessOutput) ToCloudProviderAccessOutput() CloudProviderAccessOutput

func (CloudProviderAccessOutput) ToCloudProviderAccessOutputWithContext added in v1.4.0

func (o CloudProviderAccessOutput) ToCloudProviderAccessOutputWithContext(ctx context.Context) CloudProviderAccessOutput

func (CloudProviderAccessOutput) ToCloudProviderAccessPtrOutput added in v1.5.2

func (o CloudProviderAccessOutput) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (CloudProviderAccessOutput) ToCloudProviderAccessPtrOutputWithContext added in v1.5.2

func (o CloudProviderAccessOutput) ToCloudProviderAccessPtrOutputWithContext(ctx context.Context) CloudProviderAccessPtrOutput

type CloudProviderAccessPtrInput added in v1.5.2

type CloudProviderAccessPtrInput interface {
	pulumi.Input

	ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput
	ToCloudProviderAccessPtrOutputWithContext(ctx context.Context) CloudProviderAccessPtrOutput
}

type CloudProviderAccessPtrOutput added in v1.5.2

type CloudProviderAccessPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessPtrOutput) ElementType added in v1.5.2

func (CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutput added in v1.5.2

func (o CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutputWithContext added in v1.5.2

func (o CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutputWithContext(ctx context.Context) CloudProviderAccessPtrOutput

type CloudProviderAccessState added in v1.4.0

type CloudProviderAccessState struct {
	// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
	AtlasAssumedRoleExternalId pulumi.StringPtrInput
	// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
	AtlasAwsAccountArn pulumi.StringPtrInput
	// Date on which this role was authorized.
	AuthorizedDate pulumi.StringPtrInput
	// Date on which this role was created.
	CreatedDate pulumi.StringPtrInput
	// Atlas features this AWS IAM role is linked to.
	FeatureUsages CloudProviderAccessFeatureUsageArrayInput
	// - ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account. This value is required after the creation (register of the role) as part of [Set Up Unified AWS Access](https://docs.atlas.mongodb.com/security/set-up-unified-aws-access/#set-up-unified-aws-access).
	IamAssumedRoleArn pulumi.StringPtrInput
	// The unique ID for the project to get all Cloud Provider Access
	ProjectId pulumi.StringPtrInput
	// The cloud provider for which to create a new role. Currently only AWS is supported.
	ProviderName pulumi.StringPtrInput
	// Unique ID of this role.
	RoleId pulumi.StringPtrInput
}

func (CloudProviderAccessState) ElementType added in v1.4.0

func (CloudProviderAccessState) ElementType() reflect.Type

type CloudProviderSnapshot

type CloudProviderSnapshot struct {
	pulumi.CustomResourceState

	// The name of the Atlas cluster that contains the snapshots you want to retrieve.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// UTC ISO 8601 formatted point in time when Atlas took the snapshot.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Description of the on-demand snapshot.
	Description pulumi.StringOutput `pulumi:"description"`
	// UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
	MasterKeyUuid pulumi.StringOutput `pulumi:"masterKeyUuid"`
	// Version of the MongoDB server.
	MongodVersion pulumi.StringOutput `pulumi:"mongodVersion"`
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
	RetentionInDays pulumi.IntOutput `pulumi:"retentionInDays"`
	// Unique identifier of the snapshot.
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// Specified the type of snapshot. Valid values are onDemand and scheduled.
	SnapshotType pulumi.StringOutput `pulumi:"snapshotType"`
	// Current status of the snapshot. One of the following values will be returned: queued, inProgress, completed, failed.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the size of the snapshot in bytes.
	StorageSizeBytes pulumi.IntOutput `pulumi:"storageSizeBytes"`
	// Specifies the type of cluster: replicaSet or shardedCluster.
	Type pulumi.StringOutput `pulumi:"type"`
}

`CloudProviderSnapshot` provides a resource to take a cloud backup snapshot on demand. On-demand snapshots happen immediately, unlike scheduled snapshots which occur at regular intervals. If there is already an on-demand snapshot with a status of queued or inProgress, you must wait until Atlas has completed the on-demand snapshot before taking another.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myCluster, err := mongodbatlas.NewCluster(ctx, "myCluster", &mongodbatlas.ClusterArgs{
			ProjectId:                pulumi.String("5cf5a45a9ccf6400e60981b6"),
			DiskSizeGb:               pulumi.Float64(5),
			ProviderName:             pulumi.String("AWS"),
			ProviderRegionName:       pulumi.String("EU_WEST_2"),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(100),
			ProviderEncryptEbsVolume: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		testCloudProviderSnapshot, err := mongodbatlas.NewCloudProviderSnapshot(ctx, "testCloudProviderSnapshot", &mongodbatlas.CloudProviderSnapshotArgs{
			ProjectId:       myCluster.ProjectId,
			ClusterName:     myCluster.Name,
			Description:     pulumi.String("myDescription"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewCloudProviderSnapshotRestoreJob(ctx, "testCloudProviderSnapshotRestoreJob", &mongodbatlas.CloudProviderSnapshotRestoreJobArgs{
			ProjectId:   testCloudProviderSnapshot.ProjectId,
			ClusterName: testCloudProviderSnapshot.ClusterName,
			SnapshotId:  testCloudProviderSnapshot.SnapshotId,
			DeliveryType: &mongodbatlas.CloudProviderSnapshotRestoreJobDeliveryTypeArgs{
				Download: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Backup Snapshot entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-SNAPSHOTID`, e.g.

```sh

$ pulumi import mongodbatlas:index/cloudProviderSnapshot:CloudProviderSnapshot test 5d0f1f73cf09a29120e173cf-MyClusterTest-5d116d82014b764445b2f9b5

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/cloud-backup/backup/backups/)

func GetCloudProviderSnapshot

func GetCloudProviderSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderSnapshotState, opts ...pulumi.ResourceOption) (*CloudProviderSnapshot, error)

GetCloudProviderSnapshot gets an existing CloudProviderSnapshot 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 NewCloudProviderSnapshot

func NewCloudProviderSnapshot(ctx *pulumi.Context,
	name string, args *CloudProviderSnapshotArgs, opts ...pulumi.ResourceOption) (*CloudProviderSnapshot, error)

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

func (*CloudProviderSnapshot) ElementType added in v1.3.1

func (*CloudProviderSnapshot) ElementType() reflect.Type

func (*CloudProviderSnapshot) ToCloudProviderSnapshotOutput added in v1.3.1

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotOutput() CloudProviderSnapshotOutput

func (*CloudProviderSnapshot) ToCloudProviderSnapshotOutputWithContext added in v1.3.1

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotOutputWithContext(ctx context.Context) CloudProviderSnapshotOutput

func (*CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutput added in v1.5.2

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (*CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutputWithContext added in v1.5.2

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotPtrOutput

type CloudProviderSnapshotArgs

type CloudProviderSnapshotArgs struct {
	// The name of the Atlas cluster that contains the snapshots you want to retrieve.
	ClusterName pulumi.StringInput
	// Description of the on-demand snapshot.
	Description pulumi.StringInput
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringInput
	// The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
	RetentionInDays pulumi.IntInput
}

The set of arguments for constructing a CloudProviderSnapshot resource.

func (CloudProviderSnapshotArgs) ElementType

func (CloudProviderSnapshotArgs) ElementType() reflect.Type

type CloudProviderSnapshotArray added in v1.5.2

type CloudProviderSnapshotArray []CloudProviderSnapshotInput

func (CloudProviderSnapshotArray) ElementType added in v1.5.2

func (CloudProviderSnapshotArray) ElementType() reflect.Type

func (CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutput added in v1.5.2

func (i CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutput() CloudProviderSnapshotArrayOutput

func (CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotArrayOutput

type CloudProviderSnapshotArrayInput added in v1.5.2

type CloudProviderSnapshotArrayInput interface {
	pulumi.Input

	ToCloudProviderSnapshotArrayOutput() CloudProviderSnapshotArrayOutput
	ToCloudProviderSnapshotArrayOutputWithContext(context.Context) CloudProviderSnapshotArrayOutput
}

CloudProviderSnapshotArrayInput is an input type that accepts CloudProviderSnapshotArray and CloudProviderSnapshotArrayOutput values. You can construct a concrete instance of `CloudProviderSnapshotArrayInput` via:

CloudProviderSnapshotArray{ CloudProviderSnapshotArgs{...} }

type CloudProviderSnapshotArrayOutput added in v1.5.2

type CloudProviderSnapshotArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotArrayOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotArrayOutput) Index added in v1.5.2

func (CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutput added in v1.5.2

func (o CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutput() CloudProviderSnapshotArrayOutput

func (CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotArrayOutput

type CloudProviderSnapshotBackupPolicy

type CloudProviderSnapshotBackupPolicy struct {
	pulumi.CustomResourceState

	// Unique identifier of the Atlas cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
	NextSnapshot pulumi.StringOutput `pulumi:"nextSnapshot"`
	// Contains a document for each backup policy item in the desired updated backup policy.
	// * `policies.#.id` - (Required) Unique identifier of the backup policy that you want to update. policies.#.id is a value obtained via the Cluster resource. providerBackupEnabled of the Cluster resource must be set to true. See the example above for how to refer to the Cluster resource for policies.#.id
	Policies CloudProviderSnapshotBackupPolicyPolicyArrayOutput `pulumi:"policies"`
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
	ReferenceHourOfDay pulumi.IntOutput `pulumi:"referenceHourOfDay"`
	// UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.
	ReferenceMinuteOfHour pulumi.IntOutput `pulumi:"referenceMinuteOfHour"`
	// Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
	RestoreWindowDays pulumi.IntOutput `pulumi:"restoreWindowDays"`
	// Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
	UpdateSnapshots pulumi.BoolOutput `pulumi:"updateSnapshots"`
}

## Import

Cloud Backup Snapshot Policy entries can be imported using project project_id and cluster_name, in the format `PROJECTID-CLUSTERNAME`, e.g.

```sh

$ pulumi import mongodbatlas:index/cloudProviderSnapshotBackupPolicy:CloudProviderSnapshotBackupPolicy test 5d0f1f73cf09a29120e173cf-MyClusterTest

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/cloud-backup/schedule/modify-one-schedule/)

func GetCloudProviderSnapshotBackupPolicy

func GetCloudProviderSnapshotBackupPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderSnapshotBackupPolicyState, opts ...pulumi.ResourceOption) (*CloudProviderSnapshotBackupPolicy, error)

GetCloudProviderSnapshotBackupPolicy gets an existing CloudProviderSnapshotBackupPolicy 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 NewCloudProviderSnapshotBackupPolicy

func NewCloudProviderSnapshotBackupPolicy(ctx *pulumi.Context,
	name string, args *CloudProviderSnapshotBackupPolicyArgs, opts ...pulumi.ResourceOption) (*CloudProviderSnapshotBackupPolicy, error)

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

func (*CloudProviderSnapshotBackupPolicy) ElementType added in v1.3.1

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutput added in v1.3.1

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutput() CloudProviderSnapshotBackupPolicyOutput

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutputWithContext added in v1.3.1

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyOutput

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutput added in v1.5.2

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext added in v1.5.2

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPtrOutput

type CloudProviderSnapshotBackupPolicyArgs

type CloudProviderSnapshotBackupPolicyArgs struct {
	// The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
	ClusterName pulumi.StringInput
	// Contains a document for each backup policy item in the desired updated backup policy.
	// * `policies.#.id` - (Required) Unique identifier of the backup policy that you want to update. policies.#.id is a value obtained via the Cluster resource. providerBackupEnabled of the Cluster resource must be set to true. See the example above for how to refer to the Cluster resource for policies.#.id
	Policies CloudProviderSnapshotBackupPolicyPolicyArrayInput
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringInput
	// UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
	ReferenceHourOfDay pulumi.IntPtrInput
	// UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.
	ReferenceMinuteOfHour pulumi.IntPtrInput
	// Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
	RestoreWindowDays pulumi.IntPtrInput
	// Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
	UpdateSnapshots pulumi.BoolPtrInput
}

The set of arguments for constructing a CloudProviderSnapshotBackupPolicy resource.

func (CloudProviderSnapshotBackupPolicyArgs) ElementType

type CloudProviderSnapshotBackupPolicyArray added in v1.5.2

type CloudProviderSnapshotBackupPolicyArray []CloudProviderSnapshotBackupPolicyInput

func (CloudProviderSnapshotBackupPolicyArray) ElementType added in v1.5.2

func (CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutput added in v1.5.2

func (i CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutput() CloudProviderSnapshotBackupPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyArrayOutput

type CloudProviderSnapshotBackupPolicyArrayInput added in v1.5.2

type CloudProviderSnapshotBackupPolicyArrayInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyArrayOutput() CloudProviderSnapshotBackupPolicyArrayOutput
	ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyArrayOutput
}

CloudProviderSnapshotBackupPolicyArrayInput is an input type that accepts CloudProviderSnapshotBackupPolicyArray and CloudProviderSnapshotBackupPolicyArrayOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyArrayInput` via:

CloudProviderSnapshotBackupPolicyArray{ CloudProviderSnapshotBackupPolicyArgs{...} }

type CloudProviderSnapshotBackupPolicyArrayOutput added in v1.5.2

type CloudProviderSnapshotBackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyArrayOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotBackupPolicyArrayOutput) Index added in v1.5.2

func (CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutput added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutput() CloudProviderSnapshotBackupPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyArrayOutput

type CloudProviderSnapshotBackupPolicyInput added in v1.3.1

type CloudProviderSnapshotBackupPolicyInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyOutput() CloudProviderSnapshotBackupPolicyOutput
	ToCloudProviderSnapshotBackupPolicyOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyOutput
}

type CloudProviderSnapshotBackupPolicyMap added in v1.5.2

type CloudProviderSnapshotBackupPolicyMap map[string]CloudProviderSnapshotBackupPolicyInput

func (CloudProviderSnapshotBackupPolicyMap) ElementType added in v1.5.2

func (CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutput added in v1.5.2

func (i CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutput() CloudProviderSnapshotBackupPolicyMapOutput

func (CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyMapOutput

type CloudProviderSnapshotBackupPolicyMapInput added in v1.5.2

type CloudProviderSnapshotBackupPolicyMapInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyMapOutput() CloudProviderSnapshotBackupPolicyMapOutput
	ToCloudProviderSnapshotBackupPolicyMapOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyMapOutput
}

CloudProviderSnapshotBackupPolicyMapInput is an input type that accepts CloudProviderSnapshotBackupPolicyMap and CloudProviderSnapshotBackupPolicyMapOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyMapInput` via:

CloudProviderSnapshotBackupPolicyMap{ "key": CloudProviderSnapshotBackupPolicyArgs{...} }

type CloudProviderSnapshotBackupPolicyMapOutput added in v1.5.2

type CloudProviderSnapshotBackupPolicyMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyMapOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotBackupPolicyMapOutput) MapIndex added in v1.5.2

func (CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutput added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutput() CloudProviderSnapshotBackupPolicyMapOutput

func (CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyMapOutput

type CloudProviderSnapshotBackupPolicyOutput added in v1.3.1

type CloudProviderSnapshotBackupPolicyOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotBackupPolicyOutput) ElementType added in v1.3.1

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutput added in v1.3.1

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutput() CloudProviderSnapshotBackupPolicyOutput

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutputWithContext added in v1.3.1

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyOutput

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPtrOutput

type CloudProviderSnapshotBackupPolicyPolicy

type CloudProviderSnapshotBackupPolicyPolicy struct {
	Id          string                                              `pulumi:"id"`
	PolicyItems []CloudProviderSnapshotBackupPolicyPolicyPolicyItem `pulumi:"policyItems"`
}

type CloudProviderSnapshotBackupPolicyPolicyArgs

type CloudProviderSnapshotBackupPolicyPolicyArgs struct {
	Id          pulumi.StringInput                                          `pulumi:"id"`
	PolicyItems CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput `pulumi:"policyItems"`
}

func (CloudProviderSnapshotBackupPolicyPolicyArgs) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyArgs) ToCloudProviderSnapshotBackupPolicyPolicyOutput

func (i CloudProviderSnapshotBackupPolicyPolicyArgs) ToCloudProviderSnapshotBackupPolicyPolicyOutput() CloudProviderSnapshotBackupPolicyPolicyOutput

func (CloudProviderSnapshotBackupPolicyPolicyArgs) ToCloudProviderSnapshotBackupPolicyPolicyOutputWithContext

func (i CloudProviderSnapshotBackupPolicyPolicyArgs) ToCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyOutput

type CloudProviderSnapshotBackupPolicyPolicyArray

type CloudProviderSnapshotBackupPolicyPolicyArray []CloudProviderSnapshotBackupPolicyPolicyInput

func (CloudProviderSnapshotBackupPolicyPolicyArray) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyArray) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (i CloudProviderSnapshotBackupPolicyPolicyArray) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutput() CloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyPolicyArray) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext

func (i CloudProviderSnapshotBackupPolicyPolicyArray) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyArrayInput

type CloudProviderSnapshotBackupPolicyPolicyArrayInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyPolicyArrayOutput() CloudProviderSnapshotBackupPolicyPolicyArrayOutput
	ToCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyPolicyArrayOutput
}

CloudProviderSnapshotBackupPolicyPolicyArrayInput is an input type that accepts CloudProviderSnapshotBackupPolicyPolicyArray and CloudProviderSnapshotBackupPolicyPolicyArrayOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyPolicyArrayInput` via:

CloudProviderSnapshotBackupPolicyPolicyArray{ CloudProviderSnapshotBackupPolicyPolicyArgs{...} }

type CloudProviderSnapshotBackupPolicyPolicyArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyPolicyArrayOutput) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyArrayOutput) Index

func (CloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (o CloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutput() CloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext

func (o CloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyInput

type CloudProviderSnapshotBackupPolicyPolicyInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyPolicyOutput() CloudProviderSnapshotBackupPolicyPolicyOutput
	ToCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyPolicyOutput
}

CloudProviderSnapshotBackupPolicyPolicyInput is an input type that accepts CloudProviderSnapshotBackupPolicyPolicyArgs and CloudProviderSnapshotBackupPolicyPolicyOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyPolicyInput` via:

CloudProviderSnapshotBackupPolicyPolicyArgs{...}

type CloudProviderSnapshotBackupPolicyPolicyOutput

type CloudProviderSnapshotBackupPolicyPolicyOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyPolicyOutput) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyOutput) Id

func (CloudProviderSnapshotBackupPolicyPolicyOutput) PolicyItems

func (CloudProviderSnapshotBackupPolicyPolicyOutput) ToCloudProviderSnapshotBackupPolicyPolicyOutput

func (o CloudProviderSnapshotBackupPolicyPolicyOutput) ToCloudProviderSnapshotBackupPolicyPolicyOutput() CloudProviderSnapshotBackupPolicyPolicyOutput

func (CloudProviderSnapshotBackupPolicyPolicyOutput) ToCloudProviderSnapshotBackupPolicyPolicyOutputWithContext

func (o CloudProviderSnapshotBackupPolicyPolicyOutput) ToCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItem

type CloudProviderSnapshotBackupPolicyPolicyPolicyItem struct {
	FrequencyInterval int    `pulumi:"frequencyInterval"`
	FrequencyType     string `pulumi:"frequencyType"`
	Id                string `pulumi:"id"`
	RetentionUnit     string `pulumi:"retentionUnit"`
	RetentionValue    int    `pulumi:"retentionValue"`
}

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs struct {
	FrequencyInterval pulumi.IntInput    `pulumi:"frequencyInterval"`
	FrequencyType     pulumi.StringInput `pulumi:"frequencyType"`
	Id                pulumi.StringInput `pulumi:"id"`
	RetentionUnit     pulumi.StringInput `pulumi:"retentionUnit"`
	RetentionValue    pulumi.IntInput    `pulumi:"retentionValue"`
}

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

func (i CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput() CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (i CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray []CloudProviderSnapshotBackupPolicyPolicyPolicyItemInput

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (i CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput() CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (i CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput() CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput
	ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput
}

CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput is an input type that accepts CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray and CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput` via:

CloudProviderSnapshotBackupPolicyPolicyPolicyItemArray{ CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs{...} }

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) Index

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (o CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemInput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput() CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput
	ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput
}

CloudProviderSnapshotBackupPolicyPolicyPolicyItemInput is an input type that accepts CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs and CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput values. You can construct a concrete instance of `CloudProviderSnapshotBackupPolicyPolicyPolicyItemInput` via:

CloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs{...}

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ElementType

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyInterval

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyType

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) Id

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionUnit

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionValue

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

func (CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (o CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type CloudProviderSnapshotBackupPolicyPtrInput added in v1.5.2

type CloudProviderSnapshotBackupPolicyPtrInput interface {
	pulumi.Input

	ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput
	ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPtrOutput
}

type CloudProviderSnapshotBackupPolicyPtrOutput added in v1.5.2

type CloudProviderSnapshotBackupPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotBackupPolicyPtrOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotBackupPolicyPtrOutput

type CloudProviderSnapshotBackupPolicyState

type CloudProviderSnapshotBackupPolicyState struct {
	// Unique identifier of the Atlas cluster.
	ClusterId pulumi.StringPtrInput
	// The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
	ClusterName pulumi.StringPtrInput
	// Timestamp in the number of seconds that have elapsed since the UNIX epoch when Atlas takes the next snapshot.
	NextSnapshot pulumi.StringPtrInput
	// Contains a document for each backup policy item in the desired updated backup policy.
	// * `policies.#.id` - (Required) Unique identifier of the backup policy that you want to update. policies.#.id is a value obtained via the Cluster resource. providerBackupEnabled of the Cluster resource must be set to true. See the example above for how to refer to the Cluster resource for policies.#.id
	Policies CloudProviderSnapshotBackupPolicyPolicyArrayInput
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringPtrInput
	// UTC Hour of day between 0 and 23, inclusive, representing which hour of the day that Atlas takes snapshots for backup policy items.
	ReferenceHourOfDay pulumi.IntPtrInput
	// UTC Minutes after referenceHourOfDay that Atlas takes snapshots for backup policy items. Must be between 0 and 59, inclusive.
	ReferenceMinuteOfHour pulumi.IntPtrInput
	// Number of days back in time you can restore to with point-in-time accuracy. Must be a positive, non-zero integer.
	RestoreWindowDays pulumi.IntPtrInput
	// Specify true to apply the retention changes in the updated backup policy to snapshots that Atlas took previously.
	UpdateSnapshots pulumi.BoolPtrInput
}

func (CloudProviderSnapshotBackupPolicyState) ElementType

type CloudProviderSnapshotInput added in v1.3.1

type CloudProviderSnapshotInput interface {
	pulumi.Input

	ToCloudProviderSnapshotOutput() CloudProviderSnapshotOutput
	ToCloudProviderSnapshotOutputWithContext(ctx context.Context) CloudProviderSnapshotOutput
}

type CloudProviderSnapshotMap added in v1.5.2

type CloudProviderSnapshotMap map[string]CloudProviderSnapshotInput

func (CloudProviderSnapshotMap) ElementType added in v1.5.2

func (CloudProviderSnapshotMap) ElementType() reflect.Type

func (CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutput added in v1.5.2

func (i CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutput() CloudProviderSnapshotMapOutput

func (CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutputWithContext(ctx context.Context) CloudProviderSnapshotMapOutput

type CloudProviderSnapshotMapInput added in v1.5.2

type CloudProviderSnapshotMapInput interface {
	pulumi.Input

	ToCloudProviderSnapshotMapOutput() CloudProviderSnapshotMapOutput
	ToCloudProviderSnapshotMapOutputWithContext(context.Context) CloudProviderSnapshotMapOutput
}

CloudProviderSnapshotMapInput is an input type that accepts CloudProviderSnapshotMap and CloudProviderSnapshotMapOutput values. You can construct a concrete instance of `CloudProviderSnapshotMapInput` via:

CloudProviderSnapshotMap{ "key": CloudProviderSnapshotArgs{...} }

type CloudProviderSnapshotMapOutput added in v1.5.2

type CloudProviderSnapshotMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotMapOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotMapOutput) MapIndex added in v1.5.2

func (CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutput added in v1.5.2

func (o CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutput() CloudProviderSnapshotMapOutput

func (CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutputWithContext(ctx context.Context) CloudProviderSnapshotMapOutput

type CloudProviderSnapshotOutput added in v1.3.1

type CloudProviderSnapshotOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotOutput) ElementType added in v1.3.1

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutput added in v1.3.1

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutput() CloudProviderSnapshotOutput

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutputWithContext added in v1.3.1

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutputWithContext(ctx context.Context) CloudProviderSnapshotOutput

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutput added in v1.5.2

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotPtrOutput

type CloudProviderSnapshotPtrInput added in v1.5.2

type CloudProviderSnapshotPtrInput interface {
	pulumi.Input

	ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput
	ToCloudProviderSnapshotPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotPtrOutput
}

type CloudProviderSnapshotPtrOutput added in v1.5.2

type CloudProviderSnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotPtrOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutput added in v1.5.2

func (o CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotPtrOutput

type CloudProviderSnapshotRestoreJob

type CloudProviderSnapshotRestoreJob struct {
	pulumi.CustomResourceState

	// Indicates whether the restore job was canceled.
	Cancelled pulumi.BoolOutput `pulumi:"cancelled"`
	// The name of the Atlas cluster whose snapshot you want to restore.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// UTC ISO 8601 formatted point in time when Atlas created the restore job.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Type of restore job to create. Possible values are: **download** or **automated**, only one must be set it in “true“.
	DeliveryType CloudProviderSnapshotRestoreJobDeliveryTypeOutput `pulumi:"deliveryType"`
	// One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
	DeliveryUrls pulumi.StringArrayOutput `pulumi:"deliveryUrls"`
	// Indicates whether the restore job expired.
	Expired pulumi.BoolOutput `pulumi:"expired"`
	// UTC ISO 8601 formatted point in time when the restore job expires.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// UTC ISO 8601 formatted point in time when the restore job completed.
	FinishedAt pulumi.StringOutput `pulumi:"finishedAt"`
	// The unique identifier of the project for the Atlas cluster whose snapshot you want to restore.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Unique identifier of the snapshot to restore.
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// The unique identifier of the restore job.
	SnapshotRestoreJobId pulumi.StringOutput `pulumi:"snapshotRestoreJobId"`
	// Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
	Timestamp pulumi.StringOutput `pulumi:"timestamp"`
}

`CloudProviderSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job can be one of three types: * **automated:** Atlas automatically restores the snapshot with snapshotId to the Atlas cluster with name targetClusterName in the Atlas project with targetGroupId.

* **download:** Atlas provides a URL to download a .tar.gz of the snapshot with snapshotId. The contents of the archive contain the data files for your Atlas cluster.

* **pointInTime:** Atlas performs a Continuous Cloud Backup restore.

> **Important:** If you specify `deliveryType` : `automated` or `deliveryType` : `pointInTime` in your request body to create an automated restore job, Atlas removes all existing data on the target cluster prior to the restore.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage ### Example automated delivery type.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myCluster, err := mongodbatlas.NewCluster(ctx, "myCluster", &mongodbatlas.ClusterArgs{
			ProjectId:                pulumi.String("5cf5a45a9ccf6400e60981b6"),
			DiskSizeGb:               pulumi.Float64(5),
			ProviderName:             pulumi.String("AWS"),
			ProviderRegionName:       pulumi.String("EU_WEST_2"),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(100),
			ProviderEncryptEbsVolume: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		testCloudProviderSnapshot, err := mongodbatlas.NewCloudProviderSnapshot(ctx, "testCloudProviderSnapshot", &mongodbatlas.CloudProviderSnapshotArgs{
			ProjectId:       myCluster.ProjectId,
			ClusterName:     myCluster.Name,
			Description:     pulumi.String("myDescription"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewCloudProviderSnapshotRestoreJob(ctx, "testCloudProviderSnapshotRestoreJob", &mongodbatlas.CloudProviderSnapshotRestoreJobArgs{
			ProjectId:   testCloudProviderSnapshot.ProjectId,
			ClusterName: testCloudProviderSnapshot.ClusterName,
			SnapshotId:  testCloudProviderSnapshot.SnapshotId,
			DeliveryType: &mongodbatlas.CloudProviderSnapshotRestoreJobDeliveryTypeArgs{
				Automated:           pulumi.Bool(true),
				Target_cluster_name: pulumi.String("MyCluster"),
				Target_project_id:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			"mongodbatlas_cloud_provider_snapshot.test",
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example download delivery type.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myCluster, err := mongodbatlas.NewCluster(ctx, "myCluster", &mongodbatlas.ClusterArgs{
			ProjectId:                pulumi.String("5cf5a45a9ccf6400e60981b6"),
			DiskSizeGb:               pulumi.Float64(5),
			ProviderName:             pulumi.String("AWS"),
			ProviderRegionName:       pulumi.String("EU_WEST_2"),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(100),
			ProviderEncryptEbsVolume: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		testCloudProviderSnapshot, err := mongodbatlas.NewCloudProviderSnapshot(ctx, "testCloudProviderSnapshot", &mongodbatlas.CloudProviderSnapshotArgs{
			ProjectId:       myCluster.ProjectId,
			ClusterName:     myCluster.Name,
			Description:     pulumi.String("myDescription"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewCloudProviderSnapshotRestoreJob(ctx, "testCloudProviderSnapshotRestoreJob", &mongodbatlas.CloudProviderSnapshotRestoreJobArgs{
			ProjectId:   testCloudProviderSnapshot.ProjectId,
			ClusterName: testCloudProviderSnapshot.ClusterName,
			SnapshotId:  testCloudProviderSnapshot.SnapshotId,
			DeliveryType: &mongodbatlas.CloudProviderSnapshotRestoreJobDeliveryTypeArgs{
				Download: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cloud Backup Snapshot Restore Job entries can be imported using project project_id, cluster_name and snapshot_id (Unique identifier of the snapshot), in the format `PROJECTID-CLUSTERNAME-JOBID`, e.g.

```sh

$ pulumi import mongodbatlas:index/cloudProviderSnapshotRestoreJob:CloudProviderSnapshotRestoreJob test 5cf5a45a9ccf6400e60981b6-MyCluster-5d1b654ecf09a24b888f4c79

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/cloud-backup/restore/restores/)

func GetCloudProviderSnapshotRestoreJob

func GetCloudProviderSnapshotRestoreJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderSnapshotRestoreJobState, opts ...pulumi.ResourceOption) (*CloudProviderSnapshotRestoreJob, error)

GetCloudProviderSnapshotRestoreJob gets an existing CloudProviderSnapshotRestoreJob 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 NewCloudProviderSnapshotRestoreJob

func NewCloudProviderSnapshotRestoreJob(ctx *pulumi.Context,
	name string, args *CloudProviderSnapshotRestoreJobArgs, opts ...pulumi.ResourceOption) (*CloudProviderSnapshotRestoreJob, error)

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

func (*CloudProviderSnapshotRestoreJob) ElementType added in v1.3.1

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutput added in v1.3.1

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutput() CloudProviderSnapshotRestoreJobOutput

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutputWithContext added in v1.3.1

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobOutput

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutput added in v1.5.2

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext added in v1.5.2

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobPtrOutput

type CloudProviderSnapshotRestoreJobArgs

type CloudProviderSnapshotRestoreJobArgs struct {
	// The name of the Atlas cluster whose snapshot you want to restore.
	ClusterName pulumi.StringInput
	// Type of restore job to create. Possible values are: **download** or **automated**, only one must be set it in “true“.
	DeliveryType CloudProviderSnapshotRestoreJobDeliveryTypeInput
	// The unique identifier of the project for the Atlas cluster whose snapshot you want to restore.
	ProjectId pulumi.StringInput
	// Unique identifier of the snapshot to restore.
	SnapshotId pulumi.StringInput
}

The set of arguments for constructing a CloudProviderSnapshotRestoreJob resource.

func (CloudProviderSnapshotRestoreJobArgs) ElementType

type CloudProviderSnapshotRestoreJobArray added in v1.5.2

type CloudProviderSnapshotRestoreJobArray []CloudProviderSnapshotRestoreJobInput

func (CloudProviderSnapshotRestoreJobArray) ElementType added in v1.5.2

func (CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutput added in v1.5.2

func (i CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutput() CloudProviderSnapshotRestoreJobArrayOutput

func (CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobArrayOutput

type CloudProviderSnapshotRestoreJobArrayInput added in v1.5.2

type CloudProviderSnapshotRestoreJobArrayInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobArrayOutput() CloudProviderSnapshotRestoreJobArrayOutput
	ToCloudProviderSnapshotRestoreJobArrayOutputWithContext(context.Context) CloudProviderSnapshotRestoreJobArrayOutput
}

CloudProviderSnapshotRestoreJobArrayInput is an input type that accepts CloudProviderSnapshotRestoreJobArray and CloudProviderSnapshotRestoreJobArrayOutput values. You can construct a concrete instance of `CloudProviderSnapshotRestoreJobArrayInput` via:

CloudProviderSnapshotRestoreJobArray{ CloudProviderSnapshotRestoreJobArgs{...} }

type CloudProviderSnapshotRestoreJobArrayOutput added in v1.5.2

type CloudProviderSnapshotRestoreJobArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobArrayOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotRestoreJobArrayOutput) Index added in v1.5.2

func (CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutput added in v1.5.2

func (o CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutput() CloudProviderSnapshotRestoreJobArrayOutput

func (CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobArrayOutput

type CloudProviderSnapshotRestoreJobDeliveryType

type CloudProviderSnapshotRestoreJobDeliveryType struct {
	Automated             *bool `pulumi:"automated"`
	Download              *bool `pulumi:"download"`
	OplogInc              *int  `pulumi:"oplogInc"`
	OplogTs               *int  `pulumi:"oplogTs"`
	PointInTime           *bool `pulumi:"pointInTime"`
	PointInTimeUtcSeconds *int  `pulumi:"pointInTimeUtcSeconds"`
	// Name of the target Atlas cluster to which the restore job restores the snapshot. Only required if deliveryType is automated.
	TargetClusterName *string `pulumi:"targetClusterName"`
	TargetProjectId   *string `pulumi:"targetProjectId"`
}

type CloudProviderSnapshotRestoreJobDeliveryTypeArgs

type CloudProviderSnapshotRestoreJobDeliveryTypeArgs struct {
	Automated             pulumi.BoolPtrInput `pulumi:"automated"`
	Download              pulumi.BoolPtrInput `pulumi:"download"`
	OplogInc              pulumi.IntPtrInput  `pulumi:"oplogInc"`
	OplogTs               pulumi.IntPtrInput  `pulumi:"oplogTs"`
	PointInTime           pulumi.BoolPtrInput `pulumi:"pointInTime"`
	PointInTimeUtcSeconds pulumi.IntPtrInput  `pulumi:"pointInTimeUtcSeconds"`
	// Name of the target Atlas cluster to which the restore job restores the snapshot. Only required if deliveryType is automated.
	TargetClusterName pulumi.StringPtrInput `pulumi:"targetClusterName"`
	TargetProjectId   pulumi.StringPtrInput `pulumi:"targetProjectId"`
}

func (CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ElementType

func (CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (i CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutput() CloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutputWithContext

func (i CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

func (i CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput() CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext

func (i CloudProviderSnapshotRestoreJobDeliveryTypeArgs) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

type CloudProviderSnapshotRestoreJobDeliveryTypeInput

type CloudProviderSnapshotRestoreJobDeliveryTypeInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobDeliveryTypeOutput() CloudProviderSnapshotRestoreJobDeliveryTypeOutput
	ToCloudProviderSnapshotRestoreJobDeliveryTypeOutputWithContext(context.Context) CloudProviderSnapshotRestoreJobDeliveryTypeOutput
}

CloudProviderSnapshotRestoreJobDeliveryTypeInput is an input type that accepts CloudProviderSnapshotRestoreJobDeliveryTypeArgs and CloudProviderSnapshotRestoreJobDeliveryTypeOutput values. You can construct a concrete instance of `CloudProviderSnapshotRestoreJobDeliveryTypeInput` via:

CloudProviderSnapshotRestoreJobDeliveryTypeArgs{...}

type CloudProviderSnapshotRestoreJobDeliveryTypeOutput

type CloudProviderSnapshotRestoreJobDeliveryTypeOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) Automated

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) Download

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ElementType

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) OplogInc added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) OplogTs added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) PointInTime added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) PointInTimeUtcSeconds added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) TargetClusterName

Name of the target Atlas cluster to which the restore job restores the snapshot. Only required if deliveryType is automated.

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) TargetProjectId

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (o CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutput() CloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutputWithContext

func (o CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypeOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobDeliveryTypeOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

func (o CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput() CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext

func (o CloudProviderSnapshotRestoreJobDeliveryTypeOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

type CloudProviderSnapshotRestoreJobDeliveryTypePtrInput

type CloudProviderSnapshotRestoreJobDeliveryTypePtrInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput() CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput
	ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext(context.Context) CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput
}

CloudProviderSnapshotRestoreJobDeliveryTypePtrInput is an input type that accepts CloudProviderSnapshotRestoreJobDeliveryTypeArgs, CloudProviderSnapshotRestoreJobDeliveryTypePtr and CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput values. You can construct a concrete instance of `CloudProviderSnapshotRestoreJobDeliveryTypePtrInput` via:

        CloudProviderSnapshotRestoreJobDeliveryTypeArgs{...}

or:

        nil

type CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

type CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) Automated

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) Download

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) Elem

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) ElementType

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) OplogInc added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) OplogTs added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) PointInTime added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) PointInTimeUtcSeconds added in v1.1.0

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) TargetClusterName

Name of the target Atlas cluster to which the restore job restores the snapshot. Only required if deliveryType is automated.

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) TargetProjectId

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext

func (o CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) ToCloudProviderSnapshotRestoreJobDeliveryTypePtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput

type CloudProviderSnapshotRestoreJobInput added in v1.3.1

type CloudProviderSnapshotRestoreJobInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobOutput() CloudProviderSnapshotRestoreJobOutput
	ToCloudProviderSnapshotRestoreJobOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobOutput
}

type CloudProviderSnapshotRestoreJobMap added in v1.5.2

type CloudProviderSnapshotRestoreJobMap map[string]CloudProviderSnapshotRestoreJobInput

func (CloudProviderSnapshotRestoreJobMap) ElementType added in v1.5.2

func (CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutput added in v1.5.2

func (i CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutput() CloudProviderSnapshotRestoreJobMapOutput

func (CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutputWithContext added in v1.5.2

func (i CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobMapOutput

type CloudProviderSnapshotRestoreJobMapInput added in v1.5.2

type CloudProviderSnapshotRestoreJobMapInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobMapOutput() CloudProviderSnapshotRestoreJobMapOutput
	ToCloudProviderSnapshotRestoreJobMapOutputWithContext(context.Context) CloudProviderSnapshotRestoreJobMapOutput
}

CloudProviderSnapshotRestoreJobMapInput is an input type that accepts CloudProviderSnapshotRestoreJobMap and CloudProviderSnapshotRestoreJobMapOutput values. You can construct a concrete instance of `CloudProviderSnapshotRestoreJobMapInput` via:

CloudProviderSnapshotRestoreJobMap{ "key": CloudProviderSnapshotRestoreJobArgs{...} }

type CloudProviderSnapshotRestoreJobMapOutput added in v1.5.2

type CloudProviderSnapshotRestoreJobMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobMapOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotRestoreJobMapOutput) MapIndex added in v1.5.2

func (CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutput added in v1.5.2

func (o CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutput() CloudProviderSnapshotRestoreJobMapOutput

func (CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobMapOutput

type CloudProviderSnapshotRestoreJobOutput added in v1.3.1

type CloudProviderSnapshotRestoreJobOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotRestoreJobOutput) ElementType added in v1.3.1

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutput added in v1.3.1

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutput() CloudProviderSnapshotRestoreJobOutput

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutputWithContext added in v1.3.1

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobOutput

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutput added in v1.5.2

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobPtrOutput

type CloudProviderSnapshotRestoreJobPtrInput added in v1.5.2

type CloudProviderSnapshotRestoreJobPtrInput interface {
	pulumi.Input

	ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput
	ToCloudProviderSnapshotRestoreJobPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobPtrOutput
}

type CloudProviderSnapshotRestoreJobPtrOutput added in v1.5.2

type CloudProviderSnapshotRestoreJobPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotRestoreJobPtrOutput) ElementType added in v1.5.2

func (CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutput added in v1.5.2

func (o CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext added in v1.5.2

func (o CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext(ctx context.Context) CloudProviderSnapshotRestoreJobPtrOutput

type CloudProviderSnapshotRestoreJobState

type CloudProviderSnapshotRestoreJobState struct {
	// Indicates whether the restore job was canceled.
	Cancelled pulumi.BoolPtrInput
	// The name of the Atlas cluster whose snapshot you want to restore.
	ClusterName pulumi.StringPtrInput
	// UTC ISO 8601 formatted point in time when Atlas created the restore job.
	CreatedAt pulumi.StringPtrInput
	// Type of restore job to create. Possible values are: **download** or **automated**, only one must be set it in “true“.
	DeliveryType CloudProviderSnapshotRestoreJobDeliveryTypePtrInput
	// One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
	DeliveryUrls pulumi.StringArrayInput
	// Indicates whether the restore job expired.
	Expired pulumi.BoolPtrInput
	// UTC ISO 8601 formatted point in time when the restore job expires.
	ExpiresAt pulumi.StringPtrInput
	// UTC ISO 8601 formatted point in time when the restore job completed.
	FinishedAt pulumi.StringPtrInput
	// The unique identifier of the project for the Atlas cluster whose snapshot you want to restore.
	ProjectId pulumi.StringPtrInput
	// Unique identifier of the snapshot to restore.
	SnapshotId pulumi.StringPtrInput
	// The unique identifier of the restore job.
	SnapshotRestoreJobId pulumi.StringPtrInput
	// Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
	Timestamp pulumi.StringPtrInput
}

func (CloudProviderSnapshotRestoreJobState) ElementType

type CloudProviderSnapshotState

type CloudProviderSnapshotState struct {
	// The name of the Atlas cluster that contains the snapshots you want to retrieve.
	ClusterName pulumi.StringPtrInput
	// UTC ISO 8601 formatted point in time when Atlas took the snapshot.
	CreatedAt pulumi.StringPtrInput
	// Description of the on-demand snapshot.
	Description pulumi.StringPtrInput
	// UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
	ExpiresAt pulumi.StringPtrInput
	// Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
	MasterKeyUuid pulumi.StringPtrInput
	// Version of the MongoDB server.
	MongodVersion pulumi.StringPtrInput
	// The unique identifier of the project for the Atlas cluster.
	ProjectId pulumi.StringPtrInput
	// The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
	RetentionInDays pulumi.IntPtrInput
	// Unique identifier of the snapshot.
	SnapshotId pulumi.StringPtrInput
	// Specified the type of snapshot. Valid values are onDemand and scheduled.
	SnapshotType pulumi.StringPtrInput
	// Current status of the snapshot. One of the following values will be returned: queued, inProgress, completed, failed.
	Status pulumi.StringPtrInput
	// Specifies the size of the snapshot in bytes.
	StorageSizeBytes pulumi.IntPtrInput
	// Specifies the type of cluster: replicaSet or shardedCluster.
	Type pulumi.StringPtrInput
}

func (CloudProviderSnapshotState) ElementType

func (CloudProviderSnapshotState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	AdvancedConfiguration ClusterAdvancedConfigurationOutput `pulumi:"advancedConfiguration"`
	// Specifies whether cluster tier auto-scaling is enabled. The default is false.
	// - Set to `true` to enable cluster tier auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
	// - Set to `false` to disable cluster tier auto-scaling.
	AutoScalingComputeEnabled pulumi.BoolOutput `pulumi:"autoScalingComputeEnabled"`
	// Set to `true` to enable the cluster tier to scale down. This option is only available if `autoScaling.compute.enabled` is `true`.
	// - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
	AutoScalingComputeScaleDownEnabled pulumi.BoolOutput `pulumi:"autoScalingComputeScaleDownEnabled"`
	// Specifies whether disk auto-scaling is enabled. The default is true.
	// - Set to `true` to enable disk auto-scaling.
	// - Set to `false` to disable disk auto-scaling.
	AutoScalingDiskGbEnabled pulumi.BoolPtrOutput `pulumi:"autoScalingDiskGbEnabled"`
	// Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName pulumi.StringOutput  `pulumi:"backingProviderName"`
	BackupEnabled       pulumi.BoolPtrOutput `pulumi:"backupEnabled"`
	// Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector ClusterBiConnectorOutput `pulumi:"biConnector"`
	// The cluster ID.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
	ConnectionStrings ClusterConnectionStringsOutput `pulumi:"connectionStrings"`
	// The Network Peering Container ID. The id of the container either created programmatically by the user before any clusters existed in the project or when the first cluster in the region (AWS/Azure) or project (GCP) was created.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// Capacity, in gigabytes, of the host’s root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
	// * The minimum disk size for dedicated clusters is 10GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value.
	// * Note: The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier.
	// * Cannot be used with clusters with local NVMe SSDs
	// * Cannot be used with Azure clusters
	DiskSizeGb pulumi.Float64Output `pulumi:"diskSizeGb"`
	// Possible values are AWS, GCP, AZURE or NONE.  Only needed if you desire to manage the keys, see [Encryption at Rest using Customer Key Management](https://docs.atlas.mongodb.com/security-aws-kms/) for complete documentation.  You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For complete documentation on configuring Encryption at Rest, see Encryption at Rest using Customer Key Management. Requires M10 or greater. and for legacy backups, backup_enabled, to be false or omitted. **Note: Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default**.
	EncryptionAtRestProvider pulumi.StringOutput     `pulumi:"encryptionAtRestProvider"`
	Labels                   ClusterLabelArrayOutput `pulumi:"labels"`
	// Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
	MongoDbMajorVersion pulumi.StringOutput `pulumi:"mongoDbMajorVersion"`
	// Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
	MongoDbVersion pulumi.StringOutput `pulumi:"mongoDbVersion"`
	// Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
	MongoUri pulumi.StringOutput `pulumi:"mongoUri"`
	// Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
	MongoUriUpdated pulumi.StringOutput `pulumi:"mongoUriUpdated"`
	// connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
	MongoUriWithOptions pulumi.StringOutput `pulumi:"mongoUriWithOptions"`
	// Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of shards to deploy in the specified zone, minimum 1.
	NumShards pulumi.IntPtrOutput `pulumi:"numShards"`
	// Flag that indicates whether the cluster is paused or not.
	Paused pulumi.BoolOutput `pulumi:"paused"`
	// - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, providerBackupEnabled must also be set to true.
	PitEnabled pulumi.BoolOutput `pulumi:"pitEnabled"`
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.
	ProviderAutoScalingComputeMaxInstanceSize pulumi.StringOutput `pulumi:"providerAutoScalingComputeMaxInstanceSize"`
	// Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
	ProviderAutoScalingComputeMinInstanceSize pulumi.StringOutput `pulumi:"providerAutoScalingComputeMinInstanceSize"`
	// Flag indicating if the cluster uses Cloud Backup for backups.
	ProviderBackupEnabled pulumi.BoolPtrOutput `pulumi:"providerBackupEnabled"`
	// The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `providerInstanceSizeName` and `diskSizeGb`.
	ProviderDiskIops pulumi.IntOutput `pulumi:"providerDiskIops"`
	// Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName.  Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB.  More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
	ProviderDiskTypeName pulumi.StringOutput `pulumi:"providerDiskTypeName"`
	// The default value is true.  Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
	ProviderEncryptEbsVolume pulumi.BoolOutput `pulumi:"providerEncryptEbsVolume"`
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/) `providerSettings.instanceSizeName` for valid values and default resources.
	// **Note** free tier (M0) creation is not supported by the Atlas API and hence not supported by this provider.)
	ProviderInstanceSizeName pulumi.StringOutput `pulumi:"providerInstanceSizeName"`
	// Cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	// Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
	ProviderRegionName pulumi.StringOutput `pulumi:"providerRegionName"`
	// The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.  `PROVISIONED` required if setting IOPS higher than the default instance IOPS.
	ProviderVolumeType pulumi.StringOutput `pulumi:"providerVolumeType"`
	// Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor pulumi.IntOutput `pulumi:"replicationFactor"`
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs ClusterReplicationSpecArrayOutput `pulumi:"replicationSpecs"`
	// current snapshot schedule and retention settings for the cluster.
	SnapshotBackupPolicies ClusterSnapshotBackupPolicyArrayOutput `pulumi:"snapshotBackupPolicies"`
	// Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
	SrvAddress pulumi.StringOutput `pulumi:"srvAddress"`
	// Current state of the cluster. The possible states are:
	// - IDLE
	// - CREATING
	// - UPDATING
	// - DELETING
	// - DELETED
	// - REPAIRING
	StateName pulumi.StringOutput `pulumi:"stateName"`
}

`Cluster` provides a Cluster resource. The resource lets you create, edit and delete clusters. The resource requires your Project ID.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

> **NOTE:** A network container is created for a cluster to reside in if one does not yet exist in the project. To use this automatically created container with another resource, such as peering, the `containerId` is exported after creation.

> **IMPORTANT:** <br> &#8226; Free tier cluster creation (M0) is not supported via API or by this Provider. <br> &#8226; Shared tier clusters (M2, M5) cannot be upgraded to higher tiers via API or by this Provider. <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).\ <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.

## Example Usage ### Example AWS cluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "cluster_test", &mongodbatlas.ClusterArgs{
			AutoScalingDiskGbEnabled: pulumi.Bool(true),
			ClusterType:              pulumi.String("REPLICASET"),
			DiskSizeGb:               pulumi.Float64(100),
			MongoDbMajorVersion:      pulumi.String("4.2"),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(300),
			ProviderEncryptEbsVolume: pulumi.Bool(true),
			ProviderInstanceSizeName: pulumi.String("M40"),
			ProviderName:             pulumi.String("AWS"),
			ProviderVolumeType:       pulumi.String("STANDARD"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Azure cluster.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "test", &mongodbatlas.ClusterArgs{
			AutoScalingDiskGbEnabled: pulumi.Bool(true),
			ClusterType:              pulumi.String("REPLICASET"),
			MongoDbMajorVersion:      pulumi.String("4.2"),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskTypeName:     pulumi.String("P6"),
			ProviderInstanceSizeName: pulumi.String("M30"),
			ProviderName:             pulumi.String("AZURE"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example GCP cluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "test", &mongodbatlas.ClusterArgs{
			AutoScalingDiskGbEnabled: pulumi.Bool(true),
			ClusterType:              pulumi.String("REPLICASET"),
			DiskSizeGb:               pulumi.Float64(40),
			MongoDbMajorVersion:      pulumi.String("4.2"),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderInstanceSizeName: pulumi.String("M30"),
			ProviderName:             pulumi.String("GCP"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Multi Region cluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "cluster_test", &mongodbatlas.ClusterArgs{
			ClusterType:              pulumi.String("REPLICASET"),
			DiskSizeGb:               pulumi.Float64(100),
			NumShards:                pulumi.Int(1),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(300),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderName:             pulumi.String("AWS"),
			ProviderVolumeType:       pulumi.String("STANDARD"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_1"),
						},
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(2),
							Priority:       pulumi.Int(6),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_2"),
						},
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(2),
							Priority:       pulumi.Int(5),
							ReadOnlyNodes:  pulumi.Int(2),
							RegionName:     pulumi.String("US_WEST_1"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Global cluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "cluster_test", &mongodbatlas.ClusterArgs{
			ClusterType:              pulumi.String("GEOSHARDED"),
			DiskSizeGb:               pulumi.Float64(80),
			NumShards:                pulumi.Int(1),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderDiskIops:         pulumi.Int(240),
			ProviderInstanceSizeName: pulumi.String("M30"),
			ProviderName:             pulumi.String("AWS"),
			ProviderVolumeType:       pulumi.String("STANDARD"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(2),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("US_EAST_1"),
						},
					},
					ZoneName: pulumi.String("Zone 1"),
				},
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(2),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
							RegionName:     pulumi.String("EU_CENTRAL_1"),
						},
					},
					ZoneName: pulumi.String("Zone 2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example AWS Shared Tier cluster ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "cluster_test", &mongodbatlas.ClusterArgs{
			AutoScalingDiskGbEnabled: pulumi.Bool(false),
			BackingProviderName:      pulumi.String("AWS"),
			DiskSizeGb:               pulumi.Float64(2),
			MongoDbMajorVersion:      pulumi.String("4.2"),
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderInstanceSizeName: pulumi.String("M2"),
			ProviderName:             pulumi.String("TENANT"),
			ProviderRegionName:       pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Clusters can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTERNAME`, e.g.

```sh

$ pulumi import mongodbatlas:index/cluster:Cluster my_cluster 1112222b3bf99403840e8934-Cluster0

```

See detailed information for arguments and attributes[MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster 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 NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType added in v1.3.1

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput added in v1.3.1

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext added in v1.3.1

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput added in v1.5.2

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext added in v1.5.2

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterAdvancedConfiguration

type ClusterAdvancedConfiguration struct {
	// When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
	FailIndexKeyTooLong *bool `pulumi:"failIndexKeyTooLong"`
	// When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
	JavascriptEnabled *bool `pulumi:"javascriptEnabled"`
	// Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
	MinimumEnabledTlsProtocol *string `pulumi:"minimumEnabledTlsProtocol"`
	// When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
	NoTableScan *bool `pulumi:"noTableScan"`
	// The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
	OplogSizeMb *int `pulumi:"oplogSizeMb"`
	// Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
	SampleRefreshIntervalBiConnector *int `pulumi:"sampleRefreshIntervalBiConnector"`
	// Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
	SampleSizeBiConnector *int `pulumi:"sampleSizeBiConnector"`
}

type ClusterAdvancedConfigurationArgs

type ClusterAdvancedConfigurationArgs struct {
	// When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
	FailIndexKeyTooLong pulumi.BoolPtrInput `pulumi:"failIndexKeyTooLong"`
	// When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.
	JavascriptEnabled pulumi.BoolPtrInput `pulumi:"javascriptEnabled"`
	// Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:
	MinimumEnabledTlsProtocol pulumi.StringPtrInput `pulumi:"minimumEnabledTlsProtocol"`
	// When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.
	NoTableScan pulumi.BoolPtrInput `pulumi:"noTableScan"`
	// The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.
	OplogSizeMb pulumi.IntPtrInput `pulumi:"oplogSizeMb"`
	// Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
	SampleRefreshIntervalBiConnector pulumi.IntPtrInput `pulumi:"sampleRefreshIntervalBiConnector"`
	// Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.
	SampleSizeBiConnector pulumi.IntPtrInput `pulumi:"sampleSizeBiConnector"`
}

func (ClusterAdvancedConfigurationArgs) ElementType

func (ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationOutput

func (i ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationOutput() ClusterAdvancedConfigurationOutput

func (ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationOutputWithContext

func (i ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationOutputWithContext(ctx context.Context) ClusterAdvancedConfigurationOutput

func (ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationPtrOutput

func (i ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationPtrOutput() ClusterAdvancedConfigurationPtrOutput

func (ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationPtrOutputWithContext

func (i ClusterAdvancedConfigurationArgs) ToClusterAdvancedConfigurationPtrOutputWithContext(ctx context.Context) ClusterAdvancedConfigurationPtrOutput

type ClusterAdvancedConfigurationInput

type ClusterAdvancedConfigurationInput interface {
	pulumi.Input

	ToClusterAdvancedConfigurationOutput() ClusterAdvancedConfigurationOutput
	ToClusterAdvancedConfigurationOutputWithContext(context.Context) ClusterAdvancedConfigurationOutput
}

ClusterAdvancedConfigurationInput is an input type that accepts ClusterAdvancedConfigurationArgs and ClusterAdvancedConfigurationOutput values. You can construct a concrete instance of `ClusterAdvancedConfigurationInput` via:

ClusterAdvancedConfigurationArgs{...}

type ClusterAdvancedConfigurationOutput

type ClusterAdvancedConfigurationOutput struct{ *pulumi.OutputState }

func (ClusterAdvancedConfigurationOutput) ElementType

func (ClusterAdvancedConfigurationOutput) FailIndexKeyTooLong

When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.

func (ClusterAdvancedConfigurationOutput) JavascriptEnabled

When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.

func (ClusterAdvancedConfigurationOutput) MinimumEnabledTlsProtocol

func (o ClusterAdvancedConfigurationOutput) MinimumEnabledTlsProtocol() pulumi.StringPtrOutput

Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:

func (ClusterAdvancedConfigurationOutput) NoTableScan

When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.

func (ClusterAdvancedConfigurationOutput) OplogSizeMb

The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.

func (ClusterAdvancedConfigurationOutput) SampleRefreshIntervalBiConnector

func (o ClusterAdvancedConfigurationOutput) SampleRefreshIntervalBiConnector() pulumi.IntPtrOutput

Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.

func (ClusterAdvancedConfigurationOutput) SampleSizeBiConnector

func (o ClusterAdvancedConfigurationOutput) SampleSizeBiConnector() pulumi.IntPtrOutput

Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.

func (ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationOutput

func (o ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationOutput() ClusterAdvancedConfigurationOutput

func (ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationOutputWithContext

func (o ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationOutputWithContext(ctx context.Context) ClusterAdvancedConfigurationOutput

func (ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationPtrOutput

func (o ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationPtrOutput() ClusterAdvancedConfigurationPtrOutput

func (ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationPtrOutputWithContext

func (o ClusterAdvancedConfigurationOutput) ToClusterAdvancedConfigurationPtrOutputWithContext(ctx context.Context) ClusterAdvancedConfigurationPtrOutput

type ClusterAdvancedConfigurationPtrInput

type ClusterAdvancedConfigurationPtrInput interface {
	pulumi.Input

	ToClusterAdvancedConfigurationPtrOutput() ClusterAdvancedConfigurationPtrOutput
	ToClusterAdvancedConfigurationPtrOutputWithContext(context.Context) ClusterAdvancedConfigurationPtrOutput
}

ClusterAdvancedConfigurationPtrInput is an input type that accepts ClusterAdvancedConfigurationArgs, ClusterAdvancedConfigurationPtr and ClusterAdvancedConfigurationPtrOutput values. You can construct a concrete instance of `ClusterAdvancedConfigurationPtrInput` via:

        ClusterAdvancedConfigurationArgs{...}

or:

        nil

type ClusterAdvancedConfigurationPtrOutput

type ClusterAdvancedConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ClusterAdvancedConfigurationPtrOutput) Elem

func (ClusterAdvancedConfigurationPtrOutput) ElementType

func (ClusterAdvancedConfigurationPtrOutput) FailIndexKeyTooLong

When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.

func (ClusterAdvancedConfigurationPtrOutput) JavascriptEnabled

When true, the cluster allows execution of operations that perform server-side executions of JavaScript. When false, the cluster disables execution of those operations.

func (ClusterAdvancedConfigurationPtrOutput) MinimumEnabledTlsProtocol

func (o ClusterAdvancedConfigurationPtrOutput) MinimumEnabledTlsProtocol() pulumi.StringPtrOutput

Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections.Valid values are:

func (ClusterAdvancedConfigurationPtrOutput) NoTableScan

When true, the cluster disables the execution of any query that requires a collection scan to return results. When false, the cluster allows the execution of those operations.

func (ClusterAdvancedConfigurationPtrOutput) OplogSizeMb

The custom oplog size of the cluster. Without a value that indicates that the cluster uses the default oplog size calculated by Atlas.

func (ClusterAdvancedConfigurationPtrOutput) SampleRefreshIntervalBiConnector

func (o ClusterAdvancedConfigurationPtrOutput) SampleRefreshIntervalBiConnector() pulumi.IntPtrOutput

Interval in seconds at which the mongosqld process re-samples data to create its relational schema. The default value is 300. The specified value must be a positive integer. Available only for Atlas deployments in which BI Connector for Atlas is enabled.

func (ClusterAdvancedConfigurationPtrOutput) SampleSizeBiConnector

func (o ClusterAdvancedConfigurationPtrOutput) SampleSizeBiConnector() pulumi.IntPtrOutput

Number of documents per database to sample when gathering schema information. Defaults to 100. Available only for Atlas deployments in which BI Connector for Atlas is enabled.

func (ClusterAdvancedConfigurationPtrOutput) ToClusterAdvancedConfigurationPtrOutput

func (o ClusterAdvancedConfigurationPtrOutput) ToClusterAdvancedConfigurationPtrOutput() ClusterAdvancedConfigurationPtrOutput

func (ClusterAdvancedConfigurationPtrOutput) ToClusterAdvancedConfigurationPtrOutputWithContext

func (o ClusterAdvancedConfigurationPtrOutput) ToClusterAdvancedConfigurationPtrOutputWithContext(ctx context.Context) ClusterAdvancedConfigurationPtrOutput

type ClusterArgs

type ClusterArgs struct {
	AdvancedConfiguration ClusterAdvancedConfigurationPtrInput
	// Specifies whether cluster tier auto-scaling is enabled. The default is false.
	// - Set to `true` to enable cluster tier auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
	// - Set to `false` to disable cluster tier auto-scaling.
	AutoScalingComputeEnabled pulumi.BoolPtrInput
	// Set to `true` to enable the cluster tier to scale down. This option is only available if `autoScaling.compute.enabled` is `true`.
	// - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
	AutoScalingComputeScaleDownEnabled pulumi.BoolPtrInput
	// Specifies whether disk auto-scaling is enabled. The default is true.
	// - Set to `true` to enable disk auto-scaling.
	// - Set to `false` to disable disk auto-scaling.
	AutoScalingDiskGbEnabled pulumi.BoolPtrInput
	// Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName pulumi.StringPtrInput
	BackupEnabled       pulumi.BoolPtrInput
	// Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector ClusterBiConnectorPtrInput
	// Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType pulumi.StringPtrInput
	// Capacity, in gigabytes, of the host’s root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
	// * The minimum disk size for dedicated clusters is 10GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value.
	// * Note: The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier.
	// * Cannot be used with clusters with local NVMe SSDs
	// * Cannot be used with Azure clusters
	DiskSizeGb pulumi.Float64PtrInput
	// Possible values are AWS, GCP, AZURE or NONE.  Only needed if you desire to manage the keys, see [Encryption at Rest using Customer Key Management](https://docs.atlas.mongodb.com/security-aws-kms/) for complete documentation.  You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For complete documentation on configuring Encryption at Rest, see Encryption at Rest using Customer Key Management. Requires M10 or greater. and for legacy backups, backup_enabled, to be false or omitted. **Note: Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default**.
	EncryptionAtRestProvider pulumi.StringPtrInput
	Labels                   ClusterLabelArrayInput
	// Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
	MongoDbMajorVersion pulumi.StringPtrInput
	// Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
	Name pulumi.StringPtrInput
	// Number of shards to deploy in the specified zone, minimum 1.
	NumShards pulumi.IntPtrInput
	// - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, providerBackupEnabled must also be set to true.
	PitEnabled pulumi.BoolPtrInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringInput
	// Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.
	ProviderAutoScalingComputeMaxInstanceSize pulumi.StringPtrInput
	// Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
	ProviderAutoScalingComputeMinInstanceSize pulumi.StringPtrInput
	// Flag indicating if the cluster uses Cloud Backup for backups.
	ProviderBackupEnabled pulumi.BoolPtrInput
	// The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `providerInstanceSizeName` and `diskSizeGb`.
	ProviderDiskIops pulumi.IntPtrInput
	// Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName.  Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB.  More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
	ProviderDiskTypeName pulumi.StringPtrInput
	// The default value is true.  Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
	ProviderEncryptEbsVolume pulumi.BoolPtrInput
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/) `providerSettings.instanceSizeName` for valid values and default resources.
	// **Note** free tier (M0) creation is not supported by the Atlas API and hence not supported by this provider.)
	ProviderInstanceSizeName pulumi.StringInput
	// Cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringInput
	// Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	// Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
	ProviderRegionName pulumi.StringPtrInput
	// The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.  `PROVISIONED` required if setting IOPS higher than the default instance IOPS.
	ProviderVolumeType pulumi.StringPtrInput
	// Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor pulumi.IntPtrInput
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs ClusterReplicationSpecArrayInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray added in v1.5.2

type ClusterArray []ClusterInput

func (ClusterArray) ElementType added in v1.5.2

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput added in v1.5.2

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext added in v1.5.2

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput added in v1.5.2

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput added in v1.5.2

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType added in v1.5.2

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index added in v1.5.2

func (ClusterArrayOutput) ToClusterArrayOutput added in v1.5.2

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext added in v1.5.2

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterBiConnector

type ClusterBiConnector struct {
	// Specifies whether or not BI Connector for Atlas is enabled on the cluster.l
	// *
	// - Set to `true` to enable BI Connector for Atlas.
	// - Set to `false` to disable BI Connector for Atlas.
	Enabled *string `pulumi:"enabled"`
	// Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference *string `pulumi:"readPreference"`
}

type ClusterBiConnectorArgs

type ClusterBiConnectorArgs struct {
	// Specifies whether or not BI Connector for Atlas is enabled on the cluster.l
	// *
	// - Set to `true` to enable BI Connector for Atlas.
	// - Set to `false` to disable BI Connector for Atlas.
	Enabled pulumi.StringPtrInput `pulumi:"enabled"`
	// Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference pulumi.StringPtrInput `pulumi:"readPreference"`
}

func (ClusterBiConnectorArgs) ElementType

func (ClusterBiConnectorArgs) ElementType() reflect.Type

func (ClusterBiConnectorArgs) ToClusterBiConnectorOutput

func (i ClusterBiConnectorArgs) ToClusterBiConnectorOutput() ClusterBiConnectorOutput

func (ClusterBiConnectorArgs) ToClusterBiConnectorOutputWithContext

func (i ClusterBiConnectorArgs) ToClusterBiConnectorOutputWithContext(ctx context.Context) ClusterBiConnectorOutput

func (ClusterBiConnectorArgs) ToClusterBiConnectorPtrOutput

func (i ClusterBiConnectorArgs) ToClusterBiConnectorPtrOutput() ClusterBiConnectorPtrOutput

func (ClusterBiConnectorArgs) ToClusterBiConnectorPtrOutputWithContext

func (i ClusterBiConnectorArgs) ToClusterBiConnectorPtrOutputWithContext(ctx context.Context) ClusterBiConnectorPtrOutput

type ClusterBiConnectorInput

type ClusterBiConnectorInput interface {
	pulumi.Input

	ToClusterBiConnectorOutput() ClusterBiConnectorOutput
	ToClusterBiConnectorOutputWithContext(context.Context) ClusterBiConnectorOutput
}

ClusterBiConnectorInput is an input type that accepts ClusterBiConnectorArgs and ClusterBiConnectorOutput values. You can construct a concrete instance of `ClusterBiConnectorInput` via:

ClusterBiConnectorArgs{...}

type ClusterBiConnectorOutput

type ClusterBiConnectorOutput struct{ *pulumi.OutputState }

func (ClusterBiConnectorOutput) ElementType

func (ClusterBiConnectorOutput) ElementType() reflect.Type

func (ClusterBiConnectorOutput) Enabled

Specifies whether or not BI Connector for Atlas is enabled on the cluster.l * - Set to `true` to enable BI Connector for Atlas. - Set to `false` to disable BI Connector for Atlas.

func (ClusterBiConnectorOutput) ReadPreference

func (o ClusterBiConnectorOutput) ReadPreference() pulumi.StringPtrOutput

Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).

func (ClusterBiConnectorOutput) ToClusterBiConnectorOutput

func (o ClusterBiConnectorOutput) ToClusterBiConnectorOutput() ClusterBiConnectorOutput

func (ClusterBiConnectorOutput) ToClusterBiConnectorOutputWithContext

func (o ClusterBiConnectorOutput) ToClusterBiConnectorOutputWithContext(ctx context.Context) ClusterBiConnectorOutput

func (ClusterBiConnectorOutput) ToClusterBiConnectorPtrOutput

func (o ClusterBiConnectorOutput) ToClusterBiConnectorPtrOutput() ClusterBiConnectorPtrOutput

func (ClusterBiConnectorOutput) ToClusterBiConnectorPtrOutputWithContext

func (o ClusterBiConnectorOutput) ToClusterBiConnectorPtrOutputWithContext(ctx context.Context) ClusterBiConnectorPtrOutput

type ClusterBiConnectorPtrInput

type ClusterBiConnectorPtrInput interface {
	pulumi.Input

	ToClusterBiConnectorPtrOutput() ClusterBiConnectorPtrOutput
	ToClusterBiConnectorPtrOutputWithContext(context.Context) ClusterBiConnectorPtrOutput
}

ClusterBiConnectorPtrInput is an input type that accepts ClusterBiConnectorArgs, ClusterBiConnectorPtr and ClusterBiConnectorPtrOutput values. You can construct a concrete instance of `ClusterBiConnectorPtrInput` via:

        ClusterBiConnectorArgs{...}

or:

        nil

type ClusterBiConnectorPtrOutput

type ClusterBiConnectorPtrOutput struct{ *pulumi.OutputState }

func (ClusterBiConnectorPtrOutput) Elem

func (ClusterBiConnectorPtrOutput) ElementType

func (ClusterBiConnectorPtrOutput) Enabled

Specifies whether or not BI Connector for Atlas is enabled on the cluster.l * - Set to `true` to enable BI Connector for Atlas. - Set to `false` to disable BI Connector for Atlas.

func (ClusterBiConnectorPtrOutput) ReadPreference

Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).

func (ClusterBiConnectorPtrOutput) ToClusterBiConnectorPtrOutput

func (o ClusterBiConnectorPtrOutput) ToClusterBiConnectorPtrOutput() ClusterBiConnectorPtrOutput

func (ClusterBiConnectorPtrOutput) ToClusterBiConnectorPtrOutputWithContext

func (o ClusterBiConnectorPtrOutput) ToClusterBiConnectorPtrOutputWithContext(ctx context.Context) ClusterBiConnectorPtrOutput

type ClusterConnectionStrings

type ClusterConnectionStrings struct {
	// Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].connection_string instead
	AwsPrivateLink map[string]interface{} `pulumi:"awsPrivateLink"`
	// Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].srv_connection_string instead
	AwsPrivateLinkSrv map[string]interface{}                    `pulumi:"awsPrivateLinkSrv"`
	Private           *string                                   `pulumi:"private"`
	PrivateEndpoints  []ClusterConnectionStringsPrivateEndpoint `pulumi:"privateEndpoints"`
	PrivateSrv        *string                                   `pulumi:"privateSrv"`
	Standard          *string                                   `pulumi:"standard"`
	StandardSrv       *string                                   `pulumi:"standardSrv"`
}

type ClusterConnectionStringsArgs

type ClusterConnectionStringsArgs struct {
	// Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].connection_string instead
	AwsPrivateLink pulumi.MapInput `pulumi:"awsPrivateLink"`
	// Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].srv_connection_string instead
	AwsPrivateLinkSrv pulumi.MapInput                                   `pulumi:"awsPrivateLinkSrv"`
	Private           pulumi.StringPtrInput                             `pulumi:"private"`
	PrivateEndpoints  ClusterConnectionStringsPrivateEndpointArrayInput `pulumi:"privateEndpoints"`
	PrivateSrv        pulumi.StringPtrInput                             `pulumi:"privateSrv"`
	Standard          pulumi.StringPtrInput                             `pulumi:"standard"`
	StandardSrv       pulumi.StringPtrInput                             `pulumi:"standardSrv"`
}

func (ClusterConnectionStringsArgs) ElementType

func (ClusterConnectionStringsArgs) ToClusterConnectionStringsOutput

func (i ClusterConnectionStringsArgs) ToClusterConnectionStringsOutput() ClusterConnectionStringsOutput

func (ClusterConnectionStringsArgs) ToClusterConnectionStringsOutputWithContext

func (i ClusterConnectionStringsArgs) ToClusterConnectionStringsOutputWithContext(ctx context.Context) ClusterConnectionStringsOutput

func (ClusterConnectionStringsArgs) ToClusterConnectionStringsPtrOutput

func (i ClusterConnectionStringsArgs) ToClusterConnectionStringsPtrOutput() ClusterConnectionStringsPtrOutput

func (ClusterConnectionStringsArgs) ToClusterConnectionStringsPtrOutputWithContext

func (i ClusterConnectionStringsArgs) ToClusterConnectionStringsPtrOutputWithContext(ctx context.Context) ClusterConnectionStringsPtrOutput

type ClusterConnectionStringsInput

type ClusterConnectionStringsInput interface {
	pulumi.Input

	ToClusterConnectionStringsOutput() ClusterConnectionStringsOutput
	ToClusterConnectionStringsOutputWithContext(context.Context) ClusterConnectionStringsOutput
}

ClusterConnectionStringsInput is an input type that accepts ClusterConnectionStringsArgs and ClusterConnectionStringsOutput values. You can construct a concrete instance of `ClusterConnectionStringsInput` via:

ClusterConnectionStringsArgs{...}

type ClusterConnectionStringsOutput

type ClusterConnectionStringsOutput struct{ *pulumi.OutputState }
func (o ClusterConnectionStringsOutput) AwsPrivateLink() pulumi.MapOutput

Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].connection_string instead

func (ClusterConnectionStringsOutput) AwsPrivateLinkSrv deprecated

func (o ClusterConnectionStringsOutput) AwsPrivateLinkSrv() pulumi.MapOutput

Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].srv_connection_string instead

func (ClusterConnectionStringsOutput) ElementType

func (ClusterConnectionStringsOutput) Private

func (ClusterConnectionStringsOutput) PrivateEndpoints added in v1.5.1

func (ClusterConnectionStringsOutput) PrivateSrv

func (ClusterConnectionStringsOutput) Standard

func (ClusterConnectionStringsOutput) StandardSrv

func (ClusterConnectionStringsOutput) ToClusterConnectionStringsOutput

func (o ClusterConnectionStringsOutput) ToClusterConnectionStringsOutput() ClusterConnectionStringsOutput

func (ClusterConnectionStringsOutput) ToClusterConnectionStringsOutputWithContext

func (o ClusterConnectionStringsOutput) ToClusterConnectionStringsOutputWithContext(ctx context.Context) ClusterConnectionStringsOutput

func (ClusterConnectionStringsOutput) ToClusterConnectionStringsPtrOutput

func (o ClusterConnectionStringsOutput) ToClusterConnectionStringsPtrOutput() ClusterConnectionStringsPtrOutput

func (ClusterConnectionStringsOutput) ToClusterConnectionStringsPtrOutputWithContext

func (o ClusterConnectionStringsOutput) ToClusterConnectionStringsPtrOutputWithContext(ctx context.Context) ClusterConnectionStringsPtrOutput

type ClusterConnectionStringsPrivateEndpoint added in v1.5.1

type ClusterConnectionStringsPrivateEndpoint struct {
	ConnectionString    *string                                           `pulumi:"connectionString"`
	Endpoints           []ClusterConnectionStringsPrivateEndpointEndpoint `pulumi:"endpoints"`
	SrvConnectionString *string                                           `pulumi:"srvConnectionString"`
	Type                *string                                           `pulumi:"type"`
}

type ClusterConnectionStringsPrivateEndpointArgs added in v1.5.1

type ClusterConnectionStringsPrivateEndpointArgs struct {
	ConnectionString    pulumi.StringPtrInput                                     `pulumi:"connectionString"`
	Endpoints           ClusterConnectionStringsPrivateEndpointEndpointArrayInput `pulumi:"endpoints"`
	SrvConnectionString pulumi.StringPtrInput                                     `pulumi:"srvConnectionString"`
	Type                pulumi.StringPtrInput                                     `pulumi:"type"`
}

func (ClusterConnectionStringsPrivateEndpointArgs) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutput() ClusterConnectionStringsPrivateEndpointOutput

func (ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointOutput

type ClusterConnectionStringsPrivateEndpointArray added in v1.5.1

type ClusterConnectionStringsPrivateEndpointArray []ClusterConnectionStringsPrivateEndpointInput

func (ClusterConnectionStringsPrivateEndpointArray) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointArrayOutput

type ClusterConnectionStringsPrivateEndpointArrayInput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointArrayInput interface {
	pulumi.Input

	ToClusterConnectionStringsPrivateEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointArrayOutput
	ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext(context.Context) ClusterConnectionStringsPrivateEndpointArrayOutput
}

ClusterConnectionStringsPrivateEndpointArrayInput is an input type that accepts ClusterConnectionStringsPrivateEndpointArray and ClusterConnectionStringsPrivateEndpointArrayOutput values. You can construct a concrete instance of `ClusterConnectionStringsPrivateEndpointArrayInput` via:

ClusterConnectionStringsPrivateEndpointArray{ ClusterConnectionStringsPrivateEndpointArgs{...} }

type ClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointArrayOutput) Index added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointArrayOutput

type ClusterConnectionStringsPrivateEndpointEndpoint added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpoint struct {
	EndpointId *string `pulumi:"endpointId"`
	// Cloud service provider on which the servers are provisioned.
	ProviderName *string `pulumi:"providerName"`
	Region       *string `pulumi:"region"`
}

type ClusterConnectionStringsPrivateEndpointEndpointArgs added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointArgs struct {
	EndpointId pulumi.StringPtrInput `pulumi:"endpointId"`
	// Cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringPtrInput `pulumi:"providerName"`
	Region       pulumi.StringPtrInput `pulumi:"region"`
}

func (ClusterConnectionStringsPrivateEndpointEndpointArgs) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutput() ClusterConnectionStringsPrivateEndpointEndpointOutput

func (ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointEndpointOutput

type ClusterConnectionStringsPrivateEndpointEndpointArray added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointArray []ClusterConnectionStringsPrivateEndpointEndpointInput

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (i ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type ClusterConnectionStringsPrivateEndpointEndpointArrayInput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointArrayInput interface {
	pulumi.Input

	ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointEndpointArrayOutput
	ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(context.Context) ClusterConnectionStringsPrivateEndpointEndpointArrayOutput
}

ClusterConnectionStringsPrivateEndpointEndpointArrayInput is an input type that accepts ClusterConnectionStringsPrivateEndpointEndpointArray and ClusterConnectionStringsPrivateEndpointEndpointArrayOutput values. You can construct a concrete instance of `ClusterConnectionStringsPrivateEndpointEndpointArrayInput` via:

ClusterConnectionStringsPrivateEndpointEndpointArray{ ClusterConnectionStringsPrivateEndpointEndpointArgs{...} }

type ClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) Index added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type ClusterConnectionStringsPrivateEndpointEndpointInput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointInput interface {
	pulumi.Input

	ToClusterConnectionStringsPrivateEndpointEndpointOutput() ClusterConnectionStringsPrivateEndpointEndpointOutput
	ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(context.Context) ClusterConnectionStringsPrivateEndpointEndpointOutput
}

ClusterConnectionStringsPrivateEndpointEndpointInput is an input type that accepts ClusterConnectionStringsPrivateEndpointEndpointArgs and ClusterConnectionStringsPrivateEndpointEndpointOutput values. You can construct a concrete instance of `ClusterConnectionStringsPrivateEndpointEndpointInput` via:

ClusterConnectionStringsPrivateEndpointEndpointArgs{...}

type ClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) EndpointId added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ProviderName added in v1.5.1

Cloud service provider on which the servers are provisioned.

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) Region added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ToClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointEndpointOutput) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointEndpointOutput

type ClusterConnectionStringsPrivateEndpointInput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointInput interface {
	pulumi.Input

	ToClusterConnectionStringsPrivateEndpointOutput() ClusterConnectionStringsPrivateEndpointOutput
	ToClusterConnectionStringsPrivateEndpointOutputWithContext(context.Context) ClusterConnectionStringsPrivateEndpointOutput
}

ClusterConnectionStringsPrivateEndpointInput is an input type that accepts ClusterConnectionStringsPrivateEndpointArgs and ClusterConnectionStringsPrivateEndpointOutput values. You can construct a concrete instance of `ClusterConnectionStringsPrivateEndpointInput` via:

ClusterConnectionStringsPrivateEndpointArgs{...}

type ClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

type ClusterConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointOutput) ConnectionString added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointOutput) ElementType added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointOutput) Endpoints added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointOutput) SrvConnectionString added in v1.5.1

func (ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutput() ClusterConnectionStringsPrivateEndpointOutput

func (ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (o ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) ClusterConnectionStringsPrivateEndpointOutput

func (ClusterConnectionStringsPrivateEndpointOutput) Type added in v1.5.1

type ClusterConnectionStringsPtrInput

type ClusterConnectionStringsPtrInput interface {
	pulumi.Input

	ToClusterConnectionStringsPtrOutput() ClusterConnectionStringsPtrOutput
	ToClusterConnectionStringsPtrOutputWithContext(context.Context) ClusterConnectionStringsPtrOutput
}

ClusterConnectionStringsPtrInput is an input type that accepts ClusterConnectionStringsArgs, ClusterConnectionStringsPtr and ClusterConnectionStringsPtrOutput values. You can construct a concrete instance of `ClusterConnectionStringsPtrInput` via:

        ClusterConnectionStringsArgs{...}

or:

        nil

type ClusterConnectionStringsPtrOutput

type ClusterConnectionStringsPtrOutput struct{ *pulumi.OutputState }

Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].connection_string instead

func (ClusterConnectionStringsPtrOutput) AwsPrivateLinkSrv deprecated

func (o ClusterConnectionStringsPtrOutput) AwsPrivateLinkSrv() pulumi.MapOutput

Deprecated: This field is deprecated. Use connection_strings.private_endpoint[n].srv_connection_string instead

func (ClusterConnectionStringsPtrOutput) Elem

func (ClusterConnectionStringsPtrOutput) ElementType

func (ClusterConnectionStringsPtrOutput) Private

func (ClusterConnectionStringsPtrOutput) PrivateEndpoints added in v1.5.1

func (ClusterConnectionStringsPtrOutput) PrivateSrv

func (ClusterConnectionStringsPtrOutput) Standard

func (ClusterConnectionStringsPtrOutput) StandardSrv

func (ClusterConnectionStringsPtrOutput) ToClusterConnectionStringsPtrOutput

func (o ClusterConnectionStringsPtrOutput) ToClusterConnectionStringsPtrOutput() ClusterConnectionStringsPtrOutput

func (ClusterConnectionStringsPtrOutput) ToClusterConnectionStringsPtrOutputWithContext

func (o ClusterConnectionStringsPtrOutput) ToClusterConnectionStringsPtrOutputWithContext(ctx context.Context) ClusterConnectionStringsPtrOutput

type ClusterInput added in v1.3.1

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterLabel

type ClusterLabel struct {
	// The key that you want to write.
	Key *string `pulumi:"key"`
	// The value that you want to write.
	Value *string `pulumi:"value"`
}

type ClusterLabelArgs

type ClusterLabelArgs struct {
	// The key that you want to write.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value that you want to write.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ClusterLabelArgs) ElementType

func (ClusterLabelArgs) ElementType() reflect.Type

func (ClusterLabelArgs) ToClusterLabelOutput

func (i ClusterLabelArgs) ToClusterLabelOutput() ClusterLabelOutput

func (ClusterLabelArgs) ToClusterLabelOutputWithContext

func (i ClusterLabelArgs) ToClusterLabelOutputWithContext(ctx context.Context) ClusterLabelOutput

type ClusterLabelArray

type ClusterLabelArray []ClusterLabelInput

func (ClusterLabelArray) ElementType

func (ClusterLabelArray) ElementType() reflect.Type

func (ClusterLabelArray) ToClusterLabelArrayOutput

func (i ClusterLabelArray) ToClusterLabelArrayOutput() ClusterLabelArrayOutput

func (ClusterLabelArray) ToClusterLabelArrayOutputWithContext

func (i ClusterLabelArray) ToClusterLabelArrayOutputWithContext(ctx context.Context) ClusterLabelArrayOutput

type ClusterLabelArrayInput

type ClusterLabelArrayInput interface {
	pulumi.Input

	ToClusterLabelArrayOutput() ClusterLabelArrayOutput
	ToClusterLabelArrayOutputWithContext(context.Context) ClusterLabelArrayOutput
}

ClusterLabelArrayInput is an input type that accepts ClusterLabelArray and ClusterLabelArrayOutput values. You can construct a concrete instance of `ClusterLabelArrayInput` via:

ClusterLabelArray{ ClusterLabelArgs{...} }

type ClusterLabelArrayOutput

type ClusterLabelArrayOutput struct{ *pulumi.OutputState }

func (ClusterLabelArrayOutput) ElementType

func (ClusterLabelArrayOutput) ElementType() reflect.Type

func (ClusterLabelArrayOutput) Index

func (ClusterLabelArrayOutput) ToClusterLabelArrayOutput

func (o ClusterLabelArrayOutput) ToClusterLabelArrayOutput() ClusterLabelArrayOutput

func (ClusterLabelArrayOutput) ToClusterLabelArrayOutputWithContext

func (o ClusterLabelArrayOutput) ToClusterLabelArrayOutputWithContext(ctx context.Context) ClusterLabelArrayOutput

type ClusterLabelInput

type ClusterLabelInput interface {
	pulumi.Input

	ToClusterLabelOutput() ClusterLabelOutput
	ToClusterLabelOutputWithContext(context.Context) ClusterLabelOutput
}

ClusterLabelInput is an input type that accepts ClusterLabelArgs and ClusterLabelOutput values. You can construct a concrete instance of `ClusterLabelInput` via:

ClusterLabelArgs{...}

type ClusterLabelOutput

type ClusterLabelOutput struct{ *pulumi.OutputState }

func (ClusterLabelOutput) ElementType

func (ClusterLabelOutput) ElementType() reflect.Type

func (ClusterLabelOutput) Key

The key that you want to write.

func (ClusterLabelOutput) ToClusterLabelOutput

func (o ClusterLabelOutput) ToClusterLabelOutput() ClusterLabelOutput

func (ClusterLabelOutput) ToClusterLabelOutputWithContext

func (o ClusterLabelOutput) ToClusterLabelOutputWithContext(ctx context.Context) ClusterLabelOutput

func (ClusterLabelOutput) Value

The value that you want to write.

type ClusterMap added in v1.5.2

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType added in v1.5.2

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput added in v1.5.2

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext added in v1.5.2

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput added in v1.5.2

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput added in v1.5.2

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType added in v1.5.2

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex added in v1.5.2

func (ClusterMapOutput) ToClusterMapOutput added in v1.5.2

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext added in v1.5.2

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterOutput added in v1.3.1

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v1.3.1

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v1.3.1

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v1.3.1

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput added in v1.5.2

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext added in v1.5.2

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput added in v1.5.2

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput added in v1.5.2

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType added in v1.5.2

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput added in v1.5.2

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext added in v1.5.2

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterReplicationSpec

type ClusterReplicationSpec struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id *string `pulumi:"id"`
	// Number of shards to deploy in the specified zone, minimum 1.
	NumShards int `pulumi:"numShards"`
	// Physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs []ClusterReplicationSpecRegionsConfig `pulumi:"regionsConfigs"`
	// Name for the zone in a Global Cluster.
	ZoneName *string `pulumi:"zoneName"`
}

type ClusterReplicationSpecArgs

type ClusterReplicationSpecArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Number of shards to deploy in the specified zone, minimum 1.
	NumShards pulumi.IntInput `pulumi:"numShards"`
	// Physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs ClusterReplicationSpecRegionsConfigArrayInput `pulumi:"regionsConfigs"`
	// Name for the zone in a Global Cluster.
	ZoneName pulumi.StringPtrInput `pulumi:"zoneName"`
}

func (ClusterReplicationSpecArgs) ElementType

func (ClusterReplicationSpecArgs) ElementType() reflect.Type

func (ClusterReplicationSpecArgs) ToClusterReplicationSpecOutput

func (i ClusterReplicationSpecArgs) ToClusterReplicationSpecOutput() ClusterReplicationSpecOutput

func (ClusterReplicationSpecArgs) ToClusterReplicationSpecOutputWithContext

func (i ClusterReplicationSpecArgs) ToClusterReplicationSpecOutputWithContext(ctx context.Context) ClusterReplicationSpecOutput

type ClusterReplicationSpecArray

type ClusterReplicationSpecArray []ClusterReplicationSpecInput

func (ClusterReplicationSpecArray) ElementType

func (ClusterReplicationSpecArray) ToClusterReplicationSpecArrayOutput

func (i ClusterReplicationSpecArray) ToClusterReplicationSpecArrayOutput() ClusterReplicationSpecArrayOutput

func (ClusterReplicationSpecArray) ToClusterReplicationSpecArrayOutputWithContext

func (i ClusterReplicationSpecArray) ToClusterReplicationSpecArrayOutputWithContext(ctx context.Context) ClusterReplicationSpecArrayOutput

type ClusterReplicationSpecArrayInput

type ClusterReplicationSpecArrayInput interface {
	pulumi.Input

	ToClusterReplicationSpecArrayOutput() ClusterReplicationSpecArrayOutput
	ToClusterReplicationSpecArrayOutputWithContext(context.Context) ClusterReplicationSpecArrayOutput
}

ClusterReplicationSpecArrayInput is an input type that accepts ClusterReplicationSpecArray and ClusterReplicationSpecArrayOutput values. You can construct a concrete instance of `ClusterReplicationSpecArrayInput` via:

ClusterReplicationSpecArray{ ClusterReplicationSpecArgs{...} }

type ClusterReplicationSpecArrayOutput

type ClusterReplicationSpecArrayOutput struct{ *pulumi.OutputState }

func (ClusterReplicationSpecArrayOutput) ElementType

func (ClusterReplicationSpecArrayOutput) Index

func (ClusterReplicationSpecArrayOutput) ToClusterReplicationSpecArrayOutput

func (o ClusterReplicationSpecArrayOutput) ToClusterReplicationSpecArrayOutput() ClusterReplicationSpecArrayOutput

func (ClusterReplicationSpecArrayOutput) ToClusterReplicationSpecArrayOutputWithContext

func (o ClusterReplicationSpecArrayOutput) ToClusterReplicationSpecArrayOutputWithContext(ctx context.Context) ClusterReplicationSpecArrayOutput

type ClusterReplicationSpecInput

type ClusterReplicationSpecInput interface {
	pulumi.Input

	ToClusterReplicationSpecOutput() ClusterReplicationSpecOutput
	ToClusterReplicationSpecOutputWithContext(context.Context) ClusterReplicationSpecOutput
}

ClusterReplicationSpecInput is an input type that accepts ClusterReplicationSpecArgs and ClusterReplicationSpecOutput values. You can construct a concrete instance of `ClusterReplicationSpecInput` via:

ClusterReplicationSpecArgs{...}

type ClusterReplicationSpecOutput

type ClusterReplicationSpecOutput struct{ *pulumi.OutputState }

func (ClusterReplicationSpecOutput) ElementType

func (ClusterReplicationSpecOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (ClusterReplicationSpecOutput) NumShards

Number of shards to deploy in the specified zone, minimum 1.

func (ClusterReplicationSpecOutput) RegionsConfigs

Physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.

func (ClusterReplicationSpecOutput) ToClusterReplicationSpecOutput

func (o ClusterReplicationSpecOutput) ToClusterReplicationSpecOutput() ClusterReplicationSpecOutput

func (ClusterReplicationSpecOutput) ToClusterReplicationSpecOutputWithContext

func (o ClusterReplicationSpecOutput) ToClusterReplicationSpecOutputWithContext(ctx context.Context) ClusterReplicationSpecOutput

func (ClusterReplicationSpecOutput) ZoneName

Name for the zone in a Global Cluster.

type ClusterReplicationSpecRegionsConfig

type ClusterReplicationSpecRegionsConfig struct {
	// The number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary. If you do not specify this option, no analytics nodes are deployed to the region.
	AnalyticsNodes *int `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region. Electable nodes can become the primary and can facilitate local reads.
	// * The total number of electableNodes across all replication spec regions  must total 3, 5, or 7.
	// * Specify 0 if you do not want any electable nodes in the region.
	// * You cannot create electable nodes in a region if `priority` is 0.
	ElectableNodes *int `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	// * For regions where `electableNodes` is at least 1, each region must have a priority of exactly one (1) less than the previous region. The first region must have a priority of 7. The lowest possible priority is 1.
	// * The priority 7 region identifies the Preferred Region of the cluster. Atlas places the primary node in the Preferred Region. Priorities 1 through 7 are exclusive - no more than one region per cluster can be assigned a given priority.
	// * Example: If you have three regions, their priorities would be 7, 6, and 5 respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be 4 and 3 respectively.
	Priority *int `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes *int `pulumi:"readOnlyNodes"`
	// Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	RegionName *string `pulumi:"regionName"`
}

type ClusterReplicationSpecRegionsConfigArgs

type ClusterReplicationSpecRegionsConfigArgs struct {
	// The number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary. If you do not specify this option, no analytics nodes are deployed to the region.
	AnalyticsNodes pulumi.IntPtrInput `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region. Electable nodes can become the primary and can facilitate local reads.
	// * The total number of electableNodes across all replication spec regions  must total 3, 5, or 7.
	// * Specify 0 if you do not want any electable nodes in the region.
	// * You cannot create electable nodes in a region if `priority` is 0.
	ElectableNodes pulumi.IntPtrInput `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	// * For regions where `electableNodes` is at least 1, each region must have a priority of exactly one (1) less than the previous region. The first region must have a priority of 7. The lowest possible priority is 1.
	// * The priority 7 region identifies the Preferred Region of the cluster. Atlas places the primary node in the Preferred Region. Priorities 1 through 7 are exclusive - no more than one region per cluster can be assigned a given priority.
	// * Example: If you have three regions, their priorities would be 7, 6, and 5 respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be 4 and 3 respectively.
	Priority pulumi.IntPtrInput `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes pulumi.IntPtrInput `pulumi:"readOnlyNodes"`
	// Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	RegionName pulumi.StringPtrInput `pulumi:"regionName"`
}

func (ClusterReplicationSpecRegionsConfigArgs) ElementType

func (ClusterReplicationSpecRegionsConfigArgs) ToClusterReplicationSpecRegionsConfigOutput

func (i ClusterReplicationSpecRegionsConfigArgs) ToClusterReplicationSpecRegionsConfigOutput() ClusterReplicationSpecRegionsConfigOutput

func (ClusterReplicationSpecRegionsConfigArgs) ToClusterReplicationSpecRegionsConfigOutputWithContext

func (i ClusterReplicationSpecRegionsConfigArgs) ToClusterReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) ClusterReplicationSpecRegionsConfigOutput

type ClusterReplicationSpecRegionsConfigArray

type ClusterReplicationSpecRegionsConfigArray []ClusterReplicationSpecRegionsConfigInput

func (ClusterReplicationSpecRegionsConfigArray) ElementType

func (ClusterReplicationSpecRegionsConfigArray) ToClusterReplicationSpecRegionsConfigArrayOutput

func (i ClusterReplicationSpecRegionsConfigArray) ToClusterReplicationSpecRegionsConfigArrayOutput() ClusterReplicationSpecRegionsConfigArrayOutput

func (ClusterReplicationSpecRegionsConfigArray) ToClusterReplicationSpecRegionsConfigArrayOutputWithContext

func (i ClusterReplicationSpecRegionsConfigArray) ToClusterReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) ClusterReplicationSpecRegionsConfigArrayOutput

type ClusterReplicationSpecRegionsConfigArrayInput

type ClusterReplicationSpecRegionsConfigArrayInput interface {
	pulumi.Input

	ToClusterReplicationSpecRegionsConfigArrayOutput() ClusterReplicationSpecRegionsConfigArrayOutput
	ToClusterReplicationSpecRegionsConfigArrayOutputWithContext(context.Context) ClusterReplicationSpecRegionsConfigArrayOutput
}

ClusterReplicationSpecRegionsConfigArrayInput is an input type that accepts ClusterReplicationSpecRegionsConfigArray and ClusterReplicationSpecRegionsConfigArrayOutput values. You can construct a concrete instance of `ClusterReplicationSpecRegionsConfigArrayInput` via:

ClusterReplicationSpecRegionsConfigArray{ ClusterReplicationSpecRegionsConfigArgs{...} }

type ClusterReplicationSpecRegionsConfigArrayOutput

type ClusterReplicationSpecRegionsConfigArrayOutput struct{ *pulumi.OutputState }

func (ClusterReplicationSpecRegionsConfigArrayOutput) ElementType

func (ClusterReplicationSpecRegionsConfigArrayOutput) Index

func (ClusterReplicationSpecRegionsConfigArrayOutput) ToClusterReplicationSpecRegionsConfigArrayOutput

func (o ClusterReplicationSpecRegionsConfigArrayOutput) ToClusterReplicationSpecRegionsConfigArrayOutput() ClusterReplicationSpecRegionsConfigArrayOutput

func (ClusterReplicationSpecRegionsConfigArrayOutput) ToClusterReplicationSpecRegionsConfigArrayOutputWithContext

func (o ClusterReplicationSpecRegionsConfigArrayOutput) ToClusterReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) ClusterReplicationSpecRegionsConfigArrayOutput

type ClusterReplicationSpecRegionsConfigInput

type ClusterReplicationSpecRegionsConfigInput interface {
	pulumi.Input

	ToClusterReplicationSpecRegionsConfigOutput() ClusterReplicationSpecRegionsConfigOutput
	ToClusterReplicationSpecRegionsConfigOutputWithContext(context.Context) ClusterReplicationSpecRegionsConfigOutput
}

ClusterReplicationSpecRegionsConfigInput is an input type that accepts ClusterReplicationSpecRegionsConfigArgs and ClusterReplicationSpecRegionsConfigOutput values. You can construct a concrete instance of `ClusterReplicationSpecRegionsConfigInput` via:

ClusterReplicationSpecRegionsConfigArgs{...}

type ClusterReplicationSpecRegionsConfigOutput

type ClusterReplicationSpecRegionsConfigOutput struct{ *pulumi.OutputState }

func (ClusterReplicationSpecRegionsConfigOutput) AnalyticsNodes

The number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary. If you do not specify this option, no analytics nodes are deployed to the region.

func (ClusterReplicationSpecRegionsConfigOutput) ElectableNodes

Number of electable nodes for Atlas to deploy to the region. Electable nodes can become the primary and can facilitate local reads. * The total number of electableNodes across all replication spec regions must total 3, 5, or 7. * Specify 0 if you do not want any electable nodes in the region. * You cannot create electable nodes in a region if `priority` is 0.

func (ClusterReplicationSpecRegionsConfigOutput) ElementType

func (ClusterReplicationSpecRegionsConfigOutput) Priority

Election priority of the region. For regions with only read-only nodes, set this value to 0. * For regions where `electableNodes` is at least 1, each region must have a priority of exactly one (1) less than the previous region. The first region must have a priority of 7. The lowest possible priority is 1. * The priority 7 region identifies the Preferred Region of the cluster. Atlas places the primary node in the Preferred Region. Priorities 1 through 7 are exclusive - no more than one region per cluster can be assigned a given priority. * Example: If you have three regions, their priorities would be 7, 6, and 5 respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be 4 and 3 respectively.

func (ClusterReplicationSpecRegionsConfigOutput) ReadOnlyNodes

Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.

func (ClusterReplicationSpecRegionsConfigOutput) RegionName

Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).

func (ClusterReplicationSpecRegionsConfigOutput) ToClusterReplicationSpecRegionsConfigOutput

func (o ClusterReplicationSpecRegionsConfigOutput) ToClusterReplicationSpecRegionsConfigOutput() ClusterReplicationSpecRegionsConfigOutput

func (ClusterReplicationSpecRegionsConfigOutput) ToClusterReplicationSpecRegionsConfigOutputWithContext

func (o ClusterReplicationSpecRegionsConfigOutput) ToClusterReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) ClusterReplicationSpecRegionsConfigOutput

type ClusterSnapshotBackupPolicy

type ClusterSnapshotBackupPolicy struct {
	// The cluster ID.
	ClusterId             *string                             `pulumi:"clusterId"`
	ClusterName           *string                             `pulumi:"clusterName"`
	NextSnapshot          *string                             `pulumi:"nextSnapshot"`
	Policies              []ClusterSnapshotBackupPolicyPolicy `pulumi:"policies"`
	ReferenceHourOfDay    *int                                `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour *int                                `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     *int                                `pulumi:"restoreWindowDays"`
	UpdateSnapshots       *bool                               `pulumi:"updateSnapshots"`
}

type ClusterSnapshotBackupPolicyArgs

type ClusterSnapshotBackupPolicyArgs struct {
	// The cluster ID.
	ClusterId             pulumi.StringPtrInput                       `pulumi:"clusterId"`
	ClusterName           pulumi.StringPtrInput                       `pulumi:"clusterName"`
	NextSnapshot          pulumi.StringPtrInput                       `pulumi:"nextSnapshot"`
	Policies              ClusterSnapshotBackupPolicyPolicyArrayInput `pulumi:"policies"`
	ReferenceHourOfDay    pulumi.IntPtrInput                          `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour pulumi.IntPtrInput                          `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     pulumi.IntPtrInput                          `pulumi:"restoreWindowDays"`
	UpdateSnapshots       pulumi.BoolPtrInput                         `pulumi:"updateSnapshots"`
}

func (ClusterSnapshotBackupPolicyArgs) ElementType

func (ClusterSnapshotBackupPolicyArgs) ToClusterSnapshotBackupPolicyOutput

func (i ClusterSnapshotBackupPolicyArgs) ToClusterSnapshotBackupPolicyOutput() ClusterSnapshotBackupPolicyOutput

func (ClusterSnapshotBackupPolicyArgs) ToClusterSnapshotBackupPolicyOutputWithContext

func (i ClusterSnapshotBackupPolicyArgs) ToClusterSnapshotBackupPolicyOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyOutput

type ClusterSnapshotBackupPolicyArray

type ClusterSnapshotBackupPolicyArray []ClusterSnapshotBackupPolicyInput

func (ClusterSnapshotBackupPolicyArray) ElementType

func (ClusterSnapshotBackupPolicyArray) ToClusterSnapshotBackupPolicyArrayOutput

func (i ClusterSnapshotBackupPolicyArray) ToClusterSnapshotBackupPolicyArrayOutput() ClusterSnapshotBackupPolicyArrayOutput

func (ClusterSnapshotBackupPolicyArray) ToClusterSnapshotBackupPolicyArrayOutputWithContext

func (i ClusterSnapshotBackupPolicyArray) ToClusterSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyArrayOutput

type ClusterSnapshotBackupPolicyArrayInput

type ClusterSnapshotBackupPolicyArrayInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyArrayOutput() ClusterSnapshotBackupPolicyArrayOutput
	ToClusterSnapshotBackupPolicyArrayOutputWithContext(context.Context) ClusterSnapshotBackupPolicyArrayOutput
}

ClusterSnapshotBackupPolicyArrayInput is an input type that accepts ClusterSnapshotBackupPolicyArray and ClusterSnapshotBackupPolicyArrayOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyArrayInput` via:

ClusterSnapshotBackupPolicyArray{ ClusterSnapshotBackupPolicyArgs{...} }

type ClusterSnapshotBackupPolicyArrayOutput

type ClusterSnapshotBackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyArrayOutput) ElementType

func (ClusterSnapshotBackupPolicyArrayOutput) Index

func (ClusterSnapshotBackupPolicyArrayOutput) ToClusterSnapshotBackupPolicyArrayOutput

func (o ClusterSnapshotBackupPolicyArrayOutput) ToClusterSnapshotBackupPolicyArrayOutput() ClusterSnapshotBackupPolicyArrayOutput

func (ClusterSnapshotBackupPolicyArrayOutput) ToClusterSnapshotBackupPolicyArrayOutputWithContext

func (o ClusterSnapshotBackupPolicyArrayOutput) ToClusterSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyArrayOutput

type ClusterSnapshotBackupPolicyInput

type ClusterSnapshotBackupPolicyInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyOutput() ClusterSnapshotBackupPolicyOutput
	ToClusterSnapshotBackupPolicyOutputWithContext(context.Context) ClusterSnapshotBackupPolicyOutput
}

ClusterSnapshotBackupPolicyInput is an input type that accepts ClusterSnapshotBackupPolicyArgs and ClusterSnapshotBackupPolicyOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyInput` via:

ClusterSnapshotBackupPolicyArgs{...}

type ClusterSnapshotBackupPolicyOutput

type ClusterSnapshotBackupPolicyOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyOutput) ClusterId

The cluster ID.

func (ClusterSnapshotBackupPolicyOutput) ClusterName

func (ClusterSnapshotBackupPolicyOutput) ElementType

func (ClusterSnapshotBackupPolicyOutput) NextSnapshot

func (ClusterSnapshotBackupPolicyOutput) Policies

func (ClusterSnapshotBackupPolicyOutput) ReferenceHourOfDay

func (o ClusterSnapshotBackupPolicyOutput) ReferenceHourOfDay() pulumi.IntPtrOutput

func (ClusterSnapshotBackupPolicyOutput) ReferenceMinuteOfHour

func (o ClusterSnapshotBackupPolicyOutput) ReferenceMinuteOfHour() pulumi.IntPtrOutput

func (ClusterSnapshotBackupPolicyOutput) RestoreWindowDays

func (ClusterSnapshotBackupPolicyOutput) ToClusterSnapshotBackupPolicyOutput

func (o ClusterSnapshotBackupPolicyOutput) ToClusterSnapshotBackupPolicyOutput() ClusterSnapshotBackupPolicyOutput

func (ClusterSnapshotBackupPolicyOutput) ToClusterSnapshotBackupPolicyOutputWithContext

func (o ClusterSnapshotBackupPolicyOutput) ToClusterSnapshotBackupPolicyOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyOutput

func (ClusterSnapshotBackupPolicyOutput) UpdateSnapshots

type ClusterSnapshotBackupPolicyPolicy

type ClusterSnapshotBackupPolicyPolicy struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          *string                                       `pulumi:"id"`
	PolicyItems []ClusterSnapshotBackupPolicyPolicyPolicyItem `pulumi:"policyItems"`
}

type ClusterSnapshotBackupPolicyPolicyArgs

type ClusterSnapshotBackupPolicyPolicyArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          pulumi.StringPtrInput                                 `pulumi:"id"`
	PolicyItems ClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput `pulumi:"policyItems"`
}

func (ClusterSnapshotBackupPolicyPolicyArgs) ElementType

func (ClusterSnapshotBackupPolicyPolicyArgs) ToClusterSnapshotBackupPolicyPolicyOutput

func (i ClusterSnapshotBackupPolicyPolicyArgs) ToClusterSnapshotBackupPolicyPolicyOutput() ClusterSnapshotBackupPolicyPolicyOutput

func (ClusterSnapshotBackupPolicyPolicyArgs) ToClusterSnapshotBackupPolicyPolicyOutputWithContext

func (i ClusterSnapshotBackupPolicyPolicyArgs) ToClusterSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyOutput

type ClusterSnapshotBackupPolicyPolicyArray

type ClusterSnapshotBackupPolicyPolicyArray []ClusterSnapshotBackupPolicyPolicyInput

func (ClusterSnapshotBackupPolicyPolicyArray) ElementType

func (ClusterSnapshotBackupPolicyPolicyArray) ToClusterSnapshotBackupPolicyPolicyArrayOutput

func (i ClusterSnapshotBackupPolicyPolicyArray) ToClusterSnapshotBackupPolicyPolicyArrayOutput() ClusterSnapshotBackupPolicyPolicyArrayOutput

func (ClusterSnapshotBackupPolicyPolicyArray) ToClusterSnapshotBackupPolicyPolicyArrayOutputWithContext

func (i ClusterSnapshotBackupPolicyPolicyArray) ToClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyArrayOutput

type ClusterSnapshotBackupPolicyPolicyArrayInput

type ClusterSnapshotBackupPolicyPolicyArrayInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyPolicyArrayOutput() ClusterSnapshotBackupPolicyPolicyArrayOutput
	ToClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(context.Context) ClusterSnapshotBackupPolicyPolicyArrayOutput
}

ClusterSnapshotBackupPolicyPolicyArrayInput is an input type that accepts ClusterSnapshotBackupPolicyPolicyArray and ClusterSnapshotBackupPolicyPolicyArrayOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyPolicyArrayInput` via:

ClusterSnapshotBackupPolicyPolicyArray{ ClusterSnapshotBackupPolicyPolicyArgs{...} }

type ClusterSnapshotBackupPolicyPolicyArrayOutput

type ClusterSnapshotBackupPolicyPolicyArrayOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyPolicyArrayOutput) ElementType

func (ClusterSnapshotBackupPolicyPolicyArrayOutput) Index

func (ClusterSnapshotBackupPolicyPolicyArrayOutput) ToClusterSnapshotBackupPolicyPolicyArrayOutput

func (o ClusterSnapshotBackupPolicyPolicyArrayOutput) ToClusterSnapshotBackupPolicyPolicyArrayOutput() ClusterSnapshotBackupPolicyPolicyArrayOutput

func (ClusterSnapshotBackupPolicyPolicyArrayOutput) ToClusterSnapshotBackupPolicyPolicyArrayOutputWithContext

func (o ClusterSnapshotBackupPolicyPolicyArrayOutput) ToClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyArrayOutput

type ClusterSnapshotBackupPolicyPolicyInput

type ClusterSnapshotBackupPolicyPolicyInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyPolicyOutput() ClusterSnapshotBackupPolicyPolicyOutput
	ToClusterSnapshotBackupPolicyPolicyOutputWithContext(context.Context) ClusterSnapshotBackupPolicyPolicyOutput
}

ClusterSnapshotBackupPolicyPolicyInput is an input type that accepts ClusterSnapshotBackupPolicyPolicyArgs and ClusterSnapshotBackupPolicyPolicyOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyPolicyInput` via:

ClusterSnapshotBackupPolicyPolicyArgs{...}

type ClusterSnapshotBackupPolicyPolicyOutput

type ClusterSnapshotBackupPolicyPolicyOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyPolicyOutput) ElementType

func (ClusterSnapshotBackupPolicyPolicyOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (ClusterSnapshotBackupPolicyPolicyOutput) PolicyItems

func (ClusterSnapshotBackupPolicyPolicyOutput) ToClusterSnapshotBackupPolicyPolicyOutput

func (o ClusterSnapshotBackupPolicyPolicyOutput) ToClusterSnapshotBackupPolicyPolicyOutput() ClusterSnapshotBackupPolicyPolicyOutput

func (ClusterSnapshotBackupPolicyPolicyOutput) ToClusterSnapshotBackupPolicyPolicyOutputWithContext

func (o ClusterSnapshotBackupPolicyPolicyOutput) ToClusterSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItem

type ClusterSnapshotBackupPolicyPolicyPolicyItem struct {
	FrequencyInterval *int    `pulumi:"frequencyInterval"`
	FrequencyType     *string `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             *string `pulumi:"id"`
	RetentionUnit  *string `pulumi:"retentionUnit"`
	RetentionValue *int    `pulumi:"retentionValue"`
}

type ClusterSnapshotBackupPolicyPolicyPolicyItemArgs

type ClusterSnapshotBackupPolicyPolicyPolicyItemArgs struct {
	FrequencyInterval pulumi.IntPtrInput    `pulumi:"frequencyInterval"`
	FrequencyType     pulumi.StringPtrInput `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             pulumi.StringPtrInput `pulumi:"id"`
	RetentionUnit  pulumi.StringPtrInput `pulumi:"retentionUnit"`
	RetentionValue pulumi.IntPtrInput    `pulumi:"retentionValue"`
}

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ElementType

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (i ClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutput() ClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (i ClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItemArray

type ClusterSnapshotBackupPolicyPolicyPolicyItemArray []ClusterSnapshotBackupPolicyPolicyPolicyItemInput

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArray) ElementType

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (i ClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput() ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (i ClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput

type ClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput() ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput
	ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput
}

ClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput is an input type that accepts ClusterSnapshotBackupPolicyPolicyPolicyItemArray and ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput` via:

ClusterSnapshotBackupPolicyPolicyPolicyItemArray{ ClusterSnapshotBackupPolicyPolicyPolicyItemArgs{...} }

type ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ElementType

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) Index

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (o ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItemInput

type ClusterSnapshotBackupPolicyPolicyPolicyItemInput interface {
	pulumi.Input

	ToClusterSnapshotBackupPolicyPolicyPolicyItemOutput() ClusterSnapshotBackupPolicyPolicyPolicyItemOutput
	ToClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemOutput
}

ClusterSnapshotBackupPolicyPolicyPolicyItemInput is an input type that accepts ClusterSnapshotBackupPolicyPolicyPolicyItemArgs and ClusterSnapshotBackupPolicyPolicyPolicyItemOutput values. You can construct a concrete instance of `ClusterSnapshotBackupPolicyPolicyPolicyItemInput` via:

ClusterSnapshotBackupPolicyPolicyPolicyItemArgs{...}

type ClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type ClusterSnapshotBackupPolicyPolicyPolicyItemOutput struct{ *pulumi.OutputState }

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ElementType

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyInterval

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyType

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionUnit

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionValue

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (o ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutput() ClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (o ClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) ClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type ClusterState

type ClusterState struct {
	AdvancedConfiguration ClusterAdvancedConfigurationPtrInput
	// Specifies whether cluster tier auto-scaling is enabled. The default is false.
	// - Set to `true` to enable cluster tier auto-scaling. If enabled, you must specify a value for `providerSettings.autoScaling.compute.maxInstanceSize`.
	// - Set to `false` to disable cluster tier auto-scaling.
	AutoScalingComputeEnabled pulumi.BoolPtrInput
	// Set to `true` to enable the cluster tier to scale down. This option is only available if `autoScaling.compute.enabled` is `true`.
	// - If this option is enabled, you must specify a value for `providerSettings.autoScaling.compute.minInstanceSize`
	AutoScalingComputeScaleDownEnabled pulumi.BoolPtrInput
	// Specifies whether disk auto-scaling is enabled. The default is true.
	// - Set to `true` to enable disk auto-scaling.
	// - Set to `false` to disable disk auto-scaling.
	AutoScalingDiskGbEnabled pulumi.BoolPtrInput
	// Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName pulumi.StringPtrInput
	BackupEnabled       pulumi.BoolPtrInput
	// Specifies BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector ClusterBiConnectorPtrInput
	// The cluster ID.
	ClusterId pulumi.StringPtrInput
	// Specifies the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType pulumi.StringPtrInput
	// Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
	ConnectionStrings ClusterConnectionStringsPtrInput
	// The Network Peering Container ID. The id of the container either created programmatically by the user before any clusters existed in the project or when the first cluster in the region (AWS/Azure) or project (GCP) was created.
	ContainerId pulumi.StringPtrInput
	// Capacity, in gigabytes, of the host’s root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive integer.
	// * The minimum disk size for dedicated clusters is 10GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value.
	// * Note: The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier.
	// * Cannot be used with clusters with local NVMe SSDs
	// * Cannot be used with Azure clusters
	DiskSizeGb pulumi.Float64PtrInput
	// Possible values are AWS, GCP, AZURE or NONE.  Only needed if you desire to manage the keys, see [Encryption at Rest using Customer Key Management](https://docs.atlas.mongodb.com/security-aws-kms/) for complete documentation.  You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For complete documentation on configuring Encryption at Rest, see Encryption at Rest using Customer Key Management. Requires M10 or greater. and for legacy backups, backup_enabled, to be false or omitted. **Note: Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default**.
	EncryptionAtRestProvider pulumi.StringPtrInput
	Labels                   ClusterLabelArrayInput
	// Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
	MongoDbMajorVersion pulumi.StringPtrInput
	// Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
	MongoDbVersion pulumi.StringPtrInput
	// Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
	MongoUri pulumi.StringPtrInput
	// Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
	MongoUriUpdated pulumi.StringPtrInput
	// connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
	MongoUriWithOptions pulumi.StringPtrInput
	// Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
	Name pulumi.StringPtrInput
	// Number of shards to deploy in the specified zone, minimum 1.
	NumShards pulumi.IntPtrInput
	// Flag that indicates whether the cluster is paused or not.
	Paused pulumi.BoolPtrInput
	// - Flag that indicates if the cluster uses Continuous Cloud Backup. If set to true, providerBackupEnabled must also be set to true.
	PitEnabled pulumi.BoolPtrInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringPtrInput
	// Maximum instance size to which your cluster can automatically scale (e.g., M40). Required if `autoScaling.compute.enabled` is `true`.
	ProviderAutoScalingComputeMaxInstanceSize pulumi.StringPtrInput
	// Minimum instance size to which your cluster can automatically scale (e.g., M10). Required if `autoScaling.compute.scaleDownEnabled` is `true`.
	ProviderAutoScalingComputeMinInstanceSize pulumi.StringPtrInput
	// Flag indicating if the cluster uses Cloud Backup for backups.
	ProviderBackupEnabled pulumi.BoolPtrInput
	// The maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected `providerInstanceSizeName` and `diskSizeGb`.
	ProviderDiskIops pulumi.IntPtrInput
	// Azure disk type of the server’s root volume. If omitted, Atlas uses the default disk type for the selected providerSettings.instanceSizeName.  Example disk types and associated storage sizes: P4 - 32GB, P6 - 64GB, P10 - 128GB, P15 - 256GB, P20 - 512GB, P30 - 1024GB, P40 - 2048GB, P50 - 4095GB.  More information and the most update to date disk types/storage sizes can be located at https://docs.atlas.mongodb.com/reference/api/clusters-create-one/.
	ProviderDiskTypeName pulumi.StringPtrInput
	// The default value is true.  Flag that indicates whether the Amazon EBS encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Note: This setting is always enabled for clusters with local NVMe SSDs. **Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.**.
	ProviderEncryptEbsVolume pulumi.BoolPtrInput
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size. The instance size you select is used for all the data-bearing servers in your cluster. See [Create a Cluster](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/) `providerSettings.instanceSizeName` for valid values and default resources.
	// **Note** free tier (M0) creation is not supported by the Atlas API and hence not supported by this provider.)
	ProviderInstanceSizeName pulumi.StringPtrInput
	// Cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringPtrInput
	// Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the **Atlas region name**, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	// Do not specify this field when creating a multi-region cluster using the replicationSpec document or a Global Cluster with the replicationSpecs array.
	ProviderRegionName pulumi.StringPtrInput
	// The type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.  `PROVISIONED` required if setting IOPS higher than the default instance IOPS.
	ProviderVolumeType pulumi.StringPtrInput
	// Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor pulumi.IntPtrInput
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs ClusterReplicationSpecArrayInput
	// current snapshot schedule and retention settings for the cluster.
	SnapshotBackupPolicies ClusterSnapshotBackupPolicyArrayInput
	// Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
	SrvAddress pulumi.StringPtrInput
	// Current state of the cluster. The possible states are:
	// - IDLE
	// - CREATING
	// - UPDATING
	// - DELETING
	// - DELETED
	// - REPAIRING
	StateName pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type CustomDbRole

type CustomDbRole struct {
	pulumi.CustomResourceState

	Actions        CustomDbRoleActionArrayOutput        `pulumi:"actions"`
	InheritedRoles CustomDbRoleInheritedRoleArrayOutput `pulumi:"inheritedRoles"`
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Name of the inherited role. This can either be another custom role or a built-in role.
	RoleName pulumi.StringOutput `pulumi:"roleName"`
}

`CustomDbRole` provides a Custom DB Role resource. The customDBRoles resource lets you retrieve, create and modify the custom MongoDB roles in your cluster. Use custom MongoDB roles to specify custom sets of actions which cannot be described by the built-in Atlas database user privileges.

> **IMPORTANT** Custom roles cannot use actions unavailable to any cluster version in your project. Custom roles are defined at the project level, and must be compatible with each MongoDB version used by your project’s clusters. If you have a cluster in your project with MongoDB 3.4, you cannot create a custom role that uses actions introduced in MongoDB 3.6, such as useUUID.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCustomDbRole(ctx, "testRole", &mongodbatlas.CustomDbRoleArgs{
			Actions: mongodbatlas.CustomDbRoleActionArray{
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("UPDATE"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("INSERT"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("REMOVE"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			RoleName:  pulumi.String("myCustomRole"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Inherited Roles

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		inheritedRoleOne, err := mongodbatlas.NewCustomDbRole(ctx, "inheritedRoleOne", &mongodbatlas.CustomDbRoleArgs{
			Actions: mongodbatlas.CustomDbRoleActionArray{
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("INSERT"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			RoleName:  pulumi.String("insertRole"),
		})
		if err != nil {
			return err
		}
		inheritedRoleTwo, err := mongodbatlas.NewCustomDbRole(ctx, "inheritedRoleTwo", &mongodbatlas.CustomDbRoleArgs{
			Actions: mongodbatlas.CustomDbRoleActionArray{
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("SERVER_STATUS"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							Cluster: pulumi.Bool(true),
						},
					},
				},
			},
			ProjectId: inheritedRoleOne.ProjectId,
			RoleName:  pulumi.String("statusServerRole"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewCustomDbRole(ctx, "testRole", &mongodbatlas.CustomDbRoleArgs{
			Actions: mongodbatlas.CustomDbRoleActionArray{
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("UPDATE"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("REMOVE"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
			},
			InheritedRoles: mongodbatlas.CustomDbRoleInheritedRoleArray{
				&mongodbatlas.CustomDbRoleInheritedRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     inheritedRoleOne.RoleName,
				},
				&mongodbatlas.CustomDbRoleInheritedRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     inheritedRoleTwo.RoleName,
				},
			},
			ProjectId: inheritedRoleOne.ProjectId,
			RoleName:  pulumi.String("myCustomRole"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database users can be imported using project ID and username, in the format `PROJECTID-ROLENAME`, e.g.

```sh

$ pulumi import mongodbatlas:index/customDbRole:CustomDbRole my_role 1112222b3bf99403840e8934-MyCustomRole

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/custom-roles/)

func GetCustomDbRole

func GetCustomDbRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDbRoleState, opts ...pulumi.ResourceOption) (*CustomDbRole, error)

GetCustomDbRole gets an existing CustomDbRole 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 NewCustomDbRole

func NewCustomDbRole(ctx *pulumi.Context,
	name string, args *CustomDbRoleArgs, opts ...pulumi.ResourceOption) (*CustomDbRole, error)

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

func (*CustomDbRole) ElementType added in v1.3.1

func (*CustomDbRole) ElementType() reflect.Type

func (*CustomDbRole) ToCustomDbRoleOutput added in v1.3.1

func (i *CustomDbRole) ToCustomDbRoleOutput() CustomDbRoleOutput

func (*CustomDbRole) ToCustomDbRoleOutputWithContext added in v1.3.1

func (i *CustomDbRole) ToCustomDbRoleOutputWithContext(ctx context.Context) CustomDbRoleOutput

func (*CustomDbRole) ToCustomDbRolePtrOutput added in v1.5.2

func (i *CustomDbRole) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (*CustomDbRole) ToCustomDbRolePtrOutputWithContext added in v1.5.2

func (i *CustomDbRole) ToCustomDbRolePtrOutputWithContext(ctx context.Context) CustomDbRolePtrOutput

type CustomDbRoleAction

type CustomDbRoleAction struct {
	// Name of the privilege action. For a complete list of actions available in the Atlas API, see [Custom Role Actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions)
	// > **Note**: The privilege actions available to the Custom Roles API resource represent a subset of the privilege actions available in the Atlas Custom Roles UI.
	Action string `pulumi:"action"`
	// Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources []CustomDbRoleActionResource `pulumi:"resources"`
}

type CustomDbRoleActionArgs

type CustomDbRoleActionArgs struct {
	// Name of the privilege action. For a complete list of actions available in the Atlas API, see [Custom Role Actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions)
	// > **Note**: The privilege actions available to the Custom Roles API resource represent a subset of the privilege actions available in the Atlas Custom Roles UI.
	Action pulumi.StringInput `pulumi:"action"`
	// Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources CustomDbRoleActionResourceArrayInput `pulumi:"resources"`
}

func (CustomDbRoleActionArgs) ElementType

func (CustomDbRoleActionArgs) ElementType() reflect.Type

func (CustomDbRoleActionArgs) ToCustomDbRoleActionOutput

func (i CustomDbRoleActionArgs) ToCustomDbRoleActionOutput() CustomDbRoleActionOutput

func (CustomDbRoleActionArgs) ToCustomDbRoleActionOutputWithContext

func (i CustomDbRoleActionArgs) ToCustomDbRoleActionOutputWithContext(ctx context.Context) CustomDbRoleActionOutput

type CustomDbRoleActionArray

type CustomDbRoleActionArray []CustomDbRoleActionInput

func (CustomDbRoleActionArray) ElementType

func (CustomDbRoleActionArray) ElementType() reflect.Type

func (CustomDbRoleActionArray) ToCustomDbRoleActionArrayOutput

func (i CustomDbRoleActionArray) ToCustomDbRoleActionArrayOutput() CustomDbRoleActionArrayOutput

func (CustomDbRoleActionArray) ToCustomDbRoleActionArrayOutputWithContext

func (i CustomDbRoleActionArray) ToCustomDbRoleActionArrayOutputWithContext(ctx context.Context) CustomDbRoleActionArrayOutput

type CustomDbRoleActionArrayInput

type CustomDbRoleActionArrayInput interface {
	pulumi.Input

	ToCustomDbRoleActionArrayOutput() CustomDbRoleActionArrayOutput
	ToCustomDbRoleActionArrayOutputWithContext(context.Context) CustomDbRoleActionArrayOutput
}

CustomDbRoleActionArrayInput is an input type that accepts CustomDbRoleActionArray and CustomDbRoleActionArrayOutput values. You can construct a concrete instance of `CustomDbRoleActionArrayInput` via:

CustomDbRoleActionArray{ CustomDbRoleActionArgs{...} }

type CustomDbRoleActionArrayOutput

type CustomDbRoleActionArrayOutput struct{ *pulumi.OutputState }

func (CustomDbRoleActionArrayOutput) ElementType

func (CustomDbRoleActionArrayOutput) Index

func (CustomDbRoleActionArrayOutput) ToCustomDbRoleActionArrayOutput

func (o CustomDbRoleActionArrayOutput) ToCustomDbRoleActionArrayOutput() CustomDbRoleActionArrayOutput

func (CustomDbRoleActionArrayOutput) ToCustomDbRoleActionArrayOutputWithContext

func (o CustomDbRoleActionArrayOutput) ToCustomDbRoleActionArrayOutputWithContext(ctx context.Context) CustomDbRoleActionArrayOutput

type CustomDbRoleActionInput

type CustomDbRoleActionInput interface {
	pulumi.Input

	ToCustomDbRoleActionOutput() CustomDbRoleActionOutput
	ToCustomDbRoleActionOutputWithContext(context.Context) CustomDbRoleActionOutput
}

CustomDbRoleActionInput is an input type that accepts CustomDbRoleActionArgs and CustomDbRoleActionOutput values. You can construct a concrete instance of `CustomDbRoleActionInput` via:

CustomDbRoleActionArgs{...}

type CustomDbRoleActionOutput

type CustomDbRoleActionOutput struct{ *pulumi.OutputState }

func (CustomDbRoleActionOutput) Action

Name of the privilege action. For a complete list of actions available in the Atlas API, see [Custom Role Actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions) > **Note**: The privilege actions available to the Custom Roles API resource represent a subset of the privilege actions available in the Atlas Custom Roles UI.

func (CustomDbRoleActionOutput) ElementType

func (CustomDbRoleActionOutput) ElementType() reflect.Type

func (CustomDbRoleActionOutput) Resources

Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.

func (CustomDbRoleActionOutput) ToCustomDbRoleActionOutput

func (o CustomDbRoleActionOutput) ToCustomDbRoleActionOutput() CustomDbRoleActionOutput

func (CustomDbRoleActionOutput) ToCustomDbRoleActionOutputWithContext

func (o CustomDbRoleActionOutput) ToCustomDbRoleActionOutputWithContext(ctx context.Context) CustomDbRoleActionOutput

type CustomDbRoleActionResource

type CustomDbRoleActionResource struct {
	Cluster        *bool   `pulumi:"cluster"`
	CollectionName *string `pulumi:"collectionName"`
	// Database on which the inherited role is granted.
	DatabaseName *string `pulumi:"databaseName"`
}

type CustomDbRoleActionResourceArgs

type CustomDbRoleActionResourceArgs struct {
	Cluster        pulumi.BoolPtrInput   `pulumi:"cluster"`
	CollectionName pulumi.StringPtrInput `pulumi:"collectionName"`
	// Database on which the inherited role is granted.
	DatabaseName pulumi.StringPtrInput `pulumi:"databaseName"`
}

func (CustomDbRoleActionResourceArgs) ElementType

func (CustomDbRoleActionResourceArgs) ToCustomDbRoleActionResourceOutput

func (i CustomDbRoleActionResourceArgs) ToCustomDbRoleActionResourceOutput() CustomDbRoleActionResourceOutput

func (CustomDbRoleActionResourceArgs) ToCustomDbRoleActionResourceOutputWithContext

func (i CustomDbRoleActionResourceArgs) ToCustomDbRoleActionResourceOutputWithContext(ctx context.Context) CustomDbRoleActionResourceOutput

type CustomDbRoleActionResourceArray

type CustomDbRoleActionResourceArray []CustomDbRoleActionResourceInput

func (CustomDbRoleActionResourceArray) ElementType

func (CustomDbRoleActionResourceArray) ToCustomDbRoleActionResourceArrayOutput

func (i CustomDbRoleActionResourceArray) ToCustomDbRoleActionResourceArrayOutput() CustomDbRoleActionResourceArrayOutput

func (CustomDbRoleActionResourceArray) ToCustomDbRoleActionResourceArrayOutputWithContext

func (i CustomDbRoleActionResourceArray) ToCustomDbRoleActionResourceArrayOutputWithContext(ctx context.Context) CustomDbRoleActionResourceArrayOutput

type CustomDbRoleActionResourceArrayInput

type CustomDbRoleActionResourceArrayInput interface {
	pulumi.Input

	ToCustomDbRoleActionResourceArrayOutput() CustomDbRoleActionResourceArrayOutput
	ToCustomDbRoleActionResourceArrayOutputWithContext(context.Context) CustomDbRoleActionResourceArrayOutput
}

CustomDbRoleActionResourceArrayInput is an input type that accepts CustomDbRoleActionResourceArray and CustomDbRoleActionResourceArrayOutput values. You can construct a concrete instance of `CustomDbRoleActionResourceArrayInput` via:

CustomDbRoleActionResourceArray{ CustomDbRoleActionResourceArgs{...} }

type CustomDbRoleActionResourceArrayOutput

type CustomDbRoleActionResourceArrayOutput struct{ *pulumi.OutputState }

func (CustomDbRoleActionResourceArrayOutput) ElementType

func (CustomDbRoleActionResourceArrayOutput) Index

func (CustomDbRoleActionResourceArrayOutput) ToCustomDbRoleActionResourceArrayOutput

func (o CustomDbRoleActionResourceArrayOutput) ToCustomDbRoleActionResourceArrayOutput() CustomDbRoleActionResourceArrayOutput

func (CustomDbRoleActionResourceArrayOutput) ToCustomDbRoleActionResourceArrayOutputWithContext

func (o CustomDbRoleActionResourceArrayOutput) ToCustomDbRoleActionResourceArrayOutputWithContext(ctx context.Context) CustomDbRoleActionResourceArrayOutput

type CustomDbRoleActionResourceInput

type CustomDbRoleActionResourceInput interface {
	pulumi.Input

	ToCustomDbRoleActionResourceOutput() CustomDbRoleActionResourceOutput
	ToCustomDbRoleActionResourceOutputWithContext(context.Context) CustomDbRoleActionResourceOutput
}

CustomDbRoleActionResourceInput is an input type that accepts CustomDbRoleActionResourceArgs and CustomDbRoleActionResourceOutput values. You can construct a concrete instance of `CustomDbRoleActionResourceInput` via:

CustomDbRoleActionResourceArgs{...}

type CustomDbRoleActionResourceOutput

type CustomDbRoleActionResourceOutput struct{ *pulumi.OutputState }

func (CustomDbRoleActionResourceOutput) Cluster

func (CustomDbRoleActionResourceOutput) CollectionName

func (CustomDbRoleActionResourceOutput) DatabaseName

Database on which the inherited role is granted.

func (CustomDbRoleActionResourceOutput) ElementType

func (CustomDbRoleActionResourceOutput) ToCustomDbRoleActionResourceOutput

func (o CustomDbRoleActionResourceOutput) ToCustomDbRoleActionResourceOutput() CustomDbRoleActionResourceOutput

func (CustomDbRoleActionResourceOutput) ToCustomDbRoleActionResourceOutputWithContext

func (o CustomDbRoleActionResourceOutput) ToCustomDbRoleActionResourceOutputWithContext(ctx context.Context) CustomDbRoleActionResourceOutput

type CustomDbRoleArgs

type CustomDbRoleArgs struct {
	Actions        CustomDbRoleActionArrayInput
	InheritedRoles CustomDbRoleInheritedRoleArrayInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringInput
	// Name of the inherited role. This can either be another custom role or a built-in role.
	RoleName pulumi.StringInput
}

The set of arguments for constructing a CustomDbRole resource.

func (CustomDbRoleArgs) ElementType

func (CustomDbRoleArgs) ElementType() reflect.Type

type CustomDbRoleArray added in v1.5.2

type CustomDbRoleArray []CustomDbRoleInput

func (CustomDbRoleArray) ElementType added in v1.5.2

func (CustomDbRoleArray) ElementType() reflect.Type

func (CustomDbRoleArray) ToCustomDbRoleArrayOutput added in v1.5.2

func (i CustomDbRoleArray) ToCustomDbRoleArrayOutput() CustomDbRoleArrayOutput

func (CustomDbRoleArray) ToCustomDbRoleArrayOutputWithContext added in v1.5.2

func (i CustomDbRoleArray) ToCustomDbRoleArrayOutputWithContext(ctx context.Context) CustomDbRoleArrayOutput

type CustomDbRoleArrayInput added in v1.5.2

type CustomDbRoleArrayInput interface {
	pulumi.Input

	ToCustomDbRoleArrayOutput() CustomDbRoleArrayOutput
	ToCustomDbRoleArrayOutputWithContext(context.Context) CustomDbRoleArrayOutput
}

CustomDbRoleArrayInput is an input type that accepts CustomDbRoleArray and CustomDbRoleArrayOutput values. You can construct a concrete instance of `CustomDbRoleArrayInput` via:

CustomDbRoleArray{ CustomDbRoleArgs{...} }

type CustomDbRoleArrayOutput added in v1.5.2

type CustomDbRoleArrayOutput struct{ *pulumi.OutputState }

func (CustomDbRoleArrayOutput) ElementType added in v1.5.2

func (CustomDbRoleArrayOutput) ElementType() reflect.Type

func (CustomDbRoleArrayOutput) Index added in v1.5.2

func (CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutput added in v1.5.2

func (o CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutput() CustomDbRoleArrayOutput

func (CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutputWithContext added in v1.5.2

func (o CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutputWithContext(ctx context.Context) CustomDbRoleArrayOutput

type CustomDbRoleInheritedRole

type CustomDbRoleInheritedRole struct {
	// Database on which the inherited role is granted.
	DatabaseName string `pulumi:"databaseName"`
	// Name of the inherited role. This can either be another custom role or a built-in role.
	RoleName string `pulumi:"roleName"`
}

type CustomDbRoleInheritedRoleArgs

type CustomDbRoleInheritedRoleArgs struct {
	// Database on which the inherited role is granted.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	// Name of the inherited role. This can either be another custom role or a built-in role.
	RoleName pulumi.StringInput `pulumi:"roleName"`
}

func (CustomDbRoleInheritedRoleArgs) ElementType

func (CustomDbRoleInheritedRoleArgs) ToCustomDbRoleInheritedRoleOutput

func (i CustomDbRoleInheritedRoleArgs) ToCustomDbRoleInheritedRoleOutput() CustomDbRoleInheritedRoleOutput

func (CustomDbRoleInheritedRoleArgs) ToCustomDbRoleInheritedRoleOutputWithContext

func (i CustomDbRoleInheritedRoleArgs) ToCustomDbRoleInheritedRoleOutputWithContext(ctx context.Context) CustomDbRoleInheritedRoleOutput

type CustomDbRoleInheritedRoleArray

type CustomDbRoleInheritedRoleArray []CustomDbRoleInheritedRoleInput

func (CustomDbRoleInheritedRoleArray) ElementType

func (CustomDbRoleInheritedRoleArray) ToCustomDbRoleInheritedRoleArrayOutput

func (i CustomDbRoleInheritedRoleArray) ToCustomDbRoleInheritedRoleArrayOutput() CustomDbRoleInheritedRoleArrayOutput

func (CustomDbRoleInheritedRoleArray) ToCustomDbRoleInheritedRoleArrayOutputWithContext

func (i CustomDbRoleInheritedRoleArray) ToCustomDbRoleInheritedRoleArrayOutputWithContext(ctx context.Context) CustomDbRoleInheritedRoleArrayOutput

type CustomDbRoleInheritedRoleArrayInput

type CustomDbRoleInheritedRoleArrayInput interface {
	pulumi.Input

	ToCustomDbRoleInheritedRoleArrayOutput() CustomDbRoleInheritedRoleArrayOutput
	ToCustomDbRoleInheritedRoleArrayOutputWithContext(context.Context) CustomDbRoleInheritedRoleArrayOutput
}

CustomDbRoleInheritedRoleArrayInput is an input type that accepts CustomDbRoleInheritedRoleArray and CustomDbRoleInheritedRoleArrayOutput values. You can construct a concrete instance of `CustomDbRoleInheritedRoleArrayInput` via:

CustomDbRoleInheritedRoleArray{ CustomDbRoleInheritedRoleArgs{...} }

type CustomDbRoleInheritedRoleArrayOutput

type CustomDbRoleInheritedRoleArrayOutput struct{ *pulumi.OutputState }

func (CustomDbRoleInheritedRoleArrayOutput) ElementType

func (CustomDbRoleInheritedRoleArrayOutput) Index

func (CustomDbRoleInheritedRoleArrayOutput) ToCustomDbRoleInheritedRoleArrayOutput

func (o CustomDbRoleInheritedRoleArrayOutput) ToCustomDbRoleInheritedRoleArrayOutput() CustomDbRoleInheritedRoleArrayOutput

func (CustomDbRoleInheritedRoleArrayOutput) ToCustomDbRoleInheritedRoleArrayOutputWithContext

func (o CustomDbRoleInheritedRoleArrayOutput) ToCustomDbRoleInheritedRoleArrayOutputWithContext(ctx context.Context) CustomDbRoleInheritedRoleArrayOutput

type CustomDbRoleInheritedRoleInput

type CustomDbRoleInheritedRoleInput interface {
	pulumi.Input

	ToCustomDbRoleInheritedRoleOutput() CustomDbRoleInheritedRoleOutput
	ToCustomDbRoleInheritedRoleOutputWithContext(context.Context) CustomDbRoleInheritedRoleOutput
}

CustomDbRoleInheritedRoleInput is an input type that accepts CustomDbRoleInheritedRoleArgs and CustomDbRoleInheritedRoleOutput values. You can construct a concrete instance of `CustomDbRoleInheritedRoleInput` via:

CustomDbRoleInheritedRoleArgs{...}

type CustomDbRoleInheritedRoleOutput

type CustomDbRoleInheritedRoleOutput struct{ *pulumi.OutputState }

func (CustomDbRoleInheritedRoleOutput) DatabaseName

Database on which the inherited role is granted.

func (CustomDbRoleInheritedRoleOutput) ElementType

func (CustomDbRoleInheritedRoleOutput) RoleName

Name of the inherited role. This can either be another custom role or a built-in role.

func (CustomDbRoleInheritedRoleOutput) ToCustomDbRoleInheritedRoleOutput

func (o CustomDbRoleInheritedRoleOutput) ToCustomDbRoleInheritedRoleOutput() CustomDbRoleInheritedRoleOutput

func (CustomDbRoleInheritedRoleOutput) ToCustomDbRoleInheritedRoleOutputWithContext

func (o CustomDbRoleInheritedRoleOutput) ToCustomDbRoleInheritedRoleOutputWithContext(ctx context.Context) CustomDbRoleInheritedRoleOutput

type CustomDbRoleInput added in v1.3.1

type CustomDbRoleInput interface {
	pulumi.Input

	ToCustomDbRoleOutput() CustomDbRoleOutput
	ToCustomDbRoleOutputWithContext(ctx context.Context) CustomDbRoleOutput
}

type CustomDbRoleMap added in v1.5.2

type CustomDbRoleMap map[string]CustomDbRoleInput

func (CustomDbRoleMap) ElementType added in v1.5.2

func (CustomDbRoleMap) ElementType() reflect.Type

func (CustomDbRoleMap) ToCustomDbRoleMapOutput added in v1.5.2

func (i CustomDbRoleMap) ToCustomDbRoleMapOutput() CustomDbRoleMapOutput

func (CustomDbRoleMap) ToCustomDbRoleMapOutputWithContext added in v1.5.2

func (i CustomDbRoleMap) ToCustomDbRoleMapOutputWithContext(ctx context.Context) CustomDbRoleMapOutput

type CustomDbRoleMapInput added in v1.5.2

type CustomDbRoleMapInput interface {
	pulumi.Input

	ToCustomDbRoleMapOutput() CustomDbRoleMapOutput
	ToCustomDbRoleMapOutputWithContext(context.Context) CustomDbRoleMapOutput
}

CustomDbRoleMapInput is an input type that accepts CustomDbRoleMap and CustomDbRoleMapOutput values. You can construct a concrete instance of `CustomDbRoleMapInput` via:

CustomDbRoleMap{ "key": CustomDbRoleArgs{...} }

type CustomDbRoleMapOutput added in v1.5.2

type CustomDbRoleMapOutput struct{ *pulumi.OutputState }

func (CustomDbRoleMapOutput) ElementType added in v1.5.2

func (CustomDbRoleMapOutput) ElementType() reflect.Type

func (CustomDbRoleMapOutput) MapIndex added in v1.5.2

func (CustomDbRoleMapOutput) ToCustomDbRoleMapOutput added in v1.5.2

func (o CustomDbRoleMapOutput) ToCustomDbRoleMapOutput() CustomDbRoleMapOutput

func (CustomDbRoleMapOutput) ToCustomDbRoleMapOutputWithContext added in v1.5.2

func (o CustomDbRoleMapOutput) ToCustomDbRoleMapOutputWithContext(ctx context.Context) CustomDbRoleMapOutput

type CustomDbRoleOutput added in v1.3.1

type CustomDbRoleOutput struct {
	*pulumi.OutputState
}

func (CustomDbRoleOutput) ElementType added in v1.3.1

func (CustomDbRoleOutput) ElementType() reflect.Type

func (CustomDbRoleOutput) ToCustomDbRoleOutput added in v1.3.1

func (o CustomDbRoleOutput) ToCustomDbRoleOutput() CustomDbRoleOutput

func (CustomDbRoleOutput) ToCustomDbRoleOutputWithContext added in v1.3.1

func (o CustomDbRoleOutput) ToCustomDbRoleOutputWithContext(ctx context.Context) CustomDbRoleOutput

func (CustomDbRoleOutput) ToCustomDbRolePtrOutput added in v1.5.2

func (o CustomDbRoleOutput) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (CustomDbRoleOutput) ToCustomDbRolePtrOutputWithContext added in v1.5.2

func (o CustomDbRoleOutput) ToCustomDbRolePtrOutputWithContext(ctx context.Context) CustomDbRolePtrOutput

type CustomDbRolePtrInput added in v1.5.2

type CustomDbRolePtrInput interface {
	pulumi.Input

	ToCustomDbRolePtrOutput() CustomDbRolePtrOutput
	ToCustomDbRolePtrOutputWithContext(ctx context.Context) CustomDbRolePtrOutput
}

type CustomDbRolePtrOutput added in v1.5.2

type CustomDbRolePtrOutput struct {
	*pulumi.OutputState
}

func (CustomDbRolePtrOutput) ElementType added in v1.5.2

func (CustomDbRolePtrOutput) ElementType() reflect.Type

func (CustomDbRolePtrOutput) ToCustomDbRolePtrOutput added in v1.5.2

func (o CustomDbRolePtrOutput) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (CustomDbRolePtrOutput) ToCustomDbRolePtrOutputWithContext added in v1.5.2

func (o CustomDbRolePtrOutput) ToCustomDbRolePtrOutputWithContext(ctx context.Context) CustomDbRolePtrOutput

type CustomDbRoleState

type CustomDbRoleState struct {
	Actions        CustomDbRoleActionArrayInput
	InheritedRoles CustomDbRoleInheritedRoleArrayInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringPtrInput
	// Name of the inherited role. This can either be another custom role or a built-in role.
	RoleName pulumi.StringPtrInput
}

func (CustomDbRoleState) ElementType

func (CustomDbRoleState) ElementType() reflect.Type

type DatabaseUser

type DatabaseUser struct {
	pulumi.CustomResourceState

	// Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
	// Accepted values include:
	AuthDatabaseName pulumi.StringPtrOutput `pulumi:"authDatabaseName"`
	// If this value is set, the new database user authenticates with AWS IAM credentials. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	AwsIamType pulumi.StringPtrOutput `pulumi:"awsIamType"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	//
	// Deprecated: use auth_database_name instead
	DatabaseName pulumi.StringPtrOutput       `pulumi:"databaseName"`
	Labels       DatabaseUserLabelArrayOutput `pulumi:"labels"`
	Password     pulumi.StringPtrOutput       `pulumi:"password"`
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles  DatabaseUserRoleArrayOutput  `pulumi:"roles"`
	Scopes DatabaseUserScopeArrayOutput `pulumi:"scopes"`
	// Username for authenticating to MongoDB.
	Username pulumi.StringOutput `pulumi:"username"`
	// X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	X509Type pulumi.StringPtrOutput `pulumi:"x509Type"`
}

## Import

Database users can be imported using project ID and username, in the format `project_id`-`username`-`auth_database_name`, e.g.

```sh

$ pulumi import mongodbatlas:index/databaseUser:DatabaseUser my_user 1112222b3bf99403840e8934-my_user-admin

```

func GetDatabaseUser

func GetDatabaseUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseUserState, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

GetDatabaseUser gets an existing DatabaseUser 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 NewDatabaseUser

func NewDatabaseUser(ctx *pulumi.Context,
	name string, args *DatabaseUserArgs, opts ...pulumi.ResourceOption) (*DatabaseUser, error)

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

func (*DatabaseUser) ElementType added in v1.3.1

func (*DatabaseUser) ElementType() reflect.Type

func (*DatabaseUser) ToDatabaseUserOutput added in v1.3.1

func (i *DatabaseUser) ToDatabaseUserOutput() DatabaseUserOutput

func (*DatabaseUser) ToDatabaseUserOutputWithContext added in v1.3.1

func (i *DatabaseUser) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

func (*DatabaseUser) ToDatabaseUserPtrOutput added in v1.5.2

func (i *DatabaseUser) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (*DatabaseUser) ToDatabaseUserPtrOutputWithContext added in v1.5.2

func (i *DatabaseUser) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

type DatabaseUserArgs

type DatabaseUserArgs struct {
	// Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
	// Accepted values include:
	AuthDatabaseName pulumi.StringPtrInput
	// If this value is set, the new database user authenticates with AWS IAM credentials. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	AwsIamType pulumi.StringPtrInput
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	//
	// Deprecated: use auth_database_name instead
	DatabaseName pulumi.StringPtrInput
	Labels       DatabaseUserLabelArrayInput
	Password     pulumi.StringPtrInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringInput
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles  DatabaseUserRoleArrayInput
	Scopes DatabaseUserScopeArrayInput
	// Username for authenticating to MongoDB.
	Username pulumi.StringInput
	// X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	X509Type pulumi.StringPtrInput
}

The set of arguments for constructing a DatabaseUser resource.

func (DatabaseUserArgs) ElementType

func (DatabaseUserArgs) ElementType() reflect.Type

type DatabaseUserArray added in v1.5.2

type DatabaseUserArray []DatabaseUserInput

func (DatabaseUserArray) ElementType added in v1.5.2

func (DatabaseUserArray) ElementType() reflect.Type

func (DatabaseUserArray) ToDatabaseUserArrayOutput added in v1.5.2

func (i DatabaseUserArray) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArray) ToDatabaseUserArrayOutputWithContext added in v1.5.2

func (i DatabaseUserArray) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserArrayInput added in v1.5.2

type DatabaseUserArrayInput interface {
	pulumi.Input

	ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
	ToDatabaseUserArrayOutputWithContext(context.Context) DatabaseUserArrayOutput
}

DatabaseUserArrayInput is an input type that accepts DatabaseUserArray and DatabaseUserArrayOutput values. You can construct a concrete instance of `DatabaseUserArrayInput` via:

DatabaseUserArray{ DatabaseUserArgs{...} }

type DatabaseUserArrayOutput added in v1.5.2

type DatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserArrayOutput) ElementType added in v1.5.2

func (DatabaseUserArrayOutput) ElementType() reflect.Type

func (DatabaseUserArrayOutput) Index added in v1.5.2

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutput added in v1.5.2

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext added in v1.5.2

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput

type DatabaseUserInput added in v1.3.1

type DatabaseUserInput interface {
	pulumi.Input

	ToDatabaseUserOutput() DatabaseUserOutput
	ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
}

type DatabaseUserLabel

type DatabaseUserLabel struct {
	// The key that you want to write.
	Key *string `pulumi:"key"`
	// The value that you want to write.
	Value *string `pulumi:"value"`
}

type DatabaseUserLabelArgs

type DatabaseUserLabelArgs struct {
	// The key that you want to write.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// The value that you want to write.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (DatabaseUserLabelArgs) ElementType

func (DatabaseUserLabelArgs) ElementType() reflect.Type

func (DatabaseUserLabelArgs) ToDatabaseUserLabelOutput

func (i DatabaseUserLabelArgs) ToDatabaseUserLabelOutput() DatabaseUserLabelOutput

func (DatabaseUserLabelArgs) ToDatabaseUserLabelOutputWithContext

func (i DatabaseUserLabelArgs) ToDatabaseUserLabelOutputWithContext(ctx context.Context) DatabaseUserLabelOutput

type DatabaseUserLabelArray

type DatabaseUserLabelArray []DatabaseUserLabelInput

func (DatabaseUserLabelArray) ElementType

func (DatabaseUserLabelArray) ElementType() reflect.Type

func (DatabaseUserLabelArray) ToDatabaseUserLabelArrayOutput

func (i DatabaseUserLabelArray) ToDatabaseUserLabelArrayOutput() DatabaseUserLabelArrayOutput

func (DatabaseUserLabelArray) ToDatabaseUserLabelArrayOutputWithContext

func (i DatabaseUserLabelArray) ToDatabaseUserLabelArrayOutputWithContext(ctx context.Context) DatabaseUserLabelArrayOutput

type DatabaseUserLabelArrayInput

type DatabaseUserLabelArrayInput interface {
	pulumi.Input

	ToDatabaseUserLabelArrayOutput() DatabaseUserLabelArrayOutput
	ToDatabaseUserLabelArrayOutputWithContext(context.Context) DatabaseUserLabelArrayOutput
}

DatabaseUserLabelArrayInput is an input type that accepts DatabaseUserLabelArray and DatabaseUserLabelArrayOutput values. You can construct a concrete instance of `DatabaseUserLabelArrayInput` via:

DatabaseUserLabelArray{ DatabaseUserLabelArgs{...} }

type DatabaseUserLabelArrayOutput

type DatabaseUserLabelArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserLabelArrayOutput) ElementType

func (DatabaseUserLabelArrayOutput) Index

func (DatabaseUserLabelArrayOutput) ToDatabaseUserLabelArrayOutput

func (o DatabaseUserLabelArrayOutput) ToDatabaseUserLabelArrayOutput() DatabaseUserLabelArrayOutput

func (DatabaseUserLabelArrayOutput) ToDatabaseUserLabelArrayOutputWithContext

func (o DatabaseUserLabelArrayOutput) ToDatabaseUserLabelArrayOutputWithContext(ctx context.Context) DatabaseUserLabelArrayOutput

type DatabaseUserLabelInput

type DatabaseUserLabelInput interface {
	pulumi.Input

	ToDatabaseUserLabelOutput() DatabaseUserLabelOutput
	ToDatabaseUserLabelOutputWithContext(context.Context) DatabaseUserLabelOutput
}

DatabaseUserLabelInput is an input type that accepts DatabaseUserLabelArgs and DatabaseUserLabelOutput values. You can construct a concrete instance of `DatabaseUserLabelInput` via:

DatabaseUserLabelArgs{...}

type DatabaseUserLabelOutput

type DatabaseUserLabelOutput struct{ *pulumi.OutputState }

func (DatabaseUserLabelOutput) ElementType

func (DatabaseUserLabelOutput) ElementType() reflect.Type

func (DatabaseUserLabelOutput) Key

The key that you want to write.

func (DatabaseUserLabelOutput) ToDatabaseUserLabelOutput

func (o DatabaseUserLabelOutput) ToDatabaseUserLabelOutput() DatabaseUserLabelOutput

func (DatabaseUserLabelOutput) ToDatabaseUserLabelOutputWithContext

func (o DatabaseUserLabelOutput) ToDatabaseUserLabelOutputWithContext(ctx context.Context) DatabaseUserLabelOutput

func (DatabaseUserLabelOutput) Value

The value that you want to write.

type DatabaseUserMap added in v1.5.2

type DatabaseUserMap map[string]DatabaseUserInput

func (DatabaseUserMap) ElementType added in v1.5.2

func (DatabaseUserMap) ElementType() reflect.Type

func (DatabaseUserMap) ToDatabaseUserMapOutput added in v1.5.2

func (i DatabaseUserMap) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMap) ToDatabaseUserMapOutputWithContext added in v1.5.2

func (i DatabaseUserMap) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserMapInput added in v1.5.2

type DatabaseUserMapInput interface {
	pulumi.Input

	ToDatabaseUserMapOutput() DatabaseUserMapOutput
	ToDatabaseUserMapOutputWithContext(context.Context) DatabaseUserMapOutput
}

DatabaseUserMapInput is an input type that accepts DatabaseUserMap and DatabaseUserMapOutput values. You can construct a concrete instance of `DatabaseUserMapInput` via:

DatabaseUserMap{ "key": DatabaseUserArgs{...} }

type DatabaseUserMapOutput added in v1.5.2

type DatabaseUserMapOutput struct{ *pulumi.OutputState }

func (DatabaseUserMapOutput) ElementType added in v1.5.2

func (DatabaseUserMapOutput) ElementType() reflect.Type

func (DatabaseUserMapOutput) MapIndex added in v1.5.2

func (DatabaseUserMapOutput) ToDatabaseUserMapOutput added in v1.5.2

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext added in v1.5.2

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput

type DatabaseUserOutput added in v1.3.1

type DatabaseUserOutput struct {
	*pulumi.OutputState
}

func (DatabaseUserOutput) ElementType added in v1.3.1

func (DatabaseUserOutput) ElementType() reflect.Type

func (DatabaseUserOutput) ToDatabaseUserOutput added in v1.3.1

func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserOutputWithContext added in v1.3.1

func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserPtrOutput added in v1.5.2

func (o DatabaseUserOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserOutput) ToDatabaseUserPtrOutputWithContext added in v1.5.2

func (o DatabaseUserOutput) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

type DatabaseUserPtrInput added in v1.5.2

type DatabaseUserPtrInput interface {
	pulumi.Input

	ToDatabaseUserPtrOutput() DatabaseUserPtrOutput
	ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput
}

type DatabaseUserPtrOutput added in v1.5.2

type DatabaseUserPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseUserPtrOutput) ElementType added in v1.5.2

func (DatabaseUserPtrOutput) ElementType() reflect.Type

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutput added in v1.5.2

func (o DatabaseUserPtrOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutputWithContext added in v1.5.2

func (o DatabaseUserPtrOutput) ToDatabaseUserPtrOutputWithContext(ctx context.Context) DatabaseUserPtrOutput

type DatabaseUserRole

type DatabaseUserRole struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName *string `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName *string `pulumi:"databaseName"`
	// Name of the role to grant. See [Create a Database User](https://docs.atlas.mongodb.com/reference/api/database-users-create-a-user/) `roles.roleName` for valid values and restrictions.
	RoleName *string `pulumi:"roleName"`
}

type DatabaseUserRoleArgs

type DatabaseUserRoleArgs struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName pulumi.StringPtrInput `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName pulumi.StringPtrInput `pulumi:"databaseName"`
	// Name of the role to grant. See [Create a Database User](https://docs.atlas.mongodb.com/reference/api/database-users-create-a-user/) `roles.roleName` for valid values and restrictions.
	RoleName pulumi.StringPtrInput `pulumi:"roleName"`
}

func (DatabaseUserRoleArgs) ElementType

func (DatabaseUserRoleArgs) ElementType() reflect.Type

func (DatabaseUserRoleArgs) ToDatabaseUserRoleOutput

func (i DatabaseUserRoleArgs) ToDatabaseUserRoleOutput() DatabaseUserRoleOutput

func (DatabaseUserRoleArgs) ToDatabaseUserRoleOutputWithContext

func (i DatabaseUserRoleArgs) ToDatabaseUserRoleOutputWithContext(ctx context.Context) DatabaseUserRoleOutput

type DatabaseUserRoleArray

type DatabaseUserRoleArray []DatabaseUserRoleInput

func (DatabaseUserRoleArray) ElementType

func (DatabaseUserRoleArray) ElementType() reflect.Type

func (DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutput

func (i DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput

func (DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutputWithContext

func (i DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutputWithContext(ctx context.Context) DatabaseUserRoleArrayOutput

type DatabaseUserRoleArrayInput

type DatabaseUserRoleArrayInput interface {
	pulumi.Input

	ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput
	ToDatabaseUserRoleArrayOutputWithContext(context.Context) DatabaseUserRoleArrayOutput
}

DatabaseUserRoleArrayInput is an input type that accepts DatabaseUserRoleArray and DatabaseUserRoleArrayOutput values. You can construct a concrete instance of `DatabaseUserRoleArrayInput` via:

DatabaseUserRoleArray{ DatabaseUserRoleArgs{...} }

type DatabaseUserRoleArrayOutput

type DatabaseUserRoleArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserRoleArrayOutput) ElementType

func (DatabaseUserRoleArrayOutput) Index

func (DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutput

func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput

func (DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutputWithContext

func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutputWithContext(ctx context.Context) DatabaseUserRoleArrayOutput

type DatabaseUserRoleInput

type DatabaseUserRoleInput interface {
	pulumi.Input

	ToDatabaseUserRoleOutput() DatabaseUserRoleOutput
	ToDatabaseUserRoleOutputWithContext(context.Context) DatabaseUserRoleOutput
}

DatabaseUserRoleInput is an input type that accepts DatabaseUserRoleArgs and DatabaseUserRoleOutput values. You can construct a concrete instance of `DatabaseUserRoleInput` via:

DatabaseUserRoleArgs{...}

type DatabaseUserRoleOutput

type DatabaseUserRoleOutput struct{ *pulumi.OutputState }

func (DatabaseUserRoleOutput) CollectionName

func (o DatabaseUserRoleOutput) CollectionName() pulumi.StringPtrOutput

Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).

func (DatabaseUserRoleOutput) DatabaseName

Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.

func (DatabaseUserRoleOutput) ElementType

func (DatabaseUserRoleOutput) ElementType() reflect.Type

func (DatabaseUserRoleOutput) RoleName

Name of the role to grant. See [Create a Database User](https://docs.atlas.mongodb.com/reference/api/database-users-create-a-user/) `roles.roleName` for valid values and restrictions.

func (DatabaseUserRoleOutput) ToDatabaseUserRoleOutput

func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutput() DatabaseUserRoleOutput

func (DatabaseUserRoleOutput) ToDatabaseUserRoleOutputWithContext

func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutputWithContext(ctx context.Context) DatabaseUserRoleOutput

type DatabaseUserScope added in v1.2.2

type DatabaseUserScope struct {
	// Name of the cluster or Atlas Data Lake that the user has access to.
	Name *string `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type *string `pulumi:"type"`
}

type DatabaseUserScopeArgs added in v1.2.2

type DatabaseUserScopeArgs struct {
	// Name of the cluster or Atlas Data Lake that the user has access to.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (DatabaseUserScopeArgs) ElementType added in v1.2.2

func (DatabaseUserScopeArgs) ElementType() reflect.Type

func (DatabaseUserScopeArgs) ToDatabaseUserScopeOutput added in v1.2.2

func (i DatabaseUserScopeArgs) ToDatabaseUserScopeOutput() DatabaseUserScopeOutput

func (DatabaseUserScopeArgs) ToDatabaseUserScopeOutputWithContext added in v1.2.2

func (i DatabaseUserScopeArgs) ToDatabaseUserScopeOutputWithContext(ctx context.Context) DatabaseUserScopeOutput

type DatabaseUserScopeArray added in v1.2.2

type DatabaseUserScopeArray []DatabaseUserScopeInput

func (DatabaseUserScopeArray) ElementType added in v1.2.2

func (DatabaseUserScopeArray) ElementType() reflect.Type

func (DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutput added in v1.2.2

func (i DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutput() DatabaseUserScopeArrayOutput

func (DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutputWithContext added in v1.2.2

func (i DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutputWithContext(ctx context.Context) DatabaseUserScopeArrayOutput

type DatabaseUserScopeArrayInput added in v1.2.2

type DatabaseUserScopeArrayInput interface {
	pulumi.Input

	ToDatabaseUserScopeArrayOutput() DatabaseUserScopeArrayOutput
	ToDatabaseUserScopeArrayOutputWithContext(context.Context) DatabaseUserScopeArrayOutput
}

DatabaseUserScopeArrayInput is an input type that accepts DatabaseUserScopeArray and DatabaseUserScopeArrayOutput values. You can construct a concrete instance of `DatabaseUserScopeArrayInput` via:

DatabaseUserScopeArray{ DatabaseUserScopeArgs{...} }

type DatabaseUserScopeArrayOutput added in v1.2.2

type DatabaseUserScopeArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserScopeArrayOutput) ElementType added in v1.2.2

func (DatabaseUserScopeArrayOutput) Index added in v1.2.2

func (DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutput added in v1.2.2

func (o DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutput() DatabaseUserScopeArrayOutput

func (DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutputWithContext added in v1.2.2

func (o DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutputWithContext(ctx context.Context) DatabaseUserScopeArrayOutput

type DatabaseUserScopeInput added in v1.2.2

type DatabaseUserScopeInput interface {
	pulumi.Input

	ToDatabaseUserScopeOutput() DatabaseUserScopeOutput
	ToDatabaseUserScopeOutputWithContext(context.Context) DatabaseUserScopeOutput
}

DatabaseUserScopeInput is an input type that accepts DatabaseUserScopeArgs and DatabaseUserScopeOutput values. You can construct a concrete instance of `DatabaseUserScopeInput` via:

DatabaseUserScopeArgs{...}

type DatabaseUserScopeOutput added in v1.2.2

type DatabaseUserScopeOutput struct{ *pulumi.OutputState }

func (DatabaseUserScopeOutput) ElementType added in v1.2.2

func (DatabaseUserScopeOutput) ElementType() reflect.Type

func (DatabaseUserScopeOutput) Name added in v1.2.2

Name of the cluster or Atlas Data Lake that the user has access to.

func (DatabaseUserScopeOutput) ToDatabaseUserScopeOutput added in v1.2.2

func (o DatabaseUserScopeOutput) ToDatabaseUserScopeOutput() DatabaseUserScopeOutput

func (DatabaseUserScopeOutput) ToDatabaseUserScopeOutputWithContext added in v1.2.2

func (o DatabaseUserScopeOutput) ToDatabaseUserScopeOutputWithContext(ctx context.Context) DatabaseUserScopeOutput

func (DatabaseUserScopeOutput) Type added in v1.2.2

Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`

type DatabaseUserState

type DatabaseUserState struct {
	// Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
	// Accepted values include:
	AuthDatabaseName pulumi.StringPtrInput
	// If this value is set, the new database user authenticates with AWS IAM credentials. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	AwsIamType pulumi.StringPtrInput
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	//
	// Deprecated: use auth_database_name instead
	DatabaseName pulumi.StringPtrInput
	Labels       DatabaseUserLabelArrayInput
	Password     pulumi.StringPtrInput
	// The unique ID for the project to create the database user.
	ProjectId pulumi.StringPtrInput
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles  DatabaseUserRoleArrayInput
	Scopes DatabaseUserScopeArrayInput
	// Username for authenticating to MongoDB.
	Username pulumi.StringPtrInput
	// X.509 method by which the provided username is authenticated. If no value is given, Atlas uses the default value of NONE. The accepted types are:
	X509Type pulumi.StringPtrInput
}

func (DatabaseUserState) ElementType

func (DatabaseUserState) ElementType() reflect.Type

type EncryptionAtRest

type EncryptionAtRest struct {
	pulumi.CustomResourceState

	// Specifies AWS KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AwsKms EncryptionAtRestAwsKmsPtrOutput `pulumi:"awsKms"`
	// Specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AzureKeyVault EncryptionAtRestAzureKeyVaultPtrOutput `pulumi:"azureKeyVault"`
	// Specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	GoogleCloudKms EncryptionAtRestGoogleCloudKmsPtrOutput `pulumi:"googleCloudKms"`
	// The unique identifier for the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`EncryptionAtRest` Allows management of encryption at rest for an Atlas project with one of the following providers:

[Amazon Web Services Key Management Service](https://docs.atlas.mongodb.com/security-aws-kms/#security-aws-kms) [Azure Key Vault](https://docs.atlas.mongodb.com/security-azure-kms/#security-azure-kms) [Google Cloud KMS](https://docs.atlas.mongodb.com/security-gcp-kms/#security-gcp-kms)

After configuring at least one Encryption at Rest provider for the Atlas project, Project Owners can enable Encryption at Rest for each Atlas cluster for which they require encryption. The Encryption at Rest provider does not have to match the cluster cloud service provider.

Atlas does not automatically rotate user-managed encryption keys. Defer to your preferred Encryption at Rest provider’s documentation and guidance for best practices on key rotation. Atlas automatically creates a 365-day key rotation alert when you configure Encryption at Rest using your Key Management in an Atlas project.

See [Encryption at Rest](https://docs.atlas.mongodb.com/security-kms-encryption/index.html) for more information, including prerequisites and restrictions.

> **IMPORTANT** Atlas encrypts all cluster storage and snapshot volumes, securing all cluster data on disk: a concept known as encryption at rest, by default.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewEncryptionAtRest(ctx, "test", &mongodbatlas.EncryptionAtRestArgs{
			AwsKms: &mongodbatlas.EncryptionAtRestAwsKmsArgs{
				Access_key_id:          pulumi.String("AKIAIOSFODNN7EXAMPLE"),
				Customer_master_key_id: pulumi.String("030gce02-586d-48d2-a966-05ea954fde0g"),
				Enabled:                pulumi.Bool(true),
				Region:                 pulumi.String("US_EAST_1"),
				Secret_access_key:      pulumi.String("wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"),
			},
			AzureKeyVault: &mongodbatlas.EncryptionAtRestAzureKeyVaultArgs{
				Azure_environment:   pulumi.String("AZURE"),
				Client_id:           pulumi.String("g54f9e2-89e3-40fd-8188-EXAMPLEID"),
				Enabled:             pulumi.Bool(true),
				Key_identifier:      pulumi.String("https://EXAMPLEKeyVault.vault.azure.net/keys/EXAMPLEKey/d891821e3d364e9eb88fbd3d11807b86"),
				Key_vault_name:      pulumi.String("EXAMPLEKeyVault"),
				Resource_group_name: pulumi.String("ExampleRGName"),
				Secret:              pulumi.String("EXAMPLESECRET"),
				Subscription_id:     pulumi.String("0ec944e3-g725-44f9-a147-EXAMPLEID"),
				Tenant_id:           pulumi.String("e8e4b6ba-ff32-4c88-a9af-EXAMPLEID"),
			},
			GoogleCloudKms: &mongodbatlas.EncryptionAtRestGoogleCloudKmsArgs{
				Enabled:                 pulumi.Bool(true),
				Key_version_resource_id: pulumi.String("projects/my-project-common-0/locations/us-east4/keyRings/my-key-ring-0/cryptoKeys/my-key-0/cryptoKeyVersions/1"),
				Service_account_key:     pulumi.String(fmt.Sprintf("%v%v%v", "{\"type\": \"service_account\",\"project_id\": \"my-project-common-0\",\"private_key_id\": \"e120598ea4f88249469fcdd75a9a785c1bb3\",\"private_key\": \"-----BEGIN PRIVATE KEY-----\\nMIIEuwIBA(truncated)SfecnS0mT94D9\\n-----END PRIVATE KEY-----\\n\",\"client_email\": \"my-email-kms-0@my-project-common-0.iam.gserviceaccount.com\",\"client_id\": \"10180967717292066\",\"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\"token_uri\": \"https://accounts.google.com/o/oauth2/token\",\"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/my-email-kms-0", "%", "40my-project-common-0.iam.gserviceaccount.com\"}")),
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetEncryptionAtRest

func GetEncryptionAtRest(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EncryptionAtRestState, opts ...pulumi.ResourceOption) (*EncryptionAtRest, error)

GetEncryptionAtRest gets an existing EncryptionAtRest 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 NewEncryptionAtRest

func NewEncryptionAtRest(ctx *pulumi.Context,
	name string, args *EncryptionAtRestArgs, opts ...pulumi.ResourceOption) (*EncryptionAtRest, error)

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

func (*EncryptionAtRest) ElementType added in v1.3.1

func (*EncryptionAtRest) ElementType() reflect.Type

func (*EncryptionAtRest) ToEncryptionAtRestOutput added in v1.3.1

func (i *EncryptionAtRest) ToEncryptionAtRestOutput() EncryptionAtRestOutput

func (*EncryptionAtRest) ToEncryptionAtRestOutputWithContext added in v1.3.1

func (i *EncryptionAtRest) ToEncryptionAtRestOutputWithContext(ctx context.Context) EncryptionAtRestOutput

func (*EncryptionAtRest) ToEncryptionAtRestPtrOutput added in v1.5.2

func (i *EncryptionAtRest) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (*EncryptionAtRest) ToEncryptionAtRestPtrOutputWithContext added in v1.5.2

func (i *EncryptionAtRest) ToEncryptionAtRestPtrOutputWithContext(ctx context.Context) EncryptionAtRestPtrOutput

type EncryptionAtRestArgs

type EncryptionAtRestArgs struct {
	// Specifies AWS KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AwsKms EncryptionAtRestAwsKmsPtrInput
	// Specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AzureKeyVault EncryptionAtRestAzureKeyVaultPtrInput
	// Specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	GoogleCloudKms EncryptionAtRestGoogleCloudKmsPtrInput
	// The unique identifier for the project.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a EncryptionAtRest resource.

func (EncryptionAtRestArgs) ElementType

func (EncryptionAtRestArgs) ElementType() reflect.Type

type EncryptionAtRestArray added in v1.5.2

type EncryptionAtRestArray []EncryptionAtRestInput

func (EncryptionAtRestArray) ElementType added in v1.5.2

func (EncryptionAtRestArray) ElementType() reflect.Type

func (EncryptionAtRestArray) ToEncryptionAtRestArrayOutput added in v1.5.2

func (i EncryptionAtRestArray) ToEncryptionAtRestArrayOutput() EncryptionAtRestArrayOutput

func (EncryptionAtRestArray) ToEncryptionAtRestArrayOutputWithContext added in v1.5.2

func (i EncryptionAtRestArray) ToEncryptionAtRestArrayOutputWithContext(ctx context.Context) EncryptionAtRestArrayOutput

type EncryptionAtRestArrayInput added in v1.5.2

type EncryptionAtRestArrayInput interface {
	pulumi.Input

	ToEncryptionAtRestArrayOutput() EncryptionAtRestArrayOutput
	ToEncryptionAtRestArrayOutputWithContext(context.Context) EncryptionAtRestArrayOutput
}

EncryptionAtRestArrayInput is an input type that accepts EncryptionAtRestArray and EncryptionAtRestArrayOutput values. You can construct a concrete instance of `EncryptionAtRestArrayInput` via:

EncryptionAtRestArray{ EncryptionAtRestArgs{...} }

type EncryptionAtRestArrayOutput added in v1.5.2

type EncryptionAtRestArrayOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestArrayOutput) ElementType added in v1.5.2

func (EncryptionAtRestArrayOutput) Index added in v1.5.2

func (EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutput added in v1.5.2

func (o EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutput() EncryptionAtRestArrayOutput

func (EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutputWithContext added in v1.5.2

func (o EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutputWithContext(ctx context.Context) EncryptionAtRestArrayOutput

type EncryptionAtRestAwsKms

type EncryptionAtRestAwsKms struct {
	// The IAM access key ID with permissions to access the customer master key specified by customerMasterKeyID.
	AccessKeyId *string `pulumi:"accessKeyId"`
	// The AWS customer master key used to encrypt and decrypt the MongoDB master keys.
	CustomerMasterKeyId *string `pulumi:"customerMasterKeyId"`
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled *bool `pulumi:"enabled"`
	// The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1
	Region *string `pulumi:"region"`
	// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
	RoleId *string `pulumi:"roleId"`
	// The IAM secret access key with permissions to access the customer master key specified by customerMasterKeyID.
	SecretAccessKey *string `pulumi:"secretAccessKey"`
}

type EncryptionAtRestAwsKmsArgs

type EncryptionAtRestAwsKmsArgs struct {
	// The IAM access key ID with permissions to access the customer master key specified by customerMasterKeyID.
	AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"`
	// The AWS customer master key used to encrypt and decrypt the MongoDB master keys.
	CustomerMasterKeyId pulumi.StringPtrInput `pulumi:"customerMasterKeyId"`
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1
	Region pulumi.StringPtrInput `pulumi:"region"`
	// ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.
	RoleId pulumi.StringPtrInput `pulumi:"roleId"`
	// The IAM secret access key with permissions to access the customer master key specified by customerMasterKeyID.
	SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"`
}

func (EncryptionAtRestAwsKmsArgs) ElementType

func (EncryptionAtRestAwsKmsArgs) ElementType() reflect.Type

func (EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsOutput

func (i EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsOutput() EncryptionAtRestAwsKmsOutput

func (EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsOutputWithContext

func (i EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsOutputWithContext(ctx context.Context) EncryptionAtRestAwsKmsOutput

func (EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsPtrOutput

func (i EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsPtrOutput() EncryptionAtRestAwsKmsPtrOutput

func (EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsPtrOutputWithContext

func (i EncryptionAtRestAwsKmsArgs) ToEncryptionAtRestAwsKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestAwsKmsPtrOutput

type EncryptionAtRestAwsKmsInput

type EncryptionAtRestAwsKmsInput interface {
	pulumi.Input

	ToEncryptionAtRestAwsKmsOutput() EncryptionAtRestAwsKmsOutput
	ToEncryptionAtRestAwsKmsOutputWithContext(context.Context) EncryptionAtRestAwsKmsOutput
}

EncryptionAtRestAwsKmsInput is an input type that accepts EncryptionAtRestAwsKmsArgs and EncryptionAtRestAwsKmsOutput values. You can construct a concrete instance of `EncryptionAtRestAwsKmsInput` via:

EncryptionAtRestAwsKmsArgs{...}

type EncryptionAtRestAwsKmsOutput

type EncryptionAtRestAwsKmsOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestAwsKmsOutput) AccessKeyId

The IAM access key ID with permissions to access the customer master key specified by customerMasterKeyID.

func (EncryptionAtRestAwsKmsOutput) CustomerMasterKeyId

func (o EncryptionAtRestAwsKmsOutput) CustomerMasterKeyId() pulumi.StringPtrOutput

The AWS customer master key used to encrypt and decrypt the MongoDB master keys.

func (EncryptionAtRestAwsKmsOutput) ElementType

func (EncryptionAtRestAwsKmsOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestAwsKmsOutput) Region

The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1

func (EncryptionAtRestAwsKmsOutput) RoleId added in v1.4.0

ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.

func (EncryptionAtRestAwsKmsOutput) SecretAccessKey

The IAM secret access key with permissions to access the customer master key specified by customerMasterKeyID.

func (EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsOutput

func (o EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsOutput() EncryptionAtRestAwsKmsOutput

func (EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsOutputWithContext

func (o EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsOutputWithContext(ctx context.Context) EncryptionAtRestAwsKmsOutput

func (EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsPtrOutput

func (o EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsPtrOutput() EncryptionAtRestAwsKmsPtrOutput

func (EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsPtrOutputWithContext

func (o EncryptionAtRestAwsKmsOutput) ToEncryptionAtRestAwsKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestAwsKmsPtrOutput

type EncryptionAtRestAwsKmsPtrInput

type EncryptionAtRestAwsKmsPtrInput interface {
	pulumi.Input

	ToEncryptionAtRestAwsKmsPtrOutput() EncryptionAtRestAwsKmsPtrOutput
	ToEncryptionAtRestAwsKmsPtrOutputWithContext(context.Context) EncryptionAtRestAwsKmsPtrOutput
}

EncryptionAtRestAwsKmsPtrInput is an input type that accepts EncryptionAtRestAwsKmsArgs, EncryptionAtRestAwsKmsPtr and EncryptionAtRestAwsKmsPtrOutput values. You can construct a concrete instance of `EncryptionAtRestAwsKmsPtrInput` via:

        EncryptionAtRestAwsKmsArgs{...}

or:

        nil

type EncryptionAtRestAwsKmsPtrOutput

type EncryptionAtRestAwsKmsPtrOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestAwsKmsPtrOutput) AccessKeyId

The IAM access key ID with permissions to access the customer master key specified by customerMasterKeyID.

func (EncryptionAtRestAwsKmsPtrOutput) CustomerMasterKeyId

func (o EncryptionAtRestAwsKmsPtrOutput) CustomerMasterKeyId() pulumi.StringPtrOutput

The AWS customer master key used to encrypt and decrypt the MongoDB master keys.

func (EncryptionAtRestAwsKmsPtrOutput) Elem

func (EncryptionAtRestAwsKmsPtrOutput) ElementType

func (EncryptionAtRestAwsKmsPtrOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestAwsKmsPtrOutput) Region

The AWS region in which the AWS customer master key exists: CA_CENTRAL_1, US_EAST_1, US_EAST_2, US_WEST_1, US_WEST_2, SA_EAST_1

func (EncryptionAtRestAwsKmsPtrOutput) RoleId added in v1.4.0

ID of an AWS IAM role authorized to manage an AWS customer master key. To find the ID for an existing IAM role check the `roleId` attribute of the `CloudProviderAccess` resource.

func (EncryptionAtRestAwsKmsPtrOutput) SecretAccessKey

The IAM secret access key with permissions to access the customer master key specified by customerMasterKeyID.

func (EncryptionAtRestAwsKmsPtrOutput) ToEncryptionAtRestAwsKmsPtrOutput

func (o EncryptionAtRestAwsKmsPtrOutput) ToEncryptionAtRestAwsKmsPtrOutput() EncryptionAtRestAwsKmsPtrOutput

func (EncryptionAtRestAwsKmsPtrOutput) ToEncryptionAtRestAwsKmsPtrOutputWithContext

func (o EncryptionAtRestAwsKmsPtrOutput) ToEncryptionAtRestAwsKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestAwsKmsPtrOutput

type EncryptionAtRestAzureKeyVault

type EncryptionAtRestAzureKeyVault struct {
	// The Azure environment where the Azure account credentials reside. Valid values are the following: AZURE, AZURE_CHINA, AZURE_GERMANY
	AzureEnvironment *string `pulumi:"azureEnvironment"`
	// The client ID, also known as the application ID, for an Azure application associated with the Azure AD tenant.
	ClientId *string `pulumi:"clientId"`
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled bool `pulumi:"enabled"`
	// The unique identifier of a key in an Azure Key Vault.
	KeyIdentifier *string `pulumi:"keyIdentifier"`
	// The name of an Azure Key Vault containing your key.
	KeyVaultName *string `pulumi:"keyVaultName"`
	// The name of the Azure Resource group that contains an Azure Key Vault.
	ResourceGroupName *string `pulumi:"resourceGroupName"`
	// The secret associated with the Azure Key Vault specified by azureKeyVault.tenantID.
	Secret *string `pulumi:"secret"`
	// The unique identifier associated with an Azure subscription.
	SubscriptionId *string `pulumi:"subscriptionId"`
	// The unique identifier for an Azure AD tenant within an Azure subscription.
	TenantId *string `pulumi:"tenantId"`
}

type EncryptionAtRestAzureKeyVaultArgs

type EncryptionAtRestAzureKeyVaultArgs struct {
	// The Azure environment where the Azure account credentials reside. Valid values are the following: AZURE, AZURE_CHINA, AZURE_GERMANY
	AzureEnvironment pulumi.StringPtrInput `pulumi:"azureEnvironment"`
	// The client ID, also known as the application ID, for an Azure application associated with the Azure AD tenant.
	ClientId pulumi.StringPtrInput `pulumi:"clientId"`
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// The unique identifier of a key in an Azure Key Vault.
	KeyIdentifier pulumi.StringPtrInput `pulumi:"keyIdentifier"`
	// The name of an Azure Key Vault containing your key.
	KeyVaultName pulumi.StringPtrInput `pulumi:"keyVaultName"`
	// The name of the Azure Resource group that contains an Azure Key Vault.
	ResourceGroupName pulumi.StringPtrInput `pulumi:"resourceGroupName"`
	// The secret associated with the Azure Key Vault specified by azureKeyVault.tenantID.
	Secret pulumi.StringPtrInput `pulumi:"secret"`
	// The unique identifier associated with an Azure subscription.
	SubscriptionId pulumi.StringPtrInput `pulumi:"subscriptionId"`
	// The unique identifier for an Azure AD tenant within an Azure subscription.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
}

func (EncryptionAtRestAzureKeyVaultArgs) ElementType

func (EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultOutput

func (i EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultOutput() EncryptionAtRestAzureKeyVaultOutput

func (EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultOutputWithContext

func (i EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultOutputWithContext(ctx context.Context) EncryptionAtRestAzureKeyVaultOutput

func (EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultPtrOutput

func (i EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultPtrOutput() EncryptionAtRestAzureKeyVaultPtrOutput

func (EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext

func (i EncryptionAtRestAzureKeyVaultArgs) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext(ctx context.Context) EncryptionAtRestAzureKeyVaultPtrOutput

type EncryptionAtRestAzureKeyVaultInput

type EncryptionAtRestAzureKeyVaultInput interface {
	pulumi.Input

	ToEncryptionAtRestAzureKeyVaultOutput() EncryptionAtRestAzureKeyVaultOutput
	ToEncryptionAtRestAzureKeyVaultOutputWithContext(context.Context) EncryptionAtRestAzureKeyVaultOutput
}

EncryptionAtRestAzureKeyVaultInput is an input type that accepts EncryptionAtRestAzureKeyVaultArgs and EncryptionAtRestAzureKeyVaultOutput values. You can construct a concrete instance of `EncryptionAtRestAzureKeyVaultInput` via:

EncryptionAtRestAzureKeyVaultArgs{...}

type EncryptionAtRestAzureKeyVaultOutput

type EncryptionAtRestAzureKeyVaultOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestAzureKeyVaultOutput) AzureEnvironment

The Azure environment where the Azure account credentials reside. Valid values are the following: AZURE, AZURE_CHINA, AZURE_GERMANY

func (EncryptionAtRestAzureKeyVaultOutput) ClientId

The client ID, also known as the application ID, for an Azure application associated with the Azure AD tenant.

func (EncryptionAtRestAzureKeyVaultOutput) ElementType

func (EncryptionAtRestAzureKeyVaultOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestAzureKeyVaultOutput) KeyIdentifier

The unique identifier of a key in an Azure Key Vault.

func (EncryptionAtRestAzureKeyVaultOutput) KeyVaultName

The name of an Azure Key Vault containing your key.

func (EncryptionAtRestAzureKeyVaultOutput) ResourceGroupName

The name of the Azure Resource group that contains an Azure Key Vault.

func (EncryptionAtRestAzureKeyVaultOutput) Secret

The secret associated with the Azure Key Vault specified by azureKeyVault.tenantID.

func (EncryptionAtRestAzureKeyVaultOutput) SubscriptionId

The unique identifier associated with an Azure subscription.

func (EncryptionAtRestAzureKeyVaultOutput) TenantId

The unique identifier for an Azure AD tenant within an Azure subscription.

func (EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultOutput

func (o EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultOutput() EncryptionAtRestAzureKeyVaultOutput

func (EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultOutputWithContext

func (o EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultOutputWithContext(ctx context.Context) EncryptionAtRestAzureKeyVaultOutput

func (EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultPtrOutput

func (o EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultPtrOutput() EncryptionAtRestAzureKeyVaultPtrOutput

func (EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext

func (o EncryptionAtRestAzureKeyVaultOutput) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext(ctx context.Context) EncryptionAtRestAzureKeyVaultPtrOutput

type EncryptionAtRestAzureKeyVaultPtrInput

type EncryptionAtRestAzureKeyVaultPtrInput interface {
	pulumi.Input

	ToEncryptionAtRestAzureKeyVaultPtrOutput() EncryptionAtRestAzureKeyVaultPtrOutput
	ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext(context.Context) EncryptionAtRestAzureKeyVaultPtrOutput
}

EncryptionAtRestAzureKeyVaultPtrInput is an input type that accepts EncryptionAtRestAzureKeyVaultArgs, EncryptionAtRestAzureKeyVaultPtr and EncryptionAtRestAzureKeyVaultPtrOutput values. You can construct a concrete instance of `EncryptionAtRestAzureKeyVaultPtrInput` via:

        EncryptionAtRestAzureKeyVaultArgs{...}

or:

        nil

type EncryptionAtRestAzureKeyVaultPtrOutput

type EncryptionAtRestAzureKeyVaultPtrOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestAzureKeyVaultPtrOutput) AzureEnvironment

The Azure environment where the Azure account credentials reside. Valid values are the following: AZURE, AZURE_CHINA, AZURE_GERMANY

func (EncryptionAtRestAzureKeyVaultPtrOutput) ClientId

The client ID, also known as the application ID, for an Azure application associated with the Azure AD tenant.

func (EncryptionAtRestAzureKeyVaultPtrOutput) Elem

func (EncryptionAtRestAzureKeyVaultPtrOutput) ElementType

func (EncryptionAtRestAzureKeyVaultPtrOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestAzureKeyVaultPtrOutput) KeyIdentifier

The unique identifier of a key in an Azure Key Vault.

func (EncryptionAtRestAzureKeyVaultPtrOutput) KeyVaultName

The name of an Azure Key Vault containing your key.

func (EncryptionAtRestAzureKeyVaultPtrOutput) ResourceGroupName

The name of the Azure Resource group that contains an Azure Key Vault.

func (EncryptionAtRestAzureKeyVaultPtrOutput) Secret

The secret associated with the Azure Key Vault specified by azureKeyVault.tenantID.

func (EncryptionAtRestAzureKeyVaultPtrOutput) SubscriptionId

The unique identifier associated with an Azure subscription.

func (EncryptionAtRestAzureKeyVaultPtrOutput) TenantId

The unique identifier for an Azure AD tenant within an Azure subscription.

func (EncryptionAtRestAzureKeyVaultPtrOutput) ToEncryptionAtRestAzureKeyVaultPtrOutput

func (o EncryptionAtRestAzureKeyVaultPtrOutput) ToEncryptionAtRestAzureKeyVaultPtrOutput() EncryptionAtRestAzureKeyVaultPtrOutput

func (EncryptionAtRestAzureKeyVaultPtrOutput) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext

func (o EncryptionAtRestAzureKeyVaultPtrOutput) ToEncryptionAtRestAzureKeyVaultPtrOutputWithContext(ctx context.Context) EncryptionAtRestAzureKeyVaultPtrOutput

type EncryptionAtRestGoogleCloudKms

type EncryptionAtRestGoogleCloudKms struct {
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled *bool `pulumi:"enabled"`
	// The Key Version Resource ID from your GCP account.
	KeyVersionResourceId *string `pulumi:"keyVersionResourceId"`
	// String-formatted JSON object containing GCP KMS credentials from your GCP account.
	ServiceAccountKey *string `pulumi:"serviceAccountKey"`
}

type EncryptionAtRestGoogleCloudKmsArgs

type EncryptionAtRestGoogleCloudKmsArgs struct {
	// Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The Key Version Resource ID from your GCP account.
	KeyVersionResourceId pulumi.StringPtrInput `pulumi:"keyVersionResourceId"`
	// String-formatted JSON object containing GCP KMS credentials from your GCP account.
	ServiceAccountKey pulumi.StringPtrInput `pulumi:"serviceAccountKey"`
}

func (EncryptionAtRestGoogleCloudKmsArgs) ElementType

func (EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsOutput

func (i EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsOutput() EncryptionAtRestGoogleCloudKmsOutput

func (EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsOutputWithContext

func (i EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsOutputWithContext(ctx context.Context) EncryptionAtRestGoogleCloudKmsOutput

func (EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsPtrOutput

func (i EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsPtrOutput() EncryptionAtRestGoogleCloudKmsPtrOutput

func (EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext

func (i EncryptionAtRestGoogleCloudKmsArgs) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestGoogleCloudKmsPtrOutput

type EncryptionAtRestGoogleCloudKmsInput

type EncryptionAtRestGoogleCloudKmsInput interface {
	pulumi.Input

	ToEncryptionAtRestGoogleCloudKmsOutput() EncryptionAtRestGoogleCloudKmsOutput
	ToEncryptionAtRestGoogleCloudKmsOutputWithContext(context.Context) EncryptionAtRestGoogleCloudKmsOutput
}

EncryptionAtRestGoogleCloudKmsInput is an input type that accepts EncryptionAtRestGoogleCloudKmsArgs and EncryptionAtRestGoogleCloudKmsOutput values. You can construct a concrete instance of `EncryptionAtRestGoogleCloudKmsInput` via:

EncryptionAtRestGoogleCloudKmsArgs{...}

type EncryptionAtRestGoogleCloudKmsOutput

type EncryptionAtRestGoogleCloudKmsOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestGoogleCloudKmsOutput) ElementType

func (EncryptionAtRestGoogleCloudKmsOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestGoogleCloudKmsOutput) KeyVersionResourceId

The Key Version Resource ID from your GCP account.

func (EncryptionAtRestGoogleCloudKmsOutput) ServiceAccountKey

String-formatted JSON object containing GCP KMS credentials from your GCP account.

func (EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsOutput

func (o EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsOutput() EncryptionAtRestGoogleCloudKmsOutput

func (EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsOutputWithContext

func (o EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsOutputWithContext(ctx context.Context) EncryptionAtRestGoogleCloudKmsOutput

func (EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutput

func (o EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutput() EncryptionAtRestGoogleCloudKmsPtrOutput

func (EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext

func (o EncryptionAtRestGoogleCloudKmsOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestGoogleCloudKmsPtrOutput

type EncryptionAtRestGoogleCloudKmsPtrInput

type EncryptionAtRestGoogleCloudKmsPtrInput interface {
	pulumi.Input

	ToEncryptionAtRestGoogleCloudKmsPtrOutput() EncryptionAtRestGoogleCloudKmsPtrOutput
	ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext(context.Context) EncryptionAtRestGoogleCloudKmsPtrOutput
}

EncryptionAtRestGoogleCloudKmsPtrInput is an input type that accepts EncryptionAtRestGoogleCloudKmsArgs, EncryptionAtRestGoogleCloudKmsPtr and EncryptionAtRestGoogleCloudKmsPtrOutput values. You can construct a concrete instance of `EncryptionAtRestGoogleCloudKmsPtrInput` via:

        EncryptionAtRestGoogleCloudKmsArgs{...}

or:

        nil

type EncryptionAtRestGoogleCloudKmsPtrOutput

type EncryptionAtRestGoogleCloudKmsPtrOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestGoogleCloudKmsPtrOutput) Elem

func (EncryptionAtRestGoogleCloudKmsPtrOutput) ElementType

func (EncryptionAtRestGoogleCloudKmsPtrOutput) Enabled

Specifies whether Encryption at Rest is enabled for an Atlas project. To disable Encryption at Rest, pass only this parameter with a value of false. When you disable Encryption at Rest, Atlas also removes the configuration details.

func (EncryptionAtRestGoogleCloudKmsPtrOutput) KeyVersionResourceId

The Key Version Resource ID from your GCP account.

func (EncryptionAtRestGoogleCloudKmsPtrOutput) ServiceAccountKey

String-formatted JSON object containing GCP KMS credentials from your GCP account.

func (EncryptionAtRestGoogleCloudKmsPtrOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutput

func (o EncryptionAtRestGoogleCloudKmsPtrOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutput() EncryptionAtRestGoogleCloudKmsPtrOutput

func (EncryptionAtRestGoogleCloudKmsPtrOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext

func (o EncryptionAtRestGoogleCloudKmsPtrOutput) ToEncryptionAtRestGoogleCloudKmsPtrOutputWithContext(ctx context.Context) EncryptionAtRestGoogleCloudKmsPtrOutput

type EncryptionAtRestInput added in v1.3.1

type EncryptionAtRestInput interface {
	pulumi.Input

	ToEncryptionAtRestOutput() EncryptionAtRestOutput
	ToEncryptionAtRestOutputWithContext(ctx context.Context) EncryptionAtRestOutput
}

type EncryptionAtRestMap added in v1.5.2

type EncryptionAtRestMap map[string]EncryptionAtRestInput

func (EncryptionAtRestMap) ElementType added in v1.5.2

func (EncryptionAtRestMap) ElementType() reflect.Type

func (EncryptionAtRestMap) ToEncryptionAtRestMapOutput added in v1.5.2

func (i EncryptionAtRestMap) ToEncryptionAtRestMapOutput() EncryptionAtRestMapOutput

func (EncryptionAtRestMap) ToEncryptionAtRestMapOutputWithContext added in v1.5.2

func (i EncryptionAtRestMap) ToEncryptionAtRestMapOutputWithContext(ctx context.Context) EncryptionAtRestMapOutput

type EncryptionAtRestMapInput added in v1.5.2

type EncryptionAtRestMapInput interface {
	pulumi.Input

	ToEncryptionAtRestMapOutput() EncryptionAtRestMapOutput
	ToEncryptionAtRestMapOutputWithContext(context.Context) EncryptionAtRestMapOutput
}

EncryptionAtRestMapInput is an input type that accepts EncryptionAtRestMap and EncryptionAtRestMapOutput values. You can construct a concrete instance of `EncryptionAtRestMapInput` via:

EncryptionAtRestMap{ "key": EncryptionAtRestArgs{...} }

type EncryptionAtRestMapOutput added in v1.5.2

type EncryptionAtRestMapOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestMapOutput) ElementType added in v1.5.2

func (EncryptionAtRestMapOutput) ElementType() reflect.Type

func (EncryptionAtRestMapOutput) MapIndex added in v1.5.2

func (EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutput added in v1.5.2

func (o EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutput() EncryptionAtRestMapOutput

func (EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutputWithContext added in v1.5.2

func (o EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutputWithContext(ctx context.Context) EncryptionAtRestMapOutput

type EncryptionAtRestOutput added in v1.3.1

type EncryptionAtRestOutput struct {
	*pulumi.OutputState
}

func (EncryptionAtRestOutput) ElementType added in v1.3.1

func (EncryptionAtRestOutput) ElementType() reflect.Type

func (EncryptionAtRestOutput) ToEncryptionAtRestOutput added in v1.3.1

func (o EncryptionAtRestOutput) ToEncryptionAtRestOutput() EncryptionAtRestOutput

func (EncryptionAtRestOutput) ToEncryptionAtRestOutputWithContext added in v1.3.1

func (o EncryptionAtRestOutput) ToEncryptionAtRestOutputWithContext(ctx context.Context) EncryptionAtRestOutput

func (EncryptionAtRestOutput) ToEncryptionAtRestPtrOutput added in v1.5.2

func (o EncryptionAtRestOutput) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (EncryptionAtRestOutput) ToEncryptionAtRestPtrOutputWithContext added in v1.5.2

func (o EncryptionAtRestOutput) ToEncryptionAtRestPtrOutputWithContext(ctx context.Context) EncryptionAtRestPtrOutput

type EncryptionAtRestPtrInput added in v1.5.2

type EncryptionAtRestPtrInput interface {
	pulumi.Input

	ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput
	ToEncryptionAtRestPtrOutputWithContext(ctx context.Context) EncryptionAtRestPtrOutput
}

type EncryptionAtRestPtrOutput added in v1.5.2

type EncryptionAtRestPtrOutput struct {
	*pulumi.OutputState
}

func (EncryptionAtRestPtrOutput) ElementType added in v1.5.2

func (EncryptionAtRestPtrOutput) ElementType() reflect.Type

func (EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutput added in v1.5.2

func (o EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutputWithContext added in v1.5.2

func (o EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutputWithContext(ctx context.Context) EncryptionAtRestPtrOutput

type EncryptionAtRestState

type EncryptionAtRestState struct {
	// Specifies AWS KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AwsKms EncryptionAtRestAwsKmsPtrInput
	// Specifies Azure Key Vault configuration details and whether Encryption at Rest is enabled for an Atlas project.
	AzureKeyVault EncryptionAtRestAzureKeyVaultPtrInput
	// Specifies GCP KMS configuration details and whether Encryption at Rest is enabled for an Atlas project.
	GoogleCloudKms EncryptionAtRestGoogleCloudKmsPtrInput
	// The unique identifier for the project.
	ProjectId pulumi.StringPtrInput
}

func (EncryptionAtRestState) ElementType

func (EncryptionAtRestState) ElementType() reflect.Type

type Get509AuthenticationDatabaseUserArgs

type Get509AuthenticationDatabaseUserArgs struct {
	// Identifier for the Atlas project associated with the X.509 configuration.
	ProjectId string `pulumi:"projectId"`
	// Username of the database user to create a certificate for.
	Username *string `pulumi:"username"`
}

A collection of arguments for invoking get509AuthenticationDatabaseUser.

type Get509AuthenticationDatabaseUserCertificate

type Get509AuthenticationDatabaseUserCertificate struct {
	CreatedAt string `pulumi:"createdAt"`
	GroupId   string `pulumi:"groupId"`
	Id        int    `pulumi:"id"`
	NotAfter  string `pulumi:"notAfter"`
	Subject   string `pulumi:"subject"`
}

type Get509AuthenticationDatabaseUserCertificateArgs

type Get509AuthenticationDatabaseUserCertificateArgs struct {
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	GroupId   pulumi.StringInput `pulumi:"groupId"`
	Id        pulumi.IntInput    `pulumi:"id"`
	NotAfter  pulumi.StringInput `pulumi:"notAfter"`
	Subject   pulumi.StringInput `pulumi:"subject"`
}

func (Get509AuthenticationDatabaseUserCertificateArgs) ElementType

func (Get509AuthenticationDatabaseUserCertificateArgs) ToGet509AuthenticationDatabaseUserCertificateOutput

func (i Get509AuthenticationDatabaseUserCertificateArgs) ToGet509AuthenticationDatabaseUserCertificateOutput() Get509AuthenticationDatabaseUserCertificateOutput

func (Get509AuthenticationDatabaseUserCertificateArgs) ToGet509AuthenticationDatabaseUserCertificateOutputWithContext

func (i Get509AuthenticationDatabaseUserCertificateArgs) ToGet509AuthenticationDatabaseUserCertificateOutputWithContext(ctx context.Context) Get509AuthenticationDatabaseUserCertificateOutput

type Get509AuthenticationDatabaseUserCertificateArray

type Get509AuthenticationDatabaseUserCertificateArray []Get509AuthenticationDatabaseUserCertificateInput

func (Get509AuthenticationDatabaseUserCertificateArray) ElementType

func (Get509AuthenticationDatabaseUserCertificateArray) ToGet509AuthenticationDatabaseUserCertificateArrayOutput

func (i Get509AuthenticationDatabaseUserCertificateArray) ToGet509AuthenticationDatabaseUserCertificateArrayOutput() Get509AuthenticationDatabaseUserCertificateArrayOutput

func (Get509AuthenticationDatabaseUserCertificateArray) ToGet509AuthenticationDatabaseUserCertificateArrayOutputWithContext

func (i Get509AuthenticationDatabaseUserCertificateArray) ToGet509AuthenticationDatabaseUserCertificateArrayOutputWithContext(ctx context.Context) Get509AuthenticationDatabaseUserCertificateArrayOutput

type Get509AuthenticationDatabaseUserCertificateArrayInput

type Get509AuthenticationDatabaseUserCertificateArrayInput interface {
	pulumi.Input

	ToGet509AuthenticationDatabaseUserCertificateArrayOutput() Get509AuthenticationDatabaseUserCertificateArrayOutput
	ToGet509AuthenticationDatabaseUserCertificateArrayOutputWithContext(context.Context) Get509AuthenticationDatabaseUserCertificateArrayOutput
}

Get509AuthenticationDatabaseUserCertificateArrayInput is an input type that accepts Get509AuthenticationDatabaseUserCertificateArray and Get509AuthenticationDatabaseUserCertificateArrayOutput values. You can construct a concrete instance of `Get509AuthenticationDatabaseUserCertificateArrayInput` via:

Get509AuthenticationDatabaseUserCertificateArray{ Get509AuthenticationDatabaseUserCertificateArgs{...} }

type Get509AuthenticationDatabaseUserCertificateArrayOutput

type Get509AuthenticationDatabaseUserCertificateArrayOutput struct{ *pulumi.OutputState }

func (Get509AuthenticationDatabaseUserCertificateArrayOutput) ElementType

func (Get509AuthenticationDatabaseUserCertificateArrayOutput) Index

func (Get509AuthenticationDatabaseUserCertificateArrayOutput) ToGet509AuthenticationDatabaseUserCertificateArrayOutput

func (Get509AuthenticationDatabaseUserCertificateArrayOutput) ToGet509AuthenticationDatabaseUserCertificateArrayOutputWithContext

func (o Get509AuthenticationDatabaseUserCertificateArrayOutput) ToGet509AuthenticationDatabaseUserCertificateArrayOutputWithContext(ctx context.Context) Get509AuthenticationDatabaseUserCertificateArrayOutput

type Get509AuthenticationDatabaseUserCertificateInput

type Get509AuthenticationDatabaseUserCertificateInput interface {
	pulumi.Input

	ToGet509AuthenticationDatabaseUserCertificateOutput() Get509AuthenticationDatabaseUserCertificateOutput
	ToGet509AuthenticationDatabaseUserCertificateOutputWithContext(context.Context) Get509AuthenticationDatabaseUserCertificateOutput
}

Get509AuthenticationDatabaseUserCertificateInput is an input type that accepts Get509AuthenticationDatabaseUserCertificateArgs and Get509AuthenticationDatabaseUserCertificateOutput values. You can construct a concrete instance of `Get509AuthenticationDatabaseUserCertificateInput` via:

Get509AuthenticationDatabaseUserCertificateArgs{...}

type Get509AuthenticationDatabaseUserCertificateOutput

type Get509AuthenticationDatabaseUserCertificateOutput struct{ *pulumi.OutputState }

func (Get509AuthenticationDatabaseUserCertificateOutput) CreatedAt

func (Get509AuthenticationDatabaseUserCertificateOutput) ElementType

func (Get509AuthenticationDatabaseUserCertificateOutput) GroupId

func (Get509AuthenticationDatabaseUserCertificateOutput) Id

func (Get509AuthenticationDatabaseUserCertificateOutput) NotAfter

func (Get509AuthenticationDatabaseUserCertificateOutput) Subject

func (Get509AuthenticationDatabaseUserCertificateOutput) ToGet509AuthenticationDatabaseUserCertificateOutput

func (o Get509AuthenticationDatabaseUserCertificateOutput) ToGet509AuthenticationDatabaseUserCertificateOutput() Get509AuthenticationDatabaseUserCertificateOutput

func (Get509AuthenticationDatabaseUserCertificateOutput) ToGet509AuthenticationDatabaseUserCertificateOutputWithContext

func (o Get509AuthenticationDatabaseUserCertificateOutput) ToGet509AuthenticationDatabaseUserCertificateOutputWithContext(ctx context.Context) Get509AuthenticationDatabaseUserCertificateOutput

type Get509AuthenticationDatabaseUserResult

type Get509AuthenticationDatabaseUserResult struct {
	// Array of objects where each details one unexpired database user certificate.
	Certificates    []Get509AuthenticationDatabaseUserCertificate `pulumi:"certificates"`
	CustomerX509Cas string                                        `pulumi:"customerX509Cas"`
	// The provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	ProjectId string  `pulumi:"projectId"`
	Username  *string `pulumi:"username"`
}

A collection of values returned by get509AuthenticationDatabaseUser.

func Get509AuthenticationDatabaseUser

`X509AuthenticationDatabaseUser` describe a X509 Authentication Database User. This represents a X509 Authentication Database User.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

### S ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := mongodbatlas.NewDatabaseUser(ctx, "user", &mongodbatlas.DatabaseUserArgs{
			DatabaseName: pulumi.String(fmt.Sprintf("%v%v", "$", "external")),
			Labels: mongodbatlas.DatabaseUserLabelArray{
				&mongodbatlas.DatabaseUserLabelArgs{
					Key:   pulumi.String("My Key"),
					Value: pulumi.String("My Value"),
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			Roles: mongodbatlas.DatabaseUserRoleArray{
				&mongodbatlas.DatabaseUserRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     pulumi.String("atlasAdmin"),
				},
			},
			Username: pulumi.String("myUsername"),
			X509Type: pulumi.String("MANAGED"),
		})
		if err != nil {
			return err
		}
		testX509AuthenticationDatabaseUser, err := mongodbatlas.NewX509AuthenticationDatabaseUser(ctx, "testX509AuthenticationDatabaseUser", &mongodbatlas.X509AuthenticationDatabaseUserArgs{
			MonthsUntilExpiration: pulumi.Int(2),
			ProjectId:             user.ProjectId,
			Username:              user.Username,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testX509AuthenticationDatabaseUser, err := mongodbatlas.NewX509AuthenticationDatabaseUser(ctx, "testX509AuthenticationDatabaseUser", &mongodbatlas.X509AuthenticationDatabaseUserArgs{
			CustomerX509Cas: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "  -----BEGIN CERTIFICATE-----\n", "  MIICmTCCAgICCQDZnHzklxsT9TANBgkqhkiG9w0BAQsFADCBkDELMAkGA1UEBhMC\n", "  VVMxDjAMBgNVBAgMBVRleGFzMQ8wDQYDVQQHDAZBdXN0aW4xETAPBgNVBAoMCHRl\n", "  c3QuY29tMQ0wCwYDVQQLDARUZXN0MREwDwYDVQQDDAh0ZXN0LmNvbTErMCkGCSqG\n", "  SIb3DQEJARYcbWVsaXNzYS5wbHVua2V0dEBtb25nb2RiLmNvbTAeFw0yMDAyMDQy\n", "  MDQ2MDFaFw0yMTAyMDMyMDQ2MDFaMIGQMQswCQYDVQQGEwJVUzEOMAwGA1UECAwF\n", "  VGV4YXMxDzANBgNVBAcMBkF1c3RpbjERMA8GA1UECgwIdGVzdC5jb20xDTALBgNV\n", "  BAsMBFRlc3QxETAPBgNVBAMMCHRlc3QuY29tMSswKQYJKoZIhvcNAQkBFhxtZWxp\n", "  c3NhLnBsdW5rZXR0QG1vbmdvZGIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\n", "  iQKBgQCf1LRqr1zftzdYx2Aj9G76tb0noMPtj6faGLlPji1+m6Rn7RWD9L0ntWAr\n", "  cURxvypa9jZ9MXFzDtLevvd3tHEmfrUT3ukNDX6+Jtc4kWm+Dh2A70Pd+deKZ2/O\n", "  Fh8audEKAESGXnTbeJCeQa1XKlIkjqQHBNwES5h1b9vJtFoLJwIDAQABMA0GCSqG\n", "  SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA\n", "  7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A\n", "  iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz\n", "  -----END CERTIFICATE-----\"\n", "\n")),
			ProjectId:       pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAlertConfigurationMatcher

type GetAlertConfigurationMatcher struct {
	// Name of the field in the target object to match on.
	FieldName string `pulumi:"fieldName"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator string `pulumi:"operator"`
	// Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
	// - `PRIMARY`
	// - `SECONDARY`
	// - `STANDALONE`
	// - `CONFIG`
	// - `MONGOS`
	Value string `pulumi:"value"`
}

type GetAlertConfigurationMatcherArgs

type GetAlertConfigurationMatcherArgs struct {
	// Name of the field in the target object to match on.
	FieldName pulumi.StringInput `pulumi:"fieldName"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringInput `pulumi:"operator"`
	// Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values:
	// - `PRIMARY`
	// - `SECONDARY`
	// - `STANDALONE`
	// - `CONFIG`
	// - `MONGOS`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetAlertConfigurationMatcherArgs) ElementType

func (GetAlertConfigurationMatcherArgs) ToGetAlertConfigurationMatcherOutput

func (i GetAlertConfigurationMatcherArgs) ToGetAlertConfigurationMatcherOutput() GetAlertConfigurationMatcherOutput

func (GetAlertConfigurationMatcherArgs) ToGetAlertConfigurationMatcherOutputWithContext

func (i GetAlertConfigurationMatcherArgs) ToGetAlertConfigurationMatcherOutputWithContext(ctx context.Context) GetAlertConfigurationMatcherOutput

type GetAlertConfigurationMatcherArray

type GetAlertConfigurationMatcherArray []GetAlertConfigurationMatcherInput

func (GetAlertConfigurationMatcherArray) ElementType

func (GetAlertConfigurationMatcherArray) ToGetAlertConfigurationMatcherArrayOutput

func (i GetAlertConfigurationMatcherArray) ToGetAlertConfigurationMatcherArrayOutput() GetAlertConfigurationMatcherArrayOutput

func (GetAlertConfigurationMatcherArray) ToGetAlertConfigurationMatcherArrayOutputWithContext

func (i GetAlertConfigurationMatcherArray) ToGetAlertConfigurationMatcherArrayOutputWithContext(ctx context.Context) GetAlertConfigurationMatcherArrayOutput

type GetAlertConfigurationMatcherArrayInput

type GetAlertConfigurationMatcherArrayInput interface {
	pulumi.Input

	ToGetAlertConfigurationMatcherArrayOutput() GetAlertConfigurationMatcherArrayOutput
	ToGetAlertConfigurationMatcherArrayOutputWithContext(context.Context) GetAlertConfigurationMatcherArrayOutput
}

GetAlertConfigurationMatcherArrayInput is an input type that accepts GetAlertConfigurationMatcherArray and GetAlertConfigurationMatcherArrayOutput values. You can construct a concrete instance of `GetAlertConfigurationMatcherArrayInput` via:

GetAlertConfigurationMatcherArray{ GetAlertConfigurationMatcherArgs{...} }

type GetAlertConfigurationMatcherArrayOutput

type GetAlertConfigurationMatcherArrayOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationMatcherArrayOutput) ElementType

func (GetAlertConfigurationMatcherArrayOutput) Index

func (GetAlertConfigurationMatcherArrayOutput) ToGetAlertConfigurationMatcherArrayOutput

func (o GetAlertConfigurationMatcherArrayOutput) ToGetAlertConfigurationMatcherArrayOutput() GetAlertConfigurationMatcherArrayOutput

func (GetAlertConfigurationMatcherArrayOutput) ToGetAlertConfigurationMatcherArrayOutputWithContext

func (o GetAlertConfigurationMatcherArrayOutput) ToGetAlertConfigurationMatcherArrayOutputWithContext(ctx context.Context) GetAlertConfigurationMatcherArrayOutput

type GetAlertConfigurationMatcherInput

type GetAlertConfigurationMatcherInput interface {
	pulumi.Input

	ToGetAlertConfigurationMatcherOutput() GetAlertConfigurationMatcherOutput
	ToGetAlertConfigurationMatcherOutputWithContext(context.Context) GetAlertConfigurationMatcherOutput
}

GetAlertConfigurationMatcherInput is an input type that accepts GetAlertConfigurationMatcherArgs and GetAlertConfigurationMatcherOutput values. You can construct a concrete instance of `GetAlertConfigurationMatcherInput` via:

GetAlertConfigurationMatcherArgs{...}

type GetAlertConfigurationMatcherOutput

type GetAlertConfigurationMatcherOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationMatcherOutput) ElementType

func (GetAlertConfigurationMatcherOutput) FieldName

Name of the field in the target object to match on.

func (GetAlertConfigurationMatcherOutput) Operator

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (GetAlertConfigurationMatcherOutput) ToGetAlertConfigurationMatcherOutput

func (o GetAlertConfigurationMatcherOutput) ToGetAlertConfigurationMatcherOutput() GetAlertConfigurationMatcherOutput

func (GetAlertConfigurationMatcherOutput) ToGetAlertConfigurationMatcherOutputWithContext

func (o GetAlertConfigurationMatcherOutput) ToGetAlertConfigurationMatcherOutputWithContext(ctx context.Context) GetAlertConfigurationMatcherOutput

func (GetAlertConfigurationMatcherOutput) Value

Value to test with the specified operator. If `fieldName` is set to TYPE_NAME, you can match on the following values: - `PRIMARY` - `SECONDARY` - `STANDALONE` - `CONFIG` - `MONGOS`

type GetAlertConfigurationMetricThreshold

type GetAlertConfigurationMetricThreshold struct {
	// Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)
	MetricName string `pulumi:"metricName"`
	// This must be set to AVERAGE. Atlas computes the current metric value as an average.
	Mode string `pulumi:"mode"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator string `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold float64 `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units string `pulumi:"units"`
}

type GetAlertConfigurationMetricThresholdArgs

type GetAlertConfigurationMetricThresholdArgs struct {
	// Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// This must be set to AVERAGE. Atlas computes the current metric value as an average.
	Mode pulumi.StringInput `pulumi:"mode"`
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringInput `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units pulumi.StringInput `pulumi:"units"`
}

func (GetAlertConfigurationMetricThresholdArgs) ElementType

func (GetAlertConfigurationMetricThresholdArgs) ToGetAlertConfigurationMetricThresholdOutput

func (i GetAlertConfigurationMetricThresholdArgs) ToGetAlertConfigurationMetricThresholdOutput() GetAlertConfigurationMetricThresholdOutput

func (GetAlertConfigurationMetricThresholdArgs) ToGetAlertConfigurationMetricThresholdOutputWithContext

func (i GetAlertConfigurationMetricThresholdArgs) ToGetAlertConfigurationMetricThresholdOutputWithContext(ctx context.Context) GetAlertConfigurationMetricThresholdOutput

type GetAlertConfigurationMetricThresholdInput

type GetAlertConfigurationMetricThresholdInput interface {
	pulumi.Input

	ToGetAlertConfigurationMetricThresholdOutput() GetAlertConfigurationMetricThresholdOutput
	ToGetAlertConfigurationMetricThresholdOutputWithContext(context.Context) GetAlertConfigurationMetricThresholdOutput
}

GetAlertConfigurationMetricThresholdInput is an input type that accepts GetAlertConfigurationMetricThresholdArgs and GetAlertConfigurationMetricThresholdOutput values. You can construct a concrete instance of `GetAlertConfigurationMetricThresholdInput` via:

GetAlertConfigurationMetricThresholdArgs{...}

type GetAlertConfigurationMetricThresholdOutput

type GetAlertConfigurationMetricThresholdOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationMetricThresholdOutput) ElementType

func (GetAlertConfigurationMetricThresholdOutput) MetricName

Name of the metric to check. The full list of current options is available [here](https://docs.atlas.mongodb.com/reference/alert-host-metrics/#measurement-types)

func (GetAlertConfigurationMetricThresholdOutput) Mode

This must be set to AVERAGE. Atlas computes the current metric value as an average.

func (GetAlertConfigurationMetricThresholdOutput) Operator

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (GetAlertConfigurationMetricThresholdOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (GetAlertConfigurationMetricThresholdOutput) ToGetAlertConfigurationMetricThresholdOutput

func (o GetAlertConfigurationMetricThresholdOutput) ToGetAlertConfigurationMetricThresholdOutput() GetAlertConfigurationMetricThresholdOutput

func (GetAlertConfigurationMetricThresholdOutput) ToGetAlertConfigurationMetricThresholdOutputWithContext

func (o GetAlertConfigurationMetricThresholdOutput) ToGetAlertConfigurationMetricThresholdOutputWithContext(ctx context.Context) GetAlertConfigurationMetricThresholdOutput

func (GetAlertConfigurationMetricThresholdOutput) Units

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type GetAlertConfigurationNotification

type GetAlertConfigurationNotification struct {
	// Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	ApiToken string `pulumi:"apiToken"`
	// Slack channel name. Required for the SLACK notifications type.
	ChannelName string `pulumi:"channelName"`
	// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
	DatadogApiKey string `pulumi:"datadogApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
	DatadogRegion string `pulumi:"datadogRegion"`
	// Number of minutes to wait after an alert condition is detected before sending out the first notification.
	DelayMin int `pulumi:"delayMin"`
	// Email address to which alert notifications are sent. Required for the EMAIL notifications type.
	EmailAddress string `pulumi:"emailAddress"`
	// Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	EmailEnabled bool `pulumi:"emailEnabled"`
	// Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type
	FlowName string `pulumi:"flowName"`
	// The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	FlowdockApiToken string `pulumi:"flowdockApiToken"`
	// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
	IntervalMin int `pulumi:"intervalMin"`
	// Mobile number to which alert notifications are sent. Required for the SMS notifications type.
	MobileNumber string `pulumi:"mobileNumber"`
	// Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	OpsGenieApiKey string `pulumi:"opsGenieApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
	OpsGenieRegion string `pulumi:"opsGenieRegion"`
	// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
	OrgName string   `pulumi:"orgName"`
	Roles   []string `pulumi:"roles"`
	// PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	ServiceKey string `pulumi:"serviceKey"`
	// Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	SmsEnabled bool `pulumi:"smsEnabled"`
	// Unique identifier of a team.
	TeamId string `pulumi:"teamId"`
	// Type of alert notification.
	// Accepted values are:
	// - `DATADOG`
	// - `EMAIL`
	// - `FLOWDOCK`
	// - `GROUP` (Project)
	// - `OPS_GENIE`
	// - `ORG`
	// - `PAGER_DUTY`
	// - `SLACK`
	// - `SMS`
	// - `TEAM`
	// - `USER`
	// - `VICTOR_OPS`
	// - `WEBHOOK`
	TypeName string `pulumi:"typeName"`
	// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.
	Username string `pulumi:"username"`
	// VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsApiKey string `pulumi:"victorOpsApiKey"`
	// VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsRoutingKey string `pulumi:"victorOpsRoutingKey"`
}

type GetAlertConfigurationNotificationArgs

type GetAlertConfigurationNotificationArgs struct {
	// Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	ApiToken pulumi.StringInput `pulumi:"apiToken"`
	// Slack channel name. Required for the SLACK notifications type.
	ChannelName pulumi.StringInput `pulumi:"channelName"`
	// Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.
	DatadogApiKey pulumi.StringInput `pulumi:"datadogApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.
	DatadogRegion pulumi.StringInput `pulumi:"datadogRegion"`
	// Number of minutes to wait after an alert condition is detected before sending out the first notification.
	DelayMin pulumi.IntInput `pulumi:"delayMin"`
	// Email address to which alert notifications are sent. Required for the EMAIL notifications type.
	EmailAddress pulumi.StringInput `pulumi:"emailAddress"`
	// Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	EmailEnabled pulumi.BoolInput `pulumi:"emailEnabled"`
	// Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type
	FlowName pulumi.StringInput `pulumi:"flowName"`
	// The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	FlowdockApiToken pulumi.StringInput `pulumi:"flowdockApiToken"`
	// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.
	IntervalMin pulumi.IntInput `pulumi:"intervalMin"`
	// Mobile number to which alert notifications are sent. Required for the SMS notifications type.
	MobileNumber pulumi.StringInput `pulumi:"mobileNumber"`
	// Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
	OpsGenieApiKey pulumi.StringInput `pulumi:"opsGenieApiKey"`
	// Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.
	OpsGenieRegion pulumi.StringInput `pulumi:"opsGenieRegion"`
	// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.
	OrgName pulumi.StringInput      `pulumi:"orgName"`
	Roles   pulumi.StringArrayInput `pulumi:"roles"`
	// PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	ServiceKey pulumi.StringInput `pulumi:"serviceKey"`
	// Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.
	SmsEnabled pulumi.BoolInput `pulumi:"smsEnabled"`
	// Unique identifier of a team.
	TeamId pulumi.StringInput `pulumi:"teamId"`
	// Type of alert notification.
	// Accepted values are:
	// - `DATADOG`
	// - `EMAIL`
	// - `FLOWDOCK`
	// - `GROUP` (Project)
	// - `OPS_GENIE`
	// - `ORG`
	// - `PAGER_DUTY`
	// - `SLACK`
	// - `SMS`
	// - `TEAM`
	// - `USER`
	// - `VICTOR_OPS`
	// - `WEBHOOK`
	TypeName pulumi.StringInput `pulumi:"typeName"`
	// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.
	Username pulumi.StringInput `pulumi:"username"`
	// VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsApiKey pulumi.StringInput `pulumi:"victorOpsApiKey"`
	// VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.
	VictorOpsRoutingKey pulumi.StringInput `pulumi:"victorOpsRoutingKey"`
}

func (GetAlertConfigurationNotificationArgs) ElementType

func (GetAlertConfigurationNotificationArgs) ToGetAlertConfigurationNotificationOutput

func (i GetAlertConfigurationNotificationArgs) ToGetAlertConfigurationNotificationOutput() GetAlertConfigurationNotificationOutput

func (GetAlertConfigurationNotificationArgs) ToGetAlertConfigurationNotificationOutputWithContext

func (i GetAlertConfigurationNotificationArgs) ToGetAlertConfigurationNotificationOutputWithContext(ctx context.Context) GetAlertConfigurationNotificationOutput

type GetAlertConfigurationNotificationArray

type GetAlertConfigurationNotificationArray []GetAlertConfigurationNotificationInput

func (GetAlertConfigurationNotificationArray) ElementType

func (GetAlertConfigurationNotificationArray) ToGetAlertConfigurationNotificationArrayOutput

func (i GetAlertConfigurationNotificationArray) ToGetAlertConfigurationNotificationArrayOutput() GetAlertConfigurationNotificationArrayOutput

func (GetAlertConfigurationNotificationArray) ToGetAlertConfigurationNotificationArrayOutputWithContext

func (i GetAlertConfigurationNotificationArray) ToGetAlertConfigurationNotificationArrayOutputWithContext(ctx context.Context) GetAlertConfigurationNotificationArrayOutput

type GetAlertConfigurationNotificationArrayInput

type GetAlertConfigurationNotificationArrayInput interface {
	pulumi.Input

	ToGetAlertConfigurationNotificationArrayOutput() GetAlertConfigurationNotificationArrayOutput
	ToGetAlertConfigurationNotificationArrayOutputWithContext(context.Context) GetAlertConfigurationNotificationArrayOutput
}

GetAlertConfigurationNotificationArrayInput is an input type that accepts GetAlertConfigurationNotificationArray and GetAlertConfigurationNotificationArrayOutput values. You can construct a concrete instance of `GetAlertConfigurationNotificationArrayInput` via:

GetAlertConfigurationNotificationArray{ GetAlertConfigurationNotificationArgs{...} }

type GetAlertConfigurationNotificationArrayOutput

type GetAlertConfigurationNotificationArrayOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationNotificationArrayOutput) ElementType

func (GetAlertConfigurationNotificationArrayOutput) Index

func (GetAlertConfigurationNotificationArrayOutput) ToGetAlertConfigurationNotificationArrayOutput

func (o GetAlertConfigurationNotificationArrayOutput) ToGetAlertConfigurationNotificationArrayOutput() GetAlertConfigurationNotificationArrayOutput

func (GetAlertConfigurationNotificationArrayOutput) ToGetAlertConfigurationNotificationArrayOutputWithContext

func (o GetAlertConfigurationNotificationArrayOutput) ToGetAlertConfigurationNotificationArrayOutputWithContext(ctx context.Context) GetAlertConfigurationNotificationArrayOutput

type GetAlertConfigurationNotificationInput

type GetAlertConfigurationNotificationInput interface {
	pulumi.Input

	ToGetAlertConfigurationNotificationOutput() GetAlertConfigurationNotificationOutput
	ToGetAlertConfigurationNotificationOutputWithContext(context.Context) GetAlertConfigurationNotificationOutput
}

GetAlertConfigurationNotificationInput is an input type that accepts GetAlertConfigurationNotificationArgs and GetAlertConfigurationNotificationOutput values. You can construct a concrete instance of `GetAlertConfigurationNotificationInput` via:

GetAlertConfigurationNotificationArgs{...}

type GetAlertConfigurationNotificationOutput

type GetAlertConfigurationNotificationOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationNotificationOutput) ApiToken

Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (GetAlertConfigurationNotificationOutput) ChannelName

Slack channel name. Required for the SLACK notifications type.

func (GetAlertConfigurationNotificationOutput) DatadogApiKey

Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.

func (GetAlertConfigurationNotificationOutput) DatadogRegion

Region that indicates which API URL to use. Accepted regions are: `US`, `EU`. The default Datadog region is US.

func (GetAlertConfigurationNotificationOutput) DelayMin

Number of minutes to wait after an alert condition is detected before sending out the first notification.

func (GetAlertConfigurationNotificationOutput) ElementType

func (GetAlertConfigurationNotificationOutput) EmailAddress

Email address to which alert notifications are sent. Required for the EMAIL notifications type.

func (GetAlertConfigurationNotificationOutput) EmailEnabled

Flag indicating if email notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.

func (GetAlertConfigurationNotificationOutput) FlowName

Flowdock flow name in lower-case letters. Required for the `FLOWDOCK` notifications type

func (GetAlertConfigurationNotificationOutput) FlowdockApiToken

The Flowdock personal API token. Required for the `FLOWDOCK` notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (GetAlertConfigurationNotificationOutput) IntervalMin

Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved. The minimum value is 5.

func (GetAlertConfigurationNotificationOutput) MobileNumber

Mobile number to which alert notifications are sent. Required for the SMS notifications type.

func (GetAlertConfigurationNotificationOutput) OpsGenieApiKey

Opsgenie API Key. Required for the `OPS_GENIE` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

func (GetAlertConfigurationNotificationOutput) OpsGenieRegion

Region that indicates which API URL to use. Accepted regions are: `US` ,`EU`. The default Opsgenie region is US.

func (GetAlertConfigurationNotificationOutput) OrgName

Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Required for the FLOWDOCK notifications type.

func (GetAlertConfigurationNotificationOutput) Roles added in v1.2.1

func (GetAlertConfigurationNotificationOutput) ServiceKey

PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

func (GetAlertConfigurationNotificationOutput) SmsEnabled

Flag indicating if text message notifications should be sent. Configurable for `ORG`, `GROUP`, and `USER` notifications types.

func (GetAlertConfigurationNotificationOutput) TeamId

Unique identifier of a team.

func (GetAlertConfigurationNotificationOutput) ToGetAlertConfigurationNotificationOutput

func (o GetAlertConfigurationNotificationOutput) ToGetAlertConfigurationNotificationOutput() GetAlertConfigurationNotificationOutput

func (GetAlertConfigurationNotificationOutput) ToGetAlertConfigurationNotificationOutputWithContext

func (o GetAlertConfigurationNotificationOutput) ToGetAlertConfigurationNotificationOutputWithContext(ctx context.Context) GetAlertConfigurationNotificationOutput

func (GetAlertConfigurationNotificationOutput) TypeName

Type of alert notification. Accepted values are: - `DATADOG` - `EMAIL` - `FLOWDOCK` - `GROUP` (Project) - `OPS_GENIE` - `ORG` - `PAGER_DUTY` - `SLACK` - `SMS` - `TEAM` - `USER` - `VICTOR_OPS` - `WEBHOOK`

func (GetAlertConfigurationNotificationOutput) Username

Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Required for the `USER` notifications type.

func (GetAlertConfigurationNotificationOutput) VictorOpsApiKey

VictorOps API key. Required for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

func (GetAlertConfigurationNotificationOutput) VictorOpsRoutingKey

VictorOps routing key. Optional for the `VICTOR_OPS` notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

type GetAlertConfigurationThreshold added in v1.2.1

type GetAlertConfigurationThreshold struct {
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator string `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold float64 `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units string `pulumi:"units"`
}

type GetAlertConfigurationThresholdArgs added in v1.2.1

type GetAlertConfigurationThresholdArgs struct {
	// Operator to apply when checking the current metric value against the threshold value.
	// Accepted values are:
	// - `GREATER_THAN`
	// - `LESS_THAN`
	Operator pulumi.StringInput `pulumi:"operator"`
	// Threshold value outside of which an alert will be triggered.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// The units for the threshold value. Depends on the type of metric.
	// Accepted values are:
	// - `RAW`
	// - `BITS`
	// - `BYTES`
	// - `KILOBITS`
	// - `KILOBYTES`
	// - `MEGABITS`
	// - `MEGABYTES`
	// - `GIGABITS`
	// - `GIGABYTES`
	// - `TERABYTES`
	// - `PETABYTES`
	// - `MILLISECONDS`
	// - `SECONDS`
	// - `MINUTES`
	// - `HOURS`
	// - `DAYS`
	Units pulumi.StringInput `pulumi:"units"`
}

func (GetAlertConfigurationThresholdArgs) ElementType added in v1.2.1

func (GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutput added in v1.2.1

func (i GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutput() GetAlertConfigurationThresholdOutput

func (GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutputWithContext added in v1.2.1

func (i GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutputWithContext(ctx context.Context) GetAlertConfigurationThresholdOutput

type GetAlertConfigurationThresholdInput added in v1.2.1

type GetAlertConfigurationThresholdInput interface {
	pulumi.Input

	ToGetAlertConfigurationThresholdOutput() GetAlertConfigurationThresholdOutput
	ToGetAlertConfigurationThresholdOutputWithContext(context.Context) GetAlertConfigurationThresholdOutput
}

GetAlertConfigurationThresholdInput is an input type that accepts GetAlertConfigurationThresholdArgs and GetAlertConfigurationThresholdOutput values. You can construct a concrete instance of `GetAlertConfigurationThresholdInput` via:

GetAlertConfigurationThresholdArgs{...}

type GetAlertConfigurationThresholdOutput added in v1.2.1

type GetAlertConfigurationThresholdOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationThresholdOutput) ElementType added in v1.2.1

func (GetAlertConfigurationThresholdOutput) Operator added in v1.2.1

Operator to apply when checking the current metric value against the threshold value. Accepted values are: - `GREATER_THAN` - `LESS_THAN`

func (GetAlertConfigurationThresholdOutput) Threshold added in v1.2.1

Threshold value outside of which an alert will be triggered.

func (GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutput added in v1.2.1

func (o GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutput() GetAlertConfigurationThresholdOutput

func (GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutputWithContext added in v1.2.1

func (o GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutputWithContext(ctx context.Context) GetAlertConfigurationThresholdOutput

func (GetAlertConfigurationThresholdOutput) Units added in v1.2.1

The units for the threshold value. Depends on the type of metric. Accepted values are: - `RAW` - `BITS` - `BYTES` - `KILOBITS` - `KILOBYTES` - `MEGABITS` - `MEGABYTES` - `GIGABITS` - `GIGABYTES` - `TERABYTES` - `PETABYTES` - `MILLISECONDS` - `SECONDS` - `MINUTES` - `HOURS` - `DAYS`

type GetCloudProviderAccessAwsIamRole added in v1.4.0

type GetCloudProviderAccessAwsIamRole struct {
	// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
	AtlasAssumedRoleExternalId string `pulumi:"atlasAssumedRoleExternalId"`
	// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
	AtlasAwsAccountArn string `pulumi:"atlasAwsAccountArn"`
	// Date on which this role was authorized.
	AuthorizedDate string `pulumi:"authorizedDate"`
	// Date on which this role was created.
	CreatedDate string `pulumi:"createdDate"`
	// Atlas features this AWS IAM role is linked to.
	FeatureUsages []GetCloudProviderAccessAwsIamRoleFeatureUsage `pulumi:"featureUsages"`
	// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
	IamAssumedRoleArn string `pulumi:"iamAssumedRoleArn"`
	// Name of the cloud provider. Currently limited to AWS.
	ProviderName string `pulumi:"providerName"`
	// Unique ID of this role.
	RoleId string `pulumi:"roleId"`
}

type GetCloudProviderAccessAwsIamRoleArgs added in v1.4.0

type GetCloudProviderAccessAwsIamRoleArgs struct {
	// Unique external ID Atlas uses when assuming the IAM role in your AWS account.
	AtlasAssumedRoleExternalId pulumi.StringInput `pulumi:"atlasAssumedRoleExternalId"`
	// ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.
	AtlasAwsAccountArn pulumi.StringInput `pulumi:"atlasAwsAccountArn"`
	// Date on which this role was authorized.
	AuthorizedDate pulumi.StringInput `pulumi:"authorizedDate"`
	// Date on which this role was created.
	CreatedDate pulumi.StringInput `pulumi:"createdDate"`
	// Atlas features this AWS IAM role is linked to.
	FeatureUsages GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput `pulumi:"featureUsages"`
	// ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.
	IamAssumedRoleArn pulumi.StringInput `pulumi:"iamAssumedRoleArn"`
	// Name of the cloud provider. Currently limited to AWS.
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	// Unique ID of this role.
	RoleId pulumi.StringInput `pulumi:"roleId"`
}

func (GetCloudProviderAccessAwsIamRoleArgs) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutput added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput

func (GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutputWithContext added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleOutput

type GetCloudProviderAccessAwsIamRoleArray added in v1.4.0

type GetCloudProviderAccessAwsIamRoleArray []GetCloudProviderAccessAwsIamRoleInput

func (GetCloudProviderAccessAwsIamRoleArray) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutput added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput

func (GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput

type GetCloudProviderAccessAwsIamRoleArrayInput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleArrayInput interface {
	pulumi.Input

	ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput
	ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput
}

GetCloudProviderAccessAwsIamRoleArrayInput is an input type that accepts GetCloudProviderAccessAwsIamRoleArray and GetCloudProviderAccessAwsIamRoleArrayOutput values. You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleArrayInput` via:

GetCloudProviderAccessAwsIamRoleArray{ GetCloudProviderAccessAwsIamRoleArgs{...} }

type GetCloudProviderAccessAwsIamRoleArrayOutput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleArrayOutput) Index added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutput added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleArrayOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsage added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsage struct {
	FeatureId   string `pulumi:"featureId"`
	FeatureType string `pulumi:"featureType"`
}

type GetCloudProviderAccessAwsIamRoleFeatureUsageArgs added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageArgs struct {
	FeatureId   pulumi.StringInput `pulumi:"featureId"`
	FeatureType pulumi.StringInput `pulumi:"featureType"`
}

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageArray added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageArray []GetCloudProviderAccessAwsIamRoleFeatureUsageInput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext added in v1.4.0

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput interface {
	pulumi.Input

	ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput
	ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput
}

GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput is an input type that accepts GetCloudProviderAccessAwsIamRoleFeatureUsageArray and GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput values. You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput` via:

GetCloudProviderAccessAwsIamRoleFeatureUsageArray{ GetCloudProviderAccessAwsIamRoleFeatureUsageArgs{...} }

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) Index added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageInput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageInput interface {
	pulumi.Input

	ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput
	ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput
}

GetCloudProviderAccessAwsIamRoleFeatureUsageInput is an input type that accepts GetCloudProviderAccessAwsIamRoleFeatureUsageArgs and GetCloudProviderAccessAwsIamRoleFeatureUsageOutput values. You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleFeatureUsageInput` via:

GetCloudProviderAccessAwsIamRoleFeatureUsageArgs{...}

type GetCloudProviderAccessAwsIamRoleFeatureUsageOutput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleFeatureUsageOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureId added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

type GetCloudProviderAccessAwsIamRoleInput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleInput interface {
	pulumi.Input

	ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput
	ToGetCloudProviderAccessAwsIamRoleOutputWithContext(context.Context) GetCloudProviderAccessAwsIamRoleOutput
}

GetCloudProviderAccessAwsIamRoleInput is an input type that accepts GetCloudProviderAccessAwsIamRoleArgs and GetCloudProviderAccessAwsIamRoleOutput values. You can construct a concrete instance of `GetCloudProviderAccessAwsIamRoleInput` via:

GetCloudProviderAccessAwsIamRoleArgs{...}

type GetCloudProviderAccessAwsIamRoleOutput added in v1.4.0

type GetCloudProviderAccessAwsIamRoleOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleOutput) AtlasAssumedRoleExternalId added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleOutput) AtlasAssumedRoleExternalId() pulumi.StringOutput

Unique external ID Atlas uses when assuming the IAM role in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) AtlasAwsAccountArn added in v1.4.0

ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) AuthorizedDate added in v1.4.0

Date on which this role was authorized.

func (GetCloudProviderAccessAwsIamRoleOutput) CreatedDate added in v1.4.0

Date on which this role was created.

func (GetCloudProviderAccessAwsIamRoleOutput) ElementType added in v1.4.0

func (GetCloudProviderAccessAwsIamRoleOutput) FeatureUsages added in v1.4.0

Atlas features this AWS IAM role is linked to.

func (GetCloudProviderAccessAwsIamRoleOutput) IamAssumedRoleArn added in v1.4.0

ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) ProviderName added in v1.4.0

Name of the cloud provider. Currently limited to AWS.

func (GetCloudProviderAccessAwsIamRoleOutput) RoleId added in v1.4.0

Unique ID of this role.

func (GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutput added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput

func (GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutputWithContext added in v1.4.0

func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleOutput

type GetCloudProviderSnapshotBackupPolicyPolicy

type GetCloudProviderSnapshotBackupPolicyPolicy struct {
	Id          string                                                 `pulumi:"id"`
	PolicyItems []GetCloudProviderSnapshotBackupPolicyPolicyPolicyItem `pulumi:"policyItems"`
}

type GetCloudProviderSnapshotBackupPolicyPolicyArgs

type GetCloudProviderSnapshotBackupPolicyPolicyArgs struct {
	Id          pulumi.StringInput                                             `pulumi:"id"`
	PolicyItems GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput `pulumi:"policyItems"`
}

func (GetCloudProviderSnapshotBackupPolicyPolicyArgs) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyOutput

func (i GetCloudProviderSnapshotBackupPolicyPolicyArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyOutput() GetCloudProviderSnapshotBackupPolicyPolicyOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyOutputWithContext

func (i GetCloudProviderSnapshotBackupPolicyPolicyArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyOutput

type GetCloudProviderSnapshotBackupPolicyPolicyArray

type GetCloudProviderSnapshotBackupPolicyPolicyArray []GetCloudProviderSnapshotBackupPolicyPolicyInput

func (GetCloudProviderSnapshotBackupPolicyPolicyArray) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyArray) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (i GetCloudProviderSnapshotBackupPolicyPolicyArray) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutput() GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyArray) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext

func (i GetCloudProviderSnapshotBackupPolicyPolicyArray) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyArrayInput

type GetCloudProviderSnapshotBackupPolicyPolicyArrayInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutput() GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput
	ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(context.Context) GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput
}

GetCloudProviderSnapshotBackupPolicyPolicyArrayInput is an input type that accepts GetCloudProviderSnapshotBackupPolicyPolicyArray and GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotBackupPolicyPolicyArrayInput` via:

GetCloudProviderSnapshotBackupPolicyPolicyArray{ GetCloudProviderSnapshotBackupPolicyPolicyArgs{...} }

type GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput) Index

func (GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext

func (o GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyInput

type GetCloudProviderSnapshotBackupPolicyPolicyInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotBackupPolicyPolicyOutput() GetCloudProviderSnapshotBackupPolicyPolicyOutput
	ToGetCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(context.Context) GetCloudProviderSnapshotBackupPolicyPolicyOutput
}

GetCloudProviderSnapshotBackupPolicyPolicyInput is an input type that accepts GetCloudProviderSnapshotBackupPolicyPolicyArgs and GetCloudProviderSnapshotBackupPolicyPolicyOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotBackupPolicyPolicyInput` via:

GetCloudProviderSnapshotBackupPolicyPolicyArgs{...}

type GetCloudProviderSnapshotBackupPolicyPolicyOutput

type GetCloudProviderSnapshotBackupPolicyPolicyOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotBackupPolicyPolicyOutput) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyOutput) Id

func (GetCloudProviderSnapshotBackupPolicyPolicyOutput) PolicyItems

func (GetCloudProviderSnapshotBackupPolicyPolicyOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyOutput

func (o GetCloudProviderSnapshotBackupPolicyPolicyOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyOutput() GetCloudProviderSnapshotBackupPolicyPolicyOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyOutputWithContext

func (o GetCloudProviderSnapshotBackupPolicyPolicyOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItem

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItem struct {
	FrequencyInterval int    `pulumi:"frequencyInterval"`
	FrequencyType     string `pulumi:"frequencyType"`
	Id                string `pulumi:"id"`
	RetentionUnit     string `pulumi:"retentionUnit"`
	RetentionValue    int    `pulumi:"retentionValue"`
}

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs struct {
	FrequencyInterval pulumi.IntInput    `pulumi:"frequencyInterval"`
	FrequencyType     pulumi.StringInput `pulumi:"frequencyType"`
	Id                pulumi.StringInput `pulumi:"id"`
	RetentionUnit     pulumi.StringInput `pulumi:"retentionUnit"`
	RetentionValue    pulumi.IntInput    `pulumi:"retentionValue"`
}

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (i GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray []GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemInput

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (i GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput() GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (i GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput() GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput
	ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput
}

GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput is an input type that accepts GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray and GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayInput` via:

GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArray{ GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs{...} }

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) Index

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (o GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemInput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput() GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput
	ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput
}

GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemInput is an input type that accepts GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs and GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemInput` via:

GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemArgs{...}

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ElementType

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyInterval

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyType

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) Id

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionUnit

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionValue

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (o GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetCloudProviderSnapshotBackupPolicyPolicyPolicyItemOutput

type GetCloudProviderSnapshotRestoreJobsArgs

type GetCloudProviderSnapshotRestoreJobsArgs struct {
	// The name of the Atlas cluster for which you want to retrieve restore jobs.
	ClusterName string `pulumi:"clusterName"`
	// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
	ItemsPerPage *int `pulumi:"itemsPerPage"`
	// The page to return. Defaults to `1`.
	PageNum *int `pulumi:"pageNum"`
	// The unique identifier of the project for the Atlas cluster.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCloudProviderSnapshotRestoreJobs.

type GetCloudProviderSnapshotRestoreJobsResult

type GetCloudProviderSnapshotRestoreJobsResult struct {
	ClusterName string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id           string `pulumi:"id"`
	ItemsPerPage *int   `pulumi:"itemsPerPage"`
	PageNum      *int   `pulumi:"pageNum"`
	ProjectId    string `pulumi:"projectId"`
	// Includes cloudProviderSnapshotRestoreJob object for each item detailed in the results array section.
	Results    []GetCloudProviderSnapshotRestoreJobsResultType `pulumi:"results"`
	TotalCount int                                             `pulumi:"totalCount"`
}

A collection of values returned by getCloudProviderSnapshotRestoreJobs.

func GetCloudProviderSnapshotRestoreJobs

`getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

First create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testCloudProviderSnapshot, err := mongodbatlas.NewCloudProviderSnapshot(ctx, "testCloudProviderSnapshot", &mongodbatlas.CloudProviderSnapshotArgs{
			ClusterName:     pulumi.String("MyCluster"),
			Description:     pulumi.String("MyDescription"),
			ProjectId:       pulumi.String("5cf5a45a9ccf6400e60981b6"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		testCloudProviderSnapshotRestoreJob, err := mongodbatlas.NewCloudProviderSnapshotRestoreJob(ctx, "testCloudProviderSnapshotRestoreJob", &mongodbatlas.CloudProviderSnapshotRestoreJobArgs{
			ClusterName: pulumi.String("MyCluster"),
			DeliveryType: &mongodbatlas.CloudProviderSnapshotRestoreJobDeliveryTypeArgs{
				Automated:           pulumi.Bool(true),
				Target_cluster_name: pulumi.String("MyCluster"),
				Target_project_id:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			},
			ProjectId:  pulumi.String("5cf5a45a9ccf6400e60981b6"),
			SnapshotId: testCloudProviderSnapshot.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCloudProviderSnapshotRestoreJobsResultType

type GetCloudProviderSnapshotRestoreJobsResultType struct {
	// Indicates whether the restore job was canceled.
	Cancelled bool `pulumi:"cancelled"`
	// UTC ISO 8601 formatted point in time when Atlas created the restore job.
	CreatedAt string `pulumi:"createdAt"`
	// Type of restore job to create. Possible values are: automated and download.
	DeliveryType string `pulumi:"deliveryType"`
	// One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
	DeliveryUrls []string `pulumi:"deliveryUrls"`
	// Indicates whether the restore job expired.
	Expired bool `pulumi:"expired"`
	// UTC ISO 8601 formatted point in time when the restore job expires.
	ExpiresAt string `pulumi:"expiresAt"`
	// UTC ISO 8601 formatted point in time when the restore job completed.
	FinishedAt string `pulumi:"finishedAt"`
	// The unique identifier of the restore job.
	Id                    string `pulumi:"id"`
	OplogInc              int    `pulumi:"oplogInc"`
	OplogTs               int    `pulumi:"oplogTs"`
	PointInTimeUtcSeconds int    `pulumi:"pointInTimeUtcSeconds"`
	// Unique identifier of the source snapshot ID of the restore job.
	SnapshotId string `pulumi:"snapshotId"`
	// Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
	TargetClusterName string `pulumi:"targetClusterName"`
	TargetProjectId   string `pulumi:"targetProjectId"`
	// Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
	Timestamp string `pulumi:"timestamp"`
}

type GetCloudProviderSnapshotRestoreJobsResultTypeArgs

type GetCloudProviderSnapshotRestoreJobsResultTypeArgs struct {
	// Indicates whether the restore job was canceled.
	Cancelled pulumi.BoolInput `pulumi:"cancelled"`
	// UTC ISO 8601 formatted point in time when Atlas created the restore job.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Type of restore job to create. Possible values are: automated and download.
	DeliveryType pulumi.StringInput `pulumi:"deliveryType"`
	// One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
	DeliveryUrls pulumi.StringArrayInput `pulumi:"deliveryUrls"`
	// Indicates whether the restore job expired.
	Expired pulumi.BoolInput `pulumi:"expired"`
	// UTC ISO 8601 formatted point in time when the restore job expires.
	ExpiresAt pulumi.StringInput `pulumi:"expiresAt"`
	// UTC ISO 8601 formatted point in time when the restore job completed.
	FinishedAt pulumi.StringInput `pulumi:"finishedAt"`
	// The unique identifier of the restore job.
	Id                    pulumi.StringInput `pulumi:"id"`
	OplogInc              pulumi.IntInput    `pulumi:"oplogInc"`
	OplogTs               pulumi.IntInput    `pulumi:"oplogTs"`
	PointInTimeUtcSeconds pulumi.IntInput    `pulumi:"pointInTimeUtcSeconds"`
	// Unique identifier of the source snapshot ID of the restore job.
	SnapshotId pulumi.StringInput `pulumi:"snapshotId"`
	// Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
	TargetClusterName pulumi.StringInput `pulumi:"targetClusterName"`
	TargetProjectId   pulumi.StringInput `pulumi:"targetProjectId"`
	// Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
	Timestamp pulumi.StringInput `pulumi:"timestamp"`
}

func (GetCloudProviderSnapshotRestoreJobsResultTypeArgs) ElementType

func (GetCloudProviderSnapshotRestoreJobsResultTypeArgs) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutput

func (i GetCloudProviderSnapshotRestoreJobsResultTypeArgs) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutput() GetCloudProviderSnapshotRestoreJobsResultTypeOutput

func (GetCloudProviderSnapshotRestoreJobsResultTypeArgs) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutputWithContext

func (i GetCloudProviderSnapshotRestoreJobsResultTypeArgs) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutputWithContext(ctx context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeOutput

type GetCloudProviderSnapshotRestoreJobsResultTypeArray

type GetCloudProviderSnapshotRestoreJobsResultTypeArray []GetCloudProviderSnapshotRestoreJobsResultTypeInput

func (GetCloudProviderSnapshotRestoreJobsResultTypeArray) ElementType

func (GetCloudProviderSnapshotRestoreJobsResultTypeArray) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

func (i GetCloudProviderSnapshotRestoreJobsResultTypeArray) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput() GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

func (GetCloudProviderSnapshotRestoreJobsResultTypeArray) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutputWithContext

func (i GetCloudProviderSnapshotRestoreJobsResultTypeArray) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

type GetCloudProviderSnapshotRestoreJobsResultTypeArrayInput

type GetCloudProviderSnapshotRestoreJobsResultTypeArrayInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput() GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput
	ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutputWithContext(context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput
}

GetCloudProviderSnapshotRestoreJobsResultTypeArrayInput is an input type that accepts GetCloudProviderSnapshotRestoreJobsResultTypeArray and GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotRestoreJobsResultTypeArrayInput` via:

GetCloudProviderSnapshotRestoreJobsResultTypeArray{ GetCloudProviderSnapshotRestoreJobsResultTypeArgs{...} }

type GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

type GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput) ElementType

func (GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput) Index

func (GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

func (GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutputWithContext

func (o GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeArrayOutput

type GetCloudProviderSnapshotRestoreJobsResultTypeInput

type GetCloudProviderSnapshotRestoreJobsResultTypeInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotRestoreJobsResultTypeOutput() GetCloudProviderSnapshotRestoreJobsResultTypeOutput
	ToGetCloudProviderSnapshotRestoreJobsResultTypeOutputWithContext(context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeOutput
}

GetCloudProviderSnapshotRestoreJobsResultTypeInput is an input type that accepts GetCloudProviderSnapshotRestoreJobsResultTypeArgs and GetCloudProviderSnapshotRestoreJobsResultTypeOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotRestoreJobsResultTypeInput` via:

GetCloudProviderSnapshotRestoreJobsResultTypeArgs{...}

type GetCloudProviderSnapshotRestoreJobsResultTypeOutput

type GetCloudProviderSnapshotRestoreJobsResultTypeOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) Cancelled

Indicates whether the restore job was canceled.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) CreatedAt

UTC ISO 8601 formatted point in time when Atlas created the restore job.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) DeliveryType

Type of restore job to create. Possible values are: automated and download.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) DeliveryUrls

One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ElementType

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) Expired

Indicates whether the restore job expired.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ExpiresAt

UTC ISO 8601 formatted point in time when the restore job expires.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) FinishedAt

UTC ISO 8601 formatted point in time when the restore job completed.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) Id

The unique identifier of the restore job.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) OplogInc added in v1.1.0

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) OplogTs added in v1.1.0

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) PointInTimeUtcSeconds added in v1.1.0

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) SnapshotId

Unique identifier of the source snapshot ID of the restore job.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) TargetClusterName

Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) TargetProjectId

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) Timestamp

Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutput

func (o GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutput() GetCloudProviderSnapshotRestoreJobsResultTypeOutput

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutputWithContext

func (o GetCloudProviderSnapshotRestoreJobsResultTypeOutput) ToGetCloudProviderSnapshotRestoreJobsResultTypeOutputWithContext(ctx context.Context) GetCloudProviderSnapshotRestoreJobsResultTypeOutput

type GetCloudProviderSnapshotsArgs

type GetCloudProviderSnapshotsArgs struct {
	// The name of the Atlas cluster that contains the snapshot you want to retrieve.
	ClusterName string `pulumi:"clusterName"`
	// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
	ItemsPerPage *int `pulumi:"itemsPerPage"`
	// The page to return. Defaults to `1`.
	PageNum   *int   `pulumi:"pageNum"`
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCloudProviderSnapshots.

type GetCloudProviderSnapshotsResult

type GetCloudProviderSnapshotsResult struct {
	ClusterName string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id           string `pulumi:"id"`
	ItemsPerPage *int   `pulumi:"itemsPerPage"`
	PageNum      *int   `pulumi:"pageNum"`
	ProjectId    string `pulumi:"projectId"`
	// Includes cloudProviderSnapshot object for each item detailed in the results array section.
	Results    []GetCloudProviderSnapshotsResultType `pulumi:"results"`
	TotalCount int                                   `pulumi:"totalCount"`
}

A collection of values returned by getCloudProviderSnapshots.

func GetCloudProviderSnapshots

func GetCloudProviderSnapshots(ctx *pulumi.Context, args *GetCloudProviderSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetCloudProviderSnapshotsResult, error)

`getCloudProviderSnapshots` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type GetCloudProviderSnapshotsResultType

type GetCloudProviderSnapshotsResultType struct {
	// UTC ISO 8601 formatted point in time when Atlas took the snapshot.
	CreatedAt string `pulumi:"createdAt"`
	// UDescription of the snapshot. Only present for on-demand snapshots.
	Description string `pulumi:"description"`
	// UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
	ExpiresAt string `pulumi:"expiresAt"`
	// Unique identifier of the snapshot.
	Id string `pulumi:"id"`
	// Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
	MasterKeyUuid string `pulumi:"masterKeyUuid"`
	// Version of the MongoDB server.
	MongodVersion string `pulumi:"mongodVersion"`
	// Specified the type of snapshot. Valid values are onDemand and scheduled.
	SnapshotType string `pulumi:"snapshotType"`
	// Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
	Status string `pulumi:"status"`
	// Specifies the size of the snapshot in bytes.
	StorageSizeBytes int `pulumi:"storageSizeBytes"`
	// Specifies the type of cluster: replicaSet or shardedCluster.
	Type string `pulumi:"type"`
}

type GetCloudProviderSnapshotsResultTypeArgs

type GetCloudProviderSnapshotsResultTypeArgs struct {
	// UTC ISO 8601 formatted point in time when Atlas took the snapshot.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// UDescription of the snapshot. Only present for on-demand snapshots.
	Description pulumi.StringInput `pulumi:"description"`
	// UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
	ExpiresAt pulumi.StringInput `pulumi:"expiresAt"`
	// Unique identifier of the snapshot.
	Id pulumi.StringInput `pulumi:"id"`
	// Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
	MasterKeyUuid pulumi.StringInput `pulumi:"masterKeyUuid"`
	// Version of the MongoDB server.
	MongodVersion pulumi.StringInput `pulumi:"mongodVersion"`
	// Specified the type of snapshot. Valid values are onDemand and scheduled.
	SnapshotType pulumi.StringInput `pulumi:"snapshotType"`
	// Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
	Status pulumi.StringInput `pulumi:"status"`
	// Specifies the size of the snapshot in bytes.
	StorageSizeBytes pulumi.IntInput `pulumi:"storageSizeBytes"`
	// Specifies the type of cluster: replicaSet or shardedCluster.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetCloudProviderSnapshotsResultTypeArgs) ElementType

func (GetCloudProviderSnapshotsResultTypeArgs) ToGetCloudProviderSnapshotsResultTypeOutput

func (i GetCloudProviderSnapshotsResultTypeArgs) ToGetCloudProviderSnapshotsResultTypeOutput() GetCloudProviderSnapshotsResultTypeOutput

func (GetCloudProviderSnapshotsResultTypeArgs) ToGetCloudProviderSnapshotsResultTypeOutputWithContext

func (i GetCloudProviderSnapshotsResultTypeArgs) ToGetCloudProviderSnapshotsResultTypeOutputWithContext(ctx context.Context) GetCloudProviderSnapshotsResultTypeOutput

type GetCloudProviderSnapshotsResultTypeArray

type GetCloudProviderSnapshotsResultTypeArray []GetCloudProviderSnapshotsResultTypeInput

func (GetCloudProviderSnapshotsResultTypeArray) ElementType

func (GetCloudProviderSnapshotsResultTypeArray) ToGetCloudProviderSnapshotsResultTypeArrayOutput

func (i GetCloudProviderSnapshotsResultTypeArray) ToGetCloudProviderSnapshotsResultTypeArrayOutput() GetCloudProviderSnapshotsResultTypeArrayOutput

func (GetCloudProviderSnapshotsResultTypeArray) ToGetCloudProviderSnapshotsResultTypeArrayOutputWithContext

func (i GetCloudProviderSnapshotsResultTypeArray) ToGetCloudProviderSnapshotsResultTypeArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotsResultTypeArrayOutput

type GetCloudProviderSnapshotsResultTypeArrayInput

type GetCloudProviderSnapshotsResultTypeArrayInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotsResultTypeArrayOutput() GetCloudProviderSnapshotsResultTypeArrayOutput
	ToGetCloudProviderSnapshotsResultTypeArrayOutputWithContext(context.Context) GetCloudProviderSnapshotsResultTypeArrayOutput
}

GetCloudProviderSnapshotsResultTypeArrayInput is an input type that accepts GetCloudProviderSnapshotsResultTypeArray and GetCloudProviderSnapshotsResultTypeArrayOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotsResultTypeArrayInput` via:

GetCloudProviderSnapshotsResultTypeArray{ GetCloudProviderSnapshotsResultTypeArgs{...} }

type GetCloudProviderSnapshotsResultTypeArrayOutput

type GetCloudProviderSnapshotsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotsResultTypeArrayOutput) ElementType

func (GetCloudProviderSnapshotsResultTypeArrayOutput) Index

func (GetCloudProviderSnapshotsResultTypeArrayOutput) ToGetCloudProviderSnapshotsResultTypeArrayOutput

func (o GetCloudProviderSnapshotsResultTypeArrayOutput) ToGetCloudProviderSnapshotsResultTypeArrayOutput() GetCloudProviderSnapshotsResultTypeArrayOutput

func (GetCloudProviderSnapshotsResultTypeArrayOutput) ToGetCloudProviderSnapshotsResultTypeArrayOutputWithContext

func (o GetCloudProviderSnapshotsResultTypeArrayOutput) ToGetCloudProviderSnapshotsResultTypeArrayOutputWithContext(ctx context.Context) GetCloudProviderSnapshotsResultTypeArrayOutput

type GetCloudProviderSnapshotsResultTypeInput

type GetCloudProviderSnapshotsResultTypeInput interface {
	pulumi.Input

	ToGetCloudProviderSnapshotsResultTypeOutput() GetCloudProviderSnapshotsResultTypeOutput
	ToGetCloudProviderSnapshotsResultTypeOutputWithContext(context.Context) GetCloudProviderSnapshotsResultTypeOutput
}

GetCloudProviderSnapshotsResultTypeInput is an input type that accepts GetCloudProviderSnapshotsResultTypeArgs and GetCloudProviderSnapshotsResultTypeOutput values. You can construct a concrete instance of `GetCloudProviderSnapshotsResultTypeInput` via:

GetCloudProviderSnapshotsResultTypeArgs{...}

type GetCloudProviderSnapshotsResultTypeOutput

type GetCloudProviderSnapshotsResultTypeOutput struct{ *pulumi.OutputState }

func (GetCloudProviderSnapshotsResultTypeOutput) CreatedAt

UTC ISO 8601 formatted point in time when Atlas took the snapshot.

func (GetCloudProviderSnapshotsResultTypeOutput) Description

UDescription of the snapshot. Only present for on-demand snapshots.

func (GetCloudProviderSnapshotsResultTypeOutput) ElementType

func (GetCloudProviderSnapshotsResultTypeOutput) ExpiresAt

UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.

func (GetCloudProviderSnapshotsResultTypeOutput) Id

Unique identifier of the snapshot.

func (GetCloudProviderSnapshotsResultTypeOutput) MasterKeyUuid

Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.

func (GetCloudProviderSnapshotsResultTypeOutput) MongodVersion

Version of the MongoDB server.

func (GetCloudProviderSnapshotsResultTypeOutput) SnapshotType

Specified the type of snapshot. Valid values are onDemand and scheduled.

func (GetCloudProviderSnapshotsResultTypeOutput) Status

Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.

func (GetCloudProviderSnapshotsResultTypeOutput) StorageSizeBytes

Specifies the size of the snapshot in bytes.

func (GetCloudProviderSnapshotsResultTypeOutput) ToGetCloudProviderSnapshotsResultTypeOutput

func (o GetCloudProviderSnapshotsResultTypeOutput) ToGetCloudProviderSnapshotsResultTypeOutput() GetCloudProviderSnapshotsResultTypeOutput

func (GetCloudProviderSnapshotsResultTypeOutput) ToGetCloudProviderSnapshotsResultTypeOutputWithContext

func (o GetCloudProviderSnapshotsResultTypeOutput) ToGetCloudProviderSnapshotsResultTypeOutputWithContext(ctx context.Context) GetCloudProviderSnapshotsResultTypeOutput

func (GetCloudProviderSnapshotsResultTypeOutput) Type

Specifies the type of cluster: replicaSet or shardedCluster.

type GetClusterBiConnector

type GetClusterBiConnector struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled string `pulumi:"enabled"`
	// Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference string `pulumi:"readPreference"`
}

type GetClusterBiConnectorArgs

type GetClusterBiConnectorArgs struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled pulumi.StringInput `pulumi:"enabled"`
	// Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference pulumi.StringInput `pulumi:"readPreference"`
}

func (GetClusterBiConnectorArgs) ElementType

func (GetClusterBiConnectorArgs) ElementType() reflect.Type

func (GetClusterBiConnectorArgs) ToGetClusterBiConnectorOutput

func (i GetClusterBiConnectorArgs) ToGetClusterBiConnectorOutput() GetClusterBiConnectorOutput

func (GetClusterBiConnectorArgs) ToGetClusterBiConnectorOutputWithContext

func (i GetClusterBiConnectorArgs) ToGetClusterBiConnectorOutputWithContext(ctx context.Context) GetClusterBiConnectorOutput

type GetClusterBiConnectorInput

type GetClusterBiConnectorInput interface {
	pulumi.Input

	ToGetClusterBiConnectorOutput() GetClusterBiConnectorOutput
	ToGetClusterBiConnectorOutputWithContext(context.Context) GetClusterBiConnectorOutput
}

GetClusterBiConnectorInput is an input type that accepts GetClusterBiConnectorArgs and GetClusterBiConnectorOutput values. You can construct a concrete instance of `GetClusterBiConnectorInput` via:

GetClusterBiConnectorArgs{...}

type GetClusterBiConnectorOutput

type GetClusterBiConnectorOutput struct{ *pulumi.OutputState }

func (GetClusterBiConnectorOutput) ElementType

func (GetClusterBiConnectorOutput) Enabled

Indicates whether or not BI Connector for Atlas is enabled on the cluster.

func (GetClusterBiConnectorOutput) ReadPreference

func (o GetClusterBiConnectorOutput) ReadPreference() pulumi.StringOutput

Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).

func (GetClusterBiConnectorOutput) ToGetClusterBiConnectorOutput

func (o GetClusterBiConnectorOutput) ToGetClusterBiConnectorOutput() GetClusterBiConnectorOutput

func (GetClusterBiConnectorOutput) ToGetClusterBiConnectorOutputWithContext

func (o GetClusterBiConnectorOutput) ToGetClusterBiConnectorOutputWithContext(ctx context.Context) GetClusterBiConnectorOutput

type GetClusterConnectionStrings

type GetClusterConnectionStrings struct {
	AwsPrivateLink    map[string]interface{}                       `pulumi:"awsPrivateLink"`
	AwsPrivateLinkSrv map[string]interface{}                       `pulumi:"awsPrivateLinkSrv"`
	Private           string                                       `pulumi:"private"`
	PrivateEndpoints  []GetClusterConnectionStringsPrivateEndpoint `pulumi:"privateEndpoints"`
	PrivateSrv        string                                       `pulumi:"privateSrv"`
	Standard          string                                       `pulumi:"standard"`
	StandardSrv       string                                       `pulumi:"standardSrv"`
}

type GetClusterConnectionStringsArgs

type GetClusterConnectionStringsArgs struct {
	AwsPrivateLink    pulumi.MapInput                                      `pulumi:"awsPrivateLink"`
	AwsPrivateLinkSrv pulumi.MapInput                                      `pulumi:"awsPrivateLinkSrv"`
	Private           pulumi.StringInput                                   `pulumi:"private"`
	PrivateEndpoints  GetClusterConnectionStringsPrivateEndpointArrayInput `pulumi:"privateEndpoints"`
	PrivateSrv        pulumi.StringInput                                   `pulumi:"privateSrv"`
	Standard          pulumi.StringInput                                   `pulumi:"standard"`
	StandardSrv       pulumi.StringInput                                   `pulumi:"standardSrv"`
}

func (GetClusterConnectionStringsArgs) ElementType

func (GetClusterConnectionStringsArgs) ToGetClusterConnectionStringsOutput

func (i GetClusterConnectionStringsArgs) ToGetClusterConnectionStringsOutput() GetClusterConnectionStringsOutput

func (GetClusterConnectionStringsArgs) ToGetClusterConnectionStringsOutputWithContext

func (i GetClusterConnectionStringsArgs) ToGetClusterConnectionStringsOutputWithContext(ctx context.Context) GetClusterConnectionStringsOutput

type GetClusterConnectionStringsInput

type GetClusterConnectionStringsInput interface {
	pulumi.Input

	ToGetClusterConnectionStringsOutput() GetClusterConnectionStringsOutput
	ToGetClusterConnectionStringsOutputWithContext(context.Context) GetClusterConnectionStringsOutput
}

GetClusterConnectionStringsInput is an input type that accepts GetClusterConnectionStringsArgs and GetClusterConnectionStringsOutput values. You can construct a concrete instance of `GetClusterConnectionStringsInput` via:

GetClusterConnectionStringsArgs{...}

type GetClusterConnectionStringsOutput

type GetClusterConnectionStringsOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsOutput) AwsPrivateLinkSrv

func (o GetClusterConnectionStringsOutput) AwsPrivateLinkSrv() pulumi.MapOutput

func (GetClusterConnectionStringsOutput) ElementType

func (GetClusterConnectionStringsOutput) Private

func (GetClusterConnectionStringsOutput) PrivateEndpoints added in v1.5.1

func (GetClusterConnectionStringsOutput) PrivateSrv

func (GetClusterConnectionStringsOutput) Standard

func (GetClusterConnectionStringsOutput) StandardSrv

func (GetClusterConnectionStringsOutput) ToGetClusterConnectionStringsOutput

func (o GetClusterConnectionStringsOutput) ToGetClusterConnectionStringsOutput() GetClusterConnectionStringsOutput

func (GetClusterConnectionStringsOutput) ToGetClusterConnectionStringsOutputWithContext

func (o GetClusterConnectionStringsOutput) ToGetClusterConnectionStringsOutputWithContext(ctx context.Context) GetClusterConnectionStringsOutput

type GetClusterConnectionStringsPrivateEndpoint added in v1.5.1

type GetClusterConnectionStringsPrivateEndpoint struct {
	ConnectionString    string                                               `pulumi:"connectionString"`
	Endpoints           []GetClusterConnectionStringsPrivateEndpointEndpoint `pulumi:"endpoints"`
	SrvConnectionString string                                               `pulumi:"srvConnectionString"`
	Type                string                                               `pulumi:"type"`
}

type GetClusterConnectionStringsPrivateEndpointArgs added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointArgs struct {
	ConnectionString    pulumi.StringInput                                           `pulumi:"connectionString"`
	Endpoints           GetClusterConnectionStringsPrivateEndpointEndpointArrayInput `pulumi:"endpoints"`
	SrvConnectionString pulumi.StringInput                                           `pulumi:"srvConnectionString"`
	Type                pulumi.StringInput                                           `pulumi:"type"`
}

func (GetClusterConnectionStringsPrivateEndpointArgs) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutput() GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointOutput

type GetClusterConnectionStringsPrivateEndpointArray added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointArray []GetClusterConnectionStringsPrivateEndpointInput

func (GetClusterConnectionStringsPrivateEndpointArray) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointArrayInput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointArrayInput interface {
	pulumi.Input

	ToGetClusterConnectionStringsPrivateEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointArrayOutput
	ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext(context.Context) GetClusterConnectionStringsPrivateEndpointArrayOutput
}

GetClusterConnectionStringsPrivateEndpointArrayInput is an input type that accepts GetClusterConnectionStringsPrivateEndpointArray and GetClusterConnectionStringsPrivateEndpointArrayOutput values. You can construct a concrete instance of `GetClusterConnectionStringsPrivateEndpointArrayInput` via:

GetClusterConnectionStringsPrivateEndpointArray{ GetClusterConnectionStringsPrivateEndpointArgs{...} }

type GetClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) Index added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (o GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpoint added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpoint struct {
	EndpointId string `pulumi:"endpointId"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName string `pulumi:"providerName"`
	Region       string `pulumi:"region"`
}

type GetClusterConnectionStringsPrivateEndpointEndpointArgs added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointArgs struct {
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	Region       pulumi.StringInput `pulumi:"region"`
}

func (GetClusterConnectionStringsPrivateEndpointEndpointArgs) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointOutput

type GetClusterConnectionStringsPrivateEndpointEndpointArray added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointArray []GetClusterConnectionStringsPrivateEndpointEndpointInput

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (i GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpointArrayInput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointArrayInput interface {
	pulumi.Input

	ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput
	ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(context.Context) GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput
}

GetClusterConnectionStringsPrivateEndpointEndpointArrayInput is an input type that accepts GetClusterConnectionStringsPrivateEndpointEndpointArray and GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput values. You can construct a concrete instance of `GetClusterConnectionStringsPrivateEndpointEndpointArrayInput` via:

GetClusterConnectionStringsPrivateEndpointEndpointArray{ GetClusterConnectionStringsPrivateEndpointEndpointArgs{...} }

type GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) Index added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (o GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpointInput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointInput interface {
	pulumi.Input

	ToGetClusterConnectionStringsPrivateEndpointEndpointOutput() GetClusterConnectionStringsPrivateEndpointEndpointOutput
	ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(context.Context) GetClusterConnectionStringsPrivateEndpointEndpointOutput
}

GetClusterConnectionStringsPrivateEndpointEndpointInput is an input type that accepts GetClusterConnectionStringsPrivateEndpointEndpointArgs and GetClusterConnectionStringsPrivateEndpointEndpointOutput values. You can construct a concrete instance of `GetClusterConnectionStringsPrivateEndpointEndpointInput` via:

GetClusterConnectionStringsPrivateEndpointEndpointArgs{...}

type GetClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) EndpointId added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ProviderName added in v1.5.1

Indicates the cloud service provider on which the servers are provisioned.

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) Region added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (o GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointOutput

type GetClusterConnectionStringsPrivateEndpointInput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointInput interface {
	pulumi.Input

	ToGetClusterConnectionStringsPrivateEndpointOutput() GetClusterConnectionStringsPrivateEndpointOutput
	ToGetClusterConnectionStringsPrivateEndpointOutputWithContext(context.Context) GetClusterConnectionStringsPrivateEndpointOutput
}

GetClusterConnectionStringsPrivateEndpointInput is an input type that accepts GetClusterConnectionStringsPrivateEndpointArgs and GetClusterConnectionStringsPrivateEndpointOutput values. You can construct a concrete instance of `GetClusterConnectionStringsPrivateEndpointInput` via:

GetClusterConnectionStringsPrivateEndpointArgs{...}

type GetClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

type GetClusterConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointOutput) ConnectionString added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointOutput) ElementType added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointOutput) Endpoints added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointOutput) SrvConnectionString added in v1.5.1

func (GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutput added in v1.5.1

func (o GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutput() GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (o GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointOutput) Type added in v1.5.1

type GetClusterLabel

type GetClusterLabel struct {
	// The key that was set.
	Key string `pulumi:"key"`
	// The value that represents the key.
	Value string `pulumi:"value"`
}

type GetClusterLabelArgs

type GetClusterLabelArgs struct {
	// The key that was set.
	Key pulumi.StringInput `pulumi:"key"`
	// The value that represents the key.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetClusterLabelArgs) ElementType

func (GetClusterLabelArgs) ElementType() reflect.Type

func (GetClusterLabelArgs) ToGetClusterLabelOutput

func (i GetClusterLabelArgs) ToGetClusterLabelOutput() GetClusterLabelOutput

func (GetClusterLabelArgs) ToGetClusterLabelOutputWithContext

func (i GetClusterLabelArgs) ToGetClusterLabelOutputWithContext(ctx context.Context) GetClusterLabelOutput

type GetClusterLabelArray

type GetClusterLabelArray []GetClusterLabelInput

func (GetClusterLabelArray) ElementType

func (GetClusterLabelArray) ElementType() reflect.Type

func (GetClusterLabelArray) ToGetClusterLabelArrayOutput

func (i GetClusterLabelArray) ToGetClusterLabelArrayOutput() GetClusterLabelArrayOutput

func (GetClusterLabelArray) ToGetClusterLabelArrayOutputWithContext

func (i GetClusterLabelArray) ToGetClusterLabelArrayOutputWithContext(ctx context.Context) GetClusterLabelArrayOutput

type GetClusterLabelArrayInput

type GetClusterLabelArrayInput interface {
	pulumi.Input

	ToGetClusterLabelArrayOutput() GetClusterLabelArrayOutput
	ToGetClusterLabelArrayOutputWithContext(context.Context) GetClusterLabelArrayOutput
}

GetClusterLabelArrayInput is an input type that accepts GetClusterLabelArray and GetClusterLabelArrayOutput values. You can construct a concrete instance of `GetClusterLabelArrayInput` via:

GetClusterLabelArray{ GetClusterLabelArgs{...} }

type GetClusterLabelArrayOutput

type GetClusterLabelArrayOutput struct{ *pulumi.OutputState }

func (GetClusterLabelArrayOutput) ElementType

func (GetClusterLabelArrayOutput) ElementType() reflect.Type

func (GetClusterLabelArrayOutput) Index

func (GetClusterLabelArrayOutput) ToGetClusterLabelArrayOutput

func (o GetClusterLabelArrayOutput) ToGetClusterLabelArrayOutput() GetClusterLabelArrayOutput

func (GetClusterLabelArrayOutput) ToGetClusterLabelArrayOutputWithContext

func (o GetClusterLabelArrayOutput) ToGetClusterLabelArrayOutputWithContext(ctx context.Context) GetClusterLabelArrayOutput

type GetClusterLabelInput

type GetClusterLabelInput interface {
	pulumi.Input

	ToGetClusterLabelOutput() GetClusterLabelOutput
	ToGetClusterLabelOutputWithContext(context.Context) GetClusterLabelOutput
}

GetClusterLabelInput is an input type that accepts GetClusterLabelArgs and GetClusterLabelOutput values. You can construct a concrete instance of `GetClusterLabelInput` via:

GetClusterLabelArgs{...}

type GetClusterLabelOutput

type GetClusterLabelOutput struct{ *pulumi.OutputState }

func (GetClusterLabelOutput) ElementType

func (GetClusterLabelOutput) ElementType() reflect.Type

func (GetClusterLabelOutput) Key

The key that was set.

func (GetClusterLabelOutput) ToGetClusterLabelOutput

func (o GetClusterLabelOutput) ToGetClusterLabelOutput() GetClusterLabelOutput

func (GetClusterLabelOutput) ToGetClusterLabelOutputWithContext

func (o GetClusterLabelOutput) ToGetClusterLabelOutputWithContext(ctx context.Context) GetClusterLabelOutput

func (GetClusterLabelOutput) Value

The value that represents the key.

type GetClusterReplicationSpec

type GetClusterReplicationSpec struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id string `pulumi:"id"`
	// Number of shards to deploy in the specified zone.
	NumShards int `pulumi:"numShards"`
	// Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs []GetClusterReplicationSpecRegionsConfig `pulumi:"regionsConfigs"`
	// Indicates the n ame for the zone in a Global Cluster.
	ZoneName string `pulumi:"zoneName"`
}

type GetClusterReplicationSpecArgs

type GetClusterReplicationSpecArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// Number of shards to deploy in the specified zone.
	NumShards pulumi.IntInput `pulumi:"numShards"`
	// Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs GetClusterReplicationSpecRegionsConfigArrayInput `pulumi:"regionsConfigs"`
	// Indicates the n ame for the zone in a Global Cluster.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

func (GetClusterReplicationSpecArgs) ElementType

func (GetClusterReplicationSpecArgs) ToGetClusterReplicationSpecOutput

func (i GetClusterReplicationSpecArgs) ToGetClusterReplicationSpecOutput() GetClusterReplicationSpecOutput

func (GetClusterReplicationSpecArgs) ToGetClusterReplicationSpecOutputWithContext

func (i GetClusterReplicationSpecArgs) ToGetClusterReplicationSpecOutputWithContext(ctx context.Context) GetClusterReplicationSpecOutput

type GetClusterReplicationSpecArray

type GetClusterReplicationSpecArray []GetClusterReplicationSpecInput

func (GetClusterReplicationSpecArray) ElementType

func (GetClusterReplicationSpecArray) ToGetClusterReplicationSpecArrayOutput

func (i GetClusterReplicationSpecArray) ToGetClusterReplicationSpecArrayOutput() GetClusterReplicationSpecArrayOutput

func (GetClusterReplicationSpecArray) ToGetClusterReplicationSpecArrayOutputWithContext

func (i GetClusterReplicationSpecArray) ToGetClusterReplicationSpecArrayOutputWithContext(ctx context.Context) GetClusterReplicationSpecArrayOutput

type GetClusterReplicationSpecArrayInput

type GetClusterReplicationSpecArrayInput interface {
	pulumi.Input

	ToGetClusterReplicationSpecArrayOutput() GetClusterReplicationSpecArrayOutput
	ToGetClusterReplicationSpecArrayOutputWithContext(context.Context) GetClusterReplicationSpecArrayOutput
}

GetClusterReplicationSpecArrayInput is an input type that accepts GetClusterReplicationSpecArray and GetClusterReplicationSpecArrayOutput values. You can construct a concrete instance of `GetClusterReplicationSpecArrayInput` via:

GetClusterReplicationSpecArray{ GetClusterReplicationSpecArgs{...} }

type GetClusterReplicationSpecArrayOutput

type GetClusterReplicationSpecArrayOutput struct{ *pulumi.OutputState }

func (GetClusterReplicationSpecArrayOutput) ElementType

func (GetClusterReplicationSpecArrayOutput) Index

func (GetClusterReplicationSpecArrayOutput) ToGetClusterReplicationSpecArrayOutput

func (o GetClusterReplicationSpecArrayOutput) ToGetClusterReplicationSpecArrayOutput() GetClusterReplicationSpecArrayOutput

func (GetClusterReplicationSpecArrayOutput) ToGetClusterReplicationSpecArrayOutputWithContext

func (o GetClusterReplicationSpecArrayOutput) ToGetClusterReplicationSpecArrayOutputWithContext(ctx context.Context) GetClusterReplicationSpecArrayOutput

type GetClusterReplicationSpecInput

type GetClusterReplicationSpecInput interface {
	pulumi.Input

	ToGetClusterReplicationSpecOutput() GetClusterReplicationSpecOutput
	ToGetClusterReplicationSpecOutputWithContext(context.Context) GetClusterReplicationSpecOutput
}

GetClusterReplicationSpecInput is an input type that accepts GetClusterReplicationSpecArgs and GetClusterReplicationSpecOutput values. You can construct a concrete instance of `GetClusterReplicationSpecInput` via:

GetClusterReplicationSpecArgs{...}

type GetClusterReplicationSpecOutput

type GetClusterReplicationSpecOutput struct{ *pulumi.OutputState }

func (GetClusterReplicationSpecOutput) ElementType

func (GetClusterReplicationSpecOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClusterReplicationSpecOutput) NumShards

Number of shards to deploy in the specified zone.

func (GetClusterReplicationSpecOutput) RegionsConfigs

Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.

func (GetClusterReplicationSpecOutput) ToGetClusterReplicationSpecOutput

func (o GetClusterReplicationSpecOutput) ToGetClusterReplicationSpecOutput() GetClusterReplicationSpecOutput

func (GetClusterReplicationSpecOutput) ToGetClusterReplicationSpecOutputWithContext

func (o GetClusterReplicationSpecOutput) ToGetClusterReplicationSpecOutputWithContext(ctx context.Context) GetClusterReplicationSpecOutput

func (GetClusterReplicationSpecOutput) ZoneName

Indicates the n ame for the zone in a Global Cluster.

type GetClusterReplicationSpecRegionsConfig

type GetClusterReplicationSpecRegionsConfig struct {
	// Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
	AnalyticsNodes int `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region.
	ElectableNodes int `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	Priority int `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes int `pulumi:"readOnlyNodes"`
	// Name for the region specified.
	RegionName string `pulumi:"regionName"`
}

type GetClusterReplicationSpecRegionsConfigArgs

type GetClusterReplicationSpecRegionsConfigArgs struct {
	// Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
	AnalyticsNodes pulumi.IntInput `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region.
	ElectableNodes pulumi.IntInput `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	Priority pulumi.IntInput `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes pulumi.IntInput `pulumi:"readOnlyNodes"`
	// Name for the region specified.
	RegionName pulumi.StringInput `pulumi:"regionName"`
}

func (GetClusterReplicationSpecRegionsConfigArgs) ElementType

func (GetClusterReplicationSpecRegionsConfigArgs) ToGetClusterReplicationSpecRegionsConfigOutput

func (i GetClusterReplicationSpecRegionsConfigArgs) ToGetClusterReplicationSpecRegionsConfigOutput() GetClusterReplicationSpecRegionsConfigOutput

func (GetClusterReplicationSpecRegionsConfigArgs) ToGetClusterReplicationSpecRegionsConfigOutputWithContext

func (i GetClusterReplicationSpecRegionsConfigArgs) ToGetClusterReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) GetClusterReplicationSpecRegionsConfigOutput

type GetClusterReplicationSpecRegionsConfigArray

type GetClusterReplicationSpecRegionsConfigArray []GetClusterReplicationSpecRegionsConfigInput

func (GetClusterReplicationSpecRegionsConfigArray) ElementType

func (GetClusterReplicationSpecRegionsConfigArray) ToGetClusterReplicationSpecRegionsConfigArrayOutput

func (i GetClusterReplicationSpecRegionsConfigArray) ToGetClusterReplicationSpecRegionsConfigArrayOutput() GetClusterReplicationSpecRegionsConfigArrayOutput

func (GetClusterReplicationSpecRegionsConfigArray) ToGetClusterReplicationSpecRegionsConfigArrayOutputWithContext

func (i GetClusterReplicationSpecRegionsConfigArray) ToGetClusterReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) GetClusterReplicationSpecRegionsConfigArrayOutput

type GetClusterReplicationSpecRegionsConfigArrayInput

type GetClusterReplicationSpecRegionsConfigArrayInput interface {
	pulumi.Input

	ToGetClusterReplicationSpecRegionsConfigArrayOutput() GetClusterReplicationSpecRegionsConfigArrayOutput
	ToGetClusterReplicationSpecRegionsConfigArrayOutputWithContext(context.Context) GetClusterReplicationSpecRegionsConfigArrayOutput
}

GetClusterReplicationSpecRegionsConfigArrayInput is an input type that accepts GetClusterReplicationSpecRegionsConfigArray and GetClusterReplicationSpecRegionsConfigArrayOutput values. You can construct a concrete instance of `GetClusterReplicationSpecRegionsConfigArrayInput` via:

GetClusterReplicationSpecRegionsConfigArray{ GetClusterReplicationSpecRegionsConfigArgs{...} }

type GetClusterReplicationSpecRegionsConfigArrayOutput

type GetClusterReplicationSpecRegionsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetClusterReplicationSpecRegionsConfigArrayOutput) ElementType

func (GetClusterReplicationSpecRegionsConfigArrayOutput) Index

func (GetClusterReplicationSpecRegionsConfigArrayOutput) ToGetClusterReplicationSpecRegionsConfigArrayOutput

func (o GetClusterReplicationSpecRegionsConfigArrayOutput) ToGetClusterReplicationSpecRegionsConfigArrayOutput() GetClusterReplicationSpecRegionsConfigArrayOutput

func (GetClusterReplicationSpecRegionsConfigArrayOutput) ToGetClusterReplicationSpecRegionsConfigArrayOutputWithContext

func (o GetClusterReplicationSpecRegionsConfigArrayOutput) ToGetClusterReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) GetClusterReplicationSpecRegionsConfigArrayOutput

type GetClusterReplicationSpecRegionsConfigInput

type GetClusterReplicationSpecRegionsConfigInput interface {
	pulumi.Input

	ToGetClusterReplicationSpecRegionsConfigOutput() GetClusterReplicationSpecRegionsConfigOutput
	ToGetClusterReplicationSpecRegionsConfigOutputWithContext(context.Context) GetClusterReplicationSpecRegionsConfigOutput
}

GetClusterReplicationSpecRegionsConfigInput is an input type that accepts GetClusterReplicationSpecRegionsConfigArgs and GetClusterReplicationSpecRegionsConfigOutput values. You can construct a concrete instance of `GetClusterReplicationSpecRegionsConfigInput` via:

GetClusterReplicationSpecRegionsConfigArgs{...}

type GetClusterReplicationSpecRegionsConfigOutput

type GetClusterReplicationSpecRegionsConfigOutput struct{ *pulumi.OutputState }

func (GetClusterReplicationSpecRegionsConfigOutput) AnalyticsNodes

Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.

func (GetClusterReplicationSpecRegionsConfigOutput) ElectableNodes

Number of electable nodes for Atlas to deploy to the region.

func (GetClusterReplicationSpecRegionsConfigOutput) ElementType

func (GetClusterReplicationSpecRegionsConfigOutput) Priority

Election priority of the region. For regions with only read-only nodes, set this value to 0.

func (GetClusterReplicationSpecRegionsConfigOutput) ReadOnlyNodes

Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.

func (GetClusterReplicationSpecRegionsConfigOutput) RegionName

Name for the region specified.

func (GetClusterReplicationSpecRegionsConfigOutput) ToGetClusterReplicationSpecRegionsConfigOutput

func (o GetClusterReplicationSpecRegionsConfigOutput) ToGetClusterReplicationSpecRegionsConfigOutput() GetClusterReplicationSpecRegionsConfigOutput

func (GetClusterReplicationSpecRegionsConfigOutput) ToGetClusterReplicationSpecRegionsConfigOutputWithContext

func (o GetClusterReplicationSpecRegionsConfigOutput) ToGetClusterReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) GetClusterReplicationSpecRegionsConfigOutput

type GetClusterSnapshotBackupPolicy

type GetClusterSnapshotBackupPolicy struct {
	ClusterId             string                                 `pulumi:"clusterId"`
	ClusterName           string                                 `pulumi:"clusterName"`
	NextSnapshot          string                                 `pulumi:"nextSnapshot"`
	Policies              []GetClusterSnapshotBackupPolicyPolicy `pulumi:"policies"`
	ReferenceHourOfDay    int                                    `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour int                                    `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     int                                    `pulumi:"restoreWindowDays"`
	UpdateSnapshots       bool                                   `pulumi:"updateSnapshots"`
}

type GetClusterSnapshotBackupPolicyArgs

type GetClusterSnapshotBackupPolicyArgs struct {
	ClusterId             pulumi.StringInput                             `pulumi:"clusterId"`
	ClusterName           pulumi.StringInput                             `pulumi:"clusterName"`
	NextSnapshot          pulumi.StringInput                             `pulumi:"nextSnapshot"`
	Policies              GetClusterSnapshotBackupPolicyPolicyArrayInput `pulumi:"policies"`
	ReferenceHourOfDay    pulumi.IntInput                                `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour pulumi.IntInput                                `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     pulumi.IntInput                                `pulumi:"restoreWindowDays"`
	UpdateSnapshots       pulumi.BoolInput                               `pulumi:"updateSnapshots"`
}

func (GetClusterSnapshotBackupPolicyArgs) ElementType

func (GetClusterSnapshotBackupPolicyArgs) ToGetClusterSnapshotBackupPolicyOutput

func (i GetClusterSnapshotBackupPolicyArgs) ToGetClusterSnapshotBackupPolicyOutput() GetClusterSnapshotBackupPolicyOutput

func (GetClusterSnapshotBackupPolicyArgs) ToGetClusterSnapshotBackupPolicyOutputWithContext

func (i GetClusterSnapshotBackupPolicyArgs) ToGetClusterSnapshotBackupPolicyOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyOutput

type GetClusterSnapshotBackupPolicyArray

type GetClusterSnapshotBackupPolicyArray []GetClusterSnapshotBackupPolicyInput

func (GetClusterSnapshotBackupPolicyArray) ElementType

func (GetClusterSnapshotBackupPolicyArray) ToGetClusterSnapshotBackupPolicyArrayOutput

func (i GetClusterSnapshotBackupPolicyArray) ToGetClusterSnapshotBackupPolicyArrayOutput() GetClusterSnapshotBackupPolicyArrayOutput

func (GetClusterSnapshotBackupPolicyArray) ToGetClusterSnapshotBackupPolicyArrayOutputWithContext

func (i GetClusterSnapshotBackupPolicyArray) ToGetClusterSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyArrayOutput

type GetClusterSnapshotBackupPolicyArrayInput

type GetClusterSnapshotBackupPolicyArrayInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyArrayOutput() GetClusterSnapshotBackupPolicyArrayOutput
	ToGetClusterSnapshotBackupPolicyArrayOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyArrayOutput
}

GetClusterSnapshotBackupPolicyArrayInput is an input type that accepts GetClusterSnapshotBackupPolicyArray and GetClusterSnapshotBackupPolicyArrayOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyArrayInput` via:

GetClusterSnapshotBackupPolicyArray{ GetClusterSnapshotBackupPolicyArgs{...} }

type GetClusterSnapshotBackupPolicyArrayOutput

type GetClusterSnapshotBackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyArrayOutput) ElementType

func (GetClusterSnapshotBackupPolicyArrayOutput) Index

func (GetClusterSnapshotBackupPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyArrayOutput

func (o GetClusterSnapshotBackupPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyArrayOutput() GetClusterSnapshotBackupPolicyArrayOutput

func (GetClusterSnapshotBackupPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyArrayOutputWithContext

func (o GetClusterSnapshotBackupPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyArrayOutput

type GetClusterSnapshotBackupPolicyInput

type GetClusterSnapshotBackupPolicyInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyOutput() GetClusterSnapshotBackupPolicyOutput
	ToGetClusterSnapshotBackupPolicyOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyOutput
}

GetClusterSnapshotBackupPolicyInput is an input type that accepts GetClusterSnapshotBackupPolicyArgs and GetClusterSnapshotBackupPolicyOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyInput` via:

GetClusterSnapshotBackupPolicyArgs{...}

type GetClusterSnapshotBackupPolicyOutput

type GetClusterSnapshotBackupPolicyOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyOutput) ClusterId

func (GetClusterSnapshotBackupPolicyOutput) ClusterName

func (GetClusterSnapshotBackupPolicyOutput) ElementType

func (GetClusterSnapshotBackupPolicyOutput) NextSnapshot

func (GetClusterSnapshotBackupPolicyOutput) Policies

func (GetClusterSnapshotBackupPolicyOutput) ReferenceHourOfDay

func (o GetClusterSnapshotBackupPolicyOutput) ReferenceHourOfDay() pulumi.IntOutput

func (GetClusterSnapshotBackupPolicyOutput) ReferenceMinuteOfHour

func (o GetClusterSnapshotBackupPolicyOutput) ReferenceMinuteOfHour() pulumi.IntOutput

func (GetClusterSnapshotBackupPolicyOutput) RestoreWindowDays

func (GetClusterSnapshotBackupPolicyOutput) ToGetClusterSnapshotBackupPolicyOutput

func (o GetClusterSnapshotBackupPolicyOutput) ToGetClusterSnapshotBackupPolicyOutput() GetClusterSnapshotBackupPolicyOutput

func (GetClusterSnapshotBackupPolicyOutput) ToGetClusterSnapshotBackupPolicyOutputWithContext

func (o GetClusterSnapshotBackupPolicyOutput) ToGetClusterSnapshotBackupPolicyOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyOutput

func (GetClusterSnapshotBackupPolicyOutput) UpdateSnapshots

type GetClusterSnapshotBackupPolicyPolicy

type GetClusterSnapshotBackupPolicyPolicy struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          string                                           `pulumi:"id"`
	PolicyItems []GetClusterSnapshotBackupPolicyPolicyPolicyItem `pulumi:"policyItems"`
}

type GetClusterSnapshotBackupPolicyPolicyArgs

type GetClusterSnapshotBackupPolicyPolicyArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          pulumi.StringInput                                       `pulumi:"id"`
	PolicyItems GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput `pulumi:"policyItems"`
}

func (GetClusterSnapshotBackupPolicyPolicyArgs) ElementType

func (GetClusterSnapshotBackupPolicyPolicyArgs) ToGetClusterSnapshotBackupPolicyPolicyOutput

func (i GetClusterSnapshotBackupPolicyPolicyArgs) ToGetClusterSnapshotBackupPolicyPolicyOutput() GetClusterSnapshotBackupPolicyPolicyOutput

func (GetClusterSnapshotBackupPolicyPolicyArgs) ToGetClusterSnapshotBackupPolicyPolicyOutputWithContext

func (i GetClusterSnapshotBackupPolicyPolicyArgs) ToGetClusterSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyOutput

type GetClusterSnapshotBackupPolicyPolicyArray

type GetClusterSnapshotBackupPolicyPolicyArray []GetClusterSnapshotBackupPolicyPolicyInput

func (GetClusterSnapshotBackupPolicyPolicyArray) ElementType

func (GetClusterSnapshotBackupPolicyPolicyArray) ToGetClusterSnapshotBackupPolicyPolicyArrayOutput

func (i GetClusterSnapshotBackupPolicyPolicyArray) ToGetClusterSnapshotBackupPolicyPolicyArrayOutput() GetClusterSnapshotBackupPolicyPolicyArrayOutput

func (GetClusterSnapshotBackupPolicyPolicyArray) ToGetClusterSnapshotBackupPolicyPolicyArrayOutputWithContext

func (i GetClusterSnapshotBackupPolicyPolicyArray) ToGetClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyArrayOutput

type GetClusterSnapshotBackupPolicyPolicyArrayInput

type GetClusterSnapshotBackupPolicyPolicyArrayInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyPolicyArrayOutput() GetClusterSnapshotBackupPolicyPolicyArrayOutput
	ToGetClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyPolicyArrayOutput
}

GetClusterSnapshotBackupPolicyPolicyArrayInput is an input type that accepts GetClusterSnapshotBackupPolicyPolicyArray and GetClusterSnapshotBackupPolicyPolicyArrayOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyPolicyArrayInput` via:

GetClusterSnapshotBackupPolicyPolicyArray{ GetClusterSnapshotBackupPolicyPolicyArgs{...} }

type GetClusterSnapshotBackupPolicyPolicyArrayOutput

type GetClusterSnapshotBackupPolicyPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyPolicyArrayOutput) ElementType

func (GetClusterSnapshotBackupPolicyPolicyArrayOutput) Index

func (GetClusterSnapshotBackupPolicyPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyArrayOutput

func (o GetClusterSnapshotBackupPolicyPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyArrayOutput() GetClusterSnapshotBackupPolicyPolicyArrayOutput

func (GetClusterSnapshotBackupPolicyPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyArrayOutputWithContext

func (o GetClusterSnapshotBackupPolicyPolicyArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyArrayOutput

type GetClusterSnapshotBackupPolicyPolicyInput

type GetClusterSnapshotBackupPolicyPolicyInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyPolicyOutput() GetClusterSnapshotBackupPolicyPolicyOutput
	ToGetClusterSnapshotBackupPolicyPolicyOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyPolicyOutput
}

GetClusterSnapshotBackupPolicyPolicyInput is an input type that accepts GetClusterSnapshotBackupPolicyPolicyArgs and GetClusterSnapshotBackupPolicyPolicyOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyPolicyInput` via:

GetClusterSnapshotBackupPolicyPolicyArgs{...}

type GetClusterSnapshotBackupPolicyPolicyOutput

type GetClusterSnapshotBackupPolicyPolicyOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyPolicyOutput) ElementType

func (GetClusterSnapshotBackupPolicyPolicyOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClusterSnapshotBackupPolicyPolicyOutput) PolicyItems

func (GetClusterSnapshotBackupPolicyPolicyOutput) ToGetClusterSnapshotBackupPolicyPolicyOutput

func (o GetClusterSnapshotBackupPolicyPolicyOutput) ToGetClusterSnapshotBackupPolicyPolicyOutput() GetClusterSnapshotBackupPolicyPolicyOutput

func (GetClusterSnapshotBackupPolicyPolicyOutput) ToGetClusterSnapshotBackupPolicyPolicyOutputWithContext

func (o GetClusterSnapshotBackupPolicyPolicyOutput) ToGetClusterSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItem

type GetClusterSnapshotBackupPolicyPolicyPolicyItem struct {
	FrequencyInterval int    `pulumi:"frequencyInterval"`
	FrequencyType     string `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             string `pulumi:"id"`
	RetentionUnit  string `pulumi:"retentionUnit"`
	RetentionValue int    `pulumi:"retentionValue"`
}

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs struct {
	FrequencyInterval pulumi.IntInput    `pulumi:"frequencyInterval"`
	FrequencyType     pulumi.StringInput `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             pulumi.StringInput `pulumi:"id"`
	RetentionUnit  pulumi.StringInput `pulumi:"retentionUnit"`
	RetentionValue pulumi.IntInput    `pulumi:"retentionValue"`
}

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ElementType

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (i GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutput() GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (i GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArray

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArray []GetClusterSnapshotBackupPolicyPolicyPolicyItemInput

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArray) ElementType

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (i GetClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput() GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (i GetClusterSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput() GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput
	ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput
}

GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput is an input type that accepts GetClusterSnapshotBackupPolicyPolicyPolicyItemArray and GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayInput` via:

GetClusterSnapshotBackupPolicyPolicyPolicyItemArray{ GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs{...} }

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ElementType

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) Index

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (o GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemInput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemInput interface {
	pulumi.Input

	ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutput() GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput
	ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput
}

GetClusterSnapshotBackupPolicyPolicyPolicyItemInput is an input type that accepts GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs and GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput values. You can construct a concrete instance of `GetClusterSnapshotBackupPolicyPolicyPolicyItemInput` via:

GetClusterSnapshotBackupPolicyPolicyPolicyItemArgs{...}

type GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput struct{ *pulumi.OutputState }

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ElementType

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyInterval

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyType

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionUnit

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionValue

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (o GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClusterSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetClusterSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClustersArgs

type GetClustersArgs struct {
	// The unique ID for the project to get the clusters.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getClusters.

type GetClustersResult

type GetClustersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// A list where each represents a Cluster. See Cluster below for more details.
	Results []GetClustersResultType `pulumi:"results"`
}

A collection of values returned by getClusters.

func GetClusters

func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)

`Cluster` describes all Clusters by the provided project_id. The data source requires your Project ID.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

> **IMPORTANT:** <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/). <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testCluster, err := mongodbatlas.NewCluster(ctx, "testCluster", &mongodbatlas.ClusterArgs{
			ProjectId:   pulumi.String("<YOUR-PROJECT-ID>"),
			DiskSizeGb:  pulumi.Float64(100),
			ClusterType: pulumi.String("REPLICASET"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							RegionName:     pulumi.String("US_EAST_1"),
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
						},
					},
				},
			},
			ProviderBackupEnabled:    pulumi.Bool(true),
			AutoScalingDiskGbEnabled: pulumi.Bool(true),
			ProviderName:             pulumi.String("AWS"),
			ProviderDiskIops:         pulumi.Int(300),
			ProviderVolumeType:       pulumi.String("STANDARD"),
			ProviderEncryptEbsVolume: pulumi.Bool(true),
			ProviderInstanceSizeName: pulumi.String("M40"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetClustersResultBiConnector

type GetClustersResultBiConnector struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled string `pulumi:"enabled"`
	// Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference string `pulumi:"readPreference"`
}

type GetClustersResultBiConnectorArgs

type GetClustersResultBiConnectorArgs struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled pulumi.StringInput `pulumi:"enabled"`
	// Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).
	ReadPreference pulumi.StringInput `pulumi:"readPreference"`
}

func (GetClustersResultBiConnectorArgs) ElementType

func (GetClustersResultBiConnectorArgs) ToGetClustersResultBiConnectorOutput

func (i GetClustersResultBiConnectorArgs) ToGetClustersResultBiConnectorOutput() GetClustersResultBiConnectorOutput

func (GetClustersResultBiConnectorArgs) ToGetClustersResultBiConnectorOutputWithContext

func (i GetClustersResultBiConnectorArgs) ToGetClustersResultBiConnectorOutputWithContext(ctx context.Context) GetClustersResultBiConnectorOutput

type GetClustersResultBiConnectorInput

type GetClustersResultBiConnectorInput interface {
	pulumi.Input

	ToGetClustersResultBiConnectorOutput() GetClustersResultBiConnectorOutput
	ToGetClustersResultBiConnectorOutputWithContext(context.Context) GetClustersResultBiConnectorOutput
}

GetClustersResultBiConnectorInput is an input type that accepts GetClustersResultBiConnectorArgs and GetClustersResultBiConnectorOutput values. You can construct a concrete instance of `GetClustersResultBiConnectorInput` via:

GetClustersResultBiConnectorArgs{...}

type GetClustersResultBiConnectorOutput

type GetClustersResultBiConnectorOutput struct{ *pulumi.OutputState }

func (GetClustersResultBiConnectorOutput) ElementType

func (GetClustersResultBiConnectorOutput) Enabled

Indicates whether or not BI Connector for Atlas is enabled on the cluster.

func (GetClustersResultBiConnectorOutput) ReadPreference

Indicates the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of [readPreference](https://docs.mongodb.com/manual/core/read-preference/) and [readPreferenceTags](https://docs.mongodb.com/manual/core/read-preference/#tag-sets) options. For details on BI Connector for Atlas read preferences, refer to the [BI Connector Read Preferences Table](https://docs.atlas.mongodb.com/tutorial/create-global-writes-cluster/#bic-read-preferences).

func (GetClustersResultBiConnectorOutput) ToGetClustersResultBiConnectorOutput

func (o GetClustersResultBiConnectorOutput) ToGetClustersResultBiConnectorOutput() GetClustersResultBiConnectorOutput

func (GetClustersResultBiConnectorOutput) ToGetClustersResultBiConnectorOutputWithContext

func (o GetClustersResultBiConnectorOutput) ToGetClustersResultBiConnectorOutputWithContext(ctx context.Context) GetClustersResultBiConnectorOutput

type GetClustersResultConnectionStrings

type GetClustersResultConnectionStrings struct {
	AwsPrivateLink    map[string]interface{}                              `pulumi:"awsPrivateLink"`
	AwsPrivateLinkSrv map[string]interface{}                              `pulumi:"awsPrivateLinkSrv"`
	Private           string                                              `pulumi:"private"`
	PrivateEndpoints  []GetClustersResultConnectionStringsPrivateEndpoint `pulumi:"privateEndpoints"`
	PrivateSrv        string                                              `pulumi:"privateSrv"`
	Standard          string                                              `pulumi:"standard"`
	StandardSrv       string                                              `pulumi:"standardSrv"`
}

type GetClustersResultConnectionStringsArgs

type GetClustersResultConnectionStringsArgs struct {
	AwsPrivateLink    pulumi.MapInput                                             `pulumi:"awsPrivateLink"`
	AwsPrivateLinkSrv pulumi.MapInput                                             `pulumi:"awsPrivateLinkSrv"`
	Private           pulumi.StringInput                                          `pulumi:"private"`
	PrivateEndpoints  GetClustersResultConnectionStringsPrivateEndpointArrayInput `pulumi:"privateEndpoints"`
	PrivateSrv        pulumi.StringInput                                          `pulumi:"privateSrv"`
	Standard          pulumi.StringInput                                          `pulumi:"standard"`
	StandardSrv       pulumi.StringInput                                          `pulumi:"standardSrv"`
}

func (GetClustersResultConnectionStringsArgs) ElementType

func (GetClustersResultConnectionStringsArgs) ToGetClustersResultConnectionStringsOutput

func (i GetClustersResultConnectionStringsArgs) ToGetClustersResultConnectionStringsOutput() GetClustersResultConnectionStringsOutput

func (GetClustersResultConnectionStringsArgs) ToGetClustersResultConnectionStringsOutputWithContext

func (i GetClustersResultConnectionStringsArgs) ToGetClustersResultConnectionStringsOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsOutput

type GetClustersResultConnectionStringsInput

type GetClustersResultConnectionStringsInput interface {
	pulumi.Input

	ToGetClustersResultConnectionStringsOutput() GetClustersResultConnectionStringsOutput
	ToGetClustersResultConnectionStringsOutputWithContext(context.Context) GetClustersResultConnectionStringsOutput
}

GetClustersResultConnectionStringsInput is an input type that accepts GetClustersResultConnectionStringsArgs and GetClustersResultConnectionStringsOutput values. You can construct a concrete instance of `GetClustersResultConnectionStringsInput` via:

GetClustersResultConnectionStringsArgs{...}

type GetClustersResultConnectionStringsOutput

type GetClustersResultConnectionStringsOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsOutput) AwsPrivateLinkSrv

func (GetClustersResultConnectionStringsOutput) ElementType

func (GetClustersResultConnectionStringsOutput) Private

func (GetClustersResultConnectionStringsOutput) PrivateEndpoints added in v1.5.1

func (GetClustersResultConnectionStringsOutput) PrivateSrv

func (GetClustersResultConnectionStringsOutput) Standard

func (GetClustersResultConnectionStringsOutput) StandardSrv

func (GetClustersResultConnectionStringsOutput) ToGetClustersResultConnectionStringsOutput

func (o GetClustersResultConnectionStringsOutput) ToGetClustersResultConnectionStringsOutput() GetClustersResultConnectionStringsOutput

func (GetClustersResultConnectionStringsOutput) ToGetClustersResultConnectionStringsOutputWithContext

func (o GetClustersResultConnectionStringsOutput) ToGetClustersResultConnectionStringsOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsOutput

type GetClustersResultConnectionStringsPrivateEndpoint added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpoint struct {
	ConnectionString    string                                                      `pulumi:"connectionString"`
	Endpoints           []GetClustersResultConnectionStringsPrivateEndpointEndpoint `pulumi:"endpoints"`
	SrvConnectionString string                                                      `pulumi:"srvConnectionString"`
	Type                string                                                      `pulumi:"type"`
}

type GetClustersResultConnectionStringsPrivateEndpointArgs added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointArgs struct {
	ConnectionString    pulumi.StringInput                                                  `pulumi:"connectionString"`
	Endpoints           GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput `pulumi:"endpoints"`
	SrvConnectionString pulumi.StringInput                                                  `pulumi:"srvConnectionString"`
	Type                pulumi.StringInput                                                  `pulumi:"type"`
}

func (GetClustersResultConnectionStringsPrivateEndpointArgs) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutput added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutput() GetClustersResultConnectionStringsPrivateEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointArray added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointArray []GetClustersResultConnectionStringsPrivateEndpointInput

func (GetClustersResultConnectionStringsPrivateEndpointArray) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput() GetClustersResultConnectionStringsPrivateEndpointArrayOutput

func (GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointArrayInput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointArrayInput interface {
	pulumi.Input

	ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput() GetClustersResultConnectionStringsPrivateEndpointArrayOutput
	ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext(context.Context) GetClustersResultConnectionStringsPrivateEndpointArrayOutput
}

GetClustersResultConnectionStringsPrivateEndpointArrayInput is an input type that accepts GetClustersResultConnectionStringsPrivateEndpointArray and GetClustersResultConnectionStringsPrivateEndpointArrayOutput values. You can construct a concrete instance of `GetClustersResultConnectionStringsPrivateEndpointArrayInput` via:

GetClustersResultConnectionStringsPrivateEndpointArray{ GetClustersResultConnectionStringsPrivateEndpointArgs{...} }

type GetClustersResultConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) Index added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext added in v1.5.1

func (o GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpoint added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpoint struct {
	EndpointId string `pulumi:"endpointId"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName string `pulumi:"providerName"`
	Region       string `pulumi:"region"`
}

type GetClustersResultConnectionStringsPrivateEndpointEndpointArgs added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointArgs struct {
	EndpointId pulumi.StringInput `pulumi:"endpointId"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	Region       pulumi.StringInput `pulumi:"region"`
}

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointArray added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointArray []GetClustersResultConnectionStringsPrivateEndpointEndpointInput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (i GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput interface {
	pulumi.Input

	ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput() GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput
	ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput
}

GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput is an input type that accepts GetClustersResultConnectionStringsPrivateEndpointEndpointArray and GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput values. You can construct a concrete instance of `GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput` via:

GetClustersResultConnectionStringsPrivateEndpointEndpointArray{ GetClustersResultConnectionStringsPrivateEndpointEndpointArgs{...} }

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) Index added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext added in v1.5.1

func (o GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointInput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointInput interface {
	pulumi.Input

	ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutput() GetClustersResultConnectionStringsPrivateEndpointEndpointOutput
	ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext(context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointOutput
}

GetClustersResultConnectionStringsPrivateEndpointEndpointInput is an input type that accepts GetClustersResultConnectionStringsPrivateEndpointEndpointArgs and GetClustersResultConnectionStringsPrivateEndpointEndpointOutput values. You can construct a concrete instance of `GetClustersResultConnectionStringsPrivateEndpointEndpointInput` via:

GetClustersResultConnectionStringsPrivateEndpointEndpointArgs{...}

type GetClustersResultConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) EndpointId added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ProviderName added in v1.5.1

Indicates the cloud service provider on which the servers are provisioned.

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) Region added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext added in v1.5.1

func (o GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointInput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointInput interface {
	pulumi.Input

	ToGetClustersResultConnectionStringsPrivateEndpointOutput() GetClustersResultConnectionStringsPrivateEndpointOutput
	ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext(context.Context) GetClustersResultConnectionStringsPrivateEndpointOutput
}

GetClustersResultConnectionStringsPrivateEndpointInput is an input type that accepts GetClustersResultConnectionStringsPrivateEndpointArgs and GetClustersResultConnectionStringsPrivateEndpointOutput values. You can construct a concrete instance of `GetClustersResultConnectionStringsPrivateEndpointInput` via:

GetClustersResultConnectionStringsPrivateEndpointArgs{...}

type GetClustersResultConnectionStringsPrivateEndpointOutput added in v1.5.1

type GetClustersResultConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ConnectionString added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ElementType added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointOutput) Endpoints added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointOutput) SrvConnectionString added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutput added in v1.5.1

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext added in v1.5.1

func (o GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointOutput) Type added in v1.5.1

type GetClustersResultLabel

type GetClustersResultLabel struct {
	// The key that was set.
	Key string `pulumi:"key"`
	// The value that represents the key.
	Value string `pulumi:"value"`
}

type GetClustersResultLabelArgs

type GetClustersResultLabelArgs struct {
	// The key that was set.
	Key pulumi.StringInput `pulumi:"key"`
	// The value that represents the key.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetClustersResultLabelArgs) ElementType

func (GetClustersResultLabelArgs) ElementType() reflect.Type

func (GetClustersResultLabelArgs) ToGetClustersResultLabelOutput

func (i GetClustersResultLabelArgs) ToGetClustersResultLabelOutput() GetClustersResultLabelOutput

func (GetClustersResultLabelArgs) ToGetClustersResultLabelOutputWithContext

func (i GetClustersResultLabelArgs) ToGetClustersResultLabelOutputWithContext(ctx context.Context) GetClustersResultLabelOutput

type GetClustersResultLabelArray

type GetClustersResultLabelArray []GetClustersResultLabelInput

func (GetClustersResultLabelArray) ElementType

func (GetClustersResultLabelArray) ToGetClustersResultLabelArrayOutput

func (i GetClustersResultLabelArray) ToGetClustersResultLabelArrayOutput() GetClustersResultLabelArrayOutput

func (GetClustersResultLabelArray) ToGetClustersResultLabelArrayOutputWithContext

func (i GetClustersResultLabelArray) ToGetClustersResultLabelArrayOutputWithContext(ctx context.Context) GetClustersResultLabelArrayOutput

type GetClustersResultLabelArrayInput

type GetClustersResultLabelArrayInput interface {
	pulumi.Input

	ToGetClustersResultLabelArrayOutput() GetClustersResultLabelArrayOutput
	ToGetClustersResultLabelArrayOutputWithContext(context.Context) GetClustersResultLabelArrayOutput
}

GetClustersResultLabelArrayInput is an input type that accepts GetClustersResultLabelArray and GetClustersResultLabelArrayOutput values. You can construct a concrete instance of `GetClustersResultLabelArrayInput` via:

GetClustersResultLabelArray{ GetClustersResultLabelArgs{...} }

type GetClustersResultLabelArrayOutput

type GetClustersResultLabelArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultLabelArrayOutput) ElementType

func (GetClustersResultLabelArrayOutput) Index

func (GetClustersResultLabelArrayOutput) ToGetClustersResultLabelArrayOutput

func (o GetClustersResultLabelArrayOutput) ToGetClustersResultLabelArrayOutput() GetClustersResultLabelArrayOutput

func (GetClustersResultLabelArrayOutput) ToGetClustersResultLabelArrayOutputWithContext

func (o GetClustersResultLabelArrayOutput) ToGetClustersResultLabelArrayOutputWithContext(ctx context.Context) GetClustersResultLabelArrayOutput

type GetClustersResultLabelInput

type GetClustersResultLabelInput interface {
	pulumi.Input

	ToGetClustersResultLabelOutput() GetClustersResultLabelOutput
	ToGetClustersResultLabelOutputWithContext(context.Context) GetClustersResultLabelOutput
}

GetClustersResultLabelInput is an input type that accepts GetClustersResultLabelArgs and GetClustersResultLabelOutput values. You can construct a concrete instance of `GetClustersResultLabelInput` via:

GetClustersResultLabelArgs{...}

type GetClustersResultLabelOutput

type GetClustersResultLabelOutput struct{ *pulumi.OutputState }

func (GetClustersResultLabelOutput) ElementType

func (GetClustersResultLabelOutput) Key

The key that was set.

func (GetClustersResultLabelOutput) ToGetClustersResultLabelOutput

func (o GetClustersResultLabelOutput) ToGetClustersResultLabelOutput() GetClustersResultLabelOutput

func (GetClustersResultLabelOutput) ToGetClustersResultLabelOutputWithContext

func (o GetClustersResultLabelOutput) ToGetClustersResultLabelOutputWithContext(ctx context.Context) GetClustersResultLabelOutput

func (GetClustersResultLabelOutput) Value

The value that represents the key.

type GetClustersResultReplicationSpec

type GetClustersResultReplicationSpec struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id string `pulumi:"id"`
	// Number of shards to deploy in the specified zone.
	NumShards int `pulumi:"numShards"`
	// Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs []GetClustersResultReplicationSpecRegionsConfig `pulumi:"regionsConfigs"`
	// Indicates the n ame for the zone in a Global Cluster.
	ZoneName string `pulumi:"zoneName"`
}

type GetClustersResultReplicationSpecArgs

type GetClustersResultReplicationSpecArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// Number of shards to deploy in the specified zone.
	NumShards pulumi.IntInput `pulumi:"numShards"`
	// Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.
	RegionsConfigs GetClustersResultReplicationSpecRegionsConfigArrayInput `pulumi:"regionsConfigs"`
	// Indicates the n ame for the zone in a Global Cluster.
	ZoneName pulumi.StringInput `pulumi:"zoneName"`
}

func (GetClustersResultReplicationSpecArgs) ElementType

func (GetClustersResultReplicationSpecArgs) ToGetClustersResultReplicationSpecOutput

func (i GetClustersResultReplicationSpecArgs) ToGetClustersResultReplicationSpecOutput() GetClustersResultReplicationSpecOutput

func (GetClustersResultReplicationSpecArgs) ToGetClustersResultReplicationSpecOutputWithContext

func (i GetClustersResultReplicationSpecArgs) ToGetClustersResultReplicationSpecOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecOutput

type GetClustersResultReplicationSpecArray

type GetClustersResultReplicationSpecArray []GetClustersResultReplicationSpecInput

func (GetClustersResultReplicationSpecArray) ElementType

func (GetClustersResultReplicationSpecArray) ToGetClustersResultReplicationSpecArrayOutput

func (i GetClustersResultReplicationSpecArray) ToGetClustersResultReplicationSpecArrayOutput() GetClustersResultReplicationSpecArrayOutput

func (GetClustersResultReplicationSpecArray) ToGetClustersResultReplicationSpecArrayOutputWithContext

func (i GetClustersResultReplicationSpecArray) ToGetClustersResultReplicationSpecArrayOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecArrayOutput

type GetClustersResultReplicationSpecArrayInput

type GetClustersResultReplicationSpecArrayInput interface {
	pulumi.Input

	ToGetClustersResultReplicationSpecArrayOutput() GetClustersResultReplicationSpecArrayOutput
	ToGetClustersResultReplicationSpecArrayOutputWithContext(context.Context) GetClustersResultReplicationSpecArrayOutput
}

GetClustersResultReplicationSpecArrayInput is an input type that accepts GetClustersResultReplicationSpecArray and GetClustersResultReplicationSpecArrayOutput values. You can construct a concrete instance of `GetClustersResultReplicationSpecArrayInput` via:

GetClustersResultReplicationSpecArray{ GetClustersResultReplicationSpecArgs{...} }

type GetClustersResultReplicationSpecArrayOutput

type GetClustersResultReplicationSpecArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultReplicationSpecArrayOutput) ElementType

func (GetClustersResultReplicationSpecArrayOutput) Index

func (GetClustersResultReplicationSpecArrayOutput) ToGetClustersResultReplicationSpecArrayOutput

func (o GetClustersResultReplicationSpecArrayOutput) ToGetClustersResultReplicationSpecArrayOutput() GetClustersResultReplicationSpecArrayOutput

func (GetClustersResultReplicationSpecArrayOutput) ToGetClustersResultReplicationSpecArrayOutputWithContext

func (o GetClustersResultReplicationSpecArrayOutput) ToGetClustersResultReplicationSpecArrayOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecArrayOutput

type GetClustersResultReplicationSpecInput

type GetClustersResultReplicationSpecInput interface {
	pulumi.Input

	ToGetClustersResultReplicationSpecOutput() GetClustersResultReplicationSpecOutput
	ToGetClustersResultReplicationSpecOutputWithContext(context.Context) GetClustersResultReplicationSpecOutput
}

GetClustersResultReplicationSpecInput is an input type that accepts GetClustersResultReplicationSpecArgs and GetClustersResultReplicationSpecOutput values. You can construct a concrete instance of `GetClustersResultReplicationSpecInput` via:

GetClustersResultReplicationSpecArgs{...}

type GetClustersResultReplicationSpecOutput

type GetClustersResultReplicationSpecOutput struct{ *pulumi.OutputState }

func (GetClustersResultReplicationSpecOutput) ElementType

func (GetClustersResultReplicationSpecOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClustersResultReplicationSpecOutput) NumShards

Number of shards to deploy in the specified zone.

func (GetClustersResultReplicationSpecOutput) RegionsConfigs

Describes the physical location of the region. Each regionsConfig document describes the region’s priority in elections and the number and type of MongoDB nodes Atlas deploys to the region. You must order each regionsConfigs document by regionsConfig.priority, descending. See Region Config below for more details.

func (GetClustersResultReplicationSpecOutput) ToGetClustersResultReplicationSpecOutput

func (o GetClustersResultReplicationSpecOutput) ToGetClustersResultReplicationSpecOutput() GetClustersResultReplicationSpecOutput

func (GetClustersResultReplicationSpecOutput) ToGetClustersResultReplicationSpecOutputWithContext

func (o GetClustersResultReplicationSpecOutput) ToGetClustersResultReplicationSpecOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecOutput

func (GetClustersResultReplicationSpecOutput) ZoneName

Indicates the n ame for the zone in a Global Cluster.

type GetClustersResultReplicationSpecRegionsConfig

type GetClustersResultReplicationSpecRegionsConfig struct {
	// Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
	AnalyticsNodes int `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region.
	ElectableNodes int `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	Priority int `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes int `pulumi:"readOnlyNodes"`
	// Name for the region specified.
	RegionName string `pulumi:"regionName"`
}

type GetClustersResultReplicationSpecRegionsConfigArgs

type GetClustersResultReplicationSpecRegionsConfigArgs struct {
	// Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.
	AnalyticsNodes pulumi.IntInput `pulumi:"analyticsNodes"`
	// Number of electable nodes for Atlas to deploy to the region.
	ElectableNodes pulumi.IntInput `pulumi:"electableNodes"`
	// Election priority of the region. For regions with only read-only nodes, set this value to 0.
	Priority pulumi.IntInput `pulumi:"priority"`
	// Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.
	ReadOnlyNodes pulumi.IntInput `pulumi:"readOnlyNodes"`
	// Name for the region specified.
	RegionName pulumi.StringInput `pulumi:"regionName"`
}

func (GetClustersResultReplicationSpecRegionsConfigArgs) ElementType

func (GetClustersResultReplicationSpecRegionsConfigArgs) ToGetClustersResultReplicationSpecRegionsConfigOutput

func (i GetClustersResultReplicationSpecRegionsConfigArgs) ToGetClustersResultReplicationSpecRegionsConfigOutput() GetClustersResultReplicationSpecRegionsConfigOutput

func (GetClustersResultReplicationSpecRegionsConfigArgs) ToGetClustersResultReplicationSpecRegionsConfigOutputWithContext

func (i GetClustersResultReplicationSpecRegionsConfigArgs) ToGetClustersResultReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecRegionsConfigOutput

type GetClustersResultReplicationSpecRegionsConfigArray

type GetClustersResultReplicationSpecRegionsConfigArray []GetClustersResultReplicationSpecRegionsConfigInput

func (GetClustersResultReplicationSpecRegionsConfigArray) ElementType

func (GetClustersResultReplicationSpecRegionsConfigArray) ToGetClustersResultReplicationSpecRegionsConfigArrayOutput

func (i GetClustersResultReplicationSpecRegionsConfigArray) ToGetClustersResultReplicationSpecRegionsConfigArrayOutput() GetClustersResultReplicationSpecRegionsConfigArrayOutput

func (GetClustersResultReplicationSpecRegionsConfigArray) ToGetClustersResultReplicationSpecRegionsConfigArrayOutputWithContext

func (i GetClustersResultReplicationSpecRegionsConfigArray) ToGetClustersResultReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecRegionsConfigArrayOutput

type GetClustersResultReplicationSpecRegionsConfigArrayInput

type GetClustersResultReplicationSpecRegionsConfigArrayInput interface {
	pulumi.Input

	ToGetClustersResultReplicationSpecRegionsConfigArrayOutput() GetClustersResultReplicationSpecRegionsConfigArrayOutput
	ToGetClustersResultReplicationSpecRegionsConfigArrayOutputWithContext(context.Context) GetClustersResultReplicationSpecRegionsConfigArrayOutput
}

GetClustersResultReplicationSpecRegionsConfigArrayInput is an input type that accepts GetClustersResultReplicationSpecRegionsConfigArray and GetClustersResultReplicationSpecRegionsConfigArrayOutput values. You can construct a concrete instance of `GetClustersResultReplicationSpecRegionsConfigArrayInput` via:

GetClustersResultReplicationSpecRegionsConfigArray{ GetClustersResultReplicationSpecRegionsConfigArgs{...} }

type GetClustersResultReplicationSpecRegionsConfigArrayOutput

type GetClustersResultReplicationSpecRegionsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultReplicationSpecRegionsConfigArrayOutput) ElementType

func (GetClustersResultReplicationSpecRegionsConfigArrayOutput) Index

func (GetClustersResultReplicationSpecRegionsConfigArrayOutput) ToGetClustersResultReplicationSpecRegionsConfigArrayOutput

func (GetClustersResultReplicationSpecRegionsConfigArrayOutput) ToGetClustersResultReplicationSpecRegionsConfigArrayOutputWithContext

func (o GetClustersResultReplicationSpecRegionsConfigArrayOutput) ToGetClustersResultReplicationSpecRegionsConfigArrayOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecRegionsConfigArrayOutput

type GetClustersResultReplicationSpecRegionsConfigInput

type GetClustersResultReplicationSpecRegionsConfigInput interface {
	pulumi.Input

	ToGetClustersResultReplicationSpecRegionsConfigOutput() GetClustersResultReplicationSpecRegionsConfigOutput
	ToGetClustersResultReplicationSpecRegionsConfigOutputWithContext(context.Context) GetClustersResultReplicationSpecRegionsConfigOutput
}

GetClustersResultReplicationSpecRegionsConfigInput is an input type that accepts GetClustersResultReplicationSpecRegionsConfigArgs and GetClustersResultReplicationSpecRegionsConfigOutput values. You can construct a concrete instance of `GetClustersResultReplicationSpecRegionsConfigInput` via:

GetClustersResultReplicationSpecRegionsConfigArgs{...}

type GetClustersResultReplicationSpecRegionsConfigOutput

type GetClustersResultReplicationSpecRegionsConfigOutput struct{ *pulumi.OutputState }

func (GetClustersResultReplicationSpecRegionsConfigOutput) AnalyticsNodes

Indicates the number of analytics nodes for Atlas to deploy to the region. Analytics nodes are useful for handling analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only, and can never become the primary.

func (GetClustersResultReplicationSpecRegionsConfigOutput) ElectableNodes

Number of electable nodes for Atlas to deploy to the region.

func (GetClustersResultReplicationSpecRegionsConfigOutput) ElementType

func (GetClustersResultReplicationSpecRegionsConfigOutput) Priority

Election priority of the region. For regions with only read-only nodes, set this value to 0.

func (GetClustersResultReplicationSpecRegionsConfigOutput) ReadOnlyNodes

Number of read-only nodes for Atlas to deploy to the region. Read-only nodes can never become the primary, but can facilitate local-reads. Specify 0 if you do not want any read-only nodes in the region.

func (GetClustersResultReplicationSpecRegionsConfigOutput) RegionName

Name for the region specified.

func (GetClustersResultReplicationSpecRegionsConfigOutput) ToGetClustersResultReplicationSpecRegionsConfigOutput

func (o GetClustersResultReplicationSpecRegionsConfigOutput) ToGetClustersResultReplicationSpecRegionsConfigOutput() GetClustersResultReplicationSpecRegionsConfigOutput

func (GetClustersResultReplicationSpecRegionsConfigOutput) ToGetClustersResultReplicationSpecRegionsConfigOutputWithContext

func (o GetClustersResultReplicationSpecRegionsConfigOutput) ToGetClustersResultReplicationSpecRegionsConfigOutputWithContext(ctx context.Context) GetClustersResultReplicationSpecRegionsConfigOutput

type GetClustersResultSnapshotBackupPolicy

type GetClustersResultSnapshotBackupPolicy struct {
	ClusterId             string                                        `pulumi:"clusterId"`
	ClusterName           string                                        `pulumi:"clusterName"`
	NextSnapshot          string                                        `pulumi:"nextSnapshot"`
	Policies              []GetClustersResultSnapshotBackupPolicyPolicy `pulumi:"policies"`
	ReferenceHourOfDay    int                                           `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour int                                           `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     int                                           `pulumi:"restoreWindowDays"`
	UpdateSnapshots       bool                                          `pulumi:"updateSnapshots"`
}

type GetClustersResultSnapshotBackupPolicyArgs

type GetClustersResultSnapshotBackupPolicyArgs struct {
	ClusterId             pulumi.StringInput                                    `pulumi:"clusterId"`
	ClusterName           pulumi.StringInput                                    `pulumi:"clusterName"`
	NextSnapshot          pulumi.StringInput                                    `pulumi:"nextSnapshot"`
	Policies              GetClustersResultSnapshotBackupPolicyPolicyArrayInput `pulumi:"policies"`
	ReferenceHourOfDay    pulumi.IntInput                                       `pulumi:"referenceHourOfDay"`
	ReferenceMinuteOfHour pulumi.IntInput                                       `pulumi:"referenceMinuteOfHour"`
	RestoreWindowDays     pulumi.IntInput                                       `pulumi:"restoreWindowDays"`
	UpdateSnapshots       pulumi.BoolInput                                      `pulumi:"updateSnapshots"`
}

func (GetClustersResultSnapshotBackupPolicyArgs) ElementType

func (GetClustersResultSnapshotBackupPolicyArgs) ToGetClustersResultSnapshotBackupPolicyOutput

func (i GetClustersResultSnapshotBackupPolicyArgs) ToGetClustersResultSnapshotBackupPolicyOutput() GetClustersResultSnapshotBackupPolicyOutput

func (GetClustersResultSnapshotBackupPolicyArgs) ToGetClustersResultSnapshotBackupPolicyOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyArgs) ToGetClustersResultSnapshotBackupPolicyOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyOutput

type GetClustersResultSnapshotBackupPolicyArray

type GetClustersResultSnapshotBackupPolicyArray []GetClustersResultSnapshotBackupPolicyInput

func (GetClustersResultSnapshotBackupPolicyArray) ElementType

func (GetClustersResultSnapshotBackupPolicyArray) ToGetClustersResultSnapshotBackupPolicyArrayOutput

func (i GetClustersResultSnapshotBackupPolicyArray) ToGetClustersResultSnapshotBackupPolicyArrayOutput() GetClustersResultSnapshotBackupPolicyArrayOutput

func (GetClustersResultSnapshotBackupPolicyArray) ToGetClustersResultSnapshotBackupPolicyArrayOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyArray) ToGetClustersResultSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyArrayInput

type GetClustersResultSnapshotBackupPolicyArrayInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyArrayOutput() GetClustersResultSnapshotBackupPolicyArrayOutput
	ToGetClustersResultSnapshotBackupPolicyArrayOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyArrayOutput
}

GetClustersResultSnapshotBackupPolicyArrayInput is an input type that accepts GetClustersResultSnapshotBackupPolicyArray and GetClustersResultSnapshotBackupPolicyArrayOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyArrayInput` via:

GetClustersResultSnapshotBackupPolicyArray{ GetClustersResultSnapshotBackupPolicyArgs{...} }

type GetClustersResultSnapshotBackupPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyArrayOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyArrayOutput) Index

func (GetClustersResultSnapshotBackupPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyArrayOutput

func (o GetClustersResultSnapshotBackupPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyArrayOutput() GetClustersResultSnapshotBackupPolicyArrayOutput

func (GetClustersResultSnapshotBackupPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyArrayOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyInput

type GetClustersResultSnapshotBackupPolicyInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyOutput() GetClustersResultSnapshotBackupPolicyOutput
	ToGetClustersResultSnapshotBackupPolicyOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyOutput
}

GetClustersResultSnapshotBackupPolicyInput is an input type that accepts GetClustersResultSnapshotBackupPolicyArgs and GetClustersResultSnapshotBackupPolicyOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyInput` via:

GetClustersResultSnapshotBackupPolicyArgs{...}

type GetClustersResultSnapshotBackupPolicyOutput

type GetClustersResultSnapshotBackupPolicyOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyOutput) ClusterId

func (GetClustersResultSnapshotBackupPolicyOutput) ClusterName

func (GetClustersResultSnapshotBackupPolicyOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyOutput) NextSnapshot

func (GetClustersResultSnapshotBackupPolicyOutput) Policies

func (GetClustersResultSnapshotBackupPolicyOutput) ReferenceHourOfDay

func (GetClustersResultSnapshotBackupPolicyOutput) ReferenceMinuteOfHour

func (GetClustersResultSnapshotBackupPolicyOutput) RestoreWindowDays

func (GetClustersResultSnapshotBackupPolicyOutput) ToGetClustersResultSnapshotBackupPolicyOutput

func (o GetClustersResultSnapshotBackupPolicyOutput) ToGetClustersResultSnapshotBackupPolicyOutput() GetClustersResultSnapshotBackupPolicyOutput

func (GetClustersResultSnapshotBackupPolicyOutput) ToGetClustersResultSnapshotBackupPolicyOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyOutput) ToGetClustersResultSnapshotBackupPolicyOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyOutput

func (GetClustersResultSnapshotBackupPolicyOutput) UpdateSnapshots

type GetClustersResultSnapshotBackupPolicyPolicy

type GetClustersResultSnapshotBackupPolicyPolicy struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          string                                                  `pulumi:"id"`
	PolicyItems []GetClustersResultSnapshotBackupPolicyPolicyPolicyItem `pulumi:"policyItems"`
}

type GetClustersResultSnapshotBackupPolicyPolicyArgs

type GetClustersResultSnapshotBackupPolicyPolicyArgs struct {
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id          pulumi.StringInput                                              `pulumi:"id"`
	PolicyItems GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayInput `pulumi:"policyItems"`
}

func (GetClustersResultSnapshotBackupPolicyPolicyArgs) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyArgs) ToGetClustersResultSnapshotBackupPolicyPolicyOutput

func (i GetClustersResultSnapshotBackupPolicyPolicyArgs) ToGetClustersResultSnapshotBackupPolicyPolicyOutput() GetClustersResultSnapshotBackupPolicyPolicyOutput

func (GetClustersResultSnapshotBackupPolicyPolicyArgs) ToGetClustersResultSnapshotBackupPolicyPolicyOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyPolicyArgs) ToGetClustersResultSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyOutput

type GetClustersResultSnapshotBackupPolicyPolicyArray

type GetClustersResultSnapshotBackupPolicyPolicyArray []GetClustersResultSnapshotBackupPolicyPolicyInput

func (GetClustersResultSnapshotBackupPolicyPolicyArray) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyArray) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutput

func (i GetClustersResultSnapshotBackupPolicyPolicyArray) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutput() GetClustersResultSnapshotBackupPolicyPolicyArrayOutput

func (GetClustersResultSnapshotBackupPolicyPolicyArray) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyPolicyArray) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyArrayInput

type GetClustersResultSnapshotBackupPolicyPolicyArrayInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutput() GetClustersResultSnapshotBackupPolicyPolicyArrayOutput
	ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyPolicyArrayOutput
}

GetClustersResultSnapshotBackupPolicyPolicyArrayInput is an input type that accepts GetClustersResultSnapshotBackupPolicyPolicyArray and GetClustersResultSnapshotBackupPolicyPolicyArrayOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyPolicyArrayInput` via:

GetClustersResultSnapshotBackupPolicyPolicyArray{ GetClustersResultSnapshotBackupPolicyPolicyArgs{...} }

type GetClustersResultSnapshotBackupPolicyPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyPolicyArrayOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyArrayOutput) Index

func (GetClustersResultSnapshotBackupPolicyPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutput

func (GetClustersResultSnapshotBackupPolicyPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyPolicyArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyInput

type GetClustersResultSnapshotBackupPolicyPolicyInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyPolicyOutput() GetClustersResultSnapshotBackupPolicyPolicyOutput
	ToGetClustersResultSnapshotBackupPolicyPolicyOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyPolicyOutput
}

GetClustersResultSnapshotBackupPolicyPolicyInput is an input type that accepts GetClustersResultSnapshotBackupPolicyPolicyArgs and GetClustersResultSnapshotBackupPolicyPolicyOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyPolicyInput` via:

GetClustersResultSnapshotBackupPolicyPolicyArgs{...}

type GetClustersResultSnapshotBackupPolicyPolicyOutput

type GetClustersResultSnapshotBackupPolicyPolicyOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyPolicyOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClustersResultSnapshotBackupPolicyPolicyOutput) PolicyItems

func (GetClustersResultSnapshotBackupPolicyPolicyOutput) ToGetClustersResultSnapshotBackupPolicyPolicyOutput

func (o GetClustersResultSnapshotBackupPolicyPolicyOutput) ToGetClustersResultSnapshotBackupPolicyPolicyOutput() GetClustersResultSnapshotBackupPolicyPolicyOutput

func (GetClustersResultSnapshotBackupPolicyPolicyOutput) ToGetClustersResultSnapshotBackupPolicyPolicyOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyPolicyOutput) ToGetClustersResultSnapshotBackupPolicyPolicyOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItem

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItem struct {
	FrequencyInterval int    `pulumi:"frequencyInterval"`
	FrequencyType     string `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             string `pulumi:"id"`
	RetentionUnit  string `pulumi:"retentionUnit"`
	RetentionValue int    `pulumi:"retentionValue"`
}

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs struct {
	FrequencyInterval pulumi.IntInput    `pulumi:"frequencyInterval"`
	FrequencyType     pulumi.StringInput `pulumi:"frequencyType"`
	// Unique identifer of the replication document for a zone in a Global Cluster.
	Id             pulumi.StringInput `pulumi:"id"`
	RetentionUnit  pulumi.StringInput `pulumi:"retentionUnit"`
	RetentionValue pulumi.IntInput    `pulumi:"retentionValue"`
}

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray []GetClustersResultSnapshotBackupPolicyPolicyPolicyItemInput

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (i GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayInput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput() GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput
	ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput
}

GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayInput is an input type that accepts GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray and GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayInput` via:

GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArray{ GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs{...} }

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput) Index

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArrayOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemInput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemInput interface {
	pulumi.Input

	ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput() GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput
	ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput
}

GetClustersResultSnapshotBackupPolicyPolicyPolicyItemInput is an input type that accepts GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs and GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput values. You can construct a concrete instance of `GetClustersResultSnapshotBackupPolicyPolicyPolicyItemInput` via:

GetClustersResultSnapshotBackupPolicyPolicyPolicyItemArgs{...}

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput struct{ *pulumi.OutputState }

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) ElementType

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyInterval

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) FrequencyType

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) Id

Unique identifer of the replication document for a zone in a Global Cluster.

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionUnit

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) RetentionValue

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput

func (GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutputWithContext

func (o GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput) ToGetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutputWithContext(ctx context.Context) GetClustersResultSnapshotBackupPolicyPolicyPolicyItemOutput

type GetClustersResultType

type GetClustersResultType struct {
	// (Optional) Specifies whether cluster tier auto-scaling is enabled. The default is false.
	AutoScalingComputeEnabled bool `pulumi:"autoScalingComputeEnabled"`
	// (Optional) Set to `true` to enable the cluster tier to scale down.
	AutoScalingComputeScaleDownEnabled bool `pulumi:"autoScalingComputeScaleDownEnabled"`
	// Indicates whether disk auto-scaling is enabled.
	AutoScalingDiskGbEnabled bool `pulumi:"autoScalingDiskGbEnabled"`
	// Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName string `pulumi:"backingProviderName"`
	// Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
	BackupEnabled bool `pulumi:"backupEnabled"`
	// Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector GetClustersResultBiConnector `pulumi:"biConnector"`
	// Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType string `pulumi:"clusterType"`
	// Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
	// - `connection_strings.standard` -   Public mongodb:// connection string for this cluster.
	// - `connection_strings.standard_srv` - Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard.
	// - `connection_strings.aws_private_link` -  [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. **DEPRECATED** Use `connection_strings.private_endpoint[n].connection_string` instead.
	// - `connection_strings.aws_private_link_srv` - [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. **DEPRECATED** `connection_strings.private_endpoint[n].srv_connection_string` instead.
	// - `connection_strings.private` -   [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_srv` -  [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_endpoint.#.connection_string` - Private-endpoint-aware `mongodb://`connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
	// - `connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
	// - `connection_strings.private_endoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
	// - `connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
	// - `connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
	ConnectionStrings GetClustersResultConnectionStrings `pulumi:"connectionStrings"`
	// The Network Peering Container ID.
	ContainerId string `pulumi:"containerId"`
	// Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
	DiskSizeGb float64 `pulumi:"diskSizeGb"`
	// Indicates whether Encryption at Rest is enabled or disabled.
	EncryptionAtRestProvider string                   `pulumi:"encryptionAtRestProvider"`
	Labels                   []GetClustersResultLabel `pulumi:"labels"`
	// Indicates the version of the cluster to deploy.
	MongoDbMajorVersion string `pulumi:"mongoDbMajorVersion"`
	// Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
	MongoDbVersion string `pulumi:"mongoDbVersion"`
	// Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
	MongoUri string `pulumi:"mongoUri"`
	// Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
	MongoUriUpdated string `pulumi:"mongoUriUpdated"`
	// Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
	MongoUriWithOptions string `pulumi:"mongoUriWithOptions"`
	// The name of the current plugin
	Name string `pulumi:"name"`
	// Number of shards to deploy in the specified zone.
	NumShards int `pulumi:"numShards"`
	// Flag that indicates whether the cluster is paused or not.
	Paused bool `pulumi:"paused"`
	// Flag that indicates if the cluster uses Continuous Cloud Backup.
	PitEnabled bool `pulumi:"pitEnabled"`
	// (Optional) Maximum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMaxInstanceSize string `pulumi:"providerAutoScalingComputeMaxInstanceSize"`
	// (Optional) Minimum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMinInstanceSize string `pulumi:"providerAutoScalingComputeMinInstanceSize"`
	// Flag indicating if the cluster uses Cloud Backup Snapshots for backups.
	ProviderBackupEnabled bool `pulumi:"providerBackupEnabled"`
	// Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
	ProviderDiskIops int `pulumi:"providerDiskIops"`
	// Describes Azure disk type of the server’s root volume (Azure Only).
	ProviderDiskTypeName string `pulumi:"providerDiskTypeName"`
	// Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
	ProviderEncryptEbsVolume bool `pulumi:"providerEncryptEbsVolume"`
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size.
	ProviderInstanceSizeName string `pulumi:"providerInstanceSizeName"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName string `pulumi:"providerName"`
	// Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	ProviderRegionName string `pulumi:"providerRegionName"`
	// Indicates the type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.
	ProviderVolumeType string `pulumi:"providerVolumeType"`
	// (Deprecated) Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor int `pulumi:"replicationFactor"`
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs []GetClustersResultReplicationSpec `pulumi:"replicationSpecs"`
	// current snapshot schedule and retention settings for the cluster.
	SnapshotBackupPolicies []GetClustersResultSnapshotBackupPolicy `pulumi:"snapshotBackupPolicies"`
	// Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
	SrvAddress string `pulumi:"srvAddress"`
	// Indicates the current state of the cluster. The possible states are:
	// - IDLE
	// - CREATING
	// - UPDATING
	// - DELETING
	// - DELETED
	// - REPAIRING
	StateName string `pulumi:"stateName"`
}

type GetClustersResultTypeArgs

type GetClustersResultTypeArgs struct {
	// (Optional) Specifies whether cluster tier auto-scaling is enabled. The default is false.
	AutoScalingComputeEnabled pulumi.BoolInput `pulumi:"autoScalingComputeEnabled"`
	// (Optional) Set to `true` to enable the cluster tier to scale down.
	AutoScalingComputeScaleDownEnabled pulumi.BoolInput `pulumi:"autoScalingComputeScaleDownEnabled"`
	// Indicates whether disk auto-scaling is enabled.
	AutoScalingDiskGbEnabled pulumi.BoolInput `pulumi:"autoScalingDiskGbEnabled"`
	// Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName pulumi.StringInput `pulumi:"backingProviderName"`
	// Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
	BackupEnabled pulumi.BoolInput `pulumi:"backupEnabled"`
	// Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector GetClustersResultBiConnectorInput `pulumi:"biConnector"`
	// Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
	// - `connection_strings.standard` -   Public mongodb:// connection string for this cluster.
	// - `connection_strings.standard_srv` - Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard.
	// - `connection_strings.aws_private_link` -  [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. **DEPRECATED** Use `connection_strings.private_endpoint[n].connection_string` instead.
	// - `connection_strings.aws_private_link_srv` - [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. **DEPRECATED** `connection_strings.private_endpoint[n].srv_connection_string` instead.
	// - `connection_strings.private` -   [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_srv` -  [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_endpoint.#.connection_string` - Private-endpoint-aware `mongodb://`connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
	// - `connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
	// - `connection_strings.private_endoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
	// - `connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
	// - `connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
	ConnectionStrings GetClustersResultConnectionStringsInput `pulumi:"connectionStrings"`
	// The Network Peering Container ID.
	ContainerId pulumi.StringInput `pulumi:"containerId"`
	// Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
	DiskSizeGb pulumi.Float64Input `pulumi:"diskSizeGb"`
	// Indicates whether Encryption at Rest is enabled or disabled.
	EncryptionAtRestProvider pulumi.StringInput               `pulumi:"encryptionAtRestProvider"`
	Labels                   GetClustersResultLabelArrayInput `pulumi:"labels"`
	// Indicates the version of the cluster to deploy.
	MongoDbMajorVersion pulumi.StringInput `pulumi:"mongoDbMajorVersion"`
	// Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
	MongoDbVersion pulumi.StringInput `pulumi:"mongoDbVersion"`
	// Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
	MongoUri pulumi.StringInput `pulumi:"mongoUri"`
	// Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
	MongoUriUpdated pulumi.StringInput `pulumi:"mongoUriUpdated"`
	// Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
	MongoUriWithOptions pulumi.StringInput `pulumi:"mongoUriWithOptions"`
	// The name of the current plugin
	Name pulumi.StringInput `pulumi:"name"`
	// Number of shards to deploy in the specified zone.
	NumShards pulumi.IntInput `pulumi:"numShards"`
	// Flag that indicates whether the cluster is paused or not.
	Paused pulumi.BoolInput `pulumi:"paused"`
	// Flag that indicates if the cluster uses Continuous Cloud Backup.
	PitEnabled pulumi.BoolInput `pulumi:"pitEnabled"`
	// (Optional) Maximum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMaxInstanceSize pulumi.StringInput `pulumi:"providerAutoScalingComputeMaxInstanceSize"`
	// (Optional) Minimum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMinInstanceSize pulumi.StringInput `pulumi:"providerAutoScalingComputeMinInstanceSize"`
	// Flag indicating if the cluster uses Cloud Backup Snapshots for backups.
	ProviderBackupEnabled pulumi.BoolInput `pulumi:"providerBackupEnabled"`
	// Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
	ProviderDiskIops pulumi.IntInput `pulumi:"providerDiskIops"`
	// Describes Azure disk type of the server’s root volume (Azure Only).
	ProviderDiskTypeName pulumi.StringInput `pulumi:"providerDiskTypeName"`
	// Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
	ProviderEncryptEbsVolume pulumi.BoolInput `pulumi:"providerEncryptEbsVolume"`
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size.
	ProviderInstanceSizeName pulumi.StringInput `pulumi:"providerInstanceSizeName"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	// Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	ProviderRegionName pulumi.StringInput `pulumi:"providerRegionName"`
	// Indicates the type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.
	ProviderVolumeType pulumi.StringInput `pulumi:"providerVolumeType"`
	// (Deprecated) Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor pulumi.IntInput `pulumi:"replicationFactor"`
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs GetClustersResultReplicationSpecArrayInput `pulumi:"replicationSpecs"`
	// current snapshot schedule and retention settings for the cluster.
	SnapshotBackupPolicies GetClustersResultSnapshotBackupPolicyArrayInput `pulumi:"snapshotBackupPolicies"`
	// Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
	SrvAddress pulumi.StringInput `pulumi:"srvAddress"`
	// Indicates the current state of the cluster. The possible states are:
	// - IDLE
	// - CREATING
	// - UPDATING
	// - DELETING
	// - DELETED
	// - REPAIRING
	StateName pulumi.StringInput `pulumi:"stateName"`
}

func (GetClustersResultTypeArgs) ElementType

func (GetClustersResultTypeArgs) ElementType() reflect.Type

func (GetClustersResultTypeArgs) ToGetClustersResultTypeOutput

func (i GetClustersResultTypeArgs) ToGetClustersResultTypeOutput() GetClustersResultTypeOutput

func (GetClustersResultTypeArgs) ToGetClustersResultTypeOutputWithContext

func (i GetClustersResultTypeArgs) ToGetClustersResultTypeOutputWithContext(ctx context.Context) GetClustersResultTypeOutput

type GetClustersResultTypeArray

type GetClustersResultTypeArray []GetClustersResultTypeInput

func (GetClustersResultTypeArray) ElementType

func (GetClustersResultTypeArray) ElementType() reflect.Type

func (GetClustersResultTypeArray) ToGetClustersResultTypeArrayOutput

func (i GetClustersResultTypeArray) ToGetClustersResultTypeArrayOutput() GetClustersResultTypeArrayOutput

func (GetClustersResultTypeArray) ToGetClustersResultTypeArrayOutputWithContext

func (i GetClustersResultTypeArray) ToGetClustersResultTypeArrayOutputWithContext(ctx context.Context) GetClustersResultTypeArrayOutput

type GetClustersResultTypeArrayInput

type GetClustersResultTypeArrayInput interface {
	pulumi.Input

	ToGetClustersResultTypeArrayOutput() GetClustersResultTypeArrayOutput
	ToGetClustersResultTypeArrayOutputWithContext(context.Context) GetClustersResultTypeArrayOutput
}

GetClustersResultTypeArrayInput is an input type that accepts GetClustersResultTypeArray and GetClustersResultTypeArrayOutput values. You can construct a concrete instance of `GetClustersResultTypeArrayInput` via:

GetClustersResultTypeArray{ GetClustersResultTypeArgs{...} }

type GetClustersResultTypeArrayOutput

type GetClustersResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultTypeArrayOutput) ElementType

func (GetClustersResultTypeArrayOutput) Index

func (GetClustersResultTypeArrayOutput) ToGetClustersResultTypeArrayOutput

func (o GetClustersResultTypeArrayOutput) ToGetClustersResultTypeArrayOutput() GetClustersResultTypeArrayOutput

func (GetClustersResultTypeArrayOutput) ToGetClustersResultTypeArrayOutputWithContext

func (o GetClustersResultTypeArrayOutput) ToGetClustersResultTypeArrayOutputWithContext(ctx context.Context) GetClustersResultTypeArrayOutput

type GetClustersResultTypeInput

type GetClustersResultTypeInput interface {
	pulumi.Input

	ToGetClustersResultTypeOutput() GetClustersResultTypeOutput
	ToGetClustersResultTypeOutputWithContext(context.Context) GetClustersResultTypeOutput
}

GetClustersResultTypeInput is an input type that accepts GetClustersResultTypeArgs and GetClustersResultTypeOutput values. You can construct a concrete instance of `GetClustersResultTypeInput` via:

GetClustersResultTypeArgs{...}

type GetClustersResultTypeOutput

type GetClustersResultTypeOutput struct{ *pulumi.OutputState }

func (GetClustersResultTypeOutput) AutoScalingComputeEnabled added in v1.1.0

func (o GetClustersResultTypeOutput) AutoScalingComputeEnabled() pulumi.BoolOutput

(Optional) Specifies whether cluster tier auto-scaling is enabled. The default is false.

func (GetClustersResultTypeOutput) AutoScalingComputeScaleDownEnabled added in v1.1.0

func (o GetClustersResultTypeOutput) AutoScalingComputeScaleDownEnabled() pulumi.BoolOutput

(Optional) Set to `true` to enable the cluster tier to scale down.

func (GetClustersResultTypeOutput) AutoScalingDiskGbEnabled

func (o GetClustersResultTypeOutput) AutoScalingDiskGbEnabled() pulumi.BoolOutput

Indicates whether disk auto-scaling is enabled.

func (GetClustersResultTypeOutput) BackingProviderName

func (o GetClustersResultTypeOutput) BackingProviderName() pulumi.StringOutput

Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.

func (GetClustersResultTypeOutput) BackupEnabled

func (o GetClustersResultTypeOutput) BackupEnabled() pulumi.BoolOutput

Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.

func (GetClustersResultTypeOutput) BiConnector

Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.

func (GetClustersResultTypeOutput) ClusterType

Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.

func (GetClustersResultTypeOutput) ConnectionStrings

Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster. - `connection_strings.standard` - Public mongodb:// connection string for this cluster. - `connection_strings.standard_srv` - Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard. - `connection_strings.aws_private_link` - [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. **DEPRECATED** Use `connection_strings.private_endpoint[n].connection_string` instead. - `connection_strings.aws_private_link_srv` - [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. **DEPRECATED** `connection_strings.private_endpoint[n].srv_connection_string` instead. - `connection_strings.private` - [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. - `connection_strings.private_srv` - [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster. - `connection_strings.private_endpoint.#.connection_string` - Private-endpoint-aware `mongodb://`connection string for this private endpoint. - `connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint. - `connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters. - `connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string` - `connection_strings.private_endoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint. - `connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`. - `connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.

func (GetClustersResultTypeOutput) ContainerId added in v1.1.0

The Network Peering Container ID.

func (GetClustersResultTypeOutput) DiskSizeGb

Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).

func (GetClustersResultTypeOutput) ElementType

func (GetClustersResultTypeOutput) EncryptionAtRestProvider

func (o GetClustersResultTypeOutput) EncryptionAtRestProvider() pulumi.StringOutput

Indicates whether Encryption at Rest is enabled or disabled.

func (GetClustersResultTypeOutput) Labels

func (GetClustersResultTypeOutput) MongoDbMajorVersion

func (o GetClustersResultTypeOutput) MongoDbMajorVersion() pulumi.StringOutput

Indicates the version of the cluster to deploy.

func (GetClustersResultTypeOutput) MongoDbVersion

func (o GetClustersResultTypeOutput) MongoDbVersion() pulumi.StringOutput

Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.

func (GetClustersResultTypeOutput) MongoUri

Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.

func (GetClustersResultTypeOutput) MongoUriUpdated

func (o GetClustersResultTypeOutput) MongoUriUpdated() pulumi.StringOutput

Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.

func (GetClustersResultTypeOutput) MongoUriWithOptions

func (o GetClustersResultTypeOutput) MongoUriWithOptions() pulumi.StringOutput

Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.

func (GetClustersResultTypeOutput) Name

The name of the current plugin

func (GetClustersResultTypeOutput) NumShards

Number of shards to deploy in the specified zone.

func (GetClustersResultTypeOutput) Paused

Flag that indicates whether the cluster is paused or not.

func (GetClustersResultTypeOutput) PitEnabled

Flag that indicates if the cluster uses Continuous Cloud Backup.

func (GetClustersResultTypeOutput) ProviderAutoScalingComputeMaxInstanceSize added in v1.1.0

func (o GetClustersResultTypeOutput) ProviderAutoScalingComputeMaxInstanceSize() pulumi.StringOutput

(Optional) Maximum instance size to which your cluster can automatically scale.

func (GetClustersResultTypeOutput) ProviderAutoScalingComputeMinInstanceSize added in v1.1.0

func (o GetClustersResultTypeOutput) ProviderAutoScalingComputeMinInstanceSize() pulumi.StringOutput

(Optional) Minimum instance size to which your cluster can automatically scale.

func (GetClustersResultTypeOutput) ProviderBackupEnabled

func (o GetClustersResultTypeOutput) ProviderBackupEnabled() pulumi.BoolOutput

Flag indicating if the cluster uses Cloud Backup Snapshots for backups.

func (GetClustersResultTypeOutput) ProviderDiskIops

func (o GetClustersResultTypeOutput) ProviderDiskIops() pulumi.IntOutput

Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.

func (GetClustersResultTypeOutput) ProviderDiskTypeName

func (o GetClustersResultTypeOutput) ProviderDiskTypeName() pulumi.StringOutput

Describes Azure disk type of the server’s root volume (Azure Only).

func (GetClustersResultTypeOutput) ProviderEncryptEbsVolume

func (o GetClustersResultTypeOutput) ProviderEncryptEbsVolume() pulumi.BoolOutput

Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.

func (GetClustersResultTypeOutput) ProviderInstanceSizeName

func (o GetClustersResultTypeOutput) ProviderInstanceSizeName() pulumi.StringOutput

Atlas provides different instance sizes, each with a default storage capacity and RAM size.

func (GetClustersResultTypeOutput) ProviderName

Indicates the cloud service provider on which the servers are provisioned.

func (GetClustersResultTypeOutput) ProviderRegionName

func (o GetClustersResultTypeOutput) ProviderRegionName() pulumi.StringOutput

Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas Region name, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).

func (GetClustersResultTypeOutput) ProviderVolumeType

func (o GetClustersResultTypeOutput) ProviderVolumeType() pulumi.StringOutput

Indicates the type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.

func (GetClustersResultTypeOutput) ReplicationFactor

func (o GetClustersResultTypeOutput) ReplicationFactor() pulumi.IntOutput

(Deprecated) Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.

func (GetClustersResultTypeOutput) ReplicationSpecs

Configuration for cluster regions. See Replication Spec below for more details.

func (GetClustersResultTypeOutput) SnapshotBackupPolicies

current snapshot schedule and retention settings for the cluster.

func (GetClustersResultTypeOutput) SrvAddress

Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.

func (GetClustersResultTypeOutput) StateName

Indicates the current state of the cluster. The possible states are: - IDLE - CREATING - UPDATING - DELETING - DELETED - REPAIRING

func (GetClustersResultTypeOutput) ToGetClustersResultTypeOutput

func (o GetClustersResultTypeOutput) ToGetClustersResultTypeOutput() GetClustersResultTypeOutput

func (GetClustersResultTypeOutput) ToGetClustersResultTypeOutputWithContext

func (o GetClustersResultTypeOutput) ToGetClustersResultTypeOutputWithContext(ctx context.Context) GetClustersResultTypeOutput

type GetCustomDbRoleAction

type GetCustomDbRoleAction struct {
	// (Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.
	Action string `pulumi:"action"`
	// (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources []GetCustomDbRoleActionResource `pulumi:"resources"`
}

type GetCustomDbRoleActionArgs

type GetCustomDbRoleActionArgs struct {
	// (Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.
	Action pulumi.StringInput `pulumi:"action"`
	// (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources GetCustomDbRoleActionResourceArrayInput `pulumi:"resources"`
}

func (GetCustomDbRoleActionArgs) ElementType

func (GetCustomDbRoleActionArgs) ElementType() reflect.Type

func (GetCustomDbRoleActionArgs) ToGetCustomDbRoleActionOutput

func (i GetCustomDbRoleActionArgs) ToGetCustomDbRoleActionOutput() GetCustomDbRoleActionOutput

func (GetCustomDbRoleActionArgs) ToGetCustomDbRoleActionOutputWithContext

func (i GetCustomDbRoleActionArgs) ToGetCustomDbRoleActionOutputWithContext(ctx context.Context) GetCustomDbRoleActionOutput

type GetCustomDbRoleActionArray

type GetCustomDbRoleActionArray []GetCustomDbRoleActionInput

func (GetCustomDbRoleActionArray) ElementType

func (GetCustomDbRoleActionArray) ElementType() reflect.Type

func (GetCustomDbRoleActionArray) ToGetCustomDbRoleActionArrayOutput

func (i GetCustomDbRoleActionArray) ToGetCustomDbRoleActionArrayOutput() GetCustomDbRoleActionArrayOutput

func (GetCustomDbRoleActionArray) ToGetCustomDbRoleActionArrayOutputWithContext

func (i GetCustomDbRoleActionArray) ToGetCustomDbRoleActionArrayOutputWithContext(ctx context.Context) GetCustomDbRoleActionArrayOutput

type GetCustomDbRoleActionArrayInput

type GetCustomDbRoleActionArrayInput interface {
	pulumi.Input

	ToGetCustomDbRoleActionArrayOutput() GetCustomDbRoleActionArrayOutput
	ToGetCustomDbRoleActionArrayOutputWithContext(context.Context) GetCustomDbRoleActionArrayOutput
}

GetCustomDbRoleActionArrayInput is an input type that accepts GetCustomDbRoleActionArray and GetCustomDbRoleActionArrayOutput values. You can construct a concrete instance of `GetCustomDbRoleActionArrayInput` via:

GetCustomDbRoleActionArray{ GetCustomDbRoleActionArgs{...} }

type GetCustomDbRoleActionArrayOutput

type GetCustomDbRoleActionArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleActionArrayOutput) ElementType

func (GetCustomDbRoleActionArrayOutput) Index

func (GetCustomDbRoleActionArrayOutput) ToGetCustomDbRoleActionArrayOutput

func (o GetCustomDbRoleActionArrayOutput) ToGetCustomDbRoleActionArrayOutput() GetCustomDbRoleActionArrayOutput

func (GetCustomDbRoleActionArrayOutput) ToGetCustomDbRoleActionArrayOutputWithContext

func (o GetCustomDbRoleActionArrayOutput) ToGetCustomDbRoleActionArrayOutputWithContext(ctx context.Context) GetCustomDbRoleActionArrayOutput

type GetCustomDbRoleActionInput

type GetCustomDbRoleActionInput interface {
	pulumi.Input

	ToGetCustomDbRoleActionOutput() GetCustomDbRoleActionOutput
	ToGetCustomDbRoleActionOutputWithContext(context.Context) GetCustomDbRoleActionOutput
}

GetCustomDbRoleActionInput is an input type that accepts GetCustomDbRoleActionArgs and GetCustomDbRoleActionOutput values. You can construct a concrete instance of `GetCustomDbRoleActionInput` via:

GetCustomDbRoleActionArgs{...}

type GetCustomDbRoleActionOutput

type GetCustomDbRoleActionOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleActionOutput) Action

(Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.

func (GetCustomDbRoleActionOutput) ElementType

func (GetCustomDbRoleActionOutput) Resources

(Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.

func (GetCustomDbRoleActionOutput) ToGetCustomDbRoleActionOutput

func (o GetCustomDbRoleActionOutput) ToGetCustomDbRoleActionOutput() GetCustomDbRoleActionOutput

func (GetCustomDbRoleActionOutput) ToGetCustomDbRoleActionOutputWithContext

func (o GetCustomDbRoleActionOutput) ToGetCustomDbRoleActionOutputWithContext(ctx context.Context) GetCustomDbRoleActionOutput

type GetCustomDbRoleActionResource

type GetCustomDbRoleActionResource struct {
	Cluster        bool   `pulumi:"cluster"`
	CollectionName string `pulumi:"collectionName"`
	DatabaseName   string `pulumi:"databaseName"`
}

type GetCustomDbRoleActionResourceArgs

type GetCustomDbRoleActionResourceArgs struct {
	Cluster        pulumi.BoolInput   `pulumi:"cluster"`
	CollectionName pulumi.StringInput `pulumi:"collectionName"`
	DatabaseName   pulumi.StringInput `pulumi:"databaseName"`
}

func (GetCustomDbRoleActionResourceArgs) ElementType

func (GetCustomDbRoleActionResourceArgs) ToGetCustomDbRoleActionResourceOutput

func (i GetCustomDbRoleActionResourceArgs) ToGetCustomDbRoleActionResourceOutput() GetCustomDbRoleActionResourceOutput

func (GetCustomDbRoleActionResourceArgs) ToGetCustomDbRoleActionResourceOutputWithContext

func (i GetCustomDbRoleActionResourceArgs) ToGetCustomDbRoleActionResourceOutputWithContext(ctx context.Context) GetCustomDbRoleActionResourceOutput

type GetCustomDbRoleActionResourceArray

type GetCustomDbRoleActionResourceArray []GetCustomDbRoleActionResourceInput

func (GetCustomDbRoleActionResourceArray) ElementType

func (GetCustomDbRoleActionResourceArray) ToGetCustomDbRoleActionResourceArrayOutput

func (i GetCustomDbRoleActionResourceArray) ToGetCustomDbRoleActionResourceArrayOutput() GetCustomDbRoleActionResourceArrayOutput

func (GetCustomDbRoleActionResourceArray) ToGetCustomDbRoleActionResourceArrayOutputWithContext

func (i GetCustomDbRoleActionResourceArray) ToGetCustomDbRoleActionResourceArrayOutputWithContext(ctx context.Context) GetCustomDbRoleActionResourceArrayOutput

type GetCustomDbRoleActionResourceArrayInput

type GetCustomDbRoleActionResourceArrayInput interface {
	pulumi.Input

	ToGetCustomDbRoleActionResourceArrayOutput() GetCustomDbRoleActionResourceArrayOutput
	ToGetCustomDbRoleActionResourceArrayOutputWithContext(context.Context) GetCustomDbRoleActionResourceArrayOutput
}

GetCustomDbRoleActionResourceArrayInput is an input type that accepts GetCustomDbRoleActionResourceArray and GetCustomDbRoleActionResourceArrayOutput values. You can construct a concrete instance of `GetCustomDbRoleActionResourceArrayInput` via:

GetCustomDbRoleActionResourceArray{ GetCustomDbRoleActionResourceArgs{...} }

type GetCustomDbRoleActionResourceArrayOutput

type GetCustomDbRoleActionResourceArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleActionResourceArrayOutput) ElementType

func (GetCustomDbRoleActionResourceArrayOutput) Index

func (GetCustomDbRoleActionResourceArrayOutput) ToGetCustomDbRoleActionResourceArrayOutput

func (o GetCustomDbRoleActionResourceArrayOutput) ToGetCustomDbRoleActionResourceArrayOutput() GetCustomDbRoleActionResourceArrayOutput

func (GetCustomDbRoleActionResourceArrayOutput) ToGetCustomDbRoleActionResourceArrayOutputWithContext

func (o GetCustomDbRoleActionResourceArrayOutput) ToGetCustomDbRoleActionResourceArrayOutputWithContext(ctx context.Context) GetCustomDbRoleActionResourceArrayOutput

type GetCustomDbRoleActionResourceInput

type GetCustomDbRoleActionResourceInput interface {
	pulumi.Input

	ToGetCustomDbRoleActionResourceOutput() GetCustomDbRoleActionResourceOutput
	ToGetCustomDbRoleActionResourceOutputWithContext(context.Context) GetCustomDbRoleActionResourceOutput
}

GetCustomDbRoleActionResourceInput is an input type that accepts GetCustomDbRoleActionResourceArgs and GetCustomDbRoleActionResourceOutput values. You can construct a concrete instance of `GetCustomDbRoleActionResourceInput` via:

GetCustomDbRoleActionResourceArgs{...}

type GetCustomDbRoleActionResourceOutput

type GetCustomDbRoleActionResourceOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleActionResourceOutput) Cluster

func (GetCustomDbRoleActionResourceOutput) CollectionName

func (GetCustomDbRoleActionResourceOutput) DatabaseName

func (GetCustomDbRoleActionResourceOutput) ElementType

func (GetCustomDbRoleActionResourceOutput) ToGetCustomDbRoleActionResourceOutput

func (o GetCustomDbRoleActionResourceOutput) ToGetCustomDbRoleActionResourceOutput() GetCustomDbRoleActionResourceOutput

func (GetCustomDbRoleActionResourceOutput) ToGetCustomDbRoleActionResourceOutputWithContext

func (o GetCustomDbRoleActionResourceOutput) ToGetCustomDbRoleActionResourceOutputWithContext(ctx context.Context) GetCustomDbRoleActionResourceOutput

type GetCustomDbRoleInheritedRole

type GetCustomDbRoleInheritedRole struct {
	DatabaseName string `pulumi:"databaseName"`
	// Name of the custom role.
	RoleName string `pulumi:"roleName"`
}

type GetCustomDbRoleInheritedRoleArgs

type GetCustomDbRoleInheritedRoleArgs struct {
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	// Name of the custom role.
	RoleName pulumi.StringInput `pulumi:"roleName"`
}

func (GetCustomDbRoleInheritedRoleArgs) ElementType

func (GetCustomDbRoleInheritedRoleArgs) ToGetCustomDbRoleInheritedRoleOutput

func (i GetCustomDbRoleInheritedRoleArgs) ToGetCustomDbRoleInheritedRoleOutput() GetCustomDbRoleInheritedRoleOutput

func (GetCustomDbRoleInheritedRoleArgs) ToGetCustomDbRoleInheritedRoleOutputWithContext

func (i GetCustomDbRoleInheritedRoleArgs) ToGetCustomDbRoleInheritedRoleOutputWithContext(ctx context.Context) GetCustomDbRoleInheritedRoleOutput

type GetCustomDbRoleInheritedRoleArray

type GetCustomDbRoleInheritedRoleArray []GetCustomDbRoleInheritedRoleInput

func (GetCustomDbRoleInheritedRoleArray) ElementType

func (GetCustomDbRoleInheritedRoleArray) ToGetCustomDbRoleInheritedRoleArrayOutput

func (i GetCustomDbRoleInheritedRoleArray) ToGetCustomDbRoleInheritedRoleArrayOutput() GetCustomDbRoleInheritedRoleArrayOutput

func (GetCustomDbRoleInheritedRoleArray) ToGetCustomDbRoleInheritedRoleArrayOutputWithContext

func (i GetCustomDbRoleInheritedRoleArray) ToGetCustomDbRoleInheritedRoleArrayOutputWithContext(ctx context.Context) GetCustomDbRoleInheritedRoleArrayOutput

type GetCustomDbRoleInheritedRoleArrayInput

type GetCustomDbRoleInheritedRoleArrayInput interface {
	pulumi.Input

	ToGetCustomDbRoleInheritedRoleArrayOutput() GetCustomDbRoleInheritedRoleArrayOutput
	ToGetCustomDbRoleInheritedRoleArrayOutputWithContext(context.Context) GetCustomDbRoleInheritedRoleArrayOutput
}

GetCustomDbRoleInheritedRoleArrayInput is an input type that accepts GetCustomDbRoleInheritedRoleArray and GetCustomDbRoleInheritedRoleArrayOutput values. You can construct a concrete instance of `GetCustomDbRoleInheritedRoleArrayInput` via:

GetCustomDbRoleInheritedRoleArray{ GetCustomDbRoleInheritedRoleArgs{...} }

type GetCustomDbRoleInheritedRoleArrayOutput

type GetCustomDbRoleInheritedRoleArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleInheritedRoleArrayOutput) ElementType

func (GetCustomDbRoleInheritedRoleArrayOutput) Index

func (GetCustomDbRoleInheritedRoleArrayOutput) ToGetCustomDbRoleInheritedRoleArrayOutput

func (o GetCustomDbRoleInheritedRoleArrayOutput) ToGetCustomDbRoleInheritedRoleArrayOutput() GetCustomDbRoleInheritedRoleArrayOutput

func (GetCustomDbRoleInheritedRoleArrayOutput) ToGetCustomDbRoleInheritedRoleArrayOutputWithContext

func (o GetCustomDbRoleInheritedRoleArrayOutput) ToGetCustomDbRoleInheritedRoleArrayOutputWithContext(ctx context.Context) GetCustomDbRoleInheritedRoleArrayOutput

type GetCustomDbRoleInheritedRoleInput

type GetCustomDbRoleInheritedRoleInput interface {
	pulumi.Input

	ToGetCustomDbRoleInheritedRoleOutput() GetCustomDbRoleInheritedRoleOutput
	ToGetCustomDbRoleInheritedRoleOutputWithContext(context.Context) GetCustomDbRoleInheritedRoleOutput
}

GetCustomDbRoleInheritedRoleInput is an input type that accepts GetCustomDbRoleInheritedRoleArgs and GetCustomDbRoleInheritedRoleOutput values. You can construct a concrete instance of `GetCustomDbRoleInheritedRoleInput` via:

GetCustomDbRoleInheritedRoleArgs{...}

type GetCustomDbRoleInheritedRoleOutput

type GetCustomDbRoleInheritedRoleOutput struct{ *pulumi.OutputState }

func (GetCustomDbRoleInheritedRoleOutput) DatabaseName

func (GetCustomDbRoleInheritedRoleOutput) ElementType

func (GetCustomDbRoleInheritedRoleOutput) RoleName

Name of the custom role.

func (GetCustomDbRoleInheritedRoleOutput) ToGetCustomDbRoleInheritedRoleOutput

func (o GetCustomDbRoleInheritedRoleOutput) ToGetCustomDbRoleInheritedRoleOutput() GetCustomDbRoleInheritedRoleOutput

func (GetCustomDbRoleInheritedRoleOutput) ToGetCustomDbRoleInheritedRoleOutputWithContext

func (o GetCustomDbRoleInheritedRoleOutput) ToGetCustomDbRoleInheritedRoleOutputWithContext(ctx context.Context) GetCustomDbRoleInheritedRoleOutput

type GetCustomDbRolesArgs

type GetCustomDbRolesArgs struct {
	// The unique ID for the project to get all custom db roles.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCustomDbRoles.

type GetCustomDbRolesResult

type GetCustomDbRolesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// A list where each represents a custom db roles.
	Results []GetCustomDbRolesResultType `pulumi:"results"`
}

A collection of values returned by getCustomDbRoles.

func GetCustomDbRoles

func GetCustomDbRoles(ctx *pulumi.Context, args *GetCustomDbRolesArgs, opts ...pulumi.InvokeOption) (*GetCustomDbRolesResult, error)

`getCustomDbRoles` describe all Custom DB Roles. This represents a custom db roles.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewDatabaseUser(ctx, "testDatabaseUser", &mongodbatlas.DatabaseUserArgs{
			DatabaseName: pulumi.String("admin"),
			Password:     pulumi.String("test-acc-password"),
			ProjectId:    pulumi.String("<PROJECT-ID>"),
			Roles: mongodbatlas.DatabaseUserRoleArray{
				&mongodbatlas.DatabaseUserRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     pulumi.String("readWrite"),
				},
				&mongodbatlas.DatabaseUserRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     pulumi.String("atlasAdmin"),
				},
			},
			Username: pulumi.String("test-acc-username"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.GetCustomDbRoles(ctx, &mongodbatlas.GetCustomDbRolesArgs{
			ProjectId: mongodbatlas_custom_db_role.Test.Project_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCustomDbRolesResultAction

type GetCustomDbRolesResultAction struct {
	// (Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.
	Action string `pulumi:"action"`
	// (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources []GetCustomDbRolesResultActionResource `pulumi:"resources"`
}

type GetCustomDbRolesResultActionArgs

type GetCustomDbRolesResultActionArgs struct {
	// (Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.
	Action pulumi.StringInput `pulumi:"action"`
	// (Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.
	Resources GetCustomDbRolesResultActionResourceArrayInput `pulumi:"resources"`
}

func (GetCustomDbRolesResultActionArgs) ElementType

func (GetCustomDbRolesResultActionArgs) ToGetCustomDbRolesResultActionOutput

func (i GetCustomDbRolesResultActionArgs) ToGetCustomDbRolesResultActionOutput() GetCustomDbRolesResultActionOutput

func (GetCustomDbRolesResultActionArgs) ToGetCustomDbRolesResultActionOutputWithContext

func (i GetCustomDbRolesResultActionArgs) ToGetCustomDbRolesResultActionOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionOutput

type GetCustomDbRolesResultActionArray

type GetCustomDbRolesResultActionArray []GetCustomDbRolesResultActionInput

func (GetCustomDbRolesResultActionArray) ElementType

func (GetCustomDbRolesResultActionArray) ToGetCustomDbRolesResultActionArrayOutput

func (i GetCustomDbRolesResultActionArray) ToGetCustomDbRolesResultActionArrayOutput() GetCustomDbRolesResultActionArrayOutput

func (GetCustomDbRolesResultActionArray) ToGetCustomDbRolesResultActionArrayOutputWithContext

func (i GetCustomDbRolesResultActionArray) ToGetCustomDbRolesResultActionArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionArrayOutput

type GetCustomDbRolesResultActionArrayInput

type GetCustomDbRolesResultActionArrayInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultActionArrayOutput() GetCustomDbRolesResultActionArrayOutput
	ToGetCustomDbRolesResultActionArrayOutputWithContext(context.Context) GetCustomDbRolesResultActionArrayOutput
}

GetCustomDbRolesResultActionArrayInput is an input type that accepts GetCustomDbRolesResultActionArray and GetCustomDbRolesResultActionArrayOutput values. You can construct a concrete instance of `GetCustomDbRolesResultActionArrayInput` via:

GetCustomDbRolesResultActionArray{ GetCustomDbRolesResultActionArgs{...} }

type GetCustomDbRolesResultActionArrayOutput

type GetCustomDbRolesResultActionArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultActionArrayOutput) ElementType

func (GetCustomDbRolesResultActionArrayOutput) Index

func (GetCustomDbRolesResultActionArrayOutput) ToGetCustomDbRolesResultActionArrayOutput

func (o GetCustomDbRolesResultActionArrayOutput) ToGetCustomDbRolesResultActionArrayOutput() GetCustomDbRolesResultActionArrayOutput

func (GetCustomDbRolesResultActionArrayOutput) ToGetCustomDbRolesResultActionArrayOutputWithContext

func (o GetCustomDbRolesResultActionArrayOutput) ToGetCustomDbRolesResultActionArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionArrayOutput

type GetCustomDbRolesResultActionInput

type GetCustomDbRolesResultActionInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultActionOutput() GetCustomDbRolesResultActionOutput
	ToGetCustomDbRolesResultActionOutputWithContext(context.Context) GetCustomDbRolesResultActionOutput
}

GetCustomDbRolesResultActionInput is an input type that accepts GetCustomDbRolesResultActionArgs and GetCustomDbRolesResultActionOutput values. You can construct a concrete instance of `GetCustomDbRolesResultActionInput` via:

GetCustomDbRolesResultActionArgs{...}

type GetCustomDbRolesResultActionOutput

type GetCustomDbRolesResultActionOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultActionOutput) Action

(Required) Name of the privilege action. For a complete list of actions available in the Atlas API, see Custom Role Actions.

func (GetCustomDbRolesResultActionOutput) ElementType

func (GetCustomDbRolesResultActionOutput) Resources

(Required) Contains information on where the action is granted. Each object in the array either indicates a database and collection on which the action is granted, or indicates that the action is granted on the cluster resource.

func (GetCustomDbRolesResultActionOutput) ToGetCustomDbRolesResultActionOutput

func (o GetCustomDbRolesResultActionOutput) ToGetCustomDbRolesResultActionOutput() GetCustomDbRolesResultActionOutput

func (GetCustomDbRolesResultActionOutput) ToGetCustomDbRolesResultActionOutputWithContext

func (o GetCustomDbRolesResultActionOutput) ToGetCustomDbRolesResultActionOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionOutput

type GetCustomDbRolesResultActionResource

type GetCustomDbRolesResultActionResource struct {
	Cluster        bool   `pulumi:"cluster"`
	CollectionName string `pulumi:"collectionName"`
	DatabaseName   string `pulumi:"databaseName"`
}

type GetCustomDbRolesResultActionResourceArgs

type GetCustomDbRolesResultActionResourceArgs struct {
	Cluster        pulumi.BoolInput   `pulumi:"cluster"`
	CollectionName pulumi.StringInput `pulumi:"collectionName"`
	DatabaseName   pulumi.StringInput `pulumi:"databaseName"`
}

func (GetCustomDbRolesResultActionResourceArgs) ElementType

func (GetCustomDbRolesResultActionResourceArgs) ToGetCustomDbRolesResultActionResourceOutput

func (i GetCustomDbRolesResultActionResourceArgs) ToGetCustomDbRolesResultActionResourceOutput() GetCustomDbRolesResultActionResourceOutput

func (GetCustomDbRolesResultActionResourceArgs) ToGetCustomDbRolesResultActionResourceOutputWithContext

func (i GetCustomDbRolesResultActionResourceArgs) ToGetCustomDbRolesResultActionResourceOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionResourceOutput

type GetCustomDbRolesResultActionResourceArray

type GetCustomDbRolesResultActionResourceArray []GetCustomDbRolesResultActionResourceInput

func (GetCustomDbRolesResultActionResourceArray) ElementType

func (GetCustomDbRolesResultActionResourceArray) ToGetCustomDbRolesResultActionResourceArrayOutput

func (i GetCustomDbRolesResultActionResourceArray) ToGetCustomDbRolesResultActionResourceArrayOutput() GetCustomDbRolesResultActionResourceArrayOutput

func (GetCustomDbRolesResultActionResourceArray) ToGetCustomDbRolesResultActionResourceArrayOutputWithContext

func (i GetCustomDbRolesResultActionResourceArray) ToGetCustomDbRolesResultActionResourceArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionResourceArrayOutput

type GetCustomDbRolesResultActionResourceArrayInput

type GetCustomDbRolesResultActionResourceArrayInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultActionResourceArrayOutput() GetCustomDbRolesResultActionResourceArrayOutput
	ToGetCustomDbRolesResultActionResourceArrayOutputWithContext(context.Context) GetCustomDbRolesResultActionResourceArrayOutput
}

GetCustomDbRolesResultActionResourceArrayInput is an input type that accepts GetCustomDbRolesResultActionResourceArray and GetCustomDbRolesResultActionResourceArrayOutput values. You can construct a concrete instance of `GetCustomDbRolesResultActionResourceArrayInput` via:

GetCustomDbRolesResultActionResourceArray{ GetCustomDbRolesResultActionResourceArgs{...} }

type GetCustomDbRolesResultActionResourceArrayOutput

type GetCustomDbRolesResultActionResourceArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultActionResourceArrayOutput) ElementType

func (GetCustomDbRolesResultActionResourceArrayOutput) Index

func (GetCustomDbRolesResultActionResourceArrayOutput) ToGetCustomDbRolesResultActionResourceArrayOutput

func (o GetCustomDbRolesResultActionResourceArrayOutput) ToGetCustomDbRolesResultActionResourceArrayOutput() GetCustomDbRolesResultActionResourceArrayOutput

func (GetCustomDbRolesResultActionResourceArrayOutput) ToGetCustomDbRolesResultActionResourceArrayOutputWithContext

func (o GetCustomDbRolesResultActionResourceArrayOutput) ToGetCustomDbRolesResultActionResourceArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionResourceArrayOutput

type GetCustomDbRolesResultActionResourceInput

type GetCustomDbRolesResultActionResourceInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultActionResourceOutput() GetCustomDbRolesResultActionResourceOutput
	ToGetCustomDbRolesResultActionResourceOutputWithContext(context.Context) GetCustomDbRolesResultActionResourceOutput
}

GetCustomDbRolesResultActionResourceInput is an input type that accepts GetCustomDbRolesResultActionResourceArgs and GetCustomDbRolesResultActionResourceOutput values. You can construct a concrete instance of `GetCustomDbRolesResultActionResourceInput` via:

GetCustomDbRolesResultActionResourceArgs{...}

type GetCustomDbRolesResultActionResourceOutput

type GetCustomDbRolesResultActionResourceOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultActionResourceOutput) Cluster

func (GetCustomDbRolesResultActionResourceOutput) CollectionName

func (GetCustomDbRolesResultActionResourceOutput) DatabaseName

func (GetCustomDbRolesResultActionResourceOutput) ElementType

func (GetCustomDbRolesResultActionResourceOutput) ToGetCustomDbRolesResultActionResourceOutput

func (o GetCustomDbRolesResultActionResourceOutput) ToGetCustomDbRolesResultActionResourceOutput() GetCustomDbRolesResultActionResourceOutput

func (GetCustomDbRolesResultActionResourceOutput) ToGetCustomDbRolesResultActionResourceOutputWithContext

func (o GetCustomDbRolesResultActionResourceOutput) ToGetCustomDbRolesResultActionResourceOutputWithContext(ctx context.Context) GetCustomDbRolesResultActionResourceOutput

type GetCustomDbRolesResultInheritedRole

type GetCustomDbRolesResultInheritedRole struct {
	DatabaseName string `pulumi:"databaseName"`
	RoleName     string `pulumi:"roleName"`
}

type GetCustomDbRolesResultInheritedRoleArgs

type GetCustomDbRolesResultInheritedRoleArgs struct {
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	RoleName     pulumi.StringInput `pulumi:"roleName"`
}

func (GetCustomDbRolesResultInheritedRoleArgs) ElementType

func (GetCustomDbRolesResultInheritedRoleArgs) ToGetCustomDbRolesResultInheritedRoleOutput

func (i GetCustomDbRolesResultInheritedRoleArgs) ToGetCustomDbRolesResultInheritedRoleOutput() GetCustomDbRolesResultInheritedRoleOutput

func (GetCustomDbRolesResultInheritedRoleArgs) ToGetCustomDbRolesResultInheritedRoleOutputWithContext

func (i GetCustomDbRolesResultInheritedRoleArgs) ToGetCustomDbRolesResultInheritedRoleOutputWithContext(ctx context.Context) GetCustomDbRolesResultInheritedRoleOutput

type GetCustomDbRolesResultInheritedRoleArray

type GetCustomDbRolesResultInheritedRoleArray []GetCustomDbRolesResultInheritedRoleInput

func (GetCustomDbRolesResultInheritedRoleArray) ElementType

func (GetCustomDbRolesResultInheritedRoleArray) ToGetCustomDbRolesResultInheritedRoleArrayOutput

func (i GetCustomDbRolesResultInheritedRoleArray) ToGetCustomDbRolesResultInheritedRoleArrayOutput() GetCustomDbRolesResultInheritedRoleArrayOutput

func (GetCustomDbRolesResultInheritedRoleArray) ToGetCustomDbRolesResultInheritedRoleArrayOutputWithContext

func (i GetCustomDbRolesResultInheritedRoleArray) ToGetCustomDbRolesResultInheritedRoleArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultInheritedRoleArrayOutput

type GetCustomDbRolesResultInheritedRoleArrayInput

type GetCustomDbRolesResultInheritedRoleArrayInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultInheritedRoleArrayOutput() GetCustomDbRolesResultInheritedRoleArrayOutput
	ToGetCustomDbRolesResultInheritedRoleArrayOutputWithContext(context.Context) GetCustomDbRolesResultInheritedRoleArrayOutput
}

GetCustomDbRolesResultInheritedRoleArrayInput is an input type that accepts GetCustomDbRolesResultInheritedRoleArray and GetCustomDbRolesResultInheritedRoleArrayOutput values. You can construct a concrete instance of `GetCustomDbRolesResultInheritedRoleArrayInput` via:

GetCustomDbRolesResultInheritedRoleArray{ GetCustomDbRolesResultInheritedRoleArgs{...} }

type GetCustomDbRolesResultInheritedRoleArrayOutput

type GetCustomDbRolesResultInheritedRoleArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultInheritedRoleArrayOutput) ElementType

func (GetCustomDbRolesResultInheritedRoleArrayOutput) Index

func (GetCustomDbRolesResultInheritedRoleArrayOutput) ToGetCustomDbRolesResultInheritedRoleArrayOutput

func (o GetCustomDbRolesResultInheritedRoleArrayOutput) ToGetCustomDbRolesResultInheritedRoleArrayOutput() GetCustomDbRolesResultInheritedRoleArrayOutput

func (GetCustomDbRolesResultInheritedRoleArrayOutput) ToGetCustomDbRolesResultInheritedRoleArrayOutputWithContext

func (o GetCustomDbRolesResultInheritedRoleArrayOutput) ToGetCustomDbRolesResultInheritedRoleArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultInheritedRoleArrayOutput

type GetCustomDbRolesResultInheritedRoleInput

type GetCustomDbRolesResultInheritedRoleInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultInheritedRoleOutput() GetCustomDbRolesResultInheritedRoleOutput
	ToGetCustomDbRolesResultInheritedRoleOutputWithContext(context.Context) GetCustomDbRolesResultInheritedRoleOutput
}

GetCustomDbRolesResultInheritedRoleInput is an input type that accepts GetCustomDbRolesResultInheritedRoleArgs and GetCustomDbRolesResultInheritedRoleOutput values. You can construct a concrete instance of `GetCustomDbRolesResultInheritedRoleInput` via:

GetCustomDbRolesResultInheritedRoleArgs{...}

type GetCustomDbRolesResultInheritedRoleOutput

type GetCustomDbRolesResultInheritedRoleOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultInheritedRoleOutput) DatabaseName

func (GetCustomDbRolesResultInheritedRoleOutput) ElementType

func (GetCustomDbRolesResultInheritedRoleOutput) RoleName

func (GetCustomDbRolesResultInheritedRoleOutput) ToGetCustomDbRolesResultInheritedRoleOutput

func (o GetCustomDbRolesResultInheritedRoleOutput) ToGetCustomDbRolesResultInheritedRoleOutput() GetCustomDbRolesResultInheritedRoleOutput

func (GetCustomDbRolesResultInheritedRoleOutput) ToGetCustomDbRolesResultInheritedRoleOutputWithContext

func (o GetCustomDbRolesResultInheritedRoleOutput) ToGetCustomDbRolesResultInheritedRoleOutputWithContext(ctx context.Context) GetCustomDbRolesResultInheritedRoleOutput

type GetCustomDbRolesResultType

type GetCustomDbRolesResultType struct {
	Actions        []GetCustomDbRolesResultAction        `pulumi:"actions"`
	InheritedRoles []GetCustomDbRolesResultInheritedRole `pulumi:"inheritedRoles"`
	RoleName       string                                `pulumi:"roleName"`
}

type GetCustomDbRolesResultTypeArgs

type GetCustomDbRolesResultTypeArgs struct {
	Actions        GetCustomDbRolesResultActionArrayInput        `pulumi:"actions"`
	InheritedRoles GetCustomDbRolesResultInheritedRoleArrayInput `pulumi:"inheritedRoles"`
	RoleName       pulumi.StringInput                            `pulumi:"roleName"`
}

func (GetCustomDbRolesResultTypeArgs) ElementType

func (GetCustomDbRolesResultTypeArgs) ToGetCustomDbRolesResultTypeOutput

func (i GetCustomDbRolesResultTypeArgs) ToGetCustomDbRolesResultTypeOutput() GetCustomDbRolesResultTypeOutput

func (GetCustomDbRolesResultTypeArgs) ToGetCustomDbRolesResultTypeOutputWithContext

func (i GetCustomDbRolesResultTypeArgs) ToGetCustomDbRolesResultTypeOutputWithContext(ctx context.Context) GetCustomDbRolesResultTypeOutput

type GetCustomDbRolesResultTypeArray

type GetCustomDbRolesResultTypeArray []GetCustomDbRolesResultTypeInput

func (GetCustomDbRolesResultTypeArray) ElementType

func (GetCustomDbRolesResultTypeArray) ToGetCustomDbRolesResultTypeArrayOutput

func (i GetCustomDbRolesResultTypeArray) ToGetCustomDbRolesResultTypeArrayOutput() GetCustomDbRolesResultTypeArrayOutput

func (GetCustomDbRolesResultTypeArray) ToGetCustomDbRolesResultTypeArrayOutputWithContext

func (i GetCustomDbRolesResultTypeArray) ToGetCustomDbRolesResultTypeArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultTypeArrayOutput

type GetCustomDbRolesResultTypeArrayInput

type GetCustomDbRolesResultTypeArrayInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultTypeArrayOutput() GetCustomDbRolesResultTypeArrayOutput
	ToGetCustomDbRolesResultTypeArrayOutputWithContext(context.Context) GetCustomDbRolesResultTypeArrayOutput
}

GetCustomDbRolesResultTypeArrayInput is an input type that accepts GetCustomDbRolesResultTypeArray and GetCustomDbRolesResultTypeArrayOutput values. You can construct a concrete instance of `GetCustomDbRolesResultTypeArrayInput` via:

GetCustomDbRolesResultTypeArray{ GetCustomDbRolesResultTypeArgs{...} }

type GetCustomDbRolesResultTypeArrayOutput

type GetCustomDbRolesResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultTypeArrayOutput) ElementType

func (GetCustomDbRolesResultTypeArrayOutput) Index

func (GetCustomDbRolesResultTypeArrayOutput) ToGetCustomDbRolesResultTypeArrayOutput

func (o GetCustomDbRolesResultTypeArrayOutput) ToGetCustomDbRolesResultTypeArrayOutput() GetCustomDbRolesResultTypeArrayOutput

func (GetCustomDbRolesResultTypeArrayOutput) ToGetCustomDbRolesResultTypeArrayOutputWithContext

func (o GetCustomDbRolesResultTypeArrayOutput) ToGetCustomDbRolesResultTypeArrayOutputWithContext(ctx context.Context) GetCustomDbRolesResultTypeArrayOutput

type GetCustomDbRolesResultTypeInput

type GetCustomDbRolesResultTypeInput interface {
	pulumi.Input

	ToGetCustomDbRolesResultTypeOutput() GetCustomDbRolesResultTypeOutput
	ToGetCustomDbRolesResultTypeOutputWithContext(context.Context) GetCustomDbRolesResultTypeOutput
}

GetCustomDbRolesResultTypeInput is an input type that accepts GetCustomDbRolesResultTypeArgs and GetCustomDbRolesResultTypeOutput values. You can construct a concrete instance of `GetCustomDbRolesResultTypeInput` via:

GetCustomDbRolesResultTypeArgs{...}

type GetCustomDbRolesResultTypeOutput

type GetCustomDbRolesResultTypeOutput struct{ *pulumi.OutputState }

func (GetCustomDbRolesResultTypeOutput) Actions

func (GetCustomDbRolesResultTypeOutput) ElementType

func (GetCustomDbRolesResultTypeOutput) InheritedRoles

func (GetCustomDbRolesResultTypeOutput) RoleName

func (GetCustomDbRolesResultTypeOutput) ToGetCustomDbRolesResultTypeOutput

func (o GetCustomDbRolesResultTypeOutput) ToGetCustomDbRolesResultTypeOutput() GetCustomDbRolesResultTypeOutput

func (GetCustomDbRolesResultTypeOutput) ToGetCustomDbRolesResultTypeOutputWithContext

func (o GetCustomDbRolesResultTypeOutput) ToGetCustomDbRolesResultTypeOutputWithContext(ctx context.Context) GetCustomDbRolesResultTypeOutput

type GetDatabaseUserLabel

type GetDatabaseUserLabel struct {
	// The key that you want to write.
	Key string `pulumi:"key"`
	// The value that you want to write.
	Value string `pulumi:"value"`
}

type GetDatabaseUserLabelArgs

type GetDatabaseUserLabelArgs struct {
	// The key that you want to write.
	Key pulumi.StringInput `pulumi:"key"`
	// The value that you want to write.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetDatabaseUserLabelArgs) ElementType

func (GetDatabaseUserLabelArgs) ElementType() reflect.Type

func (GetDatabaseUserLabelArgs) ToGetDatabaseUserLabelOutput

func (i GetDatabaseUserLabelArgs) ToGetDatabaseUserLabelOutput() GetDatabaseUserLabelOutput

func (GetDatabaseUserLabelArgs) ToGetDatabaseUserLabelOutputWithContext

func (i GetDatabaseUserLabelArgs) ToGetDatabaseUserLabelOutputWithContext(ctx context.Context) GetDatabaseUserLabelOutput

type GetDatabaseUserLabelArray

type GetDatabaseUserLabelArray []GetDatabaseUserLabelInput

func (GetDatabaseUserLabelArray) ElementType

func (GetDatabaseUserLabelArray) ElementType() reflect.Type

func (GetDatabaseUserLabelArray) ToGetDatabaseUserLabelArrayOutput

func (i GetDatabaseUserLabelArray) ToGetDatabaseUserLabelArrayOutput() GetDatabaseUserLabelArrayOutput

func (GetDatabaseUserLabelArray) ToGetDatabaseUserLabelArrayOutputWithContext

func (i GetDatabaseUserLabelArray) ToGetDatabaseUserLabelArrayOutputWithContext(ctx context.Context) GetDatabaseUserLabelArrayOutput

type GetDatabaseUserLabelArrayInput

type GetDatabaseUserLabelArrayInput interface {
	pulumi.Input

	ToGetDatabaseUserLabelArrayOutput() GetDatabaseUserLabelArrayOutput
	ToGetDatabaseUserLabelArrayOutputWithContext(context.Context) GetDatabaseUserLabelArrayOutput
}

GetDatabaseUserLabelArrayInput is an input type that accepts GetDatabaseUserLabelArray and GetDatabaseUserLabelArrayOutput values. You can construct a concrete instance of `GetDatabaseUserLabelArrayInput` via:

GetDatabaseUserLabelArray{ GetDatabaseUserLabelArgs{...} }

type GetDatabaseUserLabelArrayOutput

type GetDatabaseUserLabelArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserLabelArrayOutput) ElementType

func (GetDatabaseUserLabelArrayOutput) Index

func (GetDatabaseUserLabelArrayOutput) ToGetDatabaseUserLabelArrayOutput

func (o GetDatabaseUserLabelArrayOutput) ToGetDatabaseUserLabelArrayOutput() GetDatabaseUserLabelArrayOutput

func (GetDatabaseUserLabelArrayOutput) ToGetDatabaseUserLabelArrayOutputWithContext

func (o GetDatabaseUserLabelArrayOutput) ToGetDatabaseUserLabelArrayOutputWithContext(ctx context.Context) GetDatabaseUserLabelArrayOutput

type GetDatabaseUserLabelInput

type GetDatabaseUserLabelInput interface {
	pulumi.Input

	ToGetDatabaseUserLabelOutput() GetDatabaseUserLabelOutput
	ToGetDatabaseUserLabelOutputWithContext(context.Context) GetDatabaseUserLabelOutput
}

GetDatabaseUserLabelInput is an input type that accepts GetDatabaseUserLabelArgs and GetDatabaseUserLabelOutput values. You can construct a concrete instance of `GetDatabaseUserLabelInput` via:

GetDatabaseUserLabelArgs{...}

type GetDatabaseUserLabelOutput

type GetDatabaseUserLabelOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserLabelOutput) ElementType

func (GetDatabaseUserLabelOutput) ElementType() reflect.Type

func (GetDatabaseUserLabelOutput) Key

The key that you want to write.

func (GetDatabaseUserLabelOutput) ToGetDatabaseUserLabelOutput

func (o GetDatabaseUserLabelOutput) ToGetDatabaseUserLabelOutput() GetDatabaseUserLabelOutput

func (GetDatabaseUserLabelOutput) ToGetDatabaseUserLabelOutputWithContext

func (o GetDatabaseUserLabelOutput) ToGetDatabaseUserLabelOutputWithContext(ctx context.Context) GetDatabaseUserLabelOutput

func (GetDatabaseUserLabelOutput) Value

The value that you want to write.

type GetDatabaseUserRole

type GetDatabaseUserRole struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName string `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName string `pulumi:"databaseName"`
	RoleName     string `pulumi:"roleName"`
}

type GetDatabaseUserRoleArgs

type GetDatabaseUserRoleArgs struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName pulumi.StringInput `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	RoleName     pulumi.StringInput `pulumi:"roleName"`
}

func (GetDatabaseUserRoleArgs) ElementType

func (GetDatabaseUserRoleArgs) ElementType() reflect.Type

func (GetDatabaseUserRoleArgs) ToGetDatabaseUserRoleOutput

func (i GetDatabaseUserRoleArgs) ToGetDatabaseUserRoleOutput() GetDatabaseUserRoleOutput

func (GetDatabaseUserRoleArgs) ToGetDatabaseUserRoleOutputWithContext

func (i GetDatabaseUserRoleArgs) ToGetDatabaseUserRoleOutputWithContext(ctx context.Context) GetDatabaseUserRoleOutput

type GetDatabaseUserRoleArray

type GetDatabaseUserRoleArray []GetDatabaseUserRoleInput

func (GetDatabaseUserRoleArray) ElementType

func (GetDatabaseUserRoleArray) ElementType() reflect.Type

func (GetDatabaseUserRoleArray) ToGetDatabaseUserRoleArrayOutput

func (i GetDatabaseUserRoleArray) ToGetDatabaseUserRoleArrayOutput() GetDatabaseUserRoleArrayOutput

func (GetDatabaseUserRoleArray) ToGetDatabaseUserRoleArrayOutputWithContext

func (i GetDatabaseUserRoleArray) ToGetDatabaseUserRoleArrayOutputWithContext(ctx context.Context) GetDatabaseUserRoleArrayOutput

type GetDatabaseUserRoleArrayInput

type GetDatabaseUserRoleArrayInput interface {
	pulumi.Input

	ToGetDatabaseUserRoleArrayOutput() GetDatabaseUserRoleArrayOutput
	ToGetDatabaseUserRoleArrayOutputWithContext(context.Context) GetDatabaseUserRoleArrayOutput
}

GetDatabaseUserRoleArrayInput is an input type that accepts GetDatabaseUserRoleArray and GetDatabaseUserRoleArrayOutput values. You can construct a concrete instance of `GetDatabaseUserRoleArrayInput` via:

GetDatabaseUserRoleArray{ GetDatabaseUserRoleArgs{...} }

type GetDatabaseUserRoleArrayOutput

type GetDatabaseUserRoleArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserRoleArrayOutput) ElementType

func (GetDatabaseUserRoleArrayOutput) Index

func (GetDatabaseUserRoleArrayOutput) ToGetDatabaseUserRoleArrayOutput

func (o GetDatabaseUserRoleArrayOutput) ToGetDatabaseUserRoleArrayOutput() GetDatabaseUserRoleArrayOutput

func (GetDatabaseUserRoleArrayOutput) ToGetDatabaseUserRoleArrayOutputWithContext

func (o GetDatabaseUserRoleArrayOutput) ToGetDatabaseUserRoleArrayOutputWithContext(ctx context.Context) GetDatabaseUserRoleArrayOutput

type GetDatabaseUserRoleInput

type GetDatabaseUserRoleInput interface {
	pulumi.Input

	ToGetDatabaseUserRoleOutput() GetDatabaseUserRoleOutput
	ToGetDatabaseUserRoleOutputWithContext(context.Context) GetDatabaseUserRoleOutput
}

GetDatabaseUserRoleInput is an input type that accepts GetDatabaseUserRoleArgs and GetDatabaseUserRoleOutput values. You can construct a concrete instance of `GetDatabaseUserRoleInput` via:

GetDatabaseUserRoleArgs{...}

type GetDatabaseUserRoleOutput

type GetDatabaseUserRoleOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserRoleOutput) CollectionName

func (o GetDatabaseUserRoleOutput) CollectionName() pulumi.StringOutput

Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).

func (GetDatabaseUserRoleOutput) DatabaseName

Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.

func (GetDatabaseUserRoleOutput) ElementType

func (GetDatabaseUserRoleOutput) ElementType() reflect.Type

func (GetDatabaseUserRoleOutput) RoleName

func (GetDatabaseUserRoleOutput) ToGetDatabaseUserRoleOutput

func (o GetDatabaseUserRoleOutput) ToGetDatabaseUserRoleOutput() GetDatabaseUserRoleOutput

func (GetDatabaseUserRoleOutput) ToGetDatabaseUserRoleOutputWithContext

func (o GetDatabaseUserRoleOutput) ToGetDatabaseUserRoleOutputWithContext(ctx context.Context) GetDatabaseUserRoleOutput

type GetDatabaseUserScope added in v1.2.2

type GetDatabaseUserScope struct {
	// Name of the role to grant.
	Name string `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type string `pulumi:"type"`
}

type GetDatabaseUserScopeArgs added in v1.2.2

type GetDatabaseUserScopeArgs struct {
	// Name of the role to grant.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetDatabaseUserScopeArgs) ElementType added in v1.2.2

func (GetDatabaseUserScopeArgs) ElementType() reflect.Type

func (GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutput added in v1.2.2

func (i GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutput() GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutputWithContext added in v1.2.2

func (i GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutputWithContext(ctx context.Context) GetDatabaseUserScopeOutput

type GetDatabaseUserScopeArray added in v1.2.2

type GetDatabaseUserScopeArray []GetDatabaseUserScopeInput

func (GetDatabaseUserScopeArray) ElementType added in v1.2.2

func (GetDatabaseUserScopeArray) ElementType() reflect.Type

func (GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutput added in v1.2.2

func (i GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutput() GetDatabaseUserScopeArrayOutput

func (GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutputWithContext added in v1.2.2

func (i GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUserScopeArrayOutput

type GetDatabaseUserScopeArrayInput added in v1.2.2

type GetDatabaseUserScopeArrayInput interface {
	pulumi.Input

	ToGetDatabaseUserScopeArrayOutput() GetDatabaseUserScopeArrayOutput
	ToGetDatabaseUserScopeArrayOutputWithContext(context.Context) GetDatabaseUserScopeArrayOutput
}

GetDatabaseUserScopeArrayInput is an input type that accepts GetDatabaseUserScopeArray and GetDatabaseUserScopeArrayOutput values. You can construct a concrete instance of `GetDatabaseUserScopeArrayInput` via:

GetDatabaseUserScopeArray{ GetDatabaseUserScopeArgs{...} }

type GetDatabaseUserScopeArrayOutput added in v1.2.2

type GetDatabaseUserScopeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserScopeArrayOutput) ElementType added in v1.2.2

func (GetDatabaseUserScopeArrayOutput) Index added in v1.2.2

func (GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutput added in v1.2.2

func (o GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutput() GetDatabaseUserScopeArrayOutput

func (GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutputWithContext added in v1.2.2

func (o GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUserScopeArrayOutput

type GetDatabaseUserScopeInput added in v1.2.2

type GetDatabaseUserScopeInput interface {
	pulumi.Input

	ToGetDatabaseUserScopeOutput() GetDatabaseUserScopeOutput
	ToGetDatabaseUserScopeOutputWithContext(context.Context) GetDatabaseUserScopeOutput
}

GetDatabaseUserScopeInput is an input type that accepts GetDatabaseUserScopeArgs and GetDatabaseUserScopeOutput values. You can construct a concrete instance of `GetDatabaseUserScopeInput` via:

GetDatabaseUserScopeArgs{...}

type GetDatabaseUserScopeOutput added in v1.2.2

type GetDatabaseUserScopeOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserScopeOutput) ElementType added in v1.2.2

func (GetDatabaseUserScopeOutput) ElementType() reflect.Type

func (GetDatabaseUserScopeOutput) Name added in v1.2.2

Name of the role to grant.

func (GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutput added in v1.2.2

func (o GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutput() GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutputWithContext added in v1.2.2

func (o GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutputWithContext(ctx context.Context) GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeOutput) Type added in v1.2.2

Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`

type GetDatabaseUsersArgs

type GetDatabaseUsersArgs struct {
	// The unique ID for the project to get all database users.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getDatabaseUsers.

type GetDatabaseUsersResult

type GetDatabaseUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID of the Atlas project the user belongs to.
	ProjectId string `pulumi:"projectId"`
	// A list where each represents a Database user.
	Results []GetDatabaseUsersResultType `pulumi:"results"`
}

A collection of values returned by getDatabaseUsers.

func GetDatabaseUsers

func GetDatabaseUsers(ctx *pulumi.Context, args *GetDatabaseUsersArgs, opts ...pulumi.InvokeOption) (*GetDatabaseUsersResult, error)

`getDatabaseUsers` describe all Database Users. This represents a database user which will be applied to all clusters within the project.

Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testDatabaseUser, err := mongodbatlas.NewDatabaseUser(ctx, "testDatabaseUser", &mongodbatlas.DatabaseUserArgs{
			Username:         pulumi.String("test-acc-username"),
			Password:         pulumi.String("test-acc-password"),
			ProjectId:        pulumi.String("<PROJECT-ID>"),
			AuthDatabaseName: pulumi.String("admin"),
			Roles: mongodbatlas.DatabaseUserRoleArray{
				&mongodbatlas.DatabaseUserRoleArgs{
					RoleName:     pulumi.String("readWrite"),
					DatabaseName: pulumi.String("admin"),
				},
				&mongodbatlas.DatabaseUserRoleArgs{
					RoleName:     pulumi.String("atlasAdmin"),
					DatabaseName: pulumi.String("admin"),
				},
			},
			Labels: mongodbatlas.DatabaseUserLabelArray{
				&mongodbatlas.DatabaseUserLabelArgs{
					Key:   pulumi.String("key 1"),
					Value: pulumi.String("value 1"),
				},
				&mongodbatlas.DatabaseUserLabelArgs{
					Key:   pulumi.String("key 2"),
					Value: pulumi.String("value 2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDatabaseUsersResultLabel

type GetDatabaseUsersResultLabel struct {
	// The key that you want to write.
	Key string `pulumi:"key"`
	// The value that you want to write.
	Value string `pulumi:"value"`
}

type GetDatabaseUsersResultLabelArgs

type GetDatabaseUsersResultLabelArgs struct {
	// The key that you want to write.
	Key pulumi.StringInput `pulumi:"key"`
	// The value that you want to write.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetDatabaseUsersResultLabelArgs) ElementType

func (GetDatabaseUsersResultLabelArgs) ToGetDatabaseUsersResultLabelOutput

func (i GetDatabaseUsersResultLabelArgs) ToGetDatabaseUsersResultLabelOutput() GetDatabaseUsersResultLabelOutput

func (GetDatabaseUsersResultLabelArgs) ToGetDatabaseUsersResultLabelOutputWithContext

func (i GetDatabaseUsersResultLabelArgs) ToGetDatabaseUsersResultLabelOutputWithContext(ctx context.Context) GetDatabaseUsersResultLabelOutput

type GetDatabaseUsersResultLabelArray

type GetDatabaseUsersResultLabelArray []GetDatabaseUsersResultLabelInput

func (GetDatabaseUsersResultLabelArray) ElementType

func (GetDatabaseUsersResultLabelArray) ToGetDatabaseUsersResultLabelArrayOutput

func (i GetDatabaseUsersResultLabelArray) ToGetDatabaseUsersResultLabelArrayOutput() GetDatabaseUsersResultLabelArrayOutput

func (GetDatabaseUsersResultLabelArray) ToGetDatabaseUsersResultLabelArrayOutputWithContext

func (i GetDatabaseUsersResultLabelArray) ToGetDatabaseUsersResultLabelArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultLabelArrayOutput

type GetDatabaseUsersResultLabelArrayInput

type GetDatabaseUsersResultLabelArrayInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultLabelArrayOutput() GetDatabaseUsersResultLabelArrayOutput
	ToGetDatabaseUsersResultLabelArrayOutputWithContext(context.Context) GetDatabaseUsersResultLabelArrayOutput
}

GetDatabaseUsersResultLabelArrayInput is an input type that accepts GetDatabaseUsersResultLabelArray and GetDatabaseUsersResultLabelArrayOutput values. You can construct a concrete instance of `GetDatabaseUsersResultLabelArrayInput` via:

GetDatabaseUsersResultLabelArray{ GetDatabaseUsersResultLabelArgs{...} }

type GetDatabaseUsersResultLabelArrayOutput

type GetDatabaseUsersResultLabelArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultLabelArrayOutput) ElementType

func (GetDatabaseUsersResultLabelArrayOutput) Index

func (GetDatabaseUsersResultLabelArrayOutput) ToGetDatabaseUsersResultLabelArrayOutput

func (o GetDatabaseUsersResultLabelArrayOutput) ToGetDatabaseUsersResultLabelArrayOutput() GetDatabaseUsersResultLabelArrayOutput

func (GetDatabaseUsersResultLabelArrayOutput) ToGetDatabaseUsersResultLabelArrayOutputWithContext

func (o GetDatabaseUsersResultLabelArrayOutput) ToGetDatabaseUsersResultLabelArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultLabelArrayOutput

type GetDatabaseUsersResultLabelInput

type GetDatabaseUsersResultLabelInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultLabelOutput() GetDatabaseUsersResultLabelOutput
	ToGetDatabaseUsersResultLabelOutputWithContext(context.Context) GetDatabaseUsersResultLabelOutput
}

GetDatabaseUsersResultLabelInput is an input type that accepts GetDatabaseUsersResultLabelArgs and GetDatabaseUsersResultLabelOutput values. You can construct a concrete instance of `GetDatabaseUsersResultLabelInput` via:

GetDatabaseUsersResultLabelArgs{...}

type GetDatabaseUsersResultLabelOutput

type GetDatabaseUsersResultLabelOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultLabelOutput) ElementType

func (GetDatabaseUsersResultLabelOutput) Key

The key that you want to write.

func (GetDatabaseUsersResultLabelOutput) ToGetDatabaseUsersResultLabelOutput

func (o GetDatabaseUsersResultLabelOutput) ToGetDatabaseUsersResultLabelOutput() GetDatabaseUsersResultLabelOutput

func (GetDatabaseUsersResultLabelOutput) ToGetDatabaseUsersResultLabelOutputWithContext

func (o GetDatabaseUsersResultLabelOutput) ToGetDatabaseUsersResultLabelOutputWithContext(ctx context.Context) GetDatabaseUsersResultLabelOutput

func (GetDatabaseUsersResultLabelOutput) Value

The value that you want to write.

type GetDatabaseUsersResultRole

type GetDatabaseUsersResultRole struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName string `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName string `pulumi:"databaseName"`
	RoleName     string `pulumi:"roleName"`
}

type GetDatabaseUsersResultRoleArgs

type GetDatabaseUsersResultRoleArgs struct {
	// Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).
	CollectionName pulumi.StringInput `pulumi:"collectionName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	DatabaseName pulumi.StringInput `pulumi:"databaseName"`
	RoleName     pulumi.StringInput `pulumi:"roleName"`
}

func (GetDatabaseUsersResultRoleArgs) ElementType

func (GetDatabaseUsersResultRoleArgs) ToGetDatabaseUsersResultRoleOutput

func (i GetDatabaseUsersResultRoleArgs) ToGetDatabaseUsersResultRoleOutput() GetDatabaseUsersResultRoleOutput

func (GetDatabaseUsersResultRoleArgs) ToGetDatabaseUsersResultRoleOutputWithContext

func (i GetDatabaseUsersResultRoleArgs) ToGetDatabaseUsersResultRoleOutputWithContext(ctx context.Context) GetDatabaseUsersResultRoleOutput

type GetDatabaseUsersResultRoleArray

type GetDatabaseUsersResultRoleArray []GetDatabaseUsersResultRoleInput

func (GetDatabaseUsersResultRoleArray) ElementType

func (GetDatabaseUsersResultRoleArray) ToGetDatabaseUsersResultRoleArrayOutput

func (i GetDatabaseUsersResultRoleArray) ToGetDatabaseUsersResultRoleArrayOutput() GetDatabaseUsersResultRoleArrayOutput

func (GetDatabaseUsersResultRoleArray) ToGetDatabaseUsersResultRoleArrayOutputWithContext

func (i GetDatabaseUsersResultRoleArray) ToGetDatabaseUsersResultRoleArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultRoleArrayOutput

type GetDatabaseUsersResultRoleArrayInput

type GetDatabaseUsersResultRoleArrayInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultRoleArrayOutput() GetDatabaseUsersResultRoleArrayOutput
	ToGetDatabaseUsersResultRoleArrayOutputWithContext(context.Context) GetDatabaseUsersResultRoleArrayOutput
}

GetDatabaseUsersResultRoleArrayInput is an input type that accepts GetDatabaseUsersResultRoleArray and GetDatabaseUsersResultRoleArrayOutput values. You can construct a concrete instance of `GetDatabaseUsersResultRoleArrayInput` via:

GetDatabaseUsersResultRoleArray{ GetDatabaseUsersResultRoleArgs{...} }

type GetDatabaseUsersResultRoleArrayOutput

type GetDatabaseUsersResultRoleArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultRoleArrayOutput) ElementType

func (GetDatabaseUsersResultRoleArrayOutput) Index

func (GetDatabaseUsersResultRoleArrayOutput) ToGetDatabaseUsersResultRoleArrayOutput

func (o GetDatabaseUsersResultRoleArrayOutput) ToGetDatabaseUsersResultRoleArrayOutput() GetDatabaseUsersResultRoleArrayOutput

func (GetDatabaseUsersResultRoleArrayOutput) ToGetDatabaseUsersResultRoleArrayOutputWithContext

func (o GetDatabaseUsersResultRoleArrayOutput) ToGetDatabaseUsersResultRoleArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultRoleArrayOutput

type GetDatabaseUsersResultRoleInput

type GetDatabaseUsersResultRoleInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultRoleOutput() GetDatabaseUsersResultRoleOutput
	ToGetDatabaseUsersResultRoleOutputWithContext(context.Context) GetDatabaseUsersResultRoleOutput
}

GetDatabaseUsersResultRoleInput is an input type that accepts GetDatabaseUsersResultRoleArgs and GetDatabaseUsersResultRoleOutput values. You can construct a concrete instance of `GetDatabaseUsersResultRoleInput` via:

GetDatabaseUsersResultRoleArgs{...}

type GetDatabaseUsersResultRoleOutput

type GetDatabaseUsersResultRoleOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultRoleOutput) CollectionName

Collection for which the role applies. You can specify a collection for the `read` and `readWrite` roles. If you do not specify a collection for `read` and `readWrite`, the role applies to all collections in the database (excluding some collections in the `system`. database).

func (GetDatabaseUsersResultRoleOutput) DatabaseName

Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.

func (GetDatabaseUsersResultRoleOutput) ElementType

func (GetDatabaseUsersResultRoleOutput) RoleName

func (GetDatabaseUsersResultRoleOutput) ToGetDatabaseUsersResultRoleOutput

func (o GetDatabaseUsersResultRoleOutput) ToGetDatabaseUsersResultRoleOutput() GetDatabaseUsersResultRoleOutput

func (GetDatabaseUsersResultRoleOutput) ToGetDatabaseUsersResultRoleOutputWithContext

func (o GetDatabaseUsersResultRoleOutput) ToGetDatabaseUsersResultRoleOutputWithContext(ctx context.Context) GetDatabaseUsersResultRoleOutput

type GetDatabaseUsersResultScope added in v1.2.2

type GetDatabaseUsersResultScope struct {
	// Name of the role to grant.
	Name string `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type string `pulumi:"type"`
}

type GetDatabaseUsersResultScopeArgs added in v1.2.2

type GetDatabaseUsersResultScopeArgs struct {
	// Name of the role to grant.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetDatabaseUsersResultScopeArgs) ElementType added in v1.2.2

func (GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutput added in v1.2.2

func (i GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutput() GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutputWithContext added in v1.2.2

func (i GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeOutput

type GetDatabaseUsersResultScopeArray added in v1.2.2

type GetDatabaseUsersResultScopeArray []GetDatabaseUsersResultScopeInput

func (GetDatabaseUsersResultScopeArray) ElementType added in v1.2.2

func (GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutput added in v1.2.2

func (i GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutput() GetDatabaseUsersResultScopeArrayOutput

func (GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutputWithContext added in v1.2.2

func (i GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeArrayOutput

type GetDatabaseUsersResultScopeArrayInput added in v1.2.2

type GetDatabaseUsersResultScopeArrayInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultScopeArrayOutput() GetDatabaseUsersResultScopeArrayOutput
	ToGetDatabaseUsersResultScopeArrayOutputWithContext(context.Context) GetDatabaseUsersResultScopeArrayOutput
}

GetDatabaseUsersResultScopeArrayInput is an input type that accepts GetDatabaseUsersResultScopeArray and GetDatabaseUsersResultScopeArrayOutput values. You can construct a concrete instance of `GetDatabaseUsersResultScopeArrayInput` via:

GetDatabaseUsersResultScopeArray{ GetDatabaseUsersResultScopeArgs{...} }

type GetDatabaseUsersResultScopeArrayOutput added in v1.2.2

type GetDatabaseUsersResultScopeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultScopeArrayOutput) ElementType added in v1.2.2

func (GetDatabaseUsersResultScopeArrayOutput) Index added in v1.2.2

func (GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutput added in v1.2.2

func (o GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutput() GetDatabaseUsersResultScopeArrayOutput

func (GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutputWithContext added in v1.2.2

func (o GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeArrayOutput

type GetDatabaseUsersResultScopeInput added in v1.2.2

type GetDatabaseUsersResultScopeInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultScopeOutput() GetDatabaseUsersResultScopeOutput
	ToGetDatabaseUsersResultScopeOutputWithContext(context.Context) GetDatabaseUsersResultScopeOutput
}

GetDatabaseUsersResultScopeInput is an input type that accepts GetDatabaseUsersResultScopeArgs and GetDatabaseUsersResultScopeOutput values. You can construct a concrete instance of `GetDatabaseUsersResultScopeInput` via:

GetDatabaseUsersResultScopeArgs{...}

type GetDatabaseUsersResultScopeOutput added in v1.2.2

type GetDatabaseUsersResultScopeOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultScopeOutput) ElementType added in v1.2.2

func (GetDatabaseUsersResultScopeOutput) Name added in v1.2.2

Name of the role to grant.

func (GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutput added in v1.2.2

func (o GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutput() GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutputWithContext added in v1.2.2

func (o GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeOutput) Type added in v1.2.2

Type of resource that the user has access to. Valid values are: `CLUSTER` and `DATA_LAKE`

type GetDatabaseUsersResultType

type GetDatabaseUsersResultType struct {
	// (Required) Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
	// Possible values include:
	// * `admin` if `x509Type` and `awsIamType` are omitted or NONE.
	// * `$external` if:
	// * `x509Type` is MANAGED or CUSTOMER, or
	// * `awsIamType` is USER or ROLE.
	AuthDatabaseName string `pulumi:"authDatabaseName"`
	// The new database user authenticates with AWS IAM credentials. Default is `NONE`, `USER` means user has AWS IAM user credentials, `ROLE` - means user has credentials associated with an AWS IAM role.
	AwsIamType string                        `pulumi:"awsIamType"`
	Labels     []GetDatabaseUsersResultLabel `pulumi:"labels"`
	// The unique ID for the project to get all database users.
	ProjectId string `pulumi:"projectId"`
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles []GetDatabaseUsersResultRole `pulumi:"roles"`
	// Array of clusters and Atlas Data Lakes that this user has access to.
	Scopes []GetDatabaseUsersResultScope `pulumi:"scopes"`
	// Username for authenticating to MongoDB.
	Username string `pulumi:"username"`
	// X.509 method by which the provided username is authenticated.
	X509Type string `pulumi:"x509Type"`
}

type GetDatabaseUsersResultTypeArgs

type GetDatabaseUsersResultTypeArgs struct {
	// (Required) Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB.
	// Possible values include:
	// * `admin` if `x509Type` and `awsIamType` are omitted or NONE.
	// * `$external` if:
	// * `x509Type` is MANAGED or CUSTOMER, or
	// * `awsIamType` is USER or ROLE.
	AuthDatabaseName pulumi.StringInput `pulumi:"authDatabaseName"`
	// The new database user authenticates with AWS IAM credentials. Default is `NONE`, `USER` means user has AWS IAM user credentials, `ROLE` - means user has credentials associated with an AWS IAM role.
	AwsIamType pulumi.StringInput                    `pulumi:"awsIamType"`
	Labels     GetDatabaseUsersResultLabelArrayInput `pulumi:"labels"`
	// The unique ID for the project to get all database users.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles GetDatabaseUsersResultRoleArrayInput `pulumi:"roles"`
	// Array of clusters and Atlas Data Lakes that this user has access to.
	Scopes GetDatabaseUsersResultScopeArrayInput `pulumi:"scopes"`
	// Username for authenticating to MongoDB.
	Username pulumi.StringInput `pulumi:"username"`
	// X.509 method by which the provided username is authenticated.
	X509Type pulumi.StringInput `pulumi:"x509Type"`
}

func (GetDatabaseUsersResultTypeArgs) ElementType

func (GetDatabaseUsersResultTypeArgs) ToGetDatabaseUsersResultTypeOutput

func (i GetDatabaseUsersResultTypeArgs) ToGetDatabaseUsersResultTypeOutput() GetDatabaseUsersResultTypeOutput

func (GetDatabaseUsersResultTypeArgs) ToGetDatabaseUsersResultTypeOutputWithContext

func (i GetDatabaseUsersResultTypeArgs) ToGetDatabaseUsersResultTypeOutputWithContext(ctx context.Context) GetDatabaseUsersResultTypeOutput

type GetDatabaseUsersResultTypeArray

type GetDatabaseUsersResultTypeArray []GetDatabaseUsersResultTypeInput

func (GetDatabaseUsersResultTypeArray) ElementType

func (GetDatabaseUsersResultTypeArray) ToGetDatabaseUsersResultTypeArrayOutput

func (i GetDatabaseUsersResultTypeArray) ToGetDatabaseUsersResultTypeArrayOutput() GetDatabaseUsersResultTypeArrayOutput

func (GetDatabaseUsersResultTypeArray) ToGetDatabaseUsersResultTypeArrayOutputWithContext

func (i GetDatabaseUsersResultTypeArray) ToGetDatabaseUsersResultTypeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultTypeArrayOutput

type GetDatabaseUsersResultTypeArrayInput

type GetDatabaseUsersResultTypeArrayInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultTypeArrayOutput() GetDatabaseUsersResultTypeArrayOutput
	ToGetDatabaseUsersResultTypeArrayOutputWithContext(context.Context) GetDatabaseUsersResultTypeArrayOutput
}

GetDatabaseUsersResultTypeArrayInput is an input type that accepts GetDatabaseUsersResultTypeArray and GetDatabaseUsersResultTypeArrayOutput values. You can construct a concrete instance of `GetDatabaseUsersResultTypeArrayInput` via:

GetDatabaseUsersResultTypeArray{ GetDatabaseUsersResultTypeArgs{...} }

type GetDatabaseUsersResultTypeArrayOutput

type GetDatabaseUsersResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultTypeArrayOutput) ElementType

func (GetDatabaseUsersResultTypeArrayOutput) Index

func (GetDatabaseUsersResultTypeArrayOutput) ToGetDatabaseUsersResultTypeArrayOutput

func (o GetDatabaseUsersResultTypeArrayOutput) ToGetDatabaseUsersResultTypeArrayOutput() GetDatabaseUsersResultTypeArrayOutput

func (GetDatabaseUsersResultTypeArrayOutput) ToGetDatabaseUsersResultTypeArrayOutputWithContext

func (o GetDatabaseUsersResultTypeArrayOutput) ToGetDatabaseUsersResultTypeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultTypeArrayOutput

type GetDatabaseUsersResultTypeInput

type GetDatabaseUsersResultTypeInput interface {
	pulumi.Input

	ToGetDatabaseUsersResultTypeOutput() GetDatabaseUsersResultTypeOutput
	ToGetDatabaseUsersResultTypeOutputWithContext(context.Context) GetDatabaseUsersResultTypeOutput
}

GetDatabaseUsersResultTypeInput is an input type that accepts GetDatabaseUsersResultTypeArgs and GetDatabaseUsersResultTypeOutput values. You can construct a concrete instance of `GetDatabaseUsersResultTypeInput` via:

GetDatabaseUsersResultTypeArgs{...}

type GetDatabaseUsersResultTypeOutput

type GetDatabaseUsersResultTypeOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultTypeOutput) AuthDatabaseName

(Required) Database against which Atlas authenticates the user. A user must provide both a username and authentication database to log into MongoDB. Possible values include: * `admin` if `x509Type` and `awsIamType` are omitted or NONE. * `$external` if: * `x509Type` is MANAGED or CUSTOMER, or * `awsIamType` is USER or ROLE.

func (GetDatabaseUsersResultTypeOutput) AwsIamType added in v1.2.1

The new database user authenticates with AWS IAM credentials. Default is `NONE`, `USER` means user has AWS IAM user credentials, `ROLE` - means user has credentials associated with an AWS IAM role.

func (GetDatabaseUsersResultTypeOutput) ElementType

func (GetDatabaseUsersResultTypeOutput) Labels

func (GetDatabaseUsersResultTypeOutput) ProjectId

The unique ID for the project to get all database users.

func (GetDatabaseUsersResultTypeOutput) Roles

List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.

func (GetDatabaseUsersResultTypeOutput) Scopes added in v1.2.2

Array of clusters and Atlas Data Lakes that this user has access to.

func (GetDatabaseUsersResultTypeOutput) ToGetDatabaseUsersResultTypeOutput

func (o GetDatabaseUsersResultTypeOutput) ToGetDatabaseUsersResultTypeOutput() GetDatabaseUsersResultTypeOutput

func (GetDatabaseUsersResultTypeOutput) ToGetDatabaseUsersResultTypeOutputWithContext

func (o GetDatabaseUsersResultTypeOutput) ToGetDatabaseUsersResultTypeOutputWithContext(ctx context.Context) GetDatabaseUsersResultTypeOutput

func (GetDatabaseUsersResultTypeOutput) Username

Username for authenticating to MongoDB.

func (GetDatabaseUsersResultTypeOutput) X509Type

X.509 method by which the provided username is authenticated.

type GetGlobalClusterConfigManagedNamespace

type GetGlobalClusterConfigManagedNamespace struct {
	// (Required) The name of the collection associated with the managed namespace.
	Collection string `pulumi:"collection"`
	// (Required)	The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
	CustomShardKey string `pulumi:"customShardKey"`
	// (Required) The name of the database containing the collection.
	Db string `pulumi:"db"`
}

type GetGlobalClusterConfigManagedNamespaceArgs

type GetGlobalClusterConfigManagedNamespaceArgs struct {
	// (Required) The name of the collection associated with the managed namespace.
	Collection pulumi.StringInput `pulumi:"collection"`
	// (Required)	The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
	CustomShardKey pulumi.StringInput `pulumi:"customShardKey"`
	// (Required) The name of the database containing the collection.
	Db pulumi.StringInput `pulumi:"db"`
}

func (GetGlobalClusterConfigManagedNamespaceArgs) ElementType

func (GetGlobalClusterConfigManagedNamespaceArgs) ToGetGlobalClusterConfigManagedNamespaceOutput

func (i GetGlobalClusterConfigManagedNamespaceArgs) ToGetGlobalClusterConfigManagedNamespaceOutput() GetGlobalClusterConfigManagedNamespaceOutput

func (GetGlobalClusterConfigManagedNamespaceArgs) ToGetGlobalClusterConfigManagedNamespaceOutputWithContext

func (i GetGlobalClusterConfigManagedNamespaceArgs) ToGetGlobalClusterConfigManagedNamespaceOutputWithContext(ctx context.Context) GetGlobalClusterConfigManagedNamespaceOutput

type GetGlobalClusterConfigManagedNamespaceArray

type GetGlobalClusterConfigManagedNamespaceArray []GetGlobalClusterConfigManagedNamespaceInput

func (GetGlobalClusterConfigManagedNamespaceArray) ElementType

func (GetGlobalClusterConfigManagedNamespaceArray) ToGetGlobalClusterConfigManagedNamespaceArrayOutput

func (i GetGlobalClusterConfigManagedNamespaceArray) ToGetGlobalClusterConfigManagedNamespaceArrayOutput() GetGlobalClusterConfigManagedNamespaceArrayOutput

func (GetGlobalClusterConfigManagedNamespaceArray) ToGetGlobalClusterConfigManagedNamespaceArrayOutputWithContext

func (i GetGlobalClusterConfigManagedNamespaceArray) ToGetGlobalClusterConfigManagedNamespaceArrayOutputWithContext(ctx context.Context) GetGlobalClusterConfigManagedNamespaceArrayOutput

type GetGlobalClusterConfigManagedNamespaceArrayInput

type GetGlobalClusterConfigManagedNamespaceArrayInput interface {
	pulumi.Input

	ToGetGlobalClusterConfigManagedNamespaceArrayOutput() GetGlobalClusterConfigManagedNamespaceArrayOutput
	ToGetGlobalClusterConfigManagedNamespaceArrayOutputWithContext(context.Context) GetGlobalClusterConfigManagedNamespaceArrayOutput
}

GetGlobalClusterConfigManagedNamespaceArrayInput is an input type that accepts GetGlobalClusterConfigManagedNamespaceArray and GetGlobalClusterConfigManagedNamespaceArrayOutput values. You can construct a concrete instance of `GetGlobalClusterConfigManagedNamespaceArrayInput` via:

GetGlobalClusterConfigManagedNamespaceArray{ GetGlobalClusterConfigManagedNamespaceArgs{...} }

type GetGlobalClusterConfigManagedNamespaceArrayOutput

type GetGlobalClusterConfigManagedNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GetGlobalClusterConfigManagedNamespaceArrayOutput) ElementType

func (GetGlobalClusterConfigManagedNamespaceArrayOutput) Index

func (GetGlobalClusterConfigManagedNamespaceArrayOutput) ToGetGlobalClusterConfigManagedNamespaceArrayOutput

func (o GetGlobalClusterConfigManagedNamespaceArrayOutput) ToGetGlobalClusterConfigManagedNamespaceArrayOutput() GetGlobalClusterConfigManagedNamespaceArrayOutput

func (GetGlobalClusterConfigManagedNamespaceArrayOutput) ToGetGlobalClusterConfigManagedNamespaceArrayOutputWithContext

func (o GetGlobalClusterConfigManagedNamespaceArrayOutput) ToGetGlobalClusterConfigManagedNamespaceArrayOutputWithContext(ctx context.Context) GetGlobalClusterConfigManagedNamespaceArrayOutput

type GetGlobalClusterConfigManagedNamespaceInput

type GetGlobalClusterConfigManagedNamespaceInput interface {
	pulumi.Input

	ToGetGlobalClusterConfigManagedNamespaceOutput() GetGlobalClusterConfigManagedNamespaceOutput
	ToGetGlobalClusterConfigManagedNamespaceOutputWithContext(context.Context) GetGlobalClusterConfigManagedNamespaceOutput
}

GetGlobalClusterConfigManagedNamespaceInput is an input type that accepts GetGlobalClusterConfigManagedNamespaceArgs and GetGlobalClusterConfigManagedNamespaceOutput values. You can construct a concrete instance of `GetGlobalClusterConfigManagedNamespaceInput` via:

GetGlobalClusterConfigManagedNamespaceArgs{...}

type GetGlobalClusterConfigManagedNamespaceOutput

type GetGlobalClusterConfigManagedNamespaceOutput struct{ *pulumi.OutputState }

func (GetGlobalClusterConfigManagedNamespaceOutput) Collection

(Required) The name of the collection associated with the managed namespace.

func (GetGlobalClusterConfigManagedNamespaceOutput) CustomShardKey

(Required) The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.

func (GetGlobalClusterConfigManagedNamespaceOutput) Db

(Required) The name of the database containing the collection.

func (GetGlobalClusterConfigManagedNamespaceOutput) ElementType

func (GetGlobalClusterConfigManagedNamespaceOutput) ToGetGlobalClusterConfigManagedNamespaceOutput

func (o GetGlobalClusterConfigManagedNamespaceOutput) ToGetGlobalClusterConfigManagedNamespaceOutput() GetGlobalClusterConfigManagedNamespaceOutput

func (GetGlobalClusterConfigManagedNamespaceOutput) ToGetGlobalClusterConfigManagedNamespaceOutputWithContext

func (o GetGlobalClusterConfigManagedNamespaceOutput) ToGetGlobalClusterConfigManagedNamespaceOutputWithContext(ctx context.Context) GetGlobalClusterConfigManagedNamespaceOutput

type GetNetworkContainersArgs

type GetNetworkContainersArgs struct {
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
	// Cloud provider for this Network peering container. Accepted values are AWS, GCP, and Azure.
	ProviderName string `pulumi:"providerName"`
}

A collection of arguments for invoking getNetworkContainers.

type GetNetworkContainersResult

type GetNetworkContainersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.
	ProviderName string `pulumi:"providerName"`
	// A list where each represents a Network Peering Container.
	Results []GetNetworkContainersResultType `pulumi:"results"`
}

A collection of values returned by getNetworkContainers.

func GetNetworkContainers

func GetNetworkContainers(ctx *pulumi.Context, args *GetNetworkContainersArgs, opts ...pulumi.InvokeOption) (*GetNetworkContainersResult, error)

`getNetworkContainers` describes all Network Peering Containers. The data source requires your Project ID.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

## Example Usage ### Basic Example.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testNetworkContainer, err := mongodbatlas.NewNetworkContainer(ctx, "testNetworkContainer", &mongodbatlas.NetworkContainerArgs{
			ProjectId:      pulumi.String("<YOUR-PROJECT-ID>"),
			AtlasCidrBlock: pulumi.String("10.8.0.0/21"),
			ProviderName:   pulumi.String("AWS"),
			RegionName:     pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNetworkContainersResultType

type GetNetworkContainersResultType struct {
	// CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3).
	AtlasCidrBlock string `pulumi:"atlasCidrBlock"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId string `pulumi:"azureSubscriptionId"`
	// Unique identifier of the GCP project in which the Network Peering connection resides.
	GcpProjectId string `pulumi:"gcpProjectId"`
	// The Network Peering Container ID.
	Id string `pulumi:"id"`
	// Name of the Network Peering connection in the Atlas project.
	NetworkName string `pulumi:"networkName"`
	// Cloud provider for this Network peering container. Accepted values are AWS, GCP, and Azure.
	ProviderName string `pulumi:"providerName"`
	// Indicates whether the project has Network Peering connections deployed in the container.
	Provisioned bool `pulumi:"provisioned"`
	// The Atlas Azure region name for where this container exists.
	Region string `pulumi:"region"`
	// The Atlas AWS region name for where this container exists.
	RegionName string `pulumi:"regionName"`
	// The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.
	VnetName string `pulumi:"vnetName"`
	// Unique identifier of the project’s VPC.
	VpcId string `pulumi:"vpcId"`
}

type GetNetworkContainersResultTypeArgs

type GetNetworkContainersResultTypeArgs struct {
	// CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3).
	AtlasCidrBlock pulumi.StringInput `pulumi:"atlasCidrBlock"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId pulumi.StringInput `pulumi:"azureSubscriptionId"`
	// Unique identifier of the GCP project in which the Network Peering connection resides.
	GcpProjectId pulumi.StringInput `pulumi:"gcpProjectId"`
	// The Network Peering Container ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of the Network Peering connection in the Atlas project.
	NetworkName pulumi.StringInput `pulumi:"networkName"`
	// Cloud provider for this Network peering container. Accepted values are AWS, GCP, and Azure.
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	// Indicates whether the project has Network Peering connections deployed in the container.
	Provisioned pulumi.BoolInput `pulumi:"provisioned"`
	// The Atlas Azure region name for where this container exists.
	Region pulumi.StringInput `pulumi:"region"`
	// The Atlas AWS region name for where this container exists.
	RegionName pulumi.StringInput `pulumi:"regionName"`
	// The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.
	VnetName pulumi.StringInput `pulumi:"vnetName"`
	// Unique identifier of the project’s VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetNetworkContainersResultTypeArgs) ElementType

func (GetNetworkContainersResultTypeArgs) ToGetNetworkContainersResultTypeOutput

func (i GetNetworkContainersResultTypeArgs) ToGetNetworkContainersResultTypeOutput() GetNetworkContainersResultTypeOutput

func (GetNetworkContainersResultTypeArgs) ToGetNetworkContainersResultTypeOutputWithContext

func (i GetNetworkContainersResultTypeArgs) ToGetNetworkContainersResultTypeOutputWithContext(ctx context.Context) GetNetworkContainersResultTypeOutput

type GetNetworkContainersResultTypeArray

type GetNetworkContainersResultTypeArray []GetNetworkContainersResultTypeInput

func (GetNetworkContainersResultTypeArray) ElementType

func (GetNetworkContainersResultTypeArray) ToGetNetworkContainersResultTypeArrayOutput

func (i GetNetworkContainersResultTypeArray) ToGetNetworkContainersResultTypeArrayOutput() GetNetworkContainersResultTypeArrayOutput

func (GetNetworkContainersResultTypeArray) ToGetNetworkContainersResultTypeArrayOutputWithContext

func (i GetNetworkContainersResultTypeArray) ToGetNetworkContainersResultTypeArrayOutputWithContext(ctx context.Context) GetNetworkContainersResultTypeArrayOutput

type GetNetworkContainersResultTypeArrayInput

type GetNetworkContainersResultTypeArrayInput interface {
	pulumi.Input

	ToGetNetworkContainersResultTypeArrayOutput() GetNetworkContainersResultTypeArrayOutput
	ToGetNetworkContainersResultTypeArrayOutputWithContext(context.Context) GetNetworkContainersResultTypeArrayOutput
}

GetNetworkContainersResultTypeArrayInput is an input type that accepts GetNetworkContainersResultTypeArray and GetNetworkContainersResultTypeArrayOutput values. You can construct a concrete instance of `GetNetworkContainersResultTypeArrayInput` via:

GetNetworkContainersResultTypeArray{ GetNetworkContainersResultTypeArgs{...} }

type GetNetworkContainersResultTypeArrayOutput

type GetNetworkContainersResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkContainersResultTypeArrayOutput) ElementType

func (GetNetworkContainersResultTypeArrayOutput) Index

func (GetNetworkContainersResultTypeArrayOutput) ToGetNetworkContainersResultTypeArrayOutput

func (o GetNetworkContainersResultTypeArrayOutput) ToGetNetworkContainersResultTypeArrayOutput() GetNetworkContainersResultTypeArrayOutput

func (GetNetworkContainersResultTypeArrayOutput) ToGetNetworkContainersResultTypeArrayOutputWithContext

func (o GetNetworkContainersResultTypeArrayOutput) ToGetNetworkContainersResultTypeArrayOutputWithContext(ctx context.Context) GetNetworkContainersResultTypeArrayOutput

type GetNetworkContainersResultTypeInput

type GetNetworkContainersResultTypeInput interface {
	pulumi.Input

	ToGetNetworkContainersResultTypeOutput() GetNetworkContainersResultTypeOutput
	ToGetNetworkContainersResultTypeOutputWithContext(context.Context) GetNetworkContainersResultTypeOutput
}

GetNetworkContainersResultTypeInput is an input type that accepts GetNetworkContainersResultTypeArgs and GetNetworkContainersResultTypeOutput values. You can construct a concrete instance of `GetNetworkContainersResultTypeInput` via:

GetNetworkContainersResultTypeArgs{...}

type GetNetworkContainersResultTypeOutput

type GetNetworkContainersResultTypeOutput struct{ *pulumi.OutputState }

func (GetNetworkContainersResultTypeOutput) AtlasCidrBlock

CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3).

func (GetNetworkContainersResultTypeOutput) AzureSubscriptionId

Unique identifer of the Azure subscription in which the VNet resides.

func (GetNetworkContainersResultTypeOutput) ElementType

func (GetNetworkContainersResultTypeOutput) GcpProjectId

Unique identifier of the GCP project in which the Network Peering connection resides.

func (GetNetworkContainersResultTypeOutput) Id

The Network Peering Container ID.

func (GetNetworkContainersResultTypeOutput) NetworkName

Name of the Network Peering connection in the Atlas project.

func (GetNetworkContainersResultTypeOutput) ProviderName

Cloud provider for this Network peering container. Accepted values are AWS, GCP, and Azure.

func (GetNetworkContainersResultTypeOutput) Provisioned

Indicates whether the project has Network Peering connections deployed in the container.

func (GetNetworkContainersResultTypeOutput) Region

The Atlas Azure region name for where this container exists.

func (GetNetworkContainersResultTypeOutput) RegionName

The Atlas AWS region name for where this container exists.

func (GetNetworkContainersResultTypeOutput) ToGetNetworkContainersResultTypeOutput

func (o GetNetworkContainersResultTypeOutput) ToGetNetworkContainersResultTypeOutput() GetNetworkContainersResultTypeOutput

func (GetNetworkContainersResultTypeOutput) ToGetNetworkContainersResultTypeOutputWithContext

func (o GetNetworkContainersResultTypeOutput) ToGetNetworkContainersResultTypeOutputWithContext(ctx context.Context) GetNetworkContainersResultTypeOutput

func (GetNetworkContainersResultTypeOutput) VnetName

The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.

func (GetNetworkContainersResultTypeOutput) VpcId

Unique identifier of the project’s VPC.

type GetNetworkPeeringsArgs

type GetNetworkPeeringsArgs struct {
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getNetworkPeerings.

type GetNetworkPeeringsResult

type GetNetworkPeeringsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
	// A list where each represents a Network Peering Connection.
	Results []GetNetworkPeeringsResultType `pulumi:"results"`
}

A collection of values returned by getNetworkPeerings.

func GetNetworkPeerings

func GetNetworkPeerings(ctx *pulumi.Context, args *GetNetworkPeeringsArgs, opts ...pulumi.InvokeOption) (*GetNetworkPeeringsResult, error)

`getNetworkPeerings` describes all Network Peering Connections.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

## Example Usage ### Basic Example (AWS).

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testNetworkPeering, err := mongodbatlas.NewNetworkPeering(ctx, "testNetworkPeering", &mongodbatlas.NetworkPeeringArgs{
			AccepterRegionName:  pulumi.String("us-east-1"),
			ProjectId:           pulumi.String("<YOUR-PROJEC-ID>"),
			ContainerId:         pulumi.String("507f1f77bcf86cd799439011"),
			ProviderName:        pulumi.String("AWS"),
			RouteTableCidrBlock: pulumi.String("192.168.0.0/24"),
			VpcId:               pulumi.String("vpc-abc123abc123"),
			AwsAccountId:        pulumi.String("abc123abc123"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetNetworkPeeringsResultType

type GetNetworkPeeringsResultType struct {
	// Specifies the region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName string `pulumi:"accepterRegionName"`
	// Unique identifier for an Azure AD directory.
	AtlasCidrBlock string `pulumi:"atlasCidrBlock"`
	// Account ID of the owner of the peer VPC.
	AwsAccountId string `pulumi:"awsAccountId"`
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId string `pulumi:"azureDirectoryId"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId string `pulumi:"azureSubscriptionId"`
	// Unique identifier for the peering connection.
	ConnectionId string `pulumi:"connectionId"`
	ContainerId  string `pulumi:"containerId"`
	// When `"status" : "FAILED"`, Atlas provides a description of the error.
	ErrorMessage string `pulumi:"errorMessage"`
	// Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.
	ErrorState string `pulumi:"errorState"`
	// Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.
	ErrorStateName string `pulumi:"errorStateName"`
	// GCP project ID of the owner of the network peer.
	GcpProjectId string `pulumi:"gcpProjectId"`
	// Name of the network peer to which Atlas connects.
	NetworkName string `pulumi:"networkName"`
	// Atlas assigned unique ID for the peering connection.
	PeeringId string `pulumi:"peeringId"`
	// Cloud provider for this VPC peering connection. If omitted, Atlas sets this parameter to AWS. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName string `pulumi:"providerName"`
	// Name of your Azure resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Peer VPC CIDR block or subnet.
	RouteTableCidrBlock string `pulumi:"routeTableCidrBlock"`
	// Status of the Atlas network peering connection: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING`, `WAITING_FOR_USER`.
	Status string `pulumi:"status"`
	// The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.
	StatusName string `pulumi:"statusName"`
	// Name of your Azure VNet.
	VnetName string `pulumi:"vnetName"`
	// Unique identifier of the peer VPC.
	VpcId string `pulumi:"vpcId"`
}

type GetNetworkPeeringsResultTypeArgs

type GetNetworkPeeringsResultTypeArgs struct {
	// Specifies the region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName pulumi.StringInput `pulumi:"accepterRegionName"`
	// Unique identifier for an Azure AD directory.
	AtlasCidrBlock pulumi.StringInput `pulumi:"atlasCidrBlock"`
	// Account ID of the owner of the peer VPC.
	AwsAccountId pulumi.StringInput `pulumi:"awsAccountId"`
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId pulumi.StringInput `pulumi:"azureDirectoryId"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId pulumi.StringInput `pulumi:"azureSubscriptionId"`
	// Unique identifier for the peering connection.
	ConnectionId pulumi.StringInput `pulumi:"connectionId"`
	ContainerId  pulumi.StringInput `pulumi:"containerId"`
	// When `"status" : "FAILED"`, Atlas provides a description of the error.
	ErrorMessage pulumi.StringInput `pulumi:"errorMessage"`
	// Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.
	ErrorState pulumi.StringInput `pulumi:"errorState"`
	// Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.
	ErrorStateName pulumi.StringInput `pulumi:"errorStateName"`
	// GCP project ID of the owner of the network peer.
	GcpProjectId pulumi.StringInput `pulumi:"gcpProjectId"`
	// Name of the network peer to which Atlas connects.
	NetworkName pulumi.StringInput `pulumi:"networkName"`
	// Atlas assigned unique ID for the peering connection.
	PeeringId pulumi.StringInput `pulumi:"peeringId"`
	// Cloud provider for this VPC peering connection. If omitted, Atlas sets this parameter to AWS. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName pulumi.StringInput `pulumi:"providerName"`
	// Name of your Azure resource group.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
	// Peer VPC CIDR block or subnet.
	RouteTableCidrBlock pulumi.StringInput `pulumi:"routeTableCidrBlock"`
	// Status of the Atlas network peering connection: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING`, `WAITING_FOR_USER`.
	Status pulumi.StringInput `pulumi:"status"`
	// The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.
	StatusName pulumi.StringInput `pulumi:"statusName"`
	// Name of your Azure VNet.
	VnetName pulumi.StringInput `pulumi:"vnetName"`
	// Unique identifier of the peer VPC.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (GetNetworkPeeringsResultTypeArgs) ElementType

func (GetNetworkPeeringsResultTypeArgs) ToGetNetworkPeeringsResultTypeOutput

func (i GetNetworkPeeringsResultTypeArgs) ToGetNetworkPeeringsResultTypeOutput() GetNetworkPeeringsResultTypeOutput

func (GetNetworkPeeringsResultTypeArgs) ToGetNetworkPeeringsResultTypeOutputWithContext

func (i GetNetworkPeeringsResultTypeArgs) ToGetNetworkPeeringsResultTypeOutputWithContext(ctx context.Context) GetNetworkPeeringsResultTypeOutput

type GetNetworkPeeringsResultTypeArray

type GetNetworkPeeringsResultTypeArray []GetNetworkPeeringsResultTypeInput

func (GetNetworkPeeringsResultTypeArray) ElementType

func (GetNetworkPeeringsResultTypeArray) ToGetNetworkPeeringsResultTypeArrayOutput

func (i GetNetworkPeeringsResultTypeArray) ToGetNetworkPeeringsResultTypeArrayOutput() GetNetworkPeeringsResultTypeArrayOutput

func (GetNetworkPeeringsResultTypeArray) ToGetNetworkPeeringsResultTypeArrayOutputWithContext

func (i GetNetworkPeeringsResultTypeArray) ToGetNetworkPeeringsResultTypeArrayOutputWithContext(ctx context.Context) GetNetworkPeeringsResultTypeArrayOutput

type GetNetworkPeeringsResultTypeArrayInput

type GetNetworkPeeringsResultTypeArrayInput interface {
	pulumi.Input

	ToGetNetworkPeeringsResultTypeArrayOutput() GetNetworkPeeringsResultTypeArrayOutput
	ToGetNetworkPeeringsResultTypeArrayOutputWithContext(context.Context) GetNetworkPeeringsResultTypeArrayOutput
}

GetNetworkPeeringsResultTypeArrayInput is an input type that accepts GetNetworkPeeringsResultTypeArray and GetNetworkPeeringsResultTypeArrayOutput values. You can construct a concrete instance of `GetNetworkPeeringsResultTypeArrayInput` via:

GetNetworkPeeringsResultTypeArray{ GetNetworkPeeringsResultTypeArgs{...} }

type GetNetworkPeeringsResultTypeArrayOutput

type GetNetworkPeeringsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetNetworkPeeringsResultTypeArrayOutput) ElementType

func (GetNetworkPeeringsResultTypeArrayOutput) Index

func (GetNetworkPeeringsResultTypeArrayOutput) ToGetNetworkPeeringsResultTypeArrayOutput

func (o GetNetworkPeeringsResultTypeArrayOutput) ToGetNetworkPeeringsResultTypeArrayOutput() GetNetworkPeeringsResultTypeArrayOutput

func (GetNetworkPeeringsResultTypeArrayOutput) ToGetNetworkPeeringsResultTypeArrayOutputWithContext

func (o GetNetworkPeeringsResultTypeArrayOutput) ToGetNetworkPeeringsResultTypeArrayOutputWithContext(ctx context.Context) GetNetworkPeeringsResultTypeArrayOutput

type GetNetworkPeeringsResultTypeInput

type GetNetworkPeeringsResultTypeInput interface {
	pulumi.Input

	ToGetNetworkPeeringsResultTypeOutput() GetNetworkPeeringsResultTypeOutput
	ToGetNetworkPeeringsResultTypeOutputWithContext(context.Context) GetNetworkPeeringsResultTypeOutput
}

GetNetworkPeeringsResultTypeInput is an input type that accepts GetNetworkPeeringsResultTypeArgs and GetNetworkPeeringsResultTypeOutput values. You can construct a concrete instance of `GetNetworkPeeringsResultTypeInput` via:

GetNetworkPeeringsResultTypeArgs{...}

type GetNetworkPeeringsResultTypeOutput

type GetNetworkPeeringsResultTypeOutput struct{ *pulumi.OutputState }

func (GetNetworkPeeringsResultTypeOutput) AccepterRegionName

Specifies the region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).

func (GetNetworkPeeringsResultTypeOutput) AtlasCidrBlock

Unique identifier for an Azure AD directory.

func (GetNetworkPeeringsResultTypeOutput) AwsAccountId

Account ID of the owner of the peer VPC.

func (GetNetworkPeeringsResultTypeOutput) AzureDirectoryId

Unique identifier for an Azure AD directory.

func (GetNetworkPeeringsResultTypeOutput) AzureSubscriptionId

func (o GetNetworkPeeringsResultTypeOutput) AzureSubscriptionId() pulumi.StringOutput

Unique identifer of the Azure subscription in which the VNet resides.

func (GetNetworkPeeringsResultTypeOutput) ConnectionId

Unique identifier for the peering connection.

func (GetNetworkPeeringsResultTypeOutput) ContainerId

func (GetNetworkPeeringsResultTypeOutput) ElementType

func (GetNetworkPeeringsResultTypeOutput) ErrorMessage

When `"status" : "FAILED"`, Atlas provides a description of the error.

func (GetNetworkPeeringsResultTypeOutput) ErrorState

Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.

func (GetNetworkPeeringsResultTypeOutput) ErrorStateName

Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.

func (GetNetworkPeeringsResultTypeOutput) GcpProjectId

GCP project ID of the owner of the network peer.

func (GetNetworkPeeringsResultTypeOutput) NetworkName

Name of the network peer to which Atlas connects.

func (GetNetworkPeeringsResultTypeOutput) PeeringId

Atlas assigned unique ID for the peering connection.

func (GetNetworkPeeringsResultTypeOutput) ProviderName

Cloud provider for this VPC peering connection. If omitted, Atlas sets this parameter to AWS. (Possible Values `AWS`, `AZURE`, `GCP`).

func (GetNetworkPeeringsResultTypeOutput) ResourceGroupName

Name of your Azure resource group.

func (GetNetworkPeeringsResultTypeOutput) RouteTableCidrBlock

func (o GetNetworkPeeringsResultTypeOutput) RouteTableCidrBlock() pulumi.StringOutput

Peer VPC CIDR block or subnet.

func (GetNetworkPeeringsResultTypeOutput) Status

Status of the Atlas network peering connection: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING`, `WAITING_FOR_USER`.

func (GetNetworkPeeringsResultTypeOutput) StatusName

The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.

func (GetNetworkPeeringsResultTypeOutput) ToGetNetworkPeeringsResultTypeOutput

func (o GetNetworkPeeringsResultTypeOutput) ToGetNetworkPeeringsResultTypeOutput() GetNetworkPeeringsResultTypeOutput

func (GetNetworkPeeringsResultTypeOutput) ToGetNetworkPeeringsResultTypeOutputWithContext

func (o GetNetworkPeeringsResultTypeOutput) ToGetNetworkPeeringsResultTypeOutputWithContext(ctx context.Context) GetNetworkPeeringsResultTypeOutput

func (GetNetworkPeeringsResultTypeOutput) VnetName

Name of your Azure VNet.

func (GetNetworkPeeringsResultTypeOutput) VpcId

Unique identifier of the peer VPC.

type GetProjectTeam

type GetProjectTeam struct {
	RoleNames []string `pulumi:"roleNames"`
	TeamId    string   `pulumi:"teamId"`
}

type GetProjectTeamArgs

type GetProjectTeamArgs struct {
	RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
	TeamId    pulumi.StringInput      `pulumi:"teamId"`
}

func (GetProjectTeamArgs) ElementType

func (GetProjectTeamArgs) ElementType() reflect.Type

func (GetProjectTeamArgs) ToGetProjectTeamOutput

func (i GetProjectTeamArgs) ToGetProjectTeamOutput() GetProjectTeamOutput

func (GetProjectTeamArgs) ToGetProjectTeamOutputWithContext

func (i GetProjectTeamArgs) ToGetProjectTeamOutputWithContext(ctx context.Context) GetProjectTeamOutput

type GetProjectTeamArray

type GetProjectTeamArray []GetProjectTeamInput

func (GetProjectTeamArray) ElementType

func (GetProjectTeamArray) ElementType() reflect.Type

func (GetProjectTeamArray) ToGetProjectTeamArrayOutput

func (i GetProjectTeamArray) ToGetProjectTeamArrayOutput() GetProjectTeamArrayOutput

func (GetProjectTeamArray) ToGetProjectTeamArrayOutputWithContext

func (i GetProjectTeamArray) ToGetProjectTeamArrayOutputWithContext(ctx context.Context) GetProjectTeamArrayOutput

type GetProjectTeamArrayInput

type GetProjectTeamArrayInput interface {
	pulumi.Input

	ToGetProjectTeamArrayOutput() GetProjectTeamArrayOutput
	ToGetProjectTeamArrayOutputWithContext(context.Context) GetProjectTeamArrayOutput
}

GetProjectTeamArrayInput is an input type that accepts GetProjectTeamArray and GetProjectTeamArrayOutput values. You can construct a concrete instance of `GetProjectTeamArrayInput` via:

GetProjectTeamArray{ GetProjectTeamArgs{...} }

type GetProjectTeamArrayOutput

type GetProjectTeamArrayOutput struct{ *pulumi.OutputState }

func (GetProjectTeamArrayOutput) ElementType

func (GetProjectTeamArrayOutput) ElementType() reflect.Type

func (GetProjectTeamArrayOutput) Index

func (GetProjectTeamArrayOutput) ToGetProjectTeamArrayOutput

func (o GetProjectTeamArrayOutput) ToGetProjectTeamArrayOutput() GetProjectTeamArrayOutput

func (GetProjectTeamArrayOutput) ToGetProjectTeamArrayOutputWithContext

func (o GetProjectTeamArrayOutput) ToGetProjectTeamArrayOutputWithContext(ctx context.Context) GetProjectTeamArrayOutput

type GetProjectTeamInput

type GetProjectTeamInput interface {
	pulumi.Input

	ToGetProjectTeamOutput() GetProjectTeamOutput
	ToGetProjectTeamOutputWithContext(context.Context) GetProjectTeamOutput
}

GetProjectTeamInput is an input type that accepts GetProjectTeamArgs and GetProjectTeamOutput values. You can construct a concrete instance of `GetProjectTeamInput` via:

GetProjectTeamArgs{...}

type GetProjectTeamOutput

type GetProjectTeamOutput struct{ *pulumi.OutputState }

func (GetProjectTeamOutput) ElementType

func (GetProjectTeamOutput) ElementType() reflect.Type

func (GetProjectTeamOutput) RoleNames

func (GetProjectTeamOutput) TeamId

func (GetProjectTeamOutput) ToGetProjectTeamOutput

func (o GetProjectTeamOutput) ToGetProjectTeamOutput() GetProjectTeamOutput

func (GetProjectTeamOutput) ToGetProjectTeamOutputWithContext

func (o GetProjectTeamOutput) ToGetProjectTeamOutputWithContext(ctx context.Context) GetProjectTeamOutput

type GetProjectsArgs added in v1.1.0

type GetProjectsArgs struct {
	// Number of items to return per page, up to a maximum of 500. Defaults to `100`.
	ItemsPerPage *int `pulumi:"itemsPerPage"`
	// The page to return. Defaults to `1`.
	PageNum *int `pulumi:"pageNum"`
}

A collection of arguments for invoking getProjects.

type GetProjectsResult

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id           string                  `pulumi:"id"`
	ItemsPerPage *int                    `pulumi:"itemsPerPage"`
	PageNum      *int                    `pulumi:"pageNum"`
	Results      []GetProjectsResultType `pulumi:"results"`
	TotalCount   int                     `pulumi:"totalCount"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

`getProjects` describe all Projects. This represents projects that have been created.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type GetProjectsResultTeam

type GetProjectsResultTeam struct {
	RoleNames []string `pulumi:"roleNames"`
	TeamId    string   `pulumi:"teamId"`
}

type GetProjectsResultTeamArgs

type GetProjectsResultTeamArgs struct {
	RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
	TeamId    pulumi.StringInput      `pulumi:"teamId"`
}

func (GetProjectsResultTeamArgs) ElementType

func (GetProjectsResultTeamArgs) ElementType() reflect.Type

func (GetProjectsResultTeamArgs) ToGetProjectsResultTeamOutput

func (i GetProjectsResultTeamArgs) ToGetProjectsResultTeamOutput() GetProjectsResultTeamOutput

func (GetProjectsResultTeamArgs) ToGetProjectsResultTeamOutputWithContext

func (i GetProjectsResultTeamArgs) ToGetProjectsResultTeamOutputWithContext(ctx context.Context) GetProjectsResultTeamOutput

type GetProjectsResultTeamArray

type GetProjectsResultTeamArray []GetProjectsResultTeamInput

func (GetProjectsResultTeamArray) ElementType

func (GetProjectsResultTeamArray) ElementType() reflect.Type

func (GetProjectsResultTeamArray) ToGetProjectsResultTeamArrayOutput

func (i GetProjectsResultTeamArray) ToGetProjectsResultTeamArrayOutput() GetProjectsResultTeamArrayOutput

func (GetProjectsResultTeamArray) ToGetProjectsResultTeamArrayOutputWithContext

func (i GetProjectsResultTeamArray) ToGetProjectsResultTeamArrayOutputWithContext(ctx context.Context) GetProjectsResultTeamArrayOutput

type GetProjectsResultTeamArrayInput

type GetProjectsResultTeamArrayInput interface {
	pulumi.Input

	ToGetProjectsResultTeamArrayOutput() GetProjectsResultTeamArrayOutput
	ToGetProjectsResultTeamArrayOutputWithContext(context.Context) GetProjectsResultTeamArrayOutput
}

GetProjectsResultTeamArrayInput is an input type that accepts GetProjectsResultTeamArray and GetProjectsResultTeamArrayOutput values. You can construct a concrete instance of `GetProjectsResultTeamArrayInput` via:

GetProjectsResultTeamArray{ GetProjectsResultTeamArgs{...} }

type GetProjectsResultTeamArrayOutput

type GetProjectsResultTeamArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsResultTeamArrayOutput) ElementType

func (GetProjectsResultTeamArrayOutput) Index

func (GetProjectsResultTeamArrayOutput) ToGetProjectsResultTeamArrayOutput

func (o GetProjectsResultTeamArrayOutput) ToGetProjectsResultTeamArrayOutput() GetProjectsResultTeamArrayOutput

func (GetProjectsResultTeamArrayOutput) ToGetProjectsResultTeamArrayOutputWithContext

func (o GetProjectsResultTeamArrayOutput) ToGetProjectsResultTeamArrayOutputWithContext(ctx context.Context) GetProjectsResultTeamArrayOutput

type GetProjectsResultTeamInput

type GetProjectsResultTeamInput interface {
	pulumi.Input

	ToGetProjectsResultTeamOutput() GetProjectsResultTeamOutput
	ToGetProjectsResultTeamOutputWithContext(context.Context) GetProjectsResultTeamOutput
}

GetProjectsResultTeamInput is an input type that accepts GetProjectsResultTeamArgs and GetProjectsResultTeamOutput values. You can construct a concrete instance of `GetProjectsResultTeamInput` via:

GetProjectsResultTeamArgs{...}

type GetProjectsResultTeamOutput

type GetProjectsResultTeamOutput struct{ *pulumi.OutputState }

func (GetProjectsResultTeamOutput) ElementType

func (GetProjectsResultTeamOutput) RoleNames

func (GetProjectsResultTeamOutput) TeamId

func (GetProjectsResultTeamOutput) ToGetProjectsResultTeamOutput

func (o GetProjectsResultTeamOutput) ToGetProjectsResultTeamOutput() GetProjectsResultTeamOutput

func (GetProjectsResultTeamOutput) ToGetProjectsResultTeamOutputWithContext

func (o GetProjectsResultTeamOutput) ToGetProjectsResultTeamOutputWithContext(ctx context.Context) GetProjectsResultTeamOutput

type GetProjectsResultType

type GetProjectsResultType struct {
	ClusterCount int    `pulumi:"clusterCount"`
	Created      string `pulumi:"created"`
	// Autogenerated Unique ID for this data source.
	Id string `pulumi:"id"`
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name string `pulumi:"name"`
	// The ID of the organization you want to create the project within.
	// *`clusterCount` - The number of Atlas clusters deployed in the project.
	// *`created` - The ISO-8601-formatted timestamp of when Atlas created the project.
	// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
	// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles.
	//   The following are valid roles:
	// * `GROUP_OWNER`
	// * `GROUP_READ_ONLY`
	// * `GROUP_DATA_ACCESS_ADMIN`
	// * `GROUP_DATA_ACCESS_READ_WRITE`
	// * `GROUP_DATA_ACCESS_READ_ONLY`
	// * `GROUP_CLUSTER_MANAGER`
	OrgId string                  `pulumi:"orgId"`
	Teams []GetProjectsResultTeam `pulumi:"teams"`
}

type GetProjectsResultTypeArgs

type GetProjectsResultTypeArgs struct {
	ClusterCount pulumi.IntInput    `pulumi:"clusterCount"`
	Created      pulumi.StringInput `pulumi:"created"`
	// Autogenerated Unique ID for this data source.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the organization you want to create the project within.
	// *`clusterCount` - The number of Atlas clusters deployed in the project.
	// *`created` - The ISO-8601-formatted timestamp of when Atlas created the project.
	// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
	// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles.
	//   The following are valid roles:
	// * `GROUP_OWNER`
	// * `GROUP_READ_ONLY`
	// * `GROUP_DATA_ACCESS_ADMIN`
	// * `GROUP_DATA_ACCESS_READ_WRITE`
	// * `GROUP_DATA_ACCESS_READ_ONLY`
	// * `GROUP_CLUSTER_MANAGER`
	OrgId pulumi.StringInput              `pulumi:"orgId"`
	Teams GetProjectsResultTeamArrayInput `pulumi:"teams"`
}

func (GetProjectsResultTypeArgs) ElementType

func (GetProjectsResultTypeArgs) ElementType() reflect.Type

func (GetProjectsResultTypeArgs) ToGetProjectsResultTypeOutput

func (i GetProjectsResultTypeArgs) ToGetProjectsResultTypeOutput() GetProjectsResultTypeOutput

func (GetProjectsResultTypeArgs) ToGetProjectsResultTypeOutputWithContext

func (i GetProjectsResultTypeArgs) ToGetProjectsResultTypeOutputWithContext(ctx context.Context) GetProjectsResultTypeOutput

type GetProjectsResultTypeArray

type GetProjectsResultTypeArray []GetProjectsResultTypeInput

func (GetProjectsResultTypeArray) ElementType

func (GetProjectsResultTypeArray) ElementType() reflect.Type

func (GetProjectsResultTypeArray) ToGetProjectsResultTypeArrayOutput

func (i GetProjectsResultTypeArray) ToGetProjectsResultTypeArrayOutput() GetProjectsResultTypeArrayOutput

func (GetProjectsResultTypeArray) ToGetProjectsResultTypeArrayOutputWithContext

func (i GetProjectsResultTypeArray) ToGetProjectsResultTypeArrayOutputWithContext(ctx context.Context) GetProjectsResultTypeArrayOutput

type GetProjectsResultTypeArrayInput

type GetProjectsResultTypeArrayInput interface {
	pulumi.Input

	ToGetProjectsResultTypeArrayOutput() GetProjectsResultTypeArrayOutput
	ToGetProjectsResultTypeArrayOutputWithContext(context.Context) GetProjectsResultTypeArrayOutput
}

GetProjectsResultTypeArrayInput is an input type that accepts GetProjectsResultTypeArray and GetProjectsResultTypeArrayOutput values. You can construct a concrete instance of `GetProjectsResultTypeArrayInput` via:

GetProjectsResultTypeArray{ GetProjectsResultTypeArgs{...} }

type GetProjectsResultTypeArrayOutput

type GetProjectsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsResultTypeArrayOutput) ElementType

func (GetProjectsResultTypeArrayOutput) Index

func (GetProjectsResultTypeArrayOutput) ToGetProjectsResultTypeArrayOutput

func (o GetProjectsResultTypeArrayOutput) ToGetProjectsResultTypeArrayOutput() GetProjectsResultTypeArrayOutput

func (GetProjectsResultTypeArrayOutput) ToGetProjectsResultTypeArrayOutputWithContext

func (o GetProjectsResultTypeArrayOutput) ToGetProjectsResultTypeArrayOutputWithContext(ctx context.Context) GetProjectsResultTypeArrayOutput

type GetProjectsResultTypeInput

type GetProjectsResultTypeInput interface {
	pulumi.Input

	ToGetProjectsResultTypeOutput() GetProjectsResultTypeOutput
	ToGetProjectsResultTypeOutputWithContext(context.Context) GetProjectsResultTypeOutput
}

GetProjectsResultTypeInput is an input type that accepts GetProjectsResultTypeArgs and GetProjectsResultTypeOutput values. You can construct a concrete instance of `GetProjectsResultTypeInput` via:

GetProjectsResultTypeArgs{...}

type GetProjectsResultTypeOutput

type GetProjectsResultTypeOutput struct{ *pulumi.OutputState }

func (GetProjectsResultTypeOutput) ClusterCount

func (o GetProjectsResultTypeOutput) ClusterCount() pulumi.IntOutput

func (GetProjectsResultTypeOutput) Created

func (GetProjectsResultTypeOutput) ElementType

func (GetProjectsResultTypeOutput) Id

Autogenerated Unique ID for this data source.

func (GetProjectsResultTypeOutput) Name

The name of the project you want to create. (Cannot be changed via this Provider after creation.)

func (GetProjectsResultTypeOutput) OrgId

The ID of the organization you want to create the project within. *`clusterCount` - The number of Atlas clusters deployed in the project. *`created` - The ISO-8601-formatted timestamp of when Atlas created the project.

  • `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
  • `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles. The following are valid roles:
  • `GROUP_OWNER`
  • `GROUP_READ_ONLY`
  • `GROUP_DATA_ACCESS_ADMIN`
  • `GROUP_DATA_ACCESS_READ_WRITE`
  • `GROUP_DATA_ACCESS_READ_ONLY`
  • `GROUP_CLUSTER_MANAGER`

func (GetProjectsResultTypeOutput) Teams

func (GetProjectsResultTypeOutput) ToGetProjectsResultTypeOutput

func (o GetProjectsResultTypeOutput) ToGetProjectsResultTypeOutput() GetProjectsResultTypeOutput

func (GetProjectsResultTypeOutput) ToGetProjectsResultTypeOutputWithContext

func (o GetProjectsResultTypeOutput) ToGetProjectsResultTypeOutputWithContext(ctx context.Context) GetProjectsResultTypeOutput

type GetThirdPartyIntegrationsArgs added in v1.4.0

type GetThirdPartyIntegrationsArgs struct {
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getThirdPartyIntegrations.

type GetThirdPartyIntegrationsResult added in v1.4.0

type GetThirdPartyIntegrationsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Required) ID of the Atlas project the Third-Party Service Integration belongs to.
	ProjectId string `pulumi:"projectId"`
	// A list where each represents a Third-Party service integration.
	Results []GetThirdPartyIntegrationsResultType `pulumi:"results"`
}

A collection of values returned by getThirdPartyIntegrations.

func GetThirdPartyIntegrations added in v1.4.0

func GetThirdPartyIntegrations(ctx *pulumi.Context, args *GetThirdPartyIntegrationsArgs, opts ...pulumi.InvokeOption) (*GetThirdPartyIntegrationsResult, error)

`getThirdPartyIntegrations` describe all Third-Party Integration Settings. This represents two Third-Party services `PAGER_DUTY` and `FLOWDOCK` applied across the project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type GetThirdPartyIntegrationsResultType added in v1.4.0

type GetThirdPartyIntegrationsResultType struct {
	// Unique identifier of your New Relic account.
	AccountId string `pulumi:"accountId"`
	// Your API Key.
	ApiKey string `pulumi:"apiKey"`
	// Your API Token.
	ApiToken    string `pulumi:"apiToken"`
	ChannelName string `pulumi:"channelName"`
	// Your Flowdock Flow name.
	FlowName string `pulumi:"flowName"`
	// Your License Key.
	LicenseKey string `pulumi:"licenseKey"`
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName string `pulumi:"orgName"`
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId string `pulumi:"projectId"`
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken string `pulumi:"readToken"`
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region string `pulumi:"region"`
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey string `pulumi:"routingKey"`
	// An optional field for your webhook secret.
	Secret string `pulumi:"secret"`
	// Your Service Key.
	// * `DATADOG`
	ServiceKey string `pulumi:"serviceKey"`
	TeamName   string `pulumi:"teamName"`
	// (Required) Thirt-Party service integration type.
	Type string `pulumi:"type"`
	// Your webhook URL.
	Url string `pulumi:"url"`
	// Your Insights Insert Key.
	WriteToken string `pulumi:"writeToken"`
}

type GetThirdPartyIntegrationsResultTypeArgs added in v1.4.0

type GetThirdPartyIntegrationsResultTypeArgs struct {
	// Unique identifier of your New Relic account.
	AccountId pulumi.StringInput `pulumi:"accountId"`
	// Your API Key.
	ApiKey pulumi.StringInput `pulumi:"apiKey"`
	// Your API Token.
	ApiToken    pulumi.StringInput `pulumi:"apiToken"`
	ChannelName pulumi.StringInput `pulumi:"channelName"`
	// Your Flowdock Flow name.
	FlowName pulumi.StringInput `pulumi:"flowName"`
	// Your License Key.
	LicenseKey pulumi.StringInput `pulumi:"licenseKey"`
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName pulumi.StringInput `pulumi:"orgName"`
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken pulumi.StringInput `pulumi:"readToken"`
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region pulumi.StringInput `pulumi:"region"`
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey pulumi.StringInput `pulumi:"routingKey"`
	// An optional field for your webhook secret.
	Secret pulumi.StringInput `pulumi:"secret"`
	// Your Service Key.
	// * `DATADOG`
	ServiceKey pulumi.StringInput `pulumi:"serviceKey"`
	TeamName   pulumi.StringInput `pulumi:"teamName"`
	// (Required) Thirt-Party service integration type.
	Type pulumi.StringInput `pulumi:"type"`
	// Your webhook URL.
	Url pulumi.StringInput `pulumi:"url"`
	// Your Insights Insert Key.
	WriteToken pulumi.StringInput `pulumi:"writeToken"`
}

func (GetThirdPartyIntegrationsResultTypeArgs) ElementType added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutput added in v1.4.0

func (i GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutput() GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutputWithContext added in v1.4.0

func (i GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeOutput

type GetThirdPartyIntegrationsResultTypeArray added in v1.4.0

type GetThirdPartyIntegrationsResultTypeArray []GetThirdPartyIntegrationsResultTypeInput

func (GetThirdPartyIntegrationsResultTypeArray) ElementType added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutput added in v1.4.0

func (i GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutput() GetThirdPartyIntegrationsResultTypeArrayOutput

func (GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext added in v1.4.0

func (i GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeArrayOutput

type GetThirdPartyIntegrationsResultTypeArrayInput added in v1.4.0

type GetThirdPartyIntegrationsResultTypeArrayInput interface {
	pulumi.Input

	ToGetThirdPartyIntegrationsResultTypeArrayOutput() GetThirdPartyIntegrationsResultTypeArrayOutput
	ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext(context.Context) GetThirdPartyIntegrationsResultTypeArrayOutput
}

GetThirdPartyIntegrationsResultTypeArrayInput is an input type that accepts GetThirdPartyIntegrationsResultTypeArray and GetThirdPartyIntegrationsResultTypeArrayOutput values. You can construct a concrete instance of `GetThirdPartyIntegrationsResultTypeArrayInput` via:

GetThirdPartyIntegrationsResultTypeArray{ GetThirdPartyIntegrationsResultTypeArgs{...} }

type GetThirdPartyIntegrationsResultTypeArrayOutput added in v1.4.0

type GetThirdPartyIntegrationsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ElementType added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeArrayOutput) Index added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutput added in v1.4.0

func (o GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutput() GetThirdPartyIntegrationsResultTypeArrayOutput

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext added in v1.4.0

func (o GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeArrayOutput

type GetThirdPartyIntegrationsResultTypeInput added in v1.4.0

type GetThirdPartyIntegrationsResultTypeInput interface {
	pulumi.Input

	ToGetThirdPartyIntegrationsResultTypeOutput() GetThirdPartyIntegrationsResultTypeOutput
	ToGetThirdPartyIntegrationsResultTypeOutputWithContext(context.Context) GetThirdPartyIntegrationsResultTypeOutput
}

GetThirdPartyIntegrationsResultTypeInput is an input type that accepts GetThirdPartyIntegrationsResultTypeArgs and GetThirdPartyIntegrationsResultTypeOutput values. You can construct a concrete instance of `GetThirdPartyIntegrationsResultTypeInput` via:

GetThirdPartyIntegrationsResultTypeArgs{...}

type GetThirdPartyIntegrationsResultTypeOutput added in v1.4.0

type GetThirdPartyIntegrationsResultTypeOutput struct{ *pulumi.OutputState }

func (GetThirdPartyIntegrationsResultTypeOutput) AccountId added in v1.4.0

Unique identifier of your New Relic account.

func (GetThirdPartyIntegrationsResultTypeOutput) ApiKey added in v1.4.0

Your API Key.

func (GetThirdPartyIntegrationsResultTypeOutput) ApiToken added in v1.4.0

Your API Token.

func (GetThirdPartyIntegrationsResultTypeOutput) ChannelName added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeOutput) ElementType added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeOutput) FlowName added in v1.4.0

Your Flowdock Flow name.

func (GetThirdPartyIntegrationsResultTypeOutput) LicenseKey added in v1.4.0

Your License Key.

func (GetThirdPartyIntegrationsResultTypeOutput) OrgName added in v1.4.0

Your Flowdock organization name. * `WEBHOOK`

func (GetThirdPartyIntegrationsResultTypeOutput) ProjectId added in v1.4.0

The unique ID for the project to get all Third-Party service integrations

func (GetThirdPartyIntegrationsResultTypeOutput) ReadToken added in v1.4.0

Your Insights Query Key. * `OPS_GENIE`

func (GetThirdPartyIntegrationsResultTypeOutput) Region added in v1.4.0

Indicates which API URL to use, either US or EU. Opsgenie will use US by default. * `VICTOR_OPS`

func (GetThirdPartyIntegrationsResultTypeOutput) RoutingKey added in v1.4.0

An optional field for your Routing Key. * `FLOWDOCK`

func (GetThirdPartyIntegrationsResultTypeOutput) Secret added in v1.4.0

An optional field for your webhook secret.

func (GetThirdPartyIntegrationsResultTypeOutput) ServiceKey added in v1.4.0

Your Service Key. * `DATADOG`

func (GetThirdPartyIntegrationsResultTypeOutput) TeamName added in v1.4.0

func (GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutput added in v1.4.0

func (o GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutput() GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutputWithContext added in v1.4.0

func (o GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeOutput) Type added in v1.4.0

(Required) Thirt-Party service integration type.

func (GetThirdPartyIntegrationsResultTypeOutput) Url added in v1.4.0

Your webhook URL.

func (GetThirdPartyIntegrationsResultTypeOutput) WriteToken added in v1.4.0

Your Insights Insert Key.

type GlobalClusterConfig

type GlobalClusterConfig struct {
	pulumi.CustomResourceState

	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
	CustomZoneMapping pulumi.MapOutput `pulumi:"customZoneMapping"`
	// Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details.
	CustomZoneMappings GlobalClusterConfigCustomZoneMappingArrayOutput `pulumi:"customZoneMappings"`
	// Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details.
	ManagedNamespaces GlobalClusterConfigManagedNamespaceArrayOutput `pulumi:"managedNamespaces"`
	// The unique ID for the project to create the database user.
	// * `clusterName - (Required) The name of the Global Cluster.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`GlobalClusterConfig` provides a Global Cluster Configuration resource.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Examples Usage

### Example Global cluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := mongodbatlas.NewCluster(ctx, "test", &mongodbatlas.ClusterArgs{
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			DiskSizeGb:               pulumi.Float64(80),
			BackupEnabled:            pulumi.Bool(false),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ClusterType:              pulumi.String("GEOSHARDED"),
			ProviderName:             pulumi.String("AWS"),
			ProviderDiskIops:         pulumi.Int(240),
			ProviderInstanceSizeName: pulumi.String("M30"),
			ReplicationSpecs: mongodbatlas.ClusterReplicationSpecArray{
				&mongodbatlas.ClusterReplicationSpecArgs{
					ZoneName:  pulumi.String("Zone 1"),
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							RegionName:     pulumi.String("EU_CENTRAL_1"),
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
						},
					},
				},
				&mongodbatlas.ClusterReplicationSpecArgs{
					ZoneName:  pulumi.String("Zone 2"),
					NumShards: pulumi.Int(1),
					RegionsConfigs: mongodbatlas.ClusterReplicationSpecRegionsConfigArray{
						&mongodbatlas.ClusterReplicationSpecRegionsConfigArgs{
							RegionName:     pulumi.String("US_EAST_2"),
							ElectableNodes: pulumi.Int(3),
							Priority:       pulumi.Int(7),
							ReadOnlyNodes:  pulumi.Int(0),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewGlobalClusterConfig(ctx, "config", &mongodbatlas.GlobalClusterConfigArgs{
			ProjectId:   test.ProjectId,
			ClusterName: test.Name,
			ManagedNamespaces: mongodbatlas.GlobalClusterConfigManagedNamespaceArray{
				&mongodbatlas.GlobalClusterConfigManagedNamespaceArgs{
					Db:             pulumi.String("mydata"),
					Collection:     pulumi.String("publishers"),
					CustomShardKey: pulumi.String("city"),
				},
			},
			CustomZoneMappings: mongodbatlas.GlobalClusterConfigCustomZoneMappingArray{
				&mongodbatlas.GlobalClusterConfigCustomZoneMappingArgs{
					Location: pulumi.String("CA"),
					Zone:     pulumi.String("Zone 1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

### Example Global cluster config

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCluster(ctx, "cluster_test", &mongodbatlas.ClusterArgs{
			ProjectId:                pulumi.String("<YOUR-PROJECT-ID>"),
			NumShards:                pulumi.Int(1),
			ReplicationFactor:        pulumi.Int(3),
			BackupEnabled:            pulumi.Bool(true),
			AutoScalingDiskGbEnabled: pulumi.Bool(true),
			MongoDbMajorVersion:      pulumi.String("4.0"),
			ProviderName:             pulumi.String("AWS"),
			DiskSizeGb:               pulumi.Float64(100),
			ProviderDiskIops:         pulumi.Int(300),
			ProviderEncryptEbsVolume: pulumi.Bool(false),
			ProviderInstanceSizeName: pulumi.String("M40"),
			ProviderRegionName:       pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewGlobalClusterConfig(ctx, "config", &mongodbatlas.GlobalClusterConfigArgs{
			ProjectId:   pulumi.Any(mongodbatlas_cluster.Test.Project_id),
			ClusterName: pulumi.Any(mongodbatlas_cluster.Test.Name),
			ManagedNamespaces: mongodbatlas.GlobalClusterConfigManagedNamespaceArray{
				&mongodbatlas.GlobalClusterConfigManagedNamespaceArgs{
					Db:             pulumi.String("mydata"),
					Collection:     pulumi.String("publishers"),
					CustomShardKey: pulumi.String("city"),
				},
			},
			CustomZoneMappings: mongodbatlas.GlobalClusterConfigCustomZoneMappingArray{
				&mongodbatlas.GlobalClusterConfigCustomZoneMappingArgs{
					Location: pulumi.String("CA"),
					Zone:     pulumi.String("Zone 1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database users can be imported using project ID and cluster name, in the format `PROJECTID-CLUSTER_NAME`, e.g.

```sh

$ pulumi import mongodbatlas:index/globalClusterConfig:GlobalClusterConfig config 1112222b3bf99403840e8934-my-cluster

```

See detailed information for arguments and attributes[MongoDB API Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/)

func GetGlobalClusterConfig

func GetGlobalClusterConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GlobalClusterConfigState, opts ...pulumi.ResourceOption) (*GlobalClusterConfig, error)

GetGlobalClusterConfig gets an existing GlobalClusterConfig 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 NewGlobalClusterConfig

func NewGlobalClusterConfig(ctx *pulumi.Context,
	name string, args *GlobalClusterConfigArgs, opts ...pulumi.ResourceOption) (*GlobalClusterConfig, error)

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

func (*GlobalClusterConfig) ElementType added in v1.3.1

func (*GlobalClusterConfig) ElementType() reflect.Type

func (*GlobalClusterConfig) ToGlobalClusterConfigOutput added in v1.3.1

func (i *GlobalClusterConfig) ToGlobalClusterConfigOutput() GlobalClusterConfigOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigOutputWithContext added in v1.3.1

func (i *GlobalClusterConfig) ToGlobalClusterConfigOutputWithContext(ctx context.Context) GlobalClusterConfigOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigPtrOutput added in v1.5.2

func (i *GlobalClusterConfig) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigPtrOutputWithContext added in v1.5.2

func (i *GlobalClusterConfig) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigArgs

type GlobalClusterConfigArgs struct {
	ClusterName pulumi.StringInput
	// Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details.
	CustomZoneMappings GlobalClusterConfigCustomZoneMappingArrayInput
	// Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details.
	ManagedNamespaces GlobalClusterConfigManagedNamespaceArrayInput
	// The unique ID for the project to create the database user.
	// * `clusterName - (Required) The name of the Global Cluster.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a GlobalClusterConfig resource.

func (GlobalClusterConfigArgs) ElementType

func (GlobalClusterConfigArgs) ElementType() reflect.Type

type GlobalClusterConfigArray added in v1.5.2

type GlobalClusterConfigArray []GlobalClusterConfigInput

func (GlobalClusterConfigArray) ElementType added in v1.5.2

func (GlobalClusterConfigArray) ElementType() reflect.Type

func (GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutput added in v1.5.2

func (i GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutput() GlobalClusterConfigArrayOutput

func (GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutputWithContext added in v1.5.2

func (i GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutputWithContext(ctx context.Context) GlobalClusterConfigArrayOutput

type GlobalClusterConfigArrayInput added in v1.5.2

type GlobalClusterConfigArrayInput interface {
	pulumi.Input

	ToGlobalClusterConfigArrayOutput() GlobalClusterConfigArrayOutput
	ToGlobalClusterConfigArrayOutputWithContext(context.Context) GlobalClusterConfigArrayOutput
}

GlobalClusterConfigArrayInput is an input type that accepts GlobalClusterConfigArray and GlobalClusterConfigArrayOutput values. You can construct a concrete instance of `GlobalClusterConfigArrayInput` via:

GlobalClusterConfigArray{ GlobalClusterConfigArgs{...} }

type GlobalClusterConfigArrayOutput added in v1.5.2

type GlobalClusterConfigArrayOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigArrayOutput) ElementType added in v1.5.2

func (GlobalClusterConfigArrayOutput) Index added in v1.5.2

func (GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutput added in v1.5.2

func (o GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutput() GlobalClusterConfigArrayOutput

func (GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutputWithContext added in v1.5.2

func (o GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutputWithContext(ctx context.Context) GlobalClusterConfigArrayOutput

type GlobalClusterConfigCustomZoneMapping

type GlobalClusterConfigCustomZoneMapping struct {
	// The ISO location code to which you want to map a zone in your Global Cluster. You can find a list of all supported location codes [here](https://cloud.mongodb.com/static/atlas/country_iso_codes.txt).
	Location *string `pulumi:"location"`
	// The name of the zone in your Global Cluster that you want to map to location.
	Zone *string `pulumi:"zone"`
}

type GlobalClusterConfigCustomZoneMappingArgs

type GlobalClusterConfigCustomZoneMappingArgs struct {
	// The ISO location code to which you want to map a zone in your Global Cluster. You can find a list of all supported location codes [here](https://cloud.mongodb.com/static/atlas/country_iso_codes.txt).
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The name of the zone in your Global Cluster that you want to map to location.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (GlobalClusterConfigCustomZoneMappingArgs) ElementType

func (GlobalClusterConfigCustomZoneMappingArgs) ToGlobalClusterConfigCustomZoneMappingOutput

func (i GlobalClusterConfigCustomZoneMappingArgs) ToGlobalClusterConfigCustomZoneMappingOutput() GlobalClusterConfigCustomZoneMappingOutput

func (GlobalClusterConfigCustomZoneMappingArgs) ToGlobalClusterConfigCustomZoneMappingOutputWithContext

func (i GlobalClusterConfigCustomZoneMappingArgs) ToGlobalClusterConfigCustomZoneMappingOutputWithContext(ctx context.Context) GlobalClusterConfigCustomZoneMappingOutput

type GlobalClusterConfigCustomZoneMappingArray

type GlobalClusterConfigCustomZoneMappingArray []GlobalClusterConfigCustomZoneMappingInput

func (GlobalClusterConfigCustomZoneMappingArray) ElementType

func (GlobalClusterConfigCustomZoneMappingArray) ToGlobalClusterConfigCustomZoneMappingArrayOutput

func (i GlobalClusterConfigCustomZoneMappingArray) ToGlobalClusterConfigCustomZoneMappingArrayOutput() GlobalClusterConfigCustomZoneMappingArrayOutput

func (GlobalClusterConfigCustomZoneMappingArray) ToGlobalClusterConfigCustomZoneMappingArrayOutputWithContext

func (i GlobalClusterConfigCustomZoneMappingArray) ToGlobalClusterConfigCustomZoneMappingArrayOutputWithContext(ctx context.Context) GlobalClusterConfigCustomZoneMappingArrayOutput

type GlobalClusterConfigCustomZoneMappingArrayInput

type GlobalClusterConfigCustomZoneMappingArrayInput interface {
	pulumi.Input

	ToGlobalClusterConfigCustomZoneMappingArrayOutput() GlobalClusterConfigCustomZoneMappingArrayOutput
	ToGlobalClusterConfigCustomZoneMappingArrayOutputWithContext(context.Context) GlobalClusterConfigCustomZoneMappingArrayOutput
}

GlobalClusterConfigCustomZoneMappingArrayInput is an input type that accepts GlobalClusterConfigCustomZoneMappingArray and GlobalClusterConfigCustomZoneMappingArrayOutput values. You can construct a concrete instance of `GlobalClusterConfigCustomZoneMappingArrayInput` via:

GlobalClusterConfigCustomZoneMappingArray{ GlobalClusterConfigCustomZoneMappingArgs{...} }

type GlobalClusterConfigCustomZoneMappingArrayOutput

type GlobalClusterConfigCustomZoneMappingArrayOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigCustomZoneMappingArrayOutput) ElementType

func (GlobalClusterConfigCustomZoneMappingArrayOutput) Index

func (GlobalClusterConfigCustomZoneMappingArrayOutput) ToGlobalClusterConfigCustomZoneMappingArrayOutput

func (o GlobalClusterConfigCustomZoneMappingArrayOutput) ToGlobalClusterConfigCustomZoneMappingArrayOutput() GlobalClusterConfigCustomZoneMappingArrayOutput

func (GlobalClusterConfigCustomZoneMappingArrayOutput) ToGlobalClusterConfigCustomZoneMappingArrayOutputWithContext

func (o GlobalClusterConfigCustomZoneMappingArrayOutput) ToGlobalClusterConfigCustomZoneMappingArrayOutputWithContext(ctx context.Context) GlobalClusterConfigCustomZoneMappingArrayOutput

type GlobalClusterConfigCustomZoneMappingInput

type GlobalClusterConfigCustomZoneMappingInput interface {
	pulumi.Input

	ToGlobalClusterConfigCustomZoneMappingOutput() GlobalClusterConfigCustomZoneMappingOutput
	ToGlobalClusterConfigCustomZoneMappingOutputWithContext(context.Context) GlobalClusterConfigCustomZoneMappingOutput
}

GlobalClusterConfigCustomZoneMappingInput is an input type that accepts GlobalClusterConfigCustomZoneMappingArgs and GlobalClusterConfigCustomZoneMappingOutput values. You can construct a concrete instance of `GlobalClusterConfigCustomZoneMappingInput` via:

GlobalClusterConfigCustomZoneMappingArgs{...}

type GlobalClusterConfigCustomZoneMappingOutput

type GlobalClusterConfigCustomZoneMappingOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigCustomZoneMappingOutput) ElementType

func (GlobalClusterConfigCustomZoneMappingOutput) Location

The ISO location code to which you want to map a zone in your Global Cluster. You can find a list of all supported location codes [here](https://cloud.mongodb.com/static/atlas/country_iso_codes.txt).

func (GlobalClusterConfigCustomZoneMappingOutput) ToGlobalClusterConfigCustomZoneMappingOutput

func (o GlobalClusterConfigCustomZoneMappingOutput) ToGlobalClusterConfigCustomZoneMappingOutput() GlobalClusterConfigCustomZoneMappingOutput

func (GlobalClusterConfigCustomZoneMappingOutput) ToGlobalClusterConfigCustomZoneMappingOutputWithContext

func (o GlobalClusterConfigCustomZoneMappingOutput) ToGlobalClusterConfigCustomZoneMappingOutputWithContext(ctx context.Context) GlobalClusterConfigCustomZoneMappingOutput

func (GlobalClusterConfigCustomZoneMappingOutput) Zone

The name of the zone in your Global Cluster that you want to map to location.

type GlobalClusterConfigInput added in v1.3.1

type GlobalClusterConfigInput interface {
	pulumi.Input

	ToGlobalClusterConfigOutput() GlobalClusterConfigOutput
	ToGlobalClusterConfigOutputWithContext(ctx context.Context) GlobalClusterConfigOutput
}

type GlobalClusterConfigManagedNamespace

type GlobalClusterConfigManagedNamespace struct {
	// The name of the collection associated with the managed namespace.
	Collection string `pulumi:"collection"`
	// The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
	CustomShardKey string `pulumi:"customShardKey"`
	// The name of the database containing the collection.
	Db string `pulumi:"db"`
}

type GlobalClusterConfigManagedNamespaceArgs

type GlobalClusterConfigManagedNamespaceArgs struct {
	// The name of the collection associated with the managed namespace.
	Collection pulumi.StringInput `pulumi:"collection"`
	// The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
	CustomShardKey pulumi.StringInput `pulumi:"customShardKey"`
	// The name of the database containing the collection.
	Db pulumi.StringInput `pulumi:"db"`
}

func (GlobalClusterConfigManagedNamespaceArgs) ElementType

func (GlobalClusterConfigManagedNamespaceArgs) ToGlobalClusterConfigManagedNamespaceOutput

func (i GlobalClusterConfigManagedNamespaceArgs) ToGlobalClusterConfigManagedNamespaceOutput() GlobalClusterConfigManagedNamespaceOutput

func (GlobalClusterConfigManagedNamespaceArgs) ToGlobalClusterConfigManagedNamespaceOutputWithContext

func (i GlobalClusterConfigManagedNamespaceArgs) ToGlobalClusterConfigManagedNamespaceOutputWithContext(ctx context.Context) GlobalClusterConfigManagedNamespaceOutput

type GlobalClusterConfigManagedNamespaceArray

type GlobalClusterConfigManagedNamespaceArray []GlobalClusterConfigManagedNamespaceInput

func (GlobalClusterConfigManagedNamespaceArray) ElementType

func (GlobalClusterConfigManagedNamespaceArray) ToGlobalClusterConfigManagedNamespaceArrayOutput

func (i GlobalClusterConfigManagedNamespaceArray) ToGlobalClusterConfigManagedNamespaceArrayOutput() GlobalClusterConfigManagedNamespaceArrayOutput

func (GlobalClusterConfigManagedNamespaceArray) ToGlobalClusterConfigManagedNamespaceArrayOutputWithContext

func (i GlobalClusterConfigManagedNamespaceArray) ToGlobalClusterConfigManagedNamespaceArrayOutputWithContext(ctx context.Context) GlobalClusterConfigManagedNamespaceArrayOutput

type GlobalClusterConfigManagedNamespaceArrayInput

type GlobalClusterConfigManagedNamespaceArrayInput interface {
	pulumi.Input

	ToGlobalClusterConfigManagedNamespaceArrayOutput() GlobalClusterConfigManagedNamespaceArrayOutput
	ToGlobalClusterConfigManagedNamespaceArrayOutputWithContext(context.Context) GlobalClusterConfigManagedNamespaceArrayOutput
}

GlobalClusterConfigManagedNamespaceArrayInput is an input type that accepts GlobalClusterConfigManagedNamespaceArray and GlobalClusterConfigManagedNamespaceArrayOutput values. You can construct a concrete instance of `GlobalClusterConfigManagedNamespaceArrayInput` via:

GlobalClusterConfigManagedNamespaceArray{ GlobalClusterConfigManagedNamespaceArgs{...} }

type GlobalClusterConfigManagedNamespaceArrayOutput

type GlobalClusterConfigManagedNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigManagedNamespaceArrayOutput) ElementType

func (GlobalClusterConfigManagedNamespaceArrayOutput) Index

func (GlobalClusterConfigManagedNamespaceArrayOutput) ToGlobalClusterConfigManagedNamespaceArrayOutput

func (o GlobalClusterConfigManagedNamespaceArrayOutput) ToGlobalClusterConfigManagedNamespaceArrayOutput() GlobalClusterConfigManagedNamespaceArrayOutput

func (GlobalClusterConfigManagedNamespaceArrayOutput) ToGlobalClusterConfigManagedNamespaceArrayOutputWithContext

func (o GlobalClusterConfigManagedNamespaceArrayOutput) ToGlobalClusterConfigManagedNamespaceArrayOutputWithContext(ctx context.Context) GlobalClusterConfigManagedNamespaceArrayOutput

type GlobalClusterConfigManagedNamespaceInput

type GlobalClusterConfigManagedNamespaceInput interface {
	pulumi.Input

	ToGlobalClusterConfigManagedNamespaceOutput() GlobalClusterConfigManagedNamespaceOutput
	ToGlobalClusterConfigManagedNamespaceOutputWithContext(context.Context) GlobalClusterConfigManagedNamespaceOutput
}

GlobalClusterConfigManagedNamespaceInput is an input type that accepts GlobalClusterConfigManagedNamespaceArgs and GlobalClusterConfigManagedNamespaceOutput values. You can construct a concrete instance of `GlobalClusterConfigManagedNamespaceInput` via:

GlobalClusterConfigManagedNamespaceArgs{...}

type GlobalClusterConfigManagedNamespaceOutput

type GlobalClusterConfigManagedNamespaceOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigManagedNamespaceOutput) Collection

The name of the collection associated with the managed namespace.

func (GlobalClusterConfigManagedNamespaceOutput) CustomShardKey

The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.

func (GlobalClusterConfigManagedNamespaceOutput) Db

The name of the database containing the collection.

func (GlobalClusterConfigManagedNamespaceOutput) ElementType

func (GlobalClusterConfigManagedNamespaceOutput) ToGlobalClusterConfigManagedNamespaceOutput

func (o GlobalClusterConfigManagedNamespaceOutput) ToGlobalClusterConfigManagedNamespaceOutput() GlobalClusterConfigManagedNamespaceOutput

func (GlobalClusterConfigManagedNamespaceOutput) ToGlobalClusterConfigManagedNamespaceOutputWithContext

func (o GlobalClusterConfigManagedNamespaceOutput) ToGlobalClusterConfigManagedNamespaceOutputWithContext(ctx context.Context) GlobalClusterConfigManagedNamespaceOutput

type GlobalClusterConfigMap added in v1.5.2

type GlobalClusterConfigMap map[string]GlobalClusterConfigInput

func (GlobalClusterConfigMap) ElementType added in v1.5.2

func (GlobalClusterConfigMap) ElementType() reflect.Type

func (GlobalClusterConfigMap) ToGlobalClusterConfigMapOutput added in v1.5.2

func (i GlobalClusterConfigMap) ToGlobalClusterConfigMapOutput() GlobalClusterConfigMapOutput

func (GlobalClusterConfigMap) ToGlobalClusterConfigMapOutputWithContext added in v1.5.2

func (i GlobalClusterConfigMap) ToGlobalClusterConfigMapOutputWithContext(ctx context.Context) GlobalClusterConfigMapOutput

type GlobalClusterConfigMapInput added in v1.5.2

type GlobalClusterConfigMapInput interface {
	pulumi.Input

	ToGlobalClusterConfigMapOutput() GlobalClusterConfigMapOutput
	ToGlobalClusterConfigMapOutputWithContext(context.Context) GlobalClusterConfigMapOutput
}

GlobalClusterConfigMapInput is an input type that accepts GlobalClusterConfigMap and GlobalClusterConfigMapOutput values. You can construct a concrete instance of `GlobalClusterConfigMapInput` via:

GlobalClusterConfigMap{ "key": GlobalClusterConfigArgs{...} }

type GlobalClusterConfigMapOutput added in v1.5.2

type GlobalClusterConfigMapOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigMapOutput) ElementType added in v1.5.2

func (GlobalClusterConfigMapOutput) MapIndex added in v1.5.2

func (GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutput added in v1.5.2

func (o GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutput() GlobalClusterConfigMapOutput

func (GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutputWithContext added in v1.5.2

func (o GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutputWithContext(ctx context.Context) GlobalClusterConfigMapOutput

type GlobalClusterConfigOutput added in v1.3.1

type GlobalClusterConfigOutput struct {
	*pulumi.OutputState
}

func (GlobalClusterConfigOutput) ElementType added in v1.3.1

func (GlobalClusterConfigOutput) ElementType() reflect.Type

func (GlobalClusterConfigOutput) ToGlobalClusterConfigOutput added in v1.3.1

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigOutput() GlobalClusterConfigOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigOutputWithContext added in v1.3.1

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigOutputWithContext(ctx context.Context) GlobalClusterConfigOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutput added in v1.5.2

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutputWithContext added in v1.5.2

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigPtrInput added in v1.5.2

type GlobalClusterConfigPtrInput interface {
	pulumi.Input

	ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput
	ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput
}

type GlobalClusterConfigPtrOutput added in v1.5.2

type GlobalClusterConfigPtrOutput struct {
	*pulumi.OutputState
}

func (GlobalClusterConfigPtrOutput) ElementType added in v1.5.2

func (GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutput added in v1.5.2

func (o GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutputWithContext added in v1.5.2

func (o GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigState

type GlobalClusterConfigState struct {
	ClusterName pulumi.StringPtrInput
	// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
	CustomZoneMapping pulumi.MapInput
	// Each element in the list maps one ISO location code to a zone in your Global Cluster. See Custom Zone Mapping below for more details.
	CustomZoneMappings GlobalClusterConfigCustomZoneMappingArrayInput
	// Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details.
	ManagedNamespaces GlobalClusterConfigManagedNamespaceArrayInput
	// The unique ID for the project to create the database user.
	// * `clusterName - (Required) The name of the Global Cluster.
	ProjectId pulumi.StringPtrInput
}

func (GlobalClusterConfigState) ElementType

func (GlobalClusterConfigState) ElementType() reflect.Type

type LookupAlertConfigurationArgs

type LookupAlertConfigurationArgs struct {
	// Unique identifier for the alert configuration.
	AlertConfigurationId string `pulumi:"alertConfigurationId"`
	// The ID of the project where the alert configuration will create.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getAlertConfiguration.

type LookupAlertConfigurationResult

type LookupAlertConfigurationResult struct {
	AlertConfigurationId string `pulumi:"alertConfigurationId"`
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was created.
	Created string `pulumi:"created"`
	// If set to true, the alert configuration is enabled. If enabled is not exported it is set to false.
	Enabled bool `pulumi:"enabled"`
	// The type of event that will trigger an alert.
	EventType string `pulumi:"eventType"`
	// The provider-assigned unique ID for this managed resource.
	Id              string                               `pulumi:"id"`
	Matchers        []GetAlertConfigurationMatcher       `pulumi:"matchers"`
	MetricThreshold GetAlertConfigurationMetricThreshold `pulumi:"metricThreshold"`
	Notifications   []GetAlertConfigurationNotification  `pulumi:"notifications"`
	ProjectId       string                               `pulumi:"projectId"`
	// Threshold value outside of which an alert will be triggered.
	Threshold GetAlertConfigurationThreshold `pulumi:"threshold"`
	// Timestamp in ISO 8601 date and time format in UTC when this alert configuration was last updated.
	Updated string `pulumi:"updated"`
}

A collection of values returned by getAlertConfiguration.

func LookupAlertConfiguration

func LookupAlertConfiguration(ctx *pulumi.Context, args *LookupAlertConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupAlertConfigurationResult, error)

`AlertConfiguration` describes an Alert Configuration.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

type LookupAuditingArgs

type LookupAuditingArgs struct {
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getAuditing.

type LookupAuditingResult

type LookupAuditingResult struct {
	// JSON-formatted audit filter used by the project
	AuditAuthorizationSuccess bool `pulumi:"auditAuthorizationSuccess"`
	// Indicates whether the auditing system captures successful authentication attempts for audit filters using the "atype" : "authCheck" auditing event. For more information, see auditAuthorizationSuccess
	AuditFilter string `pulumi:"auditFilter"`
	// Denotes the configuration method for the audit filter. Possible values are: NONE - auditing not configured for the project.m FILTER_BUILDER - auditing configured via Atlas UI filter builderm FILTER_JSON - auditing configured via Atlas custom filter or API.
	ConfigurationType string `pulumi:"configurationType"`
	// Denotes whether or not the project associated with the {GROUP-ID} has database auditing enabled.
	Enabled bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getAuditing.

func LookupAuditing

func LookupAuditing(ctx *pulumi.Context, args *LookupAuditingArgs, opts ...pulumi.InvokeOption) (*LookupAuditingResult, error)

`Auditing` describes a Auditing.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

type LookupCloudProviderAccessArgs added in v1.4.0

type LookupCloudProviderAccessArgs struct {
	// The unique ID for the project to get all Cloud Provider Access
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCloudProviderAccess.

type LookupCloudProviderAccessResult added in v1.4.0

type LookupCloudProviderAccessResult struct {
	// A list where each represents a Cloud Provider Access Role.
	AwsIamRoles []GetCloudProviderAccessAwsIamRole `pulumi:"awsIamRoles"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getCloudProviderAccess.

func LookupCloudProviderAccess added in v1.4.0

func LookupCloudProviderAccess(ctx *pulumi.Context, args *LookupCloudProviderAccessArgs, opts ...pulumi.InvokeOption) (*LookupCloudProviderAccessResult, error)

`CloudProviderAccess` allows you to get the list of cloud provider access roles, currently only AWS is supported.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := mongodbatlas.NewCloudProviderAccess(ctx, "testRole", &mongodbatlas.CloudProviderAccessArgs{
			ProjectId:    pulumi.String("<PROJECT-ID>"),
			ProviderName: pulumi.String("AWS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCloudProviderSnapshotArgs

type LookupCloudProviderSnapshotArgs struct {
	// The name of the Atlas cluster that contains the snapshot you want to retrieve.
	ClusterName string `pulumi:"clusterName"`
	ProjectId   string `pulumi:"projectId"`
	// The unique identifier of the snapshot you want to retrieve.
	SnapshotId string `pulumi:"snapshotId"`
}

A collection of arguments for invoking getCloudProviderSnapshot.

type LookupCloudProviderSnapshotBackupPolicyArgs

type LookupCloudProviderSnapshotBackupPolicyArgs struct {
	// The name of the Atlas cluster that contains the snapshots backup policy you want to retrieve.
	ClusterName string `pulumi:"clusterName"`
	// The unique identifier of the project for the Atlas cluster.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCloudProviderSnapshotBackupPolicy.

type LookupCloudProviderSnapshotBackupPolicyResult

type LookupCloudProviderSnapshotBackupPolicyResult struct {
	// Unique identifier of the Atlas cluster.
	ClusterId   string `pulumi:"clusterId"`
	ClusterName string `pulumi:"clusterName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// UTC ISO 8601 formatted point in time when Atlas will take the next snapshot.
	NextSnapshot string `pulumi:"nextSnapshot"`
	// A list of policy definitions for the cluster.
	// * `policies.#.id` - Unique identifier of the backup policy.
	Policies  []GetCloudProviderSnapshotBackupPolicyPolicy `pulumi:"policies"`
	ProjectId string                                       `pulumi:"projectId"`
	// UTC Hour of day between 0 and 23 representing which hour of the day that Atlas takes a snapshot.
	ReferenceHourOfDay int `pulumi:"referenceHourOfDay"`
	// UTC Minute of day between 0 and 59 representing which minute of the referenceHourOfDay that Atlas takes the snapshot.
	ReferenceMinuteOfHour int `pulumi:"referenceMinuteOfHour"`
	// Specifies a restore window in days for cloud backup to maintain.
	RestoreWindowDays int  `pulumi:"restoreWindowDays"`
	UpdateSnapshots   bool `pulumi:"updateSnapshots"`
}

A collection of values returned by getCloudProviderSnapshotBackupPolicy.

func LookupCloudProviderSnapshotBackupPolicy

`CloudProviderSnapshotBackupPolicy` provides a Cloud Backup Snapshot Backup Policy datasource. An Atlas Cloud Backup Snapshot Policy provides the current snapshot schedule and retention settings for the cluster.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type LookupCloudProviderSnapshotRestoreJobArgs

type LookupCloudProviderSnapshotRestoreJobArgs struct {
	// The name of the Atlas cluster for which you want to retrieve the restore job.
	ClusterName string `pulumi:"clusterName"`
	// The unique identifier of the restore job to retrieve.
	JobId string `pulumi:"jobId"`
	// The unique identifier of the project for the Atlas cluster.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCloudProviderSnapshotRestoreJob.

type LookupCloudProviderSnapshotRestoreJobResult

type LookupCloudProviderSnapshotRestoreJobResult struct {
	// Indicates whether the restore job was canceled.
	Cancelled   bool   `pulumi:"cancelled"`
	ClusterName string `pulumi:"clusterName"`
	// UTC ISO 8601 formatted point in time when Atlas created the restore job.
	CreatedAt string `pulumi:"createdAt"`
	// Type of restore job to create. Possible values are: automated and download.
	DeliveryType string `pulumi:"deliveryType"`
	// One or more URLs for the compressed snapshot files for manual download. Only visible if deliveryType is download.
	DeliveryUrls []string `pulumi:"deliveryUrls"`
	// Indicates whether the restore job expired.
	Expired bool `pulumi:"expired"`
	// UTC ISO 8601 formatted point in time when the restore job expires.
	ExpiresAt string `pulumi:"expiresAt"`
	// UTC ISO 8601 formatted point in time when the restore job completed.
	FinishedAt string `pulumi:"finishedAt"`
	// The provider-assigned unique ID for this managed resource.
	Id                    string `pulumi:"id"`
	JobId                 string `pulumi:"jobId"`
	OplogInc              int    `pulumi:"oplogInc"`
	OplogTs               int    `pulumi:"oplogTs"`
	PointInTimeUtcSeconds int    `pulumi:"pointInTimeUtcSeconds"`
	ProjectId             string `pulumi:"projectId"`
	// Unique identifier of the source snapshot ID of the restore job.
	SnapshotId string `pulumi:"snapshotId"`
	// Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
	TargetClusterName string `pulumi:"targetClusterName"`
	TargetProjectId   string `pulumi:"targetProjectId"`
	// Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
	Timestamp string `pulumi:"timestamp"`
}

A collection of values returned by getCloudProviderSnapshotRestoreJob.

func LookupCloudProviderSnapshotRestoreJob

`CloudProviderSnapshotRestoreJob` provides a Cloud Backup Snapshot Restore Job datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type LookupCloudProviderSnapshotResult

type LookupCloudProviderSnapshotResult struct {
	ClusterName string `pulumi:"clusterName"`
	// UTC ISO 8601 formatted point in time when Atlas took the snapshot.
	CreatedAt string `pulumi:"createdAt"`
	// UDescription of the snapshot. Only present for on-demand snapshots.
	Description string `pulumi:"description"`
	// UTC ISO 8601 formatted point in time when Atlas will delete the snapshot.
	ExpiresAt string `pulumi:"expiresAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Unique ID of the AWS KMS Customer Master Key used to encrypt the snapshot. Only visible for clusters using Encryption at Rest via Customer KMS.
	MasterKeyUuid string `pulumi:"masterKeyUuid"`
	// Version of the MongoDB server.
	MongodVersion string `pulumi:"mongodVersion"`
	ProjectId     string `pulumi:"projectId"`
	SnapshotId    string `pulumi:"snapshotId"`
	// Specified the type of snapshot. Valid values are onDemand and scheduled.
	SnapshotType string `pulumi:"snapshotType"`
	// Current status of the snapshot. One of the following values: queued, inProgress, completed, failed.
	Status string `pulumi:"status"`
	// Specifies the size of the snapshot in bytes.
	StorageSizeBytes int `pulumi:"storageSizeBytes"`
	// Specifies the type of cluster: replicaSet or shardedCluster.
	Type string `pulumi:"type"`
}

A collection of values returned by getCloudProviderSnapshot.

func LookupCloudProviderSnapshot

func LookupCloudProviderSnapshot(ctx *pulumi.Context, args *LookupCloudProviderSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupCloudProviderSnapshotResult, error)

`CloudProviderSnapshot` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type LookupClusterArgs

type LookupClusterArgs struct {
	// Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed.
	Name string `pulumi:"name"`
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCluster.

type LookupClusterResult

type LookupClusterResult struct {
	// (Optional) Specifies whether cluster tier auto-scaling is enabled. The default is false.
	AutoScalingComputeEnabled bool `pulumi:"autoScalingComputeEnabled"`
	// (Optional) Set to `true` to enable the cluster tier to scale down.
	AutoScalingComputeScaleDownEnabled bool `pulumi:"autoScalingComputeScaleDownEnabled"`
	// Indicates whether disk auto-scaling is enabled.
	AutoScalingDiskGbEnabled bool `pulumi:"autoScalingDiskGbEnabled"`
	// Indicates Cloud service provider on which the server for a multi-tenant cluster is provisioned.
	BackingProviderName string `pulumi:"backingProviderName"`
	// Legacy Option, Indicates whether Atlas continuous backups are enabled for the cluster.
	BackupEnabled bool `pulumi:"backupEnabled"`
	// Indicates BI Connector for Atlas configuration on this cluster. BI Connector for Atlas is only available for M10+ clusters. See BI Connector below for more details.
	BiConnector GetClusterBiConnector `pulumi:"biConnector"`
	// Indicates the type of the cluster that you want to modify. You cannot convert a sharded cluster deployment to a replica set deployment.
	ClusterType string `pulumi:"clusterType"`
	// Set of connection strings that your applications use to connect to this cluster. More info in [Connection-strings](https://docs.mongodb.com/manual/reference/connection-string/). Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see [Connection String Options](https://docs.atlas.mongodb.com/reference/faq/connection-changes/). NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
	// - `connection_strings.standard` -   Public mongodb:// connection string for this cluster.
	// - `connection_strings.standard_srv` - Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.standard.
	// - `connection_strings.aws_private_link` -  [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. **DEPRECATED** Use `connection_strings.private_endpoint[n].connection_string` instead.
	// - `connection_strings.aws_private_link_srv` - [Private-endpoint-aware](https://docs.atlas.mongodb.com/security-private-endpoint/#private-endpoint-connection-strings) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a AWS PrivateLink connection to this cluster. Use this URI format if your driver supports it. If it doesn’t, use connectionStrings.awsPrivateLink. **DEPRECATED** Use `connection_strings.private_endpoint[n].srv_connection_string` instead.
	// - `connection_strings.private` -   [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_srv` -  [Network-peering-endpoint-aware](https://docs.atlas.mongodb.com/security-vpc-peering/#vpc-peering) mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
	// - `connection_strings.private_endpoint.#.connection_string` - Private-endpoint-aware `mongodb://`connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
	// - `connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
	// - `connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
	// - `connection_strings.private_endoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
	// - `connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
	// - `connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
	ConnectionStrings GetClusterConnectionStrings `pulumi:"connectionStrings"`
	// The Network Peering Container ID.
	ContainerId string `pulumi:"containerId"`
	// Indicates the size in gigabytes of the server’s root volume (AWS/GCP Only).
	DiskSizeGb float64 `pulumi:"diskSizeGb"`
	// Indicates whether Encryption at Rest is enabled or disabled.
	EncryptionAtRestProvider string `pulumi:"encryptionAtRestProvider"`
	// The provider-assigned unique ID for this managed resource.
	Id     string            `pulumi:"id"`
	Labels []GetClusterLabel `pulumi:"labels"`
	// Indicates the version of the cluster to deploy.
	MongoDbMajorVersion string `pulumi:"mongoDbMajorVersion"`
	// Version of MongoDB the cluster runs, in `major-version`.`minor-version` format.
	MongoDbVersion string `pulumi:"mongoDbVersion"`
	// Base connection string for the cluster. Atlas only displays this field after the cluster is operational, not while it builds the cluster.
	MongoUri string `pulumi:"mongoUri"`
	// Lists when the connection string was last updated. The connection string changes, for example, if you change a replica set to a sharded cluster.
	MongoUriUpdated string `pulumi:"mongoUriUpdated"`
	// Describes connection string for connecting to the Atlas cluster. Includes the replicaSet, ssl, and authSource query parameters in the connection string with values appropriate for the cluster.
	MongoUriWithOptions string `pulumi:"mongoUriWithOptions"`
	// The name of the current plugin
	Name string `pulumi:"name"`
	// Number of shards to deploy in the specified zone.
	NumShards int `pulumi:"numShards"`
	// Flag that indicates whether the cluster is paused or not.
	Paused bool `pulumi:"paused"`
	// Flag that indicates if the cluster uses Continuous Cloud Backup.
	PitEnabled bool   `pulumi:"pitEnabled"`
	ProjectId  string `pulumi:"projectId"`
	// (Optional) Maximum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMaxInstanceSize string `pulumi:"providerAutoScalingComputeMaxInstanceSize"`
	// (Optional) Minimum instance size to which your cluster can automatically scale.
	ProviderAutoScalingComputeMinInstanceSize string `pulumi:"providerAutoScalingComputeMinInstanceSize"`
	// Flag indicating if the cluster uses Cloud Backup Snapshots for backups.
	ProviderBackupEnabled bool `pulumi:"providerBackupEnabled"`
	// Indicates the maximum input/output operations per second (IOPS) the system can perform. The possible values depend on the selected providerSettings.instanceSizeName and diskSizeGB.
	ProviderDiskIops int `pulumi:"providerDiskIops"`
	// Describes Azure disk type of the server’s root volume (Azure Only).
	ProviderDiskTypeName string `pulumi:"providerDiskTypeName"`
	// Indicates whether the Amazon EBS encryption is enabled. This feature encrypts the server’s root volume for both data at rest within the volume and data moving between the volume and the instance.
	ProviderEncryptEbsVolume bool `pulumi:"providerEncryptEbsVolume"`
	// Atlas provides different instance sizes, each with a default storage capacity and RAM size.
	ProviderInstanceSizeName string `pulumi:"providerInstanceSizeName"`
	// Indicates the cloud service provider on which the servers are provisioned.
	ProviderName string `pulumi:"providerName"`
	// Indicates Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases.  Requires the Atlas Region name, see the reference list for [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	ProviderRegionName string `pulumi:"providerRegionName"`
	// Indicates the type of the volume. The possible values are: `STANDARD` and `PROVISIONED`.
	ProviderVolumeType string `pulumi:"providerVolumeType"`
	// (Deprecated) Number of replica set members. Each member keeps a copy of your databases, providing high availability and data redundancy. The possible values are 3, 5, or 7. The default value is 3.
	ReplicationFactor int `pulumi:"replicationFactor"`
	// Configuration for cluster regions.  See Replication Spec below for more details.
	ReplicationSpecs []GetClusterReplicationSpec `pulumi:"replicationSpecs"`
	// current snapshot schedule and retention settings for the cluster.
	SnapshotBackupPolicies []GetClusterSnapshotBackupPolicy `pulumi:"snapshotBackupPolicies"`
	// Connection string for connecting to the Atlas cluster. The +srv modifier forces the connection to use TLS/SSL. See the mongoURI for additional options.
	SrvAddress string `pulumi:"srvAddress"`
	// Indicates the current state of the cluster. The possible states are:
	// - IDLE
	// - CREATING
	// - UPDATING
	// - DELETING
	// - DELETED
	// - REPAIRING
	StateName string `pulumi:"stateName"`
}

A collection of values returned by getCluster.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

`Cluster` describes a Cluster. The. The data source requires your Project ID.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

> **IMPORTANT:** <br> &#8226; Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/). <br> &#8226; If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.

type LookupCustomDbRoleArgs

type LookupCustomDbRoleArgs struct {
	InheritedRoles []GetCustomDbRoleInheritedRole `pulumi:"inheritedRoles"`
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
	// Name of the custom role.
	RoleName string `pulumi:"roleName"`
}

A collection of arguments for invoking getCustomDbRole.

type LookupCustomDbRoleResult

type LookupCustomDbRoleResult struct {
	Actions []GetCustomDbRoleAction `pulumi:"actions"`
	// The provider-assigned unique ID for this managed resource.
	Id             string                         `pulumi:"id"`
	InheritedRoles []GetCustomDbRoleInheritedRole `pulumi:"inheritedRoles"`
	ProjectId      string                         `pulumi:"projectId"`
	RoleName       string                         `pulumi:"roleName"`
}

A collection of values returned by getCustomDbRole.

func LookupCustomDbRole

func LookupCustomDbRole(ctx *pulumi.Context, args *LookupCustomDbRoleArgs, opts ...pulumi.InvokeOption) (*LookupCustomDbRoleResult, error)

`CustomDbRole` describe a Custom DB Role. This represents a custom db role.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := mongodbatlas.NewCustomDbRole(ctx, "testRole", &mongodbatlas.CustomDbRoleArgs{
			Actions: mongodbatlas.CustomDbRoleActionArray{
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("UPDATE"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
				&mongodbatlas.CustomDbRoleActionArgs{
					Action: pulumi.String("INSERT"),
					Resources: mongodbatlas.CustomDbRoleActionResourceArray{
						&mongodbatlas.CustomDbRoleActionResourceArgs{
							CollectionName: pulumi.String(""),
							DatabaseName:   pulumi.String("anyDatabase"),
						},
					},
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			RoleName:  pulumi.String("myCustomRole"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatabaseUserArgs

type LookupDatabaseUserArgs struct {
	// The user’s authentication database. A user must provide both a username and authentication database to log into MongoDB. In Atlas deployments of MongoDB, the authentication database is almost always the admin database, for X509 it is $external.
	AuthDatabaseName *string `pulumi:"authDatabaseName"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	//
	// Deprecated: use auth_database_name instead
	DatabaseName *string `pulumi:"databaseName"`
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
	// Username for authenticating to MongoDB.
	Username string `pulumi:"username"`
}

A collection of arguments for invoking getDatabaseUser.

type LookupDatabaseUserResult

type LookupDatabaseUserResult struct {
	AuthDatabaseName *string `pulumi:"authDatabaseName"`
	// The new database user authenticates with AWS IAM credentials. Default is `NONE`, `USER` means user has AWS IAM user credentials, `ROLE` - means user has credentials associated with an AWS IAM role.
	AwsIamType string `pulumi:"awsIamType"`
	// Database on which the user has the specified role. A role on the `admin` database can include privileges that apply to the other databases.
	//
	// Deprecated: use auth_database_name instead
	DatabaseName *string `pulumi:"databaseName"`
	// The provider-assigned unique ID for this managed resource.
	Id        string                 `pulumi:"id"`
	Labels    []GetDatabaseUserLabel `pulumi:"labels"`
	ProjectId string                 `pulumi:"projectId"`
	// List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.
	Roles []GetDatabaseUserRole `pulumi:"roles"`
	// Array of clusters and Atlas Data Lakes that this user has access to.
	Scopes   []GetDatabaseUserScope `pulumi:"scopes"`
	Username string                 `pulumi:"username"`
	// X.509 method by which the provided username is authenticated.
	X509Type string `pulumi:"x509Type"`
}

A collection of values returned by getDatabaseUser.

func LookupDatabaseUser

func LookupDatabaseUser(ctx *pulumi.Context, args *LookupDatabaseUserArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseUserResult, error)

`DatabaseUser` describe a Database User. This represents a database user which will be applied to all clusters within the project.

Each user has a set of roles that provide access to the project’s databases. User's roles apply to all the clusters in the project: if two clusters have a `products` database and a user has a role granting `read` access on the products database, the user has that access on both clusters.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupGlobalClusterConfigArgs

type LookupGlobalClusterConfigArgs struct {
	ClusterName string `pulumi:"clusterName"`
	// Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details.
	ManagedNamespaces []GetGlobalClusterConfigManagedNamespace `pulumi:"managedNamespaces"`
	// The unique ID for the project to create the database user.
	// * `clusterName - (Required) The name of the Global Cluster.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getGlobalClusterConfig.

type LookupGlobalClusterConfigResult

type LookupGlobalClusterConfigResult struct {
	ClusterName string `pulumi:"clusterName"`
	// A map of all custom zone mappings defined for the Global Cluster. Atlas automatically maps each location code to the closest geographical zone. Custom zone mappings allow administrators to override these automatic mappings. If your Global Cluster does not have any custom zone mappings, this document is empty.
	CustomZoneMapping map[string]interface{} `pulumi:"customZoneMapping"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Add a managed namespaces to a Global Cluster. For more information about managed namespaces, see [Global Clusters](https://docs.atlas.mongodb.com/reference/api/global-clusters/). See Managed Namespace below for more details.
	ManagedNamespaces []GetGlobalClusterConfigManagedNamespace `pulumi:"managedNamespaces"`
	ProjectId         string                                   `pulumi:"projectId"`
}

A collection of values returned by getGlobalClusterConfig.

func LookupGlobalClusterConfig

func LookupGlobalClusterConfig(ctx *pulumi.Context, args *LookupGlobalClusterConfigArgs, opts ...pulumi.InvokeOption) (*LookupGlobalClusterConfigResult, error)

`GlobalClusterConfig` describes all managed namespaces and custom zone mappings associated with the specified Global Cluster.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupMaintenanceWindowArgs

type LookupMaintenanceWindowArgs struct {
	// The unique identifier of the project for the Maintenance Window.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getMaintenanceWindow.

type LookupMaintenanceWindowResult

type LookupMaintenanceWindowResult struct {
	// Day of the week when you would like the maintenance window to start as a 1-based integer: S=1, M=2, T=3, W=4, T=5, F=6, S=7.
	DayOfWeek int `pulumi:"dayOfWeek"`
	// Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12  (Time zone is UTC).
	HourOfDay int `pulumi:"hourOfDay"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Number of times the current maintenance event for this project has been deferred, you can set a maximum of 2 deferrals.
	NumberOfDeferrals int    `pulumi:"numberOfDeferrals"`
	ProjectId         string `pulumi:"projectId"`
	// Flag indicating whether project maintenance has been directed to start immediately. If you request that maintenance begin immediately, this field returns true from the time the request was made until the time the maintenance event completes.
	StartAsap bool `pulumi:"startAsap"`
}

A collection of values returned by getMaintenanceWindow.

func LookupMaintenanceWindow

func LookupMaintenanceWindow(ctx *pulumi.Context, args *LookupMaintenanceWindowArgs, opts ...pulumi.InvokeOption) (*LookupMaintenanceWindowResult, error)

`MaintenanceWindow` provides a Maintenance Window entry datasource. Gets information regarding the configured maintenance window for a MongoDB Atlas project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type LookupNetworkContainerArgs

type LookupNetworkContainerArgs struct {
	// The Network Peering Container ID.
	ContainerId string `pulumi:"containerId"`
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getNetworkContainer.

type LookupNetworkContainerResult

type LookupNetworkContainerResult struct {
	// CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3).
	AtlasCidrBlock string `pulumi:"atlasCidrBlock"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId string `pulumi:"azureSubscriptionId"`
	ContainerId         string `pulumi:"containerId"`
	// Unique identifier of the GCP project in which the Network Peering connection resides.
	GcpProjectId string `pulumi:"gcpProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the Network Peering connection in the Atlas project.
	NetworkName string `pulumi:"networkName"`
	ProjectId   string `pulumi:"projectId"`
	// Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.
	ProviderName string `pulumi:"providerName"`
	// Indicates whether the project has Network Peering connections deployed in the container.
	Provisioned bool `pulumi:"provisioned"`
	// The Atlas Azure region name for where this container will exist.
	Region string `pulumi:"region"`
	// The Atlas AWS region name for where this container will exist.
	RegionName string `pulumi:"regionName"`
	// The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.
	VnetName string `pulumi:"vnetName"`
	// Unique identifier of the project’s VPC.
	VpcId string `pulumi:"vpcId"`
}

A collection of values returned by getNetworkContainer.

func LookupNetworkContainer

func LookupNetworkContainer(ctx *pulumi.Context, args *LookupNetworkContainerArgs, opts ...pulumi.InvokeOption) (*LookupNetworkContainerResult, error)

`NetworkContainer` describes a Network Peering Container. The resource requires your Project ID and container ID.

> **IMPORTANT:** This resource creates one Network Peering container into which Atlas can deploy Network Peering connections. An Atlas project can have a maximum of one container for each cloud provider. You must have either the Project Owner or Organization Owner role to successfully call this endpoint.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

## Example Usage

type LookupNetworkPeeringArgs

type LookupNetworkPeeringArgs struct {
	// Atlas assigned unique ID for the peering connection.
	PeeringId string `pulumi:"peeringId"`
	// The unique ID for the project to create the database user.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getNetworkPeering.

type LookupNetworkPeeringResult

type LookupNetworkPeeringResult struct {
	// Specifies the region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName string `pulumi:"accepterRegionName"`
	// Unique identifier for an Azure AD directory.
	AtlasCidrBlock string `pulumi:"atlasCidrBlock"`
	AtlasId        string `pulumi:"atlasId"`
	// Account ID of the owner of the peer VPC.
	AwsAccountId string `pulumi:"awsAccountId"`
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId string `pulumi:"azureDirectoryId"`
	// Unique identifer of the Azure subscription in which the VNet resides.
	AzureSubscriptionId string `pulumi:"azureSubscriptionId"`
	// Unique identifier for the peering connection.
	ConnectionId string `pulumi:"connectionId"`
	ContainerId  string `pulumi:"containerId"`
	// When `"status" : "FAILED"`, Atlas provides a description of the error.
	ErrorMessage string `pulumi:"errorMessage"`
	// Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.
	ErrorState string `pulumi:"errorState"`
	// Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.
	ErrorStateName string `pulumi:"errorStateName"`
	// GCP project ID of the owner of the network peer.
	GcpProjectId string `pulumi:"gcpProjectId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the network peer to which Atlas connects.
	NetworkName string `pulumi:"networkName"`
	PeeringId   string `pulumi:"peeringId"`
	ProjectId   string `pulumi:"projectId"`
	// Cloud provider for this VPC peering connection. If omitted, Atlas sets this parameter to AWS. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName string `pulumi:"providerName"`
	// Name of your Azure resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// Peer VPC CIDR block or subnet.
	RouteTableCidrBlock string `pulumi:"routeTableCidrBlock"`
	// Status of the Atlas network peering connection: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING`, `WAITING_FOR_USER`.
	Status string `pulumi:"status"`
	// The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.
	StatusName string `pulumi:"statusName"`
	// Name of your Azure VNet.
	VnetName string `pulumi:"vnetName"`
	// Unique identifier of the peer VPC.
	VpcId string `pulumi:"vpcId"`
}

A collection of values returned by getNetworkPeering.

func LookupNetworkPeering

func LookupNetworkPeering(ctx *pulumi.Context, args *LookupNetworkPeeringArgs, opts ...pulumi.InvokeOption) (*LookupNetworkPeeringResult, error)

`NetworkPeering` describes a Network Peering Connection.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

## Example Usage

type LookupPrivateEndpointArgs

type LookupPrivateEndpointArgs struct {
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId string `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getPrivateEndpoint.

type LookupPrivateEndpointInterfaceLinkArgs

type LookupPrivateEndpointInterfaceLinkArgs struct {
	InterfaceEndpointId string `pulumi:"interfaceEndpointId"`
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId string `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getPrivateEndpointInterfaceLink.

type LookupPrivateEndpointInterfaceLinkResult

type LookupPrivateEndpointInterfaceLinkResult struct {
	// Status of the interface endpoint.
	// Returns one of the following values:
	ConnectionStatus string `pulumi:"connectionStatus"`
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested bool `pulumi:"deleteRequested"`
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage string `pulumi:"errorMessage"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	InterfaceEndpointId string `pulumi:"interfaceEndpointId"`
	PrivateLinkId       string `pulumi:"privateLinkId"`
	ProjectId           string `pulumi:"projectId"`
}

A collection of values returned by getPrivateEndpointInterfaceLink.

`PrivateEndpointInterfaceLink` describe a Private Endpoint Link. This represents a Private Endpoint Link Connection that wants to retrieve details in an Atlas project.

!> **WARNING:** This datasource is deprecated and will be removed in the next major version

Please transition to privatelinkEndpointService as soon as possible. [PrivateLink Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-get-one/)

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupPrivateEndpointResult

type LookupPrivateEndpointResult struct {
	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName string `pulumi:"endpointServiceName"`
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage string `pulumi:"errorMessage"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints []string `pulumi:"interfaceEndpoints"`
	PrivateLinkId      string   `pulumi:"privateLinkId"`
	ProjectId          string   `pulumi:"projectId"`
	// Status of the AWS PrivateLink connection or Status of the Azure Private Link Service. Atlas returns one of the following values:
	// AWS:
	Status string `pulumi:"status"`
}

A collection of values returned by getPrivateEndpoint.

func LookupPrivateEndpoint

func LookupPrivateEndpoint(ctx *pulumi.Context, args *LookupPrivateEndpointArgs, opts ...pulumi.InvokeOption) (*LookupPrivateEndpointResult, error)

`PrivateEndpoint` describe a Private Endpoint. This represents a Private Endpoint Connection to retrieve details regarding a private endpoint by id in an Atlas project

!> **WARNING:** This datasource is deprecated and will be removed in the next major version

Please transition to privatelinkEndpoint as soon as possible. [PrivateLink Endpoints](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-get-one/)

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupPrivateLinkEndpointArgs added in v1.4.0

type LookupPrivateLinkEndpointArgs struct {
	// Unique identifier of the private endpoint service that you want to retrieve.
	PrivateLinkId string `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId string `pulumi:"projectId"`
	// Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts `AWS` or `AZURE`.
	ProviderName string `pulumi:"providerName"`
}

A collection of arguments for invoking getPrivateLinkEndpoint.

type LookupPrivateLinkEndpointResult added in v1.4.0

type LookupPrivateLinkEndpointResult struct {
	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName string `pulumi:"endpointServiceName"`
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage string `pulumi:"errorMessage"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints []string `pulumi:"interfaceEndpoints"`
	// All private endpoints that you have added to this Azure Private Link Service.
	PrivateEndpoints []string `pulumi:"privateEndpoints"`
	PrivateLinkId    string   `pulumi:"privateLinkId"`
	// Name of the Azure Private Link Service that Atlas manages.
	PrivateLinkServiceName string `pulumi:"privateLinkServiceName"`
	// Resource ID of the Azure Private Link Service that Atlas manages.
	// Returns one of the following values:
	PrivateLinkServiceResourceId string `pulumi:"privateLinkServiceResourceId"`
	ProjectId                    string `pulumi:"projectId"`
	ProviderName                 string `pulumi:"providerName"`
	// Status of the AWS PrivateLink connection.
	Status string `pulumi:"status"`
}

A collection of values returned by getPrivateLinkEndpoint.

func LookupPrivateLinkEndpoint added in v1.4.0

func LookupPrivateLinkEndpoint(ctx *pulumi.Context, args *LookupPrivateLinkEndpointArgs, opts ...pulumi.InvokeOption) (*LookupPrivateLinkEndpointResult, error)

`PrivateLinkEndpoint` describe a Private Endpoint. This represents a Private Endpoint Connection to retrieve details regarding a private endpoint by id in an Atlas project

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupPrivateLinkEndpointServiceArgs added in v1.4.0

type LookupPrivateLinkEndpointServiceArgs struct {
	// Unique identifier of the `AWS` or `AZURE` resource.
	EndpointServiceId string `pulumi:"endpointServiceId"`
	// Unique identifier of the private endpoint service for which you want to retrieve a private endpoint.
	PrivateLinkId string `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId string `pulumi:"projectId"`
	// Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `AZURE`.
	ProviderName string `pulumi:"providerName"`
}

A collection of arguments for invoking getPrivateLinkEndpointService.

type LookupPrivateLinkEndpointServiceResult added in v1.4.0

type LookupPrivateLinkEndpointServiceResult struct {
	// Status of the interface endpoint for AWS.
	// Returns one of the following values:
	AwsConnectionStatus string `pulumi:"awsConnectionStatus"`
	// Status of the interface endpoint for AZURE.
	// Returns one of the following values:
	AzureStatus string `pulumi:"azureStatus"`
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested   bool   `pulumi:"deleteRequested"`
	EndpointServiceId string `pulumi:"endpointServiceId"`
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage string `pulumi:"errorMessage"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Unique identifier of the interface endpoint.
	InterfaceEndpointId string `pulumi:"interfaceEndpointId"`
	// Name of the connection for this private endpoint that Atlas generates.
	PrivateEndpointConnectionName string `pulumi:"privateEndpointConnectionName"`
	// Private IP address of the private endpoint network interface.
	PrivateEndpointIpAddress string `pulumi:"privateEndpointIpAddress"`
	// Unique identifier of the private endpoint.
	PrivateEndpointResourceId string `pulumi:"privateEndpointResourceId"`
	PrivateLinkId             string `pulumi:"privateLinkId"`
	ProjectId                 string `pulumi:"projectId"`
	ProviderName              string `pulumi:"providerName"`
}

A collection of values returned by getPrivateLinkEndpointService.

func LookupPrivateLinkEndpointService added in v1.4.0

`PrivateLinkEndpointService` describe a Private Endpoint Link. This represents a Private Endpoint Link Connection that wants to retrieve details in an Atlas project.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupProjectArgs

type LookupProjectArgs struct {
	// The unique ID for the project.
	Name *string `pulumi:"name"`
	// The unique ID for the project.
	ProjectId *string `pulumi:"projectId"`
}

A collection of arguments for invoking getProject.

type LookupProjectIpAccessListArgs added in v1.4.0

type LookupProjectIpAccessListArgs struct {
	// Unique identifier of the AWS security group to add to the access list.
	AwsSecurityGroup *string `pulumi:"awsSecurityGroup"`
	// Range of IP addresses in CIDR notation to be added to the access list.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Single IP address to be added to the access list.
	IpAddress *string `pulumi:"ipAddress"`
	// Unique identifier for the project to which you want to add one or more access list entries.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectIpAccessList.

type LookupProjectIpAccessListResult added in v1.4.0

type LookupProjectIpAccessListResult struct {
	AwsSecurityGroup string `pulumi:"awsSecurityGroup"`
	CidrBlock        string `pulumi:"cidrBlock"`
	// Comment to add to the access list entry.
	Comment string `pulumi:"comment"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getProjectIpAccessList.

func LookupProjectIpAccessList added in v1.4.0

func LookupProjectIpAccessList(ctx *pulumi.Context, args *LookupProjectIpAccessListArgs, opts ...pulumi.InvokeOption) (*LookupProjectIpAccessListResult, error)

`ProjectIpAccessList` describes an IP Access List entry resource. The access list grants access from IPs, CIDRs or AWS Security Groups (if VPC Peering is enabled) to clusters within the Project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

> **IMPORTANT:** When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.

## Example Usage

type LookupProjectIpWhitelistArgs added in v1.1.2

type LookupProjectIpWhitelistArgs struct {
	// ID of the whitelisted AWS security group. Mutually exclusive with `cidrBlock` and `ipAddress`.
	AwsSecurityGroup *string `pulumi:"awsSecurityGroup"`
	// Whitelist entry in Classless Inter-Domain Routing (CIDR) notation. Mutually exclusive with `awsSecurityGroup` and `ipAddress`.
	CidrBlock *string `pulumi:"cidrBlock"`
	// Whitelisted IP address. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress *string `pulumi:"ipAddress"`
	// The ID of the project in which to add the whitelist entry.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectIpWhitelist.

type LookupProjectIpWhitelistResult added in v1.1.2

type LookupProjectIpWhitelistResult struct {
	AwsSecurityGroup string `pulumi:"awsSecurityGroup"`
	CidrBlock        string `pulumi:"cidrBlock"`
	// Comment to add to the whitelist entry.
	Comment string `pulumi:"comment"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IpAddress string `pulumi:"ipAddress"`
	ProjectId string `pulumi:"projectId"`
}

A collection of values returned by getProjectIpWhitelist.

func LookupProjectIpWhitelist added in v1.1.2

func LookupProjectIpWhitelist(ctx *pulumi.Context, args *LookupProjectIpWhitelistArgs, opts ...pulumi.InvokeOption) (*LookupProjectIpWhitelistResult, error)

`ProjectIpWhitelist` describes an IP Whitelist entry resource. The whitelist grants access from IPs, CIDRs or AWS Security Groups (if VPC Peering is enabled) to clusters within the Project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

> **IMPORTANT:** When you remove an entry from the whitelist, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.

## Example Usage

type LookupProjectResult

type LookupProjectResult struct {
	ClusterCount int    `pulumi:"clusterCount"`
	Created      string `pulumi:"created"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name *string `pulumi:"name"`
	// The ID of the organization you want to create the project within.
	// *`clusterCount` - The number of Atlas clusters deployed in the project.
	// *`created` - The ISO-8601-formatted timestamp of when Atlas created the project.
	// * `teams.#.team_id` - The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
	// * `teams.#.role_names` - Each string in the array represents a project role assigned to the team. Every user associated with the team inherits these roles.
	//   The following are valid roles:
	// * `GROUP_OWNER`
	// * `GROUP_READ_ONLY`
	// * `GROUP_DATA_ACCESS_ADMIN`
	// * `GROUP_DATA_ACCESS_READ_WRITE`
	// * `GROUP_DATA_ACCESS_READ_ONLY`
	// * `GROUP_CLUSTER_MANAGER`
	OrgId     string           `pulumi:"orgId"`
	ProjectId *string          `pulumi:"projectId"`
	Teams     []GetProjectTeam `pulumi:"teams"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

`Project` describes a MongoDB Atlas Project. This represents a project that has been created.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

type LookupTeamArgs

type LookupTeamArgs struct {
	// The team name.
	Name *string `pulumi:"name"`
	// The unique identifier for the organization you want to associate the team with.
	OrgId string `pulumi:"orgId"`
	// The unique identifier for the team.
	TeamId *string `pulumi:"teamId"`
}

A collection of arguments for invoking getTeam.

type LookupTeamResult

type LookupTeamResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the team you want to create.
	Name  string `pulumi:"name"`
	OrgId string `pulumi:"orgId"`
	// The unique identifier for the team.
	TeamId string `pulumi:"teamId"`
	// The users who are part of the organization.
	Usernames []string `pulumi:"usernames"`
}

A collection of values returned by getTeam.

func LookupTeam

func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)

`Teams` describes a Team. The resource requires your Organization ID, Project ID and Team ID.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

type LookupTeamsArgs

type LookupTeamsArgs struct {
	Name   *string `pulumi:"name"`
	OrgId  string  `pulumi:"orgId"`
	TeamId *string `pulumi:"teamId"`
}

A collection of arguments for invoking getTeams.

type LookupTeamsResult

type LookupTeamsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Name      string   `pulumi:"name"`
	OrgId     string   `pulumi:"orgId"`
	TeamId    string   `pulumi:"teamId"`
	Usernames []string `pulumi:"usernames"`
}

A collection of values returned by getTeams.

func LookupTeams

func LookupTeams(ctx *pulumi.Context, args *LookupTeamsArgs, opts ...pulumi.InvokeOption) (*LookupTeamsResult, error)

type LookupThirdPartyIntegrationArgs added in v1.4.0

type LookupThirdPartyIntegrationArgs struct {
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId string `pulumi:"projectId"`
	// Third-Party service integration type
	// * PAGER_DUTY
	// * DATADOG
	// * NEW_RELIC
	// * OPS_GENIE
	// * VICTOR_OPS
	// * FLOWDOCK
	// * WEBHOOK
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getThirdPartyIntegration.

type LookupThirdPartyIntegrationResult added in v1.4.0

type LookupThirdPartyIntegrationResult struct {
	// Unique identifier of your New Relic account.
	AccountId string `pulumi:"accountId"`
	// Your API Key.
	ApiKey string `pulumi:"apiKey"`
	// Your API Token.
	ApiToken    string `pulumi:"apiToken"`
	ChannelName string `pulumi:"channelName"`
	// Your Flowdock Flow name.
	FlowName string `pulumi:"flowName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Your License Key.
	LicenseKey string `pulumi:"licenseKey"`
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName   string `pulumi:"orgName"`
	ProjectId string `pulumi:"projectId"`
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken string `pulumi:"readToken"`
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region string `pulumi:"region"`
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey string `pulumi:"routingKey"`
	// An optional field for your webhook secret.
	Secret string `pulumi:"secret"`
	// Your Service Key.
	// * `DATADOG`
	ServiceKey string `pulumi:"serviceKey"`
	TeamName   string `pulumi:"teamName"`
	// Property equal to its own integration type
	Type string `pulumi:"type"`
	// Your webhook URL.
	Url string `pulumi:"url"`
	// Your Insights Insert Key.
	WriteToken string `pulumi:"writeToken"`
}

A collection of values returned by getThirdPartyIntegration.

func LookupThirdPartyIntegration added in v1.4.0

func LookupThirdPartyIntegration(ctx *pulumi.Context, args *LookupThirdPartyIntegrationArgs, opts ...pulumi.InvokeOption) (*LookupThirdPartyIntegrationResult, error)

`ThirdPartyIntegration` describe a Third-Party Integration Settings for the given type.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

type MaintenanceWindow

type MaintenanceWindow struct {
	pulumi.CustomResourceState

	// Day of the week when you would like the maintenance window to start as a 1-based integer: S=1, M=2, T=3, W=4, T=5, F=6, S=7.
	DayOfWeek pulumi.IntOutput `pulumi:"dayOfWeek"`
	// Defer maintenance for the given project for one week.
	Defer pulumi.BoolOutput `pulumi:"defer"`
	// Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12 (Time zone is UTC).
	HourOfDay pulumi.IntOutput `pulumi:"hourOfDay"`
	// Number of times the current maintenance event for this project has been deferred, you can set a maximum of 2 deferrals.
	NumberOfDeferrals pulumi.IntOutput `pulumi:"numberOfDeferrals"`
	// The unique identifier of the project for the Maintenance Window.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Flag indicating whether project maintenance has been directed to start immediately. If you request that maintenance begin immediately, this field returns true from the time the request was made until the time the maintenance event completes.
	StartAsap pulumi.BoolOutput `pulumi:"startAsap"`
}

`MaintenanceWindow` provides a resource to schedule a maintenance window for your MongoDB Atlas Project and/or set to defer a scheduled maintenance up to two times.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

## Maintenance Window Considerations:

- Urgent Maintenance Activities Cannot Wait: Urgent maintenance activities such as security patches cannot wait for your chosen window. Atlas will start those maintenance activities when needed.

Once maintenance is scheduled for your cluster, you cannot change your maintenance window until the current maintenance efforts have completed. - Maintenance Requires Replica Set Elections: Atlas performs maintenance the same way as the manual maintenance procedure. This requires at least one replica set election during the maintenance window per replica set. - Maintenance Starts As Close to the Hour As Possible: Maintenance always begins as close to the scheduled hour as possible, but in-progress cluster updates or expected system issues could delay the start time.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewMaintenanceWindow(ctx, "test", &mongodbatlas.MaintenanceWindowArgs{
			DayOfWeek: pulumi.Int(3),
			HourOfDay: pulumi.Int(4),
			ProjectId: pulumi.String("<your-project-id>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewMaintenanceWindow(ctx, "test", &mongodbatlas.MaintenanceWindowArgs{
			Defer:     pulumi.Bool(true),
			ProjectId: pulumi.String("<your-project-id>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Maintenance Window entries can be imported using project project_id, in the format `PROJECTID`, e.g.

```sh

$ pulumi import mongodbatlas:index/maintenanceWindow:MaintenanceWindow test 5d0f1f73cf09a29120e173cf

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/maintenance-windows/)

func GetMaintenanceWindow

func GetMaintenanceWindow(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MaintenanceWindowState, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

GetMaintenanceWindow gets an existing MaintenanceWindow 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 NewMaintenanceWindow

func NewMaintenanceWindow(ctx *pulumi.Context,
	name string, args *MaintenanceWindowArgs, opts ...pulumi.ResourceOption) (*MaintenanceWindow, error)

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

func (*MaintenanceWindow) ElementType added in v1.3.1

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput added in v1.3.1

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext added in v1.3.1

func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutput added in v1.5.2

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext added in v1.5.2

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowArgs

type MaintenanceWindowArgs struct {
	// Day of the week when you would like the maintenance window to start as a 1-based integer: S=1, M=2, T=3, W=4, T=5, F=6, S=7.
	DayOfWeek pulumi.IntPtrInput
	// Defer maintenance for the given project for one week.
	Defer pulumi.BoolPtrInput
	// Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12 (Time zone is UTC).
	HourOfDay pulumi.IntPtrInput
	// Number of times the current maintenance event for this project has been deferred, you can set a maximum of 2 deferrals.
	NumberOfDeferrals pulumi.IntPtrInput
	// The unique identifier of the project for the Maintenance Window.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a MaintenanceWindow resource.

func (MaintenanceWindowArgs) ElementType

func (MaintenanceWindowArgs) ElementType() reflect.Type

type MaintenanceWindowArray added in v1.5.2

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType added in v1.5.2

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput added in v1.5.2

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext added in v1.5.2

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowArrayInput added in v1.5.2

type MaintenanceWindowArrayInput interface {
	pulumi.Input

	ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput
	ToMaintenanceWindowArrayOutputWithContext(context.Context) MaintenanceWindowArrayOutput
}

MaintenanceWindowArrayInput is an input type that accepts MaintenanceWindowArray and MaintenanceWindowArrayOutput values. You can construct a concrete instance of `MaintenanceWindowArrayInput` via:

MaintenanceWindowArray{ MaintenanceWindowArgs{...} }

type MaintenanceWindowArrayOutput added in v1.5.2

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType added in v1.5.2

func (MaintenanceWindowArrayOutput) Index added in v1.5.2

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput added in v1.5.2

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext added in v1.5.2

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowInput added in v1.3.1

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
}

type MaintenanceWindowMap added in v1.5.2

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType added in v1.5.2

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput added in v1.5.2

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext added in v1.5.2

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowMapInput added in v1.5.2

type MaintenanceWindowMapInput interface {
	pulumi.Input

	ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput
	ToMaintenanceWindowMapOutputWithContext(context.Context) MaintenanceWindowMapOutput
}

MaintenanceWindowMapInput is an input type that accepts MaintenanceWindowMap and MaintenanceWindowMapOutput values. You can construct a concrete instance of `MaintenanceWindowMapInput` via:

MaintenanceWindowMap{ "key": MaintenanceWindowArgs{...} }

type MaintenanceWindowMapOutput added in v1.5.2

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType added in v1.5.2

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex added in v1.5.2

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput added in v1.5.2

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext added in v1.5.2

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowOutput added in v1.3.1

type MaintenanceWindowOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowOutput) ElementType added in v1.3.1

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput added in v1.3.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext added in v1.3.1

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput added in v1.5.2

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext added in v1.5.2

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowPtrInput added in v1.5.2

type MaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
	ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
}

type MaintenanceWindowPtrOutput added in v1.5.2

type MaintenanceWindowPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowPtrOutput) ElementType added in v1.5.2

func (MaintenanceWindowPtrOutput) ElementType() reflect.Type

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput added in v1.5.2

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext added in v1.5.2

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowState

type MaintenanceWindowState struct {
	// Day of the week when you would like the maintenance window to start as a 1-based integer: S=1, M=2, T=3, W=4, T=5, F=6, S=7.
	DayOfWeek pulumi.IntPtrInput
	// Defer maintenance for the given project for one week.
	Defer pulumi.BoolPtrInput
	// Hour of the day when you would like the maintenance window to start. This parameter uses the 24-hour clock, where midnight is 0, noon is 12 (Time zone is UTC).
	HourOfDay pulumi.IntPtrInput
	// Number of times the current maintenance event for this project has been deferred, you can set a maximum of 2 deferrals.
	NumberOfDeferrals pulumi.IntPtrInput
	// The unique identifier of the project for the Maintenance Window.
	ProjectId pulumi.StringPtrInput
	// Flag indicating whether project maintenance has been directed to start immediately. If you request that maintenance begin immediately, this field returns true from the time the request was made until the time the maintenance event completes.
	StartAsap pulumi.BoolPtrInput
}

func (MaintenanceWindowState) ElementType

func (MaintenanceWindowState) ElementType() reflect.Type

type NetworkContainer

type NetworkContainer struct {
	pulumi.CustomResourceState

	// CIDR block that Atlas uses for the Network Peering containers in your project.  Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3):
	// * Lower bound: 10.0.0.0 -	Upper bound: 10.255.255.255 -	Prefix: 10/8
	// * Lower bound: 172.16.0.0 -	Upper bound:172.31.255.255 -	Prefix:	172.16/12
	// * Lower bound: 192.168.0.0 -	Upper bound:192.168.255.255 -	Prefix:	192.168/16
	AtlasCidrBlock pulumi.StringOutput `pulumi:"atlasCidrBlock"`
	// Unique identifier of the Azure subscription in which the VNet resides.
	// * * `vnetName` - 	The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	AzureSubscriptionId pulumi.StringOutput `pulumi:"azureSubscriptionId"`
	// The Network Peering Container ID.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// Unique identifier of the GCP project in which the network peer resides. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	GcpProjectId pulumi.StringOutput `pulumi:"gcpProjectId"`
	// Unique identifier of the Network Peering connection in the Atlas project. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	// **AZURE ONLY:**
	NetworkName pulumi.StringOutput `pulumi:"networkName"`
	// Unique identifier for the Atlas project for this Network Peering Container.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Cloud provider for this Network Peering connection.  Accepted values are GCP, AWS, AZURE. If omitted, Atlas sets this parameter to AWS.
	ProviderName pulumi.StringPtrOutput `pulumi:"providerName"`
	// Indicates whether the project has Network Peering connections deployed in the container.
	// **AWS ONLY:**
	Provisioned pulumi.BoolOutput `pulumi:"provisioned"`
	// Atlas region where the container resides, see the reference list for Atlas Azure region names [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	Region pulumi.StringOutput `pulumi:"region"`
	// The Atlas AWS region name for where this container will exist, see the reference list for Atlas AWS region names [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	RegionName pulumi.StringOutput `pulumi:"regionName"`
	VnetName   pulumi.StringOutput `pulumi:"vnetName"`
	// Unique identifier of Atlas' AWS VPC.
	// **CGP ONLY:**
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

`NetworkContainer` provides a Network Peering Container resource. The resource lets you create, edit and delete network peering containers. The resource requires your Project ID. Each cloud provider requires slightly different attributes so read the argument reference carefully.

Network peering container is a general term used to describe any cloud providers' VPC/VNet concept.  Containers only need to be created if the peering connection to the cloud provider will be created before the first cluster that requires the container.  If the cluster has been/will be created first Atlas automatically creates the required container per the "containers per cloud provider" information that follows (in this case you can obtain the container id from the cluster resource attribute `containerId`).

The following is the maximum number of Network Peering containers per cloud provider: <br> &#8226; GCP - One container per project. <br> &#8226; AWS and Azure - One container per cloud provider region.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.

## Example Usage ### Example with AWS

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewNetworkContainer(ctx, "test", &mongodbatlas.NetworkContainerArgs{
			AtlasCidrBlock: pulumi.String("10.8.0.0/21"),
			ProjectId:      pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderName:   pulumi.String("AWS"),
			RegionName:     pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example with GCP

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewNetworkContainer(ctx, "test", &mongodbatlas.NetworkContainerArgs{
			AtlasCidrBlock: pulumi.String("10.8.0.0/21"),
			ProjectId:      pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderName:   pulumi.String("GCP"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example with Azure

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewNetworkContainer(ctx, "test", &mongodbatlas.NetworkContainerArgs{
			AtlasCidrBlock: pulumi.String("10.8.0.0/21"),
			ProjectId:      pulumi.String("<YOUR-PROJECT-ID>"),
			ProviderName:   pulumi.String("AZURE"),
			Region:         pulumi.String("US_EAST_2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Clusters can be imported using project ID and network peering container id, in the format `PROJECTID-CONTAINER-ID`, e.g.

```sh

$ pulumi import mongodbatlas:index/networkContainer:NetworkContainer my_container 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a

```

See detailed information for arguments and attributes[MongoDB API Network Peering Container](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/)

func GetNetworkContainer

func GetNetworkContainer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkContainerState, opts ...pulumi.ResourceOption) (*NetworkContainer, error)

GetNetworkContainer gets an existing NetworkContainer 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 NewNetworkContainer

func NewNetworkContainer(ctx *pulumi.Context,
	name string, args *NetworkContainerArgs, opts ...pulumi.ResourceOption) (*NetworkContainer, error)

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

func (*NetworkContainer) ElementType added in v1.3.1

func (*NetworkContainer) ElementType() reflect.Type

func (*NetworkContainer) ToNetworkContainerOutput added in v1.3.1

func (i *NetworkContainer) ToNetworkContainerOutput() NetworkContainerOutput

func (*NetworkContainer) ToNetworkContainerOutputWithContext added in v1.3.1

func (i *NetworkContainer) ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput

func (*NetworkContainer) ToNetworkContainerPtrOutput added in v1.5.2

func (i *NetworkContainer) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (*NetworkContainer) ToNetworkContainerPtrOutputWithContext added in v1.5.2

func (i *NetworkContainer) ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput

type NetworkContainerArgs

type NetworkContainerArgs struct {
	// CIDR block that Atlas uses for the Network Peering containers in your project.  Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3):
	// * Lower bound: 10.0.0.0 -	Upper bound: 10.255.255.255 -	Prefix: 10/8
	// * Lower bound: 172.16.0.0 -	Upper bound:172.31.255.255 -	Prefix:	172.16/12
	// * Lower bound: 192.168.0.0 -	Upper bound:192.168.255.255 -	Prefix:	192.168/16
	AtlasCidrBlock pulumi.StringInput
	// Unique identifier for the Atlas project for this Network Peering Container.
	ProjectId pulumi.StringInput
	// Cloud provider for this Network Peering connection.  Accepted values are GCP, AWS, AZURE. If omitted, Atlas sets this parameter to AWS.
	ProviderName pulumi.StringPtrInput
	// Atlas region where the container resides, see the reference list for Atlas Azure region names [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	Region pulumi.StringPtrInput
	// The Atlas AWS region name for where this container will exist, see the reference list for Atlas AWS region names [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	RegionName pulumi.StringPtrInput
}

The set of arguments for constructing a NetworkContainer resource.

func (NetworkContainerArgs) ElementType

func (NetworkContainerArgs) ElementType() reflect.Type

type NetworkContainerArray added in v1.5.2

type NetworkContainerArray []NetworkContainerInput

func (NetworkContainerArray) ElementType added in v1.5.2

func (NetworkContainerArray) ElementType() reflect.Type

func (NetworkContainerArray) ToNetworkContainerArrayOutput added in v1.5.2

func (i NetworkContainerArray) ToNetworkContainerArrayOutput() NetworkContainerArrayOutput

func (NetworkContainerArray) ToNetworkContainerArrayOutputWithContext added in v1.5.2

func (i NetworkContainerArray) ToNetworkContainerArrayOutputWithContext(ctx context.Context) NetworkContainerArrayOutput

type NetworkContainerArrayInput added in v1.5.2

type NetworkContainerArrayInput interface {
	pulumi.Input

	ToNetworkContainerArrayOutput() NetworkContainerArrayOutput
	ToNetworkContainerArrayOutputWithContext(context.Context) NetworkContainerArrayOutput
}

NetworkContainerArrayInput is an input type that accepts NetworkContainerArray and NetworkContainerArrayOutput values. You can construct a concrete instance of `NetworkContainerArrayInput` via:

NetworkContainerArray{ NetworkContainerArgs{...} }

type NetworkContainerArrayOutput added in v1.5.2

type NetworkContainerArrayOutput struct{ *pulumi.OutputState }

func (NetworkContainerArrayOutput) ElementType added in v1.5.2

func (NetworkContainerArrayOutput) Index added in v1.5.2

func (NetworkContainerArrayOutput) ToNetworkContainerArrayOutput added in v1.5.2

func (o NetworkContainerArrayOutput) ToNetworkContainerArrayOutput() NetworkContainerArrayOutput

func (NetworkContainerArrayOutput) ToNetworkContainerArrayOutputWithContext added in v1.5.2

func (o NetworkContainerArrayOutput) ToNetworkContainerArrayOutputWithContext(ctx context.Context) NetworkContainerArrayOutput

type NetworkContainerInput added in v1.3.1

type NetworkContainerInput interface {
	pulumi.Input

	ToNetworkContainerOutput() NetworkContainerOutput
	ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput
}

type NetworkContainerMap added in v1.5.2

type NetworkContainerMap map[string]NetworkContainerInput

func (NetworkContainerMap) ElementType added in v1.5.2

func (NetworkContainerMap) ElementType() reflect.Type

func (NetworkContainerMap) ToNetworkContainerMapOutput added in v1.5.2

func (i NetworkContainerMap) ToNetworkContainerMapOutput() NetworkContainerMapOutput

func (NetworkContainerMap) ToNetworkContainerMapOutputWithContext added in v1.5.2

func (i NetworkContainerMap) ToNetworkContainerMapOutputWithContext(ctx context.Context) NetworkContainerMapOutput

type NetworkContainerMapInput added in v1.5.2

type NetworkContainerMapInput interface {
	pulumi.Input

	ToNetworkContainerMapOutput() NetworkContainerMapOutput
	ToNetworkContainerMapOutputWithContext(context.Context) NetworkContainerMapOutput
}

NetworkContainerMapInput is an input type that accepts NetworkContainerMap and NetworkContainerMapOutput values. You can construct a concrete instance of `NetworkContainerMapInput` via:

NetworkContainerMap{ "key": NetworkContainerArgs{...} }

type NetworkContainerMapOutput added in v1.5.2

type NetworkContainerMapOutput struct{ *pulumi.OutputState }

func (NetworkContainerMapOutput) ElementType added in v1.5.2

func (NetworkContainerMapOutput) ElementType() reflect.Type

func (NetworkContainerMapOutput) MapIndex added in v1.5.2

func (NetworkContainerMapOutput) ToNetworkContainerMapOutput added in v1.5.2

func (o NetworkContainerMapOutput) ToNetworkContainerMapOutput() NetworkContainerMapOutput

func (NetworkContainerMapOutput) ToNetworkContainerMapOutputWithContext added in v1.5.2

func (o NetworkContainerMapOutput) ToNetworkContainerMapOutputWithContext(ctx context.Context) NetworkContainerMapOutput

type NetworkContainerOutput added in v1.3.1

type NetworkContainerOutput struct {
	*pulumi.OutputState
}

func (NetworkContainerOutput) ElementType added in v1.3.1

func (NetworkContainerOutput) ElementType() reflect.Type

func (NetworkContainerOutput) ToNetworkContainerOutput added in v1.3.1

func (o NetworkContainerOutput) ToNetworkContainerOutput() NetworkContainerOutput

func (NetworkContainerOutput) ToNetworkContainerOutputWithContext added in v1.3.1

func (o NetworkContainerOutput) ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput

func (NetworkContainerOutput) ToNetworkContainerPtrOutput added in v1.5.2

func (o NetworkContainerOutput) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (NetworkContainerOutput) ToNetworkContainerPtrOutputWithContext added in v1.5.2

func (o NetworkContainerOutput) ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput

type NetworkContainerPtrInput added in v1.5.2

type NetworkContainerPtrInput interface {
	pulumi.Input

	ToNetworkContainerPtrOutput() NetworkContainerPtrOutput
	ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput
}

type NetworkContainerPtrOutput added in v1.5.2

type NetworkContainerPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkContainerPtrOutput) ElementType added in v1.5.2

func (NetworkContainerPtrOutput) ElementType() reflect.Type

func (NetworkContainerPtrOutput) ToNetworkContainerPtrOutput added in v1.5.2

func (o NetworkContainerPtrOutput) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (NetworkContainerPtrOutput) ToNetworkContainerPtrOutputWithContext added in v1.5.2

func (o NetworkContainerPtrOutput) ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput

type NetworkContainerState

type NetworkContainerState struct {
	// CIDR block that Atlas uses for the Network Peering containers in your project.  Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following [private networks](https://tools.ietf.org/html/rfc1918.html#section-3):
	// * Lower bound: 10.0.0.0 -	Upper bound: 10.255.255.255 -	Prefix: 10/8
	// * Lower bound: 172.16.0.0 -	Upper bound:172.31.255.255 -	Prefix:	172.16/12
	// * Lower bound: 192.168.0.0 -	Upper bound:192.168.255.255 -	Prefix:	192.168/16
	AtlasCidrBlock pulumi.StringPtrInput
	// Unique identifier of the Azure subscription in which the VNet resides.
	// * * `vnetName` - 	The name of the Azure VNet. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	AzureSubscriptionId pulumi.StringPtrInput
	// The Network Peering Container ID.
	ContainerId pulumi.StringPtrInput
	// Unique identifier of the GCP project in which the network peer resides. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	GcpProjectId pulumi.StringPtrInput
	// Unique identifier of the Network Peering connection in the Atlas project. Returns null. This value is populated once you create a new network peering connection with the network peering resource.
	// **AZURE ONLY:**
	NetworkName pulumi.StringPtrInput
	// Unique identifier for the Atlas project for this Network Peering Container.
	ProjectId pulumi.StringPtrInput
	// Cloud provider for this Network Peering connection.  Accepted values are GCP, AWS, AZURE. If omitted, Atlas sets this parameter to AWS.
	ProviderName pulumi.StringPtrInput
	// Indicates whether the project has Network Peering connections deployed in the container.
	// **AWS ONLY:**
	Provisioned pulumi.BoolPtrInput
	// Atlas region where the container resides, see the reference list for Atlas Azure region names [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/).
	Region pulumi.StringPtrInput
	// The Atlas AWS region name for where this container will exist, see the reference list for Atlas AWS region names [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	RegionName pulumi.StringPtrInput
	VnetName   pulumi.StringPtrInput
	// Unique identifier of Atlas' AWS VPC.
	// **CGP ONLY:**
	VpcId pulumi.StringPtrInput
}

func (NetworkContainerState) ElementType

func (NetworkContainerState) ElementType() reflect.Type

type NetworkPeering

type NetworkPeering struct {
	pulumi.CustomResourceState

	// Specifies the AWS region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName pulumi.StringOutput `pulumi:"accepterRegionName"`
	AtlasCidrBlock     pulumi.StringOutput `pulumi:"atlasCidrBlock"`
	// The Atlas GCP Project ID for the GCP VPC used by your atlas cluster that it is need to set up the reciprocal connection.
	AtlasGcpProjectId pulumi.StringOutput `pulumi:"atlasGcpProjectId"`
	AtlasId           pulumi.StringOutput `pulumi:"atlasId"`
	AtlasVpcName      pulumi.StringOutput `pulumi:"atlasVpcName"`
	// AWS Account ID of the owner of the peer VPC.
	AwsAccountId pulumi.StringOutput `pulumi:"awsAccountId"`
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId pulumi.StringOutput `pulumi:"azureDirectoryId"`
	// Unique identifier of the Azure subscription in which the VNet resides.
	AzureSubscriptionId pulumi.StringOutput `pulumi:"azureSubscriptionId"`
	// Unique identifier of the Atlas network peering container.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// Unique identifier of the MongoDB Atlas container for the provider (GCP) or provider/region (AWS, AZURE). You can create an MongoDB Atlas container using the networkContainer resource or it can be obtained from the cluster returned values if a cluster has been created before the first container.
	ContainerId pulumi.StringOutput `pulumi:"containerId"`
	// When `"status" : "FAILED"`, Atlas provides a description of the error.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.
	ErrorState pulumi.StringOutput `pulumi:"errorState"`
	// Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.
	ErrorStateName pulumi.StringOutput `pulumi:"errorStateName"`
	// GCP project ID of the owner of the network peer.
	GcpProjectId pulumi.StringOutput `pulumi:"gcpProjectId"`
	// Name of the network peer to which Atlas connects.
	NetworkName pulumi.StringOutput `pulumi:"networkName"`
	// Unique identifier of the Atlas network peer.
	PeerId pulumi.StringOutput `pulumi:"peerId"`
	// The unique ID for the MongoDB Atlas project to create the database user.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Cloud provider to whom the peering connection is being made. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Name of your Azure resource group.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// AWS VPC CIDR block or subnet.
	RouteTableCidrBlock pulumi.StringOutput `pulumi:"routeTableCidrBlock"`
	// Status of the Atlas network peering connection.  Azure/GCP: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING` GCP Only:  `WAITING_FOR_USER`.
	Status pulumi.StringOutput `pulumi:"status"`
	// (AWS Only) The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.
	StatusName pulumi.StringOutput `pulumi:"statusName"`
	// Name of your Azure VNet.
	VnetName pulumi.StringOutput `pulumi:"vnetName"`
	// Unique identifier of the AWS peer VPC (Note: this is **not** the same as the Atlas AWS VPC that is returned by the networkContainer resource).
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
}

## Import

Clusters can be imported using project ID and network peering peering id, in the format `PROJECTID-PEERID-PROVIDERNAME`, e.g.

```sh

$ pulumi import mongodbatlas:index/networkPeering:NetworkPeering my_peering 1112222b3bf99403840e8934-5cbf563d87d9d67253be590a-AWS

```

See detailed information for arguments and attributes[MongoDB API Network Peering Connection](https://docs.atlas.mongodb.com/reference/api/vpc-create-peering-connection/)

func GetNetworkPeering

func GetNetworkPeering(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkPeeringState, opts ...pulumi.ResourceOption) (*NetworkPeering, error)

GetNetworkPeering gets an existing NetworkPeering 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 NewNetworkPeering

func NewNetworkPeering(ctx *pulumi.Context,
	name string, args *NetworkPeeringArgs, opts ...pulumi.ResourceOption) (*NetworkPeering, error)

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

func (*NetworkPeering) ElementType added in v1.3.1

func (*NetworkPeering) ElementType() reflect.Type

func (*NetworkPeering) ToNetworkPeeringOutput added in v1.3.1

func (i *NetworkPeering) ToNetworkPeeringOutput() NetworkPeeringOutput

func (*NetworkPeering) ToNetworkPeeringOutputWithContext added in v1.3.1

func (i *NetworkPeering) ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput

func (*NetworkPeering) ToNetworkPeeringPtrOutput added in v1.5.2

func (i *NetworkPeering) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (*NetworkPeering) ToNetworkPeeringPtrOutputWithContext added in v1.5.2

func (i *NetworkPeering) ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput

type NetworkPeeringArgs

type NetworkPeeringArgs struct {
	// Specifies the AWS region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName pulumi.StringPtrInput
	AtlasCidrBlock     pulumi.StringPtrInput
	// The Atlas GCP Project ID for the GCP VPC used by your atlas cluster that it is need to set up the reciprocal connection.
	AtlasGcpProjectId pulumi.StringPtrInput
	AtlasVpcName      pulumi.StringPtrInput
	// AWS Account ID of the owner of the peer VPC.
	AwsAccountId pulumi.StringPtrInput
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId pulumi.StringPtrInput
	// Unique identifier of the Azure subscription in which the VNet resides.
	AzureSubscriptionId pulumi.StringPtrInput
	// Unique identifier of the MongoDB Atlas container for the provider (GCP) or provider/region (AWS, AZURE). You can create an MongoDB Atlas container using the networkContainer resource or it can be obtained from the cluster returned values if a cluster has been created before the first container.
	ContainerId pulumi.StringInput
	// GCP project ID of the owner of the network peer.
	GcpProjectId pulumi.StringPtrInput
	// Name of the network peer to which Atlas connects.
	NetworkName pulumi.StringPtrInput
	// The unique ID for the MongoDB Atlas project to create the database user.
	ProjectId pulumi.StringInput
	// Cloud provider to whom the peering connection is being made. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName pulumi.StringInput
	// Name of your Azure resource group.
	ResourceGroupName pulumi.StringPtrInput
	// AWS VPC CIDR block or subnet.
	RouteTableCidrBlock pulumi.StringPtrInput
	// Name of your Azure VNet.
	VnetName pulumi.StringPtrInput
	// Unique identifier of the AWS peer VPC (Note: this is **not** the same as the Atlas AWS VPC that is returned by the networkContainer resource).
	VpcId pulumi.StringPtrInput
}

The set of arguments for constructing a NetworkPeering resource.

func (NetworkPeeringArgs) ElementType

func (NetworkPeeringArgs) ElementType() reflect.Type

type NetworkPeeringArray added in v1.5.2

type NetworkPeeringArray []NetworkPeeringInput

func (NetworkPeeringArray) ElementType added in v1.5.2

func (NetworkPeeringArray) ElementType() reflect.Type

func (NetworkPeeringArray) ToNetworkPeeringArrayOutput added in v1.5.2

func (i NetworkPeeringArray) ToNetworkPeeringArrayOutput() NetworkPeeringArrayOutput

func (NetworkPeeringArray) ToNetworkPeeringArrayOutputWithContext added in v1.5.2

func (i NetworkPeeringArray) ToNetworkPeeringArrayOutputWithContext(ctx context.Context) NetworkPeeringArrayOutput

type NetworkPeeringArrayInput added in v1.5.2

type NetworkPeeringArrayInput interface {
	pulumi.Input

	ToNetworkPeeringArrayOutput() NetworkPeeringArrayOutput
	ToNetworkPeeringArrayOutputWithContext(context.Context) NetworkPeeringArrayOutput
}

NetworkPeeringArrayInput is an input type that accepts NetworkPeeringArray and NetworkPeeringArrayOutput values. You can construct a concrete instance of `NetworkPeeringArrayInput` via:

NetworkPeeringArray{ NetworkPeeringArgs{...} }

type NetworkPeeringArrayOutput added in v1.5.2

type NetworkPeeringArrayOutput struct{ *pulumi.OutputState }

func (NetworkPeeringArrayOutput) ElementType added in v1.5.2

func (NetworkPeeringArrayOutput) ElementType() reflect.Type

func (NetworkPeeringArrayOutput) Index added in v1.5.2

func (NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutput added in v1.5.2

func (o NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutput() NetworkPeeringArrayOutput

func (NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutputWithContext added in v1.5.2

func (o NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutputWithContext(ctx context.Context) NetworkPeeringArrayOutput

type NetworkPeeringInput added in v1.3.1

type NetworkPeeringInput interface {
	pulumi.Input

	ToNetworkPeeringOutput() NetworkPeeringOutput
	ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput
}

type NetworkPeeringMap added in v1.5.2

type NetworkPeeringMap map[string]NetworkPeeringInput

func (NetworkPeeringMap) ElementType added in v1.5.2

func (NetworkPeeringMap) ElementType() reflect.Type

func (NetworkPeeringMap) ToNetworkPeeringMapOutput added in v1.5.2

func (i NetworkPeeringMap) ToNetworkPeeringMapOutput() NetworkPeeringMapOutput

func (NetworkPeeringMap) ToNetworkPeeringMapOutputWithContext added in v1.5.2

func (i NetworkPeeringMap) ToNetworkPeeringMapOutputWithContext(ctx context.Context) NetworkPeeringMapOutput

type NetworkPeeringMapInput added in v1.5.2

type NetworkPeeringMapInput interface {
	pulumi.Input

	ToNetworkPeeringMapOutput() NetworkPeeringMapOutput
	ToNetworkPeeringMapOutputWithContext(context.Context) NetworkPeeringMapOutput
}

NetworkPeeringMapInput is an input type that accepts NetworkPeeringMap and NetworkPeeringMapOutput values. You can construct a concrete instance of `NetworkPeeringMapInput` via:

NetworkPeeringMap{ "key": NetworkPeeringArgs{...} }

type NetworkPeeringMapOutput added in v1.5.2

type NetworkPeeringMapOutput struct{ *pulumi.OutputState }

func (NetworkPeeringMapOutput) ElementType added in v1.5.2

func (NetworkPeeringMapOutput) ElementType() reflect.Type

func (NetworkPeeringMapOutput) MapIndex added in v1.5.2

func (NetworkPeeringMapOutput) ToNetworkPeeringMapOutput added in v1.5.2

func (o NetworkPeeringMapOutput) ToNetworkPeeringMapOutput() NetworkPeeringMapOutput

func (NetworkPeeringMapOutput) ToNetworkPeeringMapOutputWithContext added in v1.5.2

func (o NetworkPeeringMapOutput) ToNetworkPeeringMapOutputWithContext(ctx context.Context) NetworkPeeringMapOutput

type NetworkPeeringOutput added in v1.3.1

type NetworkPeeringOutput struct {
	*pulumi.OutputState
}

func (NetworkPeeringOutput) ElementType added in v1.3.1

func (NetworkPeeringOutput) ElementType() reflect.Type

func (NetworkPeeringOutput) ToNetworkPeeringOutput added in v1.3.1

func (o NetworkPeeringOutput) ToNetworkPeeringOutput() NetworkPeeringOutput

func (NetworkPeeringOutput) ToNetworkPeeringOutputWithContext added in v1.3.1

func (o NetworkPeeringOutput) ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput

func (NetworkPeeringOutput) ToNetworkPeeringPtrOutput added in v1.5.2

func (o NetworkPeeringOutput) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (NetworkPeeringOutput) ToNetworkPeeringPtrOutputWithContext added in v1.5.2

func (o NetworkPeeringOutput) ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput

type NetworkPeeringPtrInput added in v1.5.2

type NetworkPeeringPtrInput interface {
	pulumi.Input

	ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput
	ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput
}

type NetworkPeeringPtrOutput added in v1.5.2

type NetworkPeeringPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkPeeringPtrOutput) ElementType added in v1.5.2

func (NetworkPeeringPtrOutput) ElementType() reflect.Type

func (NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutput added in v1.5.2

func (o NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutputWithContext added in v1.5.2

func (o NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput

type NetworkPeeringState

type NetworkPeeringState struct {
	// Specifies the AWS region where the peer VPC resides. For complete lists of supported regions, see [Amazon Web Services](https://docs.atlas.mongodb.com/reference/amazon-aws/).
	AccepterRegionName pulumi.StringPtrInput
	AtlasCidrBlock     pulumi.StringPtrInput
	// The Atlas GCP Project ID for the GCP VPC used by your atlas cluster that it is need to set up the reciprocal connection.
	AtlasGcpProjectId pulumi.StringPtrInput
	AtlasId           pulumi.StringPtrInput
	AtlasVpcName      pulumi.StringPtrInput
	// AWS Account ID of the owner of the peer VPC.
	AwsAccountId pulumi.StringPtrInput
	// Unique identifier for an Azure AD directory.
	AzureDirectoryId pulumi.StringPtrInput
	// Unique identifier of the Azure subscription in which the VNet resides.
	AzureSubscriptionId pulumi.StringPtrInput
	// Unique identifier of the Atlas network peering container.
	ConnectionId pulumi.StringPtrInput
	// Unique identifier of the MongoDB Atlas container for the provider (GCP) or provider/region (AWS, AZURE). You can create an MongoDB Atlas container using the networkContainer resource or it can be obtained from the cluster returned values if a cluster has been created before the first container.
	ContainerId pulumi.StringPtrInput
	// When `"status" : "FAILED"`, Atlas provides a description of the error.
	ErrorMessage pulumi.StringPtrInput
	// Description of the Atlas error when `status` is `Failed`, Otherwise, Atlas returns `null`.
	ErrorState pulumi.StringPtrInput
	// Error state, if any. The VPC peering connection error state value can be one of the following: `REJECTED`, `EXPIRED`, `INVALID_ARGUMENT`.
	ErrorStateName pulumi.StringPtrInput
	// GCP project ID of the owner of the network peer.
	GcpProjectId pulumi.StringPtrInput
	// Name of the network peer to which Atlas connects.
	NetworkName pulumi.StringPtrInput
	// Unique identifier of the Atlas network peer.
	PeerId pulumi.StringPtrInput
	// The unique ID for the MongoDB Atlas project to create the database user.
	ProjectId pulumi.StringPtrInput
	// Cloud provider to whom the peering connection is being made. (Possible Values `AWS`, `AZURE`, `GCP`).
	ProviderName pulumi.StringPtrInput
	// Name of your Azure resource group.
	ResourceGroupName pulumi.StringPtrInput
	// AWS VPC CIDR block or subnet.
	RouteTableCidrBlock pulumi.StringPtrInput
	// Status of the Atlas network peering connection.  Azure/GCP: `ADDING_PEER`, `AVAILABLE`, `FAILED`, `DELETING` GCP Only:  `WAITING_FOR_USER`.
	Status pulumi.StringPtrInput
	// (AWS Only) The VPC peering connection status value can be one of the following: `INITIATING`, `PENDING_ACCEPTANCE`, `FAILED`, `FINALIZING`, `AVAILABLE`, `TERMINATING`.
	StatusName pulumi.StringPtrInput
	// Name of your Azure VNet.
	VnetName pulumi.StringPtrInput
	// Unique identifier of the AWS peer VPC (Note: this is **not** the same as the Atlas AWS VPC that is returned by the networkContainer resource).
	VpcId pulumi.StringPtrInput
}

func (NetworkPeeringState) ElementType

func (NetworkPeeringState) ElementType() reflect.Type

type PrivateEndpoint

type PrivateEndpoint struct {
	pulumi.CustomResourceState

	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName pulumi.StringOutput `pulumi:"endpointServiceName"`
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints pulumi.StringArrayOutput `pulumi:"interfaceEndpoints"`
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId pulumi.StringOutput `pulumi:"privateLinkId"`
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringOutput `pulumi:"projectId"`
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are:
	// * `us-east-1`
	// * `us-east-2`
	// * `us-west-1`
	// * `us-west-2`
	// * `ca-central-1`
	// * `sa-east-1`
	// * `eu-north-1`
	// * `eu-west-1`
	// * `eu-west-2`
	// * `eu-west-3`
	// * `eu-central-1`
	// * `me-south-1`
	// * `ap-northeast-1`
	// * `ap-northeast-2`
	// * `ap-south-1`
	// * `ap-southeast-1`
	// * `ap-southeast-2`
	// * `ap-east-1`
	Region pulumi.StringOutput `pulumi:"region"`
	// Status of the AWS PrivateLink connection.
	// Returns one of the following values:
	Status pulumi.StringOutput `pulumi:"status"`
}

`PrivateEndpoint` provides a Private Endpoint resource. This represents a Private Endpoint Connection that can be created in an Atlas project.

!> **WARNING:** This resource is deprecated and will be removed in the next major version

Please transition to privatelinkEndpoint as soon as possible. [PrivateLink Endpoints] (https://docs.atlas.mongodb.com/reference/api/private-endpoints/)

> **IMPORTANT:**You must have one of the following roles to successfully handle the resource:

  • Organization Owner
  • Project Owner

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

> **NOTE:** A network container is created for a private endpoint to reside in if one does not yet exist in the project.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewPrivateEndpoint(ctx, "test", &mongodbatlas.PrivateEndpointArgs{
			ProjectId:    pulumi.String("<PROJECT-ID>"),
			ProviderName: pulumi.String("AWS"),
			Region:       pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Endpoint Connection can be imported using project ID and private link ID, provider name and region, in the format `{project_id}-{private_link_id}-{provider_name}-{region}`, e.g.

```sh

$ pulumi import mongodbatlas:index/privateEndpoint:PrivateEndpoint test 1112222b3bf99403840e8934-3242342343112-AWS-us-east-2

```

See detailed information for arguments and attributes[MongoDB API Private Endpoint Connection](https://docs.atlas.mongodb.com/reference/api/private-endpoint-create-one-private-endpoint-connection/)

func GetPrivateEndpoint

func GetPrivateEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateEndpointState, opts ...pulumi.ResourceOption) (*PrivateEndpoint, error)

GetPrivateEndpoint gets an existing PrivateEndpoint 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 NewPrivateEndpoint

func NewPrivateEndpoint(ctx *pulumi.Context,
	name string, args *PrivateEndpointArgs, opts ...pulumi.ResourceOption) (*PrivateEndpoint, error)

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

func (*PrivateEndpoint) ElementType added in v1.3.1

func (*PrivateEndpoint) ElementType() reflect.Type

func (*PrivateEndpoint) ToPrivateEndpointOutput added in v1.3.1

func (i *PrivateEndpoint) ToPrivateEndpointOutput() PrivateEndpointOutput

func (*PrivateEndpoint) ToPrivateEndpointOutputWithContext added in v1.3.1

func (i *PrivateEndpoint) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput

func (*PrivateEndpoint) ToPrivateEndpointPtrOutput added in v1.5.2

func (i *PrivateEndpoint) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (*PrivateEndpoint) ToPrivateEndpointPtrOutputWithContext added in v1.5.2

func (i *PrivateEndpoint) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput

type PrivateEndpointArgs

type PrivateEndpointArgs struct {
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringInput
	ProviderName pulumi.StringInput
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are:
	// * `us-east-1`
	// * `us-east-2`
	// * `us-west-1`
	// * `us-west-2`
	// * `ca-central-1`
	// * `sa-east-1`
	// * `eu-north-1`
	// * `eu-west-1`
	// * `eu-west-2`
	// * `eu-west-3`
	// * `eu-central-1`
	// * `me-south-1`
	// * `ap-northeast-1`
	// * `ap-northeast-2`
	// * `ap-south-1`
	// * `ap-southeast-1`
	// * `ap-southeast-2`
	// * `ap-east-1`
	Region pulumi.StringInput
}

The set of arguments for constructing a PrivateEndpoint resource.

func (PrivateEndpointArgs) ElementType

func (PrivateEndpointArgs) ElementType() reflect.Type

type PrivateEndpointArray added in v1.5.2

type PrivateEndpointArray []PrivateEndpointInput

func (PrivateEndpointArray) ElementType added in v1.5.2

func (PrivateEndpointArray) ElementType() reflect.Type

func (PrivateEndpointArray) ToPrivateEndpointArrayOutput added in v1.5.2

func (i PrivateEndpointArray) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput

func (PrivateEndpointArray) ToPrivateEndpointArrayOutputWithContext added in v1.5.2

func (i PrivateEndpointArray) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput

type PrivateEndpointArrayInput added in v1.5.2

type PrivateEndpointArrayInput interface {
	pulumi.Input

	ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput
	ToPrivateEndpointArrayOutputWithContext(context.Context) PrivateEndpointArrayOutput
}

PrivateEndpointArrayInput is an input type that accepts PrivateEndpointArray and PrivateEndpointArrayOutput values. You can construct a concrete instance of `PrivateEndpointArrayInput` via:

PrivateEndpointArray{ PrivateEndpointArgs{...} }

type PrivateEndpointArrayOutput added in v1.5.2

type PrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (PrivateEndpointArrayOutput) ElementType added in v1.5.2

func (PrivateEndpointArrayOutput) ElementType() reflect.Type

func (PrivateEndpointArrayOutput) Index added in v1.5.2

func (PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutput added in v1.5.2

func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput

func (PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutputWithContext added in v1.5.2

func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput

type PrivateEndpointInput added in v1.3.1

type PrivateEndpointInput interface {
	pulumi.Input

	ToPrivateEndpointOutput() PrivateEndpointOutput
	ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput
}
type PrivateEndpointInterfaceLink struct {
	pulumi.CustomResourceState

	// Status of the interface endpoint.
	// Returns one of the following values:
	ConnectionStatus pulumi.StringOutput `pulumi:"connectionStatus"`
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested pulumi.BoolOutput `pulumi:"deleteRequested"`
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// Unique identifier of the interface endpoint you created in your VPC with the AWS resource.
	InterfaceEndpointId pulumi.StringOutput `pulumi:"interfaceEndpointId"`
	// Unique identifier of the AWS PrivateLink connection which is created by `PrivateEndpoint` resource.
	PrivateLinkId pulumi.StringOutput `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`PrivateEndpointInterfaceLink` provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one interface endpoint to a private endpoint connection in an Atlas project.

!> **WARNING:** This resource is deprecated and will be removed in the next major version

Please transition to privatelinkEndpointService as soon as possible. [PrivateLink Endpoints] (https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/)

> **IMPORTANT:**You must have one of the following roles to successfully handle the resource:

  • Organization Owner
  • Project Owner

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2"
"github.com/pulumi/pulumi-mongodbatlas/sdk/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testPrivateEndpoint, err := mongodbatlas.NewPrivateEndpoint(ctx, "testPrivateEndpoint", &mongodbatlas.PrivateEndpointArgs{
			ProjectId:    pulumi.String("<PROJECT_ID>"),
			ProviderName: pulumi.String("AWS"),
			Region:       pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		ptfeService, err := ec2.NewVpcEndpoint(ctx, "ptfeService", &ec2.VpcEndpointArgs{
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("sg-3f238186"),
			},
			ServiceName: testPrivateEndpoint.EndpointServiceName,
			SubnetIds: pulumi.StringArray{
				pulumi.String("subnet-de0406d2"),
			},
			VpcEndpointType: pulumi.String("Interface"),
			VpcId:           pulumi.String("vpc-7fc0a543"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewPrivateEndpointInterfaceLink(ctx, "testPrivateEndpointInterfaceLink", &mongodbatlas.PrivateEndpointInterfaceLinkArgs{
			InterfaceEndpointId: ptfeService.ID(),
			PrivateLinkId:       testPrivateEndpoint.PrivateLinkId,
			ProjectId:           testPrivateEndpoint.ProjectId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}-{private_link_id}-{interface_endpoint_id}`, e.g.

```sh

$ pulumi import mongodbatlas:index/privateEndpointInterfaceLink:PrivateEndpointInterfaceLink test 1112222b3bf99403840e8934-3242342343112-vpce-4242342343

```

See detailed information for arguments and attributes[MongoDB API Private Endpoint Link Connection](https://docs.atlas.mongodb.com/reference/api/private-endpoint-create-one-interface-endpoint/)
func GetPrivateEndpointInterfaceLink(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateEndpointInterfaceLinkState, opts ...pulumi.ResourceOption) (*PrivateEndpointInterfaceLink, error)

GetPrivateEndpointInterfaceLink gets an existing PrivateEndpointInterfaceLink 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 NewPrivateEndpointInterfaceLink(ctx *pulumi.Context,
	name string, args *PrivateEndpointInterfaceLinkArgs, opts ...pulumi.ResourceOption) (*PrivateEndpointInterfaceLink, error)

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

func (*PrivateEndpointInterfaceLink) ElementType added in v1.3.1

func (*PrivateEndpointInterfaceLink) ElementType() reflect.Type

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutput added in v1.3.1

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutputWithContext added in v1.3.1

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutput added in v1.5.2

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutputWithContext added in v1.5.2

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput

type PrivateEndpointInterfaceLinkArgs

type PrivateEndpointInterfaceLinkArgs struct {
	// Unique identifier of the interface endpoint you created in your VPC with the AWS resource.
	InterfaceEndpointId pulumi.StringInput
	// Unique identifier of the AWS PrivateLink connection which is created by `PrivateEndpoint` resource.
	PrivateLinkId pulumi.StringInput
	// Unique identifier for the project.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a PrivateEndpointInterfaceLink resource.

func (PrivateEndpointInterfaceLinkArgs) ElementType

type PrivateEndpointInterfaceLinkArray added in v1.5.2

type PrivateEndpointInterfaceLinkArray []PrivateEndpointInterfaceLinkInput

func (PrivateEndpointInterfaceLinkArray) ElementType added in v1.5.2

func (PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutput added in v1.5.2

func (i PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutput() PrivateEndpointInterfaceLinkArrayOutput

func (PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutputWithContext added in v1.5.2

func (i PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkArrayOutput

type PrivateEndpointInterfaceLinkArrayInput added in v1.5.2

type PrivateEndpointInterfaceLinkArrayInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkArrayOutput() PrivateEndpointInterfaceLinkArrayOutput
	ToPrivateEndpointInterfaceLinkArrayOutputWithContext(context.Context) PrivateEndpointInterfaceLinkArrayOutput
}

PrivateEndpointInterfaceLinkArrayInput is an input type that accepts PrivateEndpointInterfaceLinkArray and PrivateEndpointInterfaceLinkArrayOutput values. You can construct a concrete instance of `PrivateEndpointInterfaceLinkArrayInput` via:

PrivateEndpointInterfaceLinkArray{ PrivateEndpointInterfaceLinkArgs{...} }

type PrivateEndpointInterfaceLinkArrayOutput added in v1.5.2

type PrivateEndpointInterfaceLinkArrayOutput struct{ *pulumi.OutputState }

func (PrivateEndpointInterfaceLinkArrayOutput) ElementType added in v1.5.2

func (PrivateEndpointInterfaceLinkArrayOutput) Index added in v1.5.2

func (PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutput added in v1.5.2

func (o PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutput() PrivateEndpointInterfaceLinkArrayOutput

func (PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutputWithContext added in v1.5.2

func (o PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkArrayOutput

type PrivateEndpointInterfaceLinkInput added in v1.3.1

type PrivateEndpointInterfaceLinkInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput
	ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput
}

type PrivateEndpointInterfaceLinkMap added in v1.5.2

type PrivateEndpointInterfaceLinkMap map[string]PrivateEndpointInterfaceLinkInput

func (PrivateEndpointInterfaceLinkMap) ElementType added in v1.5.2

func (PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutput added in v1.5.2

func (i PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutput() PrivateEndpointInterfaceLinkMapOutput

func (PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutputWithContext added in v1.5.2

func (i PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkMapOutput

type PrivateEndpointInterfaceLinkMapInput added in v1.5.2

type PrivateEndpointInterfaceLinkMapInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkMapOutput() PrivateEndpointInterfaceLinkMapOutput
	ToPrivateEndpointInterfaceLinkMapOutputWithContext(context.Context) PrivateEndpointInterfaceLinkMapOutput
}

PrivateEndpointInterfaceLinkMapInput is an input type that accepts PrivateEndpointInterfaceLinkMap and PrivateEndpointInterfaceLinkMapOutput values. You can construct a concrete instance of `PrivateEndpointInterfaceLinkMapInput` via:

PrivateEndpointInterfaceLinkMap{ "key": PrivateEndpointInterfaceLinkArgs{...} }

type PrivateEndpointInterfaceLinkMapOutput added in v1.5.2

type PrivateEndpointInterfaceLinkMapOutput struct{ *pulumi.OutputState }

func (PrivateEndpointInterfaceLinkMapOutput) ElementType added in v1.5.2

func (PrivateEndpointInterfaceLinkMapOutput) MapIndex added in v1.5.2

func (PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutput added in v1.5.2

func (o PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutput() PrivateEndpointInterfaceLinkMapOutput

func (PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutputWithContext added in v1.5.2

func (o PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkMapOutput

type PrivateEndpointInterfaceLinkOutput added in v1.3.1

type PrivateEndpointInterfaceLinkOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointInterfaceLinkOutput) ElementType added in v1.3.1

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutput added in v1.3.1

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutputWithContext added in v1.3.1

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutput added in v1.5.2

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext added in v1.5.2

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput

type PrivateEndpointInterfaceLinkPtrInput added in v1.5.2

type PrivateEndpointInterfaceLinkPtrInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput
	ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput
}

type PrivateEndpointInterfaceLinkPtrOutput added in v1.5.2

type PrivateEndpointInterfaceLinkPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointInterfaceLinkPtrOutput) ElementType added in v1.5.2

func (PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutput added in v1.5.2

func (o PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext added in v1.5.2

func (o PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput

type PrivateEndpointInterfaceLinkState

type PrivateEndpointInterfaceLinkState struct {
	// Status of the interface endpoint.
	// Returns one of the following values:
	ConnectionStatus pulumi.StringPtrInput
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested pulumi.BoolPtrInput
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage pulumi.StringPtrInput
	// Unique identifier of the interface endpoint you created in your VPC with the AWS resource.
	InterfaceEndpointId pulumi.StringPtrInput
	// Unique identifier of the AWS PrivateLink connection which is created by `PrivateEndpoint` resource.
	PrivateLinkId pulumi.StringPtrInput
	// Unique identifier for the project.
	ProjectId pulumi.StringPtrInput
}

func (PrivateEndpointInterfaceLinkState) ElementType

type PrivateEndpointMap added in v1.5.2

type PrivateEndpointMap map[string]PrivateEndpointInput

func (PrivateEndpointMap) ElementType added in v1.5.2

func (PrivateEndpointMap) ElementType() reflect.Type

func (PrivateEndpointMap) ToPrivateEndpointMapOutput added in v1.5.2

func (i PrivateEndpointMap) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput

func (PrivateEndpointMap) ToPrivateEndpointMapOutputWithContext added in v1.5.2

func (i PrivateEndpointMap) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput

type PrivateEndpointMapInput added in v1.5.2

type PrivateEndpointMapInput interface {
	pulumi.Input

	ToPrivateEndpointMapOutput() PrivateEndpointMapOutput
	ToPrivateEndpointMapOutputWithContext(context.Context) PrivateEndpointMapOutput
}

PrivateEndpointMapInput is an input type that accepts PrivateEndpointMap and PrivateEndpointMapOutput values. You can construct a concrete instance of `PrivateEndpointMapInput` via:

PrivateEndpointMap{ "key": PrivateEndpointArgs{...} }

type PrivateEndpointMapOutput added in v1.5.2

type PrivateEndpointMapOutput struct{ *pulumi.OutputState }

func (PrivateEndpointMapOutput) ElementType added in v1.5.2

func (PrivateEndpointMapOutput) ElementType() reflect.Type

func (PrivateEndpointMapOutput) MapIndex added in v1.5.2

func (PrivateEndpointMapOutput) ToPrivateEndpointMapOutput added in v1.5.2

func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput

func (PrivateEndpointMapOutput) ToPrivateEndpointMapOutputWithContext added in v1.5.2

func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput

type PrivateEndpointOutput added in v1.3.1

type PrivateEndpointOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointOutput) ElementType added in v1.3.1

func (PrivateEndpointOutput) ElementType() reflect.Type

func (PrivateEndpointOutput) ToPrivateEndpointOutput added in v1.3.1

func (o PrivateEndpointOutput) ToPrivateEndpointOutput() PrivateEndpointOutput

func (PrivateEndpointOutput) ToPrivateEndpointOutputWithContext added in v1.3.1

func (o PrivateEndpointOutput) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput

func (PrivateEndpointOutput) ToPrivateEndpointPtrOutput added in v1.5.2

func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (PrivateEndpointOutput) ToPrivateEndpointPtrOutputWithContext added in v1.5.2

func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput

type PrivateEndpointPtrInput added in v1.5.2

type PrivateEndpointPtrInput interface {
	pulumi.Input

	ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput
	ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput
}

type PrivateEndpointPtrOutput added in v1.5.2

type PrivateEndpointPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointPtrOutput) ElementType added in v1.5.2

func (PrivateEndpointPtrOutput) ElementType() reflect.Type

func (PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutput added in v1.5.2

func (o PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutputWithContext added in v1.5.2

func (o PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput

type PrivateEndpointState

type PrivateEndpointState struct {
	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName pulumi.StringPtrInput
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage pulumi.StringPtrInput
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints pulumi.StringArrayInput
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId pulumi.StringPtrInput
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringPtrInput
	ProviderName pulumi.StringPtrInput
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are:
	// * `us-east-1`
	// * `us-east-2`
	// * `us-west-1`
	// * `us-west-2`
	// * `ca-central-1`
	// * `sa-east-1`
	// * `eu-north-1`
	// * `eu-west-1`
	// * `eu-west-2`
	// * `eu-west-3`
	// * `eu-central-1`
	// * `me-south-1`
	// * `ap-northeast-1`
	// * `ap-northeast-2`
	// * `ap-south-1`
	// * `ap-southeast-1`
	// * `ap-southeast-2`
	// * `ap-east-1`
	Region pulumi.StringPtrInput
	// Status of the AWS PrivateLink connection.
	// Returns one of the following values:
	Status pulumi.StringPtrInput
}

func (PrivateEndpointState) ElementType

func (PrivateEndpointState) ElementType() reflect.Type

type PrivateIpMode

type PrivateIpMode struct {
	pulumi.CustomResourceState

	// Indicates whether Connect via Peering Only mode is enabled or disabled for an Atlas project
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The unique ID for the project to enable Only Private IP Mode.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`PrivateIpMode` provides a Private IP Mode resource. This allows one to disable Connect via Peering Only mode for a MongoDB Atlas Project.

> **Deprecated Feature**: <br> This feature has been deprecated. Use [Split Horizon connection strings](https://dochub.mongodb.org/core/atlas-horizon-faq) to connect to your cluster. These connection strings allow you to connect using both VPC/VNet Peering and whitelisted public IP addresses. To learn more about support for Split Horizon, see [this FAQ](https://dochub.mongodb.org/core/atlas-horizon-faq). You need this endpoint to [disable Peering Only](https://docs.atlas.mongodb.com/reference/faq/connection-changes/#disable-peering-mode).

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewPrivateIpMode(ctx, "myPrivateIpMode", &mongodbatlas.PrivateIpModeArgs{
			Enabled:   pulumi.Bool(false),
			ProjectId: pulumi.String("<YOUR PROJECT ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Project must be imported using project ID, e.g.

```sh

$ pulumi import mongodbatlas:index/privateIpMode:PrivateIpMode my_private_ip_mode 5d09d6a59ccf6445652a444a

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/get-private-ip-mode-for-project/)

func GetPrivateIpMode

func GetPrivateIpMode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateIpModeState, opts ...pulumi.ResourceOption) (*PrivateIpMode, error)

GetPrivateIpMode gets an existing PrivateIpMode 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 NewPrivateIpMode

func NewPrivateIpMode(ctx *pulumi.Context,
	name string, args *PrivateIpModeArgs, opts ...pulumi.ResourceOption) (*PrivateIpMode, error)

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

func (*PrivateIpMode) ElementType added in v1.3.1

func (*PrivateIpMode) ElementType() reflect.Type

func (*PrivateIpMode) ToPrivateIpModeOutput added in v1.3.1

func (i *PrivateIpMode) ToPrivateIpModeOutput() PrivateIpModeOutput

func (*PrivateIpMode) ToPrivateIpModeOutputWithContext added in v1.3.1

func (i *PrivateIpMode) ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput

func (*PrivateIpMode) ToPrivateIpModePtrOutput added in v1.5.2

func (i *PrivateIpMode) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (*PrivateIpMode) ToPrivateIpModePtrOutputWithContext added in v1.5.2

func (i *PrivateIpMode) ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput

type PrivateIpModeArgs

type PrivateIpModeArgs struct {
	// Indicates whether Connect via Peering Only mode is enabled or disabled for an Atlas project
	Enabled pulumi.BoolInput
	// The unique ID for the project to enable Only Private IP Mode.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a PrivateIpMode resource.

func (PrivateIpModeArgs) ElementType

func (PrivateIpModeArgs) ElementType() reflect.Type

type PrivateIpModeArray added in v1.5.2

type PrivateIpModeArray []PrivateIpModeInput

func (PrivateIpModeArray) ElementType added in v1.5.2

func (PrivateIpModeArray) ElementType() reflect.Type

func (PrivateIpModeArray) ToPrivateIpModeArrayOutput added in v1.5.2

func (i PrivateIpModeArray) ToPrivateIpModeArrayOutput() PrivateIpModeArrayOutput

func (PrivateIpModeArray) ToPrivateIpModeArrayOutputWithContext added in v1.5.2

func (i PrivateIpModeArray) ToPrivateIpModeArrayOutputWithContext(ctx context.Context) PrivateIpModeArrayOutput

type PrivateIpModeArrayInput added in v1.5.2

type PrivateIpModeArrayInput interface {
	pulumi.Input

	ToPrivateIpModeArrayOutput() PrivateIpModeArrayOutput
	ToPrivateIpModeArrayOutputWithContext(context.Context) PrivateIpModeArrayOutput
}

PrivateIpModeArrayInput is an input type that accepts PrivateIpModeArray and PrivateIpModeArrayOutput values. You can construct a concrete instance of `PrivateIpModeArrayInput` via:

PrivateIpModeArray{ PrivateIpModeArgs{...} }

type PrivateIpModeArrayOutput added in v1.5.2

type PrivateIpModeArrayOutput struct{ *pulumi.OutputState }

func (PrivateIpModeArrayOutput) ElementType added in v1.5.2

func (PrivateIpModeArrayOutput) ElementType() reflect.Type

func (PrivateIpModeArrayOutput) Index added in v1.5.2

func (PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutput added in v1.5.2

func (o PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutput() PrivateIpModeArrayOutput

func (PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutputWithContext added in v1.5.2

func (o PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutputWithContext(ctx context.Context) PrivateIpModeArrayOutput

type PrivateIpModeInput added in v1.3.1

type PrivateIpModeInput interface {
	pulumi.Input

	ToPrivateIpModeOutput() PrivateIpModeOutput
	ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput
}

type PrivateIpModeMap added in v1.5.2

type PrivateIpModeMap map[string]PrivateIpModeInput

func (PrivateIpModeMap) ElementType added in v1.5.2

func (PrivateIpModeMap) ElementType() reflect.Type

func (PrivateIpModeMap) ToPrivateIpModeMapOutput added in v1.5.2

func (i PrivateIpModeMap) ToPrivateIpModeMapOutput() PrivateIpModeMapOutput

func (PrivateIpModeMap) ToPrivateIpModeMapOutputWithContext added in v1.5.2

func (i PrivateIpModeMap) ToPrivateIpModeMapOutputWithContext(ctx context.Context) PrivateIpModeMapOutput

type PrivateIpModeMapInput added in v1.5.2

type PrivateIpModeMapInput interface {
	pulumi.Input

	ToPrivateIpModeMapOutput() PrivateIpModeMapOutput
	ToPrivateIpModeMapOutputWithContext(context.Context) PrivateIpModeMapOutput
}

PrivateIpModeMapInput is an input type that accepts PrivateIpModeMap and PrivateIpModeMapOutput values. You can construct a concrete instance of `PrivateIpModeMapInput` via:

PrivateIpModeMap{ "key": PrivateIpModeArgs{...} }

type PrivateIpModeMapOutput added in v1.5.2

type PrivateIpModeMapOutput struct{ *pulumi.OutputState }

func (PrivateIpModeMapOutput) ElementType added in v1.5.2

func (PrivateIpModeMapOutput) ElementType() reflect.Type

func (PrivateIpModeMapOutput) MapIndex added in v1.5.2

func (PrivateIpModeMapOutput) ToPrivateIpModeMapOutput added in v1.5.2

func (o PrivateIpModeMapOutput) ToPrivateIpModeMapOutput() PrivateIpModeMapOutput

func (PrivateIpModeMapOutput) ToPrivateIpModeMapOutputWithContext added in v1.5.2

func (o PrivateIpModeMapOutput) ToPrivateIpModeMapOutputWithContext(ctx context.Context) PrivateIpModeMapOutput

type PrivateIpModeOutput added in v1.3.1

type PrivateIpModeOutput struct {
	*pulumi.OutputState
}

func (PrivateIpModeOutput) ElementType added in v1.3.1

func (PrivateIpModeOutput) ElementType() reflect.Type

func (PrivateIpModeOutput) ToPrivateIpModeOutput added in v1.3.1

func (o PrivateIpModeOutput) ToPrivateIpModeOutput() PrivateIpModeOutput

func (PrivateIpModeOutput) ToPrivateIpModeOutputWithContext added in v1.3.1

func (o PrivateIpModeOutput) ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput

func (PrivateIpModeOutput) ToPrivateIpModePtrOutput added in v1.5.2

func (o PrivateIpModeOutput) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (PrivateIpModeOutput) ToPrivateIpModePtrOutputWithContext added in v1.5.2

func (o PrivateIpModeOutput) ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput

type PrivateIpModePtrInput added in v1.5.2

type PrivateIpModePtrInput interface {
	pulumi.Input

	ToPrivateIpModePtrOutput() PrivateIpModePtrOutput
	ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput
}

type PrivateIpModePtrOutput added in v1.5.2

type PrivateIpModePtrOutput struct {
	*pulumi.OutputState
}

func (PrivateIpModePtrOutput) ElementType added in v1.5.2

func (PrivateIpModePtrOutput) ElementType() reflect.Type

func (PrivateIpModePtrOutput) ToPrivateIpModePtrOutput added in v1.5.2

func (o PrivateIpModePtrOutput) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (PrivateIpModePtrOutput) ToPrivateIpModePtrOutputWithContext added in v1.5.2

func (o PrivateIpModePtrOutput) ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput

type PrivateIpModeState

type PrivateIpModeState struct {
	// Indicates whether Connect via Peering Only mode is enabled or disabled for an Atlas project
	Enabled pulumi.BoolPtrInput
	// The unique ID for the project to enable Only Private IP Mode.
	ProjectId pulumi.StringPtrInput
}

func (PrivateIpModeState) ElementType

func (PrivateIpModeState) ElementType() reflect.Type

type PrivateLinkEndpoint added in v1.4.0

type PrivateLinkEndpoint struct {
	pulumi.CustomResourceState

	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName pulumi.StringOutput `pulumi:"endpointServiceName"`
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints pulumi.StringArrayOutput `pulumi:"interfaceEndpoints"`
	// All private endpoints that you have added to this Azure Private Link Service.
	PrivateEndpoints pulumi.StringArrayOutput `pulumi:"privateEndpoints"`
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId pulumi.StringOutput `pulumi:"privateLinkId"`
	// Name of the Azure Private Link Service that Atlas manages.
	PrivateLinkServiceName pulumi.StringOutput `pulumi:"privateLinkServiceName"`
	// Resource ID of the Azure Private Link Service that Atlas manages.
	PrivateLinkServiceResourceId pulumi.StringOutput `pulumi:"privateLinkServiceResourceId"`
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringOutput `pulumi:"projectId"`
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws) and [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure)
	Region pulumi.StringOutput `pulumi:"region"`
	// Status of the AWS PrivateLink connection or Status of the Azure Private Link Service. Atlas returns one of the following values:
	// AWS:
	Status pulumi.StringOutput `pulumi:"status"`
}

`PrivateLinkEndpoint` provides a Private Endpoint resource. This represents a Private Endpoint Service that can be created in an Atlas project.

> **IMPORTANT:**You must have one of the following roles to successfully handle the resource:

  • Organization Owner
  • Project Owner

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

> **NOTE:** A network container is created for a private endpoint to reside in if one does not yet exist in the project.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewPrivateLinkEndpoint(ctx, "test", &mongodbatlas.PrivateLinkEndpointArgs{
			ProjectId:    pulumi.String("<PROJECT-ID>"),
			ProviderName: pulumi.String("AWS/AZURE"),
			Region:       pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Endpoint Service can be imported using project ID, private link ID, provider name and region, in the format `{project_id}-{private_link_id}-{provider_name}-{region}`, e.g.

```sh

$ pulumi import mongodbatlas:index/privateLinkEndpoint:PrivateLinkEndpoint test 1112222b3bf99403840e8934-3242342343112-AWS-us-east-1

```

See detailed information for arguments and attributes[MongoDB API Private Endpoint Service](https://docs.atlas.mongodb.com/reference/api/private-endpoints-service-create-one//)

func GetPrivateLinkEndpoint added in v1.4.0

func GetPrivateLinkEndpoint(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateLinkEndpointState, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)

GetPrivateLinkEndpoint gets an existing PrivateLinkEndpoint 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 NewPrivateLinkEndpoint added in v1.4.0

func NewPrivateLinkEndpoint(ctx *pulumi.Context,
	name string, args *PrivateLinkEndpointArgs, opts ...pulumi.ResourceOption) (*PrivateLinkEndpoint, error)

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

func (*PrivateLinkEndpoint) ElementType added in v1.4.0

func (*PrivateLinkEndpoint) ElementType() reflect.Type

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutput added in v1.4.0

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext added in v1.4.0

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutput added in v1.5.2

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutputWithContext added in v1.5.2

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointArgs added in v1.4.0

type PrivateLinkEndpointArgs struct {
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringInput
	ProviderName pulumi.StringInput
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws) and [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure)
	Region pulumi.StringInput
}

The set of arguments for constructing a PrivateLinkEndpoint resource.

func (PrivateLinkEndpointArgs) ElementType added in v1.4.0

func (PrivateLinkEndpointArgs) ElementType() reflect.Type

type PrivateLinkEndpointArray added in v1.5.2

type PrivateLinkEndpointArray []PrivateLinkEndpointInput

func (PrivateLinkEndpointArray) ElementType added in v1.5.2

func (PrivateLinkEndpointArray) ElementType() reflect.Type

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput added in v1.5.2

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext added in v1.5.2

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointArrayInput added in v1.5.2

type PrivateLinkEndpointArrayInput interface {
	pulumi.Input

	ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput
	ToPrivateLinkEndpointArrayOutputWithContext(context.Context) PrivateLinkEndpointArrayOutput
}

PrivateLinkEndpointArrayInput is an input type that accepts PrivateLinkEndpointArray and PrivateLinkEndpointArrayOutput values. You can construct a concrete instance of `PrivateLinkEndpointArrayInput` via:

PrivateLinkEndpointArray{ PrivateLinkEndpointArgs{...} }

type PrivateLinkEndpointArrayOutput added in v1.5.2

type PrivateLinkEndpointArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointArrayOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointArrayOutput) Index added in v1.5.2

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput added in v1.5.2

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointInput added in v1.4.0

type PrivateLinkEndpointInput interface {
	pulumi.Input

	ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
	ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
}

type PrivateLinkEndpointMap added in v1.5.2

type PrivateLinkEndpointMap map[string]PrivateLinkEndpointInput

func (PrivateLinkEndpointMap) ElementType added in v1.5.2

func (PrivateLinkEndpointMap) ElementType() reflect.Type

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput added in v1.5.2

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext added in v1.5.2

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointMapInput added in v1.5.2

type PrivateLinkEndpointMapInput interface {
	pulumi.Input

	ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput
	ToPrivateLinkEndpointMapOutputWithContext(context.Context) PrivateLinkEndpointMapOutput
}

PrivateLinkEndpointMapInput is an input type that accepts PrivateLinkEndpointMap and PrivateLinkEndpointMapOutput values. You can construct a concrete instance of `PrivateLinkEndpointMapInput` via:

PrivateLinkEndpointMap{ "key": PrivateLinkEndpointArgs{...} }

type PrivateLinkEndpointMapOutput added in v1.5.2

type PrivateLinkEndpointMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointMapOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointMapOutput) MapIndex added in v1.5.2

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput added in v1.5.2

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointOutput added in v1.4.0

type PrivateLinkEndpointOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointOutput) ElementType added in v1.4.0

func (PrivateLinkEndpointOutput) ElementType() reflect.Type

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput added in v1.4.0

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext added in v1.4.0

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutput added in v1.5.2

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointPtrInput added in v1.5.2

type PrivateLinkEndpointPtrInput interface {
	pulumi.Input

	ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput
	ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput
}

type PrivateLinkEndpointPtrOutput added in v1.5.2

type PrivateLinkEndpointPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointPtrOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutput added in v1.5.2

func (o PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointService added in v1.4.0

type PrivateLinkEndpointService struct {
	pulumi.CustomResourceState

	// Status of the interface endpoint for AWS.
	// Returns one of the following values:
	AwsConnectionStatus pulumi.StringOutput `pulumi:"awsConnectionStatus"`
	// Status of the interface endpoint for AZURE.
	// Returns one of the following values:
	AzureStatus pulumi.StringOutput `pulumi:"azureStatus"`
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested pulumi.BoolOutput `pulumi:"deleteRequested"`
	// Unique identifier of the interface endpoint you created in your VPC with the `AWS` or `AZURE` resource.
	EndpointServiceId pulumi.StringOutput `pulumi:"endpointServiceId"`
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage pulumi.StringOutput `pulumi:"errorMessage"`
	// Unique identifier of the interface endpoint.
	InterfaceEndpointId pulumi.StringOutput `pulumi:"interfaceEndpointId"`
	// Name of the connection for this private endpoint that Atlas generates.
	PrivateEndpointConnectionName pulumi.StringOutput `pulumi:"privateEndpointConnectionName"`
	// Private IP address of the private endpoint network interface you created in your Azure VNet. Only for `AZURE`.
	PrivateEndpointIpAddress pulumi.StringOutput `pulumi:"privateEndpointIpAddress"`
	// Unique identifier of the private endpoint.
	PrivateEndpointResourceId pulumi.StringOutput `pulumi:"privateEndpointResourceId"`
	// Unique identifier of the `AWS` or `AZURE` PrivateLink connection which is created by `PrivateLinkEndpoint` resource.
	PrivateLinkId pulumi.StringOutput `pulumi:"privateLinkId"`
	// Unique identifier for the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `AZURE`.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
}

`PrivateLinkEndpointService` provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one interface endpoint to a private endpoint connection in an Atlas project.

> **IMPORTANT:**You must have one of the following roles to successfully handle the resource:

  • Organization Owner
  • Project Owner

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2"
"github.com/pulumi/pulumi-mongodbatlas/sdk/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testPrivateLinkEndpoint, err := mongodbatlas.NewPrivateLinkEndpoint(ctx, "testPrivateLinkEndpoint", &mongodbatlas.PrivateLinkEndpointArgs{
			ProjectId:    pulumi.String("<PROJECT_ID>"),
			ProviderName: pulumi.String("AWS"),
			Region:       pulumi.String("us-east-1"),
		})
		if err != nil {
			return err
		}
		ptfeService, err := ec2.NewVpcEndpoint(ctx, "ptfeService", &ec2.VpcEndpointArgs{
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("sg-3f238186"),
			},
			ServiceName: testPrivateLinkEndpoint.EndpointServiceName,
			SubnetIds: pulumi.StringArray{
				pulumi.String("subnet-de0406d2"),
			},
			VpcEndpointType: pulumi.String("Interface"),
			VpcId:           pulumi.String("vpc-7fc0a543"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewPrivateLinkEndpointService(ctx, "testPrivateLinkEndpointService", &mongodbatlas.PrivateLinkEndpointServiceArgs{
			EndpointServiceId: ptfeService.ID(),
			PrivateLinkId:     testPrivateLinkEndpoint.PrivateLinkId,
			ProjectId:         testPrivateLinkEndpoint.ProjectId,
			ProviderName:      pulumi.String("AWS"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.

```sh

$ pulumi import mongodbatlas:index/privateLinkEndpointService:PrivateLinkEndpointService test 1112222b3bf99403840e8934--3242342343112--vpce-4242342343--AWS

```

See detailed information for arguments and attributes[MongoDB API Private Endpoint Link Connection](https://docs.atlas.mongodb.com/reference/api/private-endpoints-endpoint-create-one/)

func GetPrivateLinkEndpointService added in v1.4.0

func GetPrivateLinkEndpointService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateLinkEndpointServiceState, opts ...pulumi.ResourceOption) (*PrivateLinkEndpointService, error)

GetPrivateLinkEndpointService gets an existing PrivateLinkEndpointService 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 NewPrivateLinkEndpointService added in v1.4.0

func NewPrivateLinkEndpointService(ctx *pulumi.Context,
	name string, args *PrivateLinkEndpointServiceArgs, opts ...pulumi.ResourceOption) (*PrivateLinkEndpointService, error)

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

func (*PrivateLinkEndpointService) ElementType added in v1.4.0

func (*PrivateLinkEndpointService) ElementType() reflect.Type

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutput added in v1.4.0

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutputWithContext added in v1.4.0

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutput added in v1.5.2

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutputWithContext added in v1.5.2

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServiceArgs added in v1.4.0

type PrivateLinkEndpointServiceArgs struct {
	// Unique identifier of the interface endpoint you created in your VPC with the `AWS` or `AZURE` resource.
	EndpointServiceId pulumi.StringInput
	// Private IP address of the private endpoint network interface you created in your Azure VNet. Only for `AZURE`.
	PrivateEndpointIpAddress pulumi.StringPtrInput
	// Unique identifier of the `AWS` or `AZURE` PrivateLink connection which is created by `PrivateLinkEndpoint` resource.
	PrivateLinkId pulumi.StringInput
	// Unique identifier for the project.
	ProjectId pulumi.StringInput
	// Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `AZURE`.
	ProviderName pulumi.StringInput
}

The set of arguments for constructing a PrivateLinkEndpointService resource.

func (PrivateLinkEndpointServiceArgs) ElementType added in v1.4.0

type PrivateLinkEndpointServiceArray added in v1.5.2

type PrivateLinkEndpointServiceArray []PrivateLinkEndpointServiceInput

func (PrivateLinkEndpointServiceArray) ElementType added in v1.5.2

func (PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutput added in v1.5.2

func (i PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutput() PrivateLinkEndpointServiceArrayOutput

func (PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutputWithContext added in v1.5.2

func (i PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceArrayOutput

type PrivateLinkEndpointServiceArrayInput added in v1.5.2

type PrivateLinkEndpointServiceArrayInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServiceArrayOutput() PrivateLinkEndpointServiceArrayOutput
	ToPrivateLinkEndpointServiceArrayOutputWithContext(context.Context) PrivateLinkEndpointServiceArrayOutput
}

PrivateLinkEndpointServiceArrayInput is an input type that accepts PrivateLinkEndpointServiceArray and PrivateLinkEndpointServiceArrayOutput values. You can construct a concrete instance of `PrivateLinkEndpointServiceArrayInput` via:

PrivateLinkEndpointServiceArray{ PrivateLinkEndpointServiceArgs{...} }

type PrivateLinkEndpointServiceArrayOutput added in v1.5.2

type PrivateLinkEndpointServiceArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointServiceArrayOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointServiceArrayOutput) Index added in v1.5.2

func (PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutput added in v1.5.2

func (o PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutput() PrivateLinkEndpointServiceArrayOutput

func (PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceArrayOutput

type PrivateLinkEndpointServiceInput added in v1.4.0

type PrivateLinkEndpointServiceInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput
	ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput
}

type PrivateLinkEndpointServiceMap added in v1.5.2

type PrivateLinkEndpointServiceMap map[string]PrivateLinkEndpointServiceInput

func (PrivateLinkEndpointServiceMap) ElementType added in v1.5.2

func (PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutput added in v1.5.2

func (i PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutput() PrivateLinkEndpointServiceMapOutput

func (PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutputWithContext added in v1.5.2

func (i PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceMapOutput

type PrivateLinkEndpointServiceMapInput added in v1.5.2

type PrivateLinkEndpointServiceMapInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServiceMapOutput() PrivateLinkEndpointServiceMapOutput
	ToPrivateLinkEndpointServiceMapOutputWithContext(context.Context) PrivateLinkEndpointServiceMapOutput
}

PrivateLinkEndpointServiceMapInput is an input type that accepts PrivateLinkEndpointServiceMap and PrivateLinkEndpointServiceMapOutput values. You can construct a concrete instance of `PrivateLinkEndpointServiceMapInput` via:

PrivateLinkEndpointServiceMap{ "key": PrivateLinkEndpointServiceArgs{...} }

type PrivateLinkEndpointServiceMapOutput added in v1.5.2

type PrivateLinkEndpointServiceMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointServiceMapOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointServiceMapOutput) MapIndex added in v1.5.2

func (PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutput added in v1.5.2

func (o PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutput() PrivateLinkEndpointServiceMapOutput

func (PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceMapOutput

type PrivateLinkEndpointServiceOutput added in v1.4.0

type PrivateLinkEndpointServiceOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointServiceOutput) ElementType added in v1.4.0

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutput added in v1.4.0

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutputWithContext added in v1.4.0

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutput added in v1.5.2

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServicePtrInput added in v1.5.2

type PrivateLinkEndpointServicePtrInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput
	ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput
}

type PrivateLinkEndpointServicePtrOutput added in v1.5.2

type PrivateLinkEndpointServicePtrOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointServicePtrOutput) ElementType added in v1.5.2

func (PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutput added in v1.5.2

func (o PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutputWithContext added in v1.5.2

func (o PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServiceState added in v1.4.0

type PrivateLinkEndpointServiceState struct {
	// Status of the interface endpoint for AWS.
	// Returns one of the following values:
	AwsConnectionStatus pulumi.StringPtrInput
	// Status of the interface endpoint for AZURE.
	// Returns one of the following values:
	AzureStatus pulumi.StringPtrInput
	// Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
	DeleteRequested pulumi.BoolPtrInput
	// Unique identifier of the interface endpoint you created in your VPC with the `AWS` or `AZURE` resource.
	EndpointServiceId pulumi.StringPtrInput
	// Error message pertaining to the interface endpoint. Returns null if there are no errors.
	ErrorMessage pulumi.StringPtrInput
	// Unique identifier of the interface endpoint.
	InterfaceEndpointId pulumi.StringPtrInput
	// Name of the connection for this private endpoint that Atlas generates.
	PrivateEndpointConnectionName pulumi.StringPtrInput
	// Private IP address of the private endpoint network interface you created in your Azure VNet. Only for `AZURE`.
	PrivateEndpointIpAddress pulumi.StringPtrInput
	// Unique identifier of the private endpoint.
	PrivateEndpointResourceId pulumi.StringPtrInput
	// Unique identifier of the `AWS` or `AZURE` PrivateLink connection which is created by `PrivateLinkEndpoint` resource.
	PrivateLinkId pulumi.StringPtrInput
	// Unique identifier for the project.
	ProjectId pulumi.StringPtrInput
	// Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `AZURE`.
	ProviderName pulumi.StringPtrInput
}

func (PrivateLinkEndpointServiceState) ElementType added in v1.4.0

type PrivateLinkEndpointState added in v1.4.0

type PrivateLinkEndpointState struct {
	// Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
	EndpointServiceName pulumi.StringPtrInput
	// Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
	ErrorMessage pulumi.StringPtrInput
	// Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
	InterfaceEndpoints pulumi.StringArrayInput
	// All private endpoints that you have added to this Azure Private Link Service.
	PrivateEndpoints pulumi.StringArrayInput
	// Unique identifier of the AWS PrivateLink connection.
	PrivateLinkId pulumi.StringPtrInput
	// Name of the Azure Private Link Service that Atlas manages.
	PrivateLinkServiceName pulumi.StringPtrInput
	// Resource ID of the Azure Private Link Service that Atlas manages.
	PrivateLinkServiceResourceId pulumi.StringPtrInput
	// Required 	Unique identifier for the project.
	ProjectId    pulumi.StringPtrInput
	ProviderName pulumi.StringPtrInput
	// Cloud provider region in which you want to create the private endpoint connection.
	// Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws) and [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure)
	Region pulumi.StringPtrInput
	// Status of the AWS PrivateLink connection or Status of the Azure Private Link Service. Atlas returns one of the following values:
	// AWS:
	Status pulumi.StringPtrInput
}

func (PrivateLinkEndpointState) ElementType added in v1.4.0

func (PrivateLinkEndpointState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// The number of Atlas clusters deployed in the project..
	ClusterCount pulumi.IntOutput `pulumi:"clusterCount"`
	// The ISO-8601-formatted timestamp of when Atlas created the project..
	Created pulumi.StringOutput `pulumi:"created"`
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the organization you want to create the project within.
	OrgId pulumi.StringOutput    `pulumi:"orgId"`
	Teams ProjectTeamArrayOutput `pulumi:"teams"`
}

## Import

Project must be imported using project ID, e.g.

```sh

$ pulumi import mongodbatlas:index/project:Project my_project 5d09d6a59ccf6445652a444a

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/projects/) - [and MongoDB Atlas API - Teams](https://docs.atlas.mongodb.com/reference/api/teams/) Documentation for more information.

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project 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 NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

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

func (*Project) ElementType added in v1.3.1

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput added in v1.3.1

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext added in v1.3.1

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (*Project) ToProjectPtrOutput added in v1.5.2

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext added in v1.5.2

func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectArgs

type ProjectArgs struct {
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name pulumi.StringPtrInput
	// The ID of the organization you want to create the project within.
	OrgId pulumi.StringInput
	Teams ProjectTeamArrayInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray added in v1.5.2

type ProjectArray []ProjectInput

func (ProjectArray) ElementType added in v1.5.2

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput added in v1.5.2

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext added in v1.5.2

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput added in v1.5.2

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput added in v1.5.2

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType added in v1.5.2

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index added in v1.5.2

func (ProjectArrayOutput) ToProjectArrayOutput added in v1.5.2

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext added in v1.5.2

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput added in v1.3.1

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectIpAccessList added in v1.4.0

type ProjectIpAccessList struct {
	pulumi.CustomResourceState

	// Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	AwsSecurityGroup pulumi.StringOutput `pulumi:"awsSecurityGroup"`
	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// Comment to add to the access list entry.
	Comment pulumi.StringOutput `pulumi:"comment"`
	// Single IP address to be added to the access list. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Unique identifier for the project to which you want to add one or more access list entries.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`ProjectIpAccessList` provides an IP Access List entry resource. The access list grants access from IPs, CIDRs or AWS Security Groups (if VPC Peering is enabled) to clusters within the Project.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.

> **IMPORTANT:** When you remove an entry from the access list, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.

## Example Usage ### Using CIDR Block ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewProjectIpAccessList(ctx, "test", &mongodbatlas.ProjectIpAccessListArgs{
			CidrBlock: pulumi.String("1.2.3.4/32"),
			Comment:   pulumi.String("cidr block for tf acc testing"),
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Using IP Address ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewProjectIpAccessList(ctx, "test", &mongodbatlas.ProjectIpAccessListArgs{
			Comment:   pulumi.String("ip address for tf acc testing"),
			IpAddress: pulumi.String("2.3.4.5"),
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Using an AWS Security Group ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testNetworkContainer, err := mongodbatlas.NewNetworkContainer(ctx, "testNetworkContainer", &mongodbatlas.NetworkContainerArgs{
			ProjectId:      pulumi.String("<PROJECT-ID>"),
			AtlasCidrBlock: pulumi.String("192.168.208.0/21"),
			ProviderName:   pulumi.String("AWS"),
			RegionName:     pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewNetworkPeering(ctx, "testNetworkPeering", &mongodbatlas.NetworkPeeringArgs{
			ProjectId:           pulumi.String("<PROJECT-ID>"),
			ContainerId:         testNetworkContainer.ContainerId,
			AccepterRegionName:  pulumi.String("us-east-1"),
			ProviderName:        pulumi.String("AWS"),
			RouteTableCidrBlock: pulumi.String("172.31.0.0/16"),
			VpcId:               pulumi.String("vpc-0d93d6f69f1578bd8"),
			AwsAccountId:        pulumi.String("232589400519"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewProjectIpAccessList(ctx, "testProjectIpAccessList", &mongodbatlas.ProjectIpAccessListArgs{
			ProjectId:        pulumi.String("<PROJECT-ID>"),
			AwsSecurityGroup: pulumi.String("sg-0026348ec11780bd1"),
			Comment:          pulumi.String("TestAcc for awsSecurityGroup"),
		}, pulumi.DependsOn([]pulumi.Resource{
			"mongodbatlas_network_peering.test",
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like above example.

## Import

IP Access List entries can be imported using the `project_id` and `cidr_block` or `ip_address`, e.g.

```sh

$ pulumi import mongodbatlas:index/projectIpAccessList:ProjectIpAccessList test 5d0f1f74cf09a29120e123cd-10.242.88.0/21

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/access-lists/)

func GetProjectIpAccessList added in v1.4.0

func GetProjectIpAccessList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectIpAccessListState, opts ...pulumi.ResourceOption) (*ProjectIpAccessList, error)

GetProjectIpAccessList gets an existing ProjectIpAccessList 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 NewProjectIpAccessList added in v1.4.0

func NewProjectIpAccessList(ctx *pulumi.Context,
	name string, args *ProjectIpAccessListArgs, opts ...pulumi.ResourceOption) (*ProjectIpAccessList, error)

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

func (*ProjectIpAccessList) ElementType added in v1.4.0

func (*ProjectIpAccessList) ElementType() reflect.Type

func (*ProjectIpAccessList) ToProjectIpAccessListOutput added in v1.4.0

func (i *ProjectIpAccessList) ToProjectIpAccessListOutput() ProjectIpAccessListOutput

func (*ProjectIpAccessList) ToProjectIpAccessListOutputWithContext added in v1.4.0

func (i *ProjectIpAccessList) ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput

func (*ProjectIpAccessList) ToProjectIpAccessListPtrOutput added in v1.5.2

func (i *ProjectIpAccessList) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (*ProjectIpAccessList) ToProjectIpAccessListPtrOutputWithContext added in v1.5.2

func (i *ProjectIpAccessList) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListArgs added in v1.4.0

type ProjectIpAccessListArgs struct {
	// Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	AwsSecurityGroup pulumi.StringPtrInput
	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	CidrBlock pulumi.StringPtrInput
	// Comment to add to the access list entry.
	Comment pulumi.StringPtrInput
	// Single IP address to be added to the access list. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringPtrInput
	// Unique identifier for the project to which you want to add one or more access list entries.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ProjectIpAccessList resource.

func (ProjectIpAccessListArgs) ElementType added in v1.4.0

func (ProjectIpAccessListArgs) ElementType() reflect.Type

type ProjectIpAccessListArray added in v1.5.2

type ProjectIpAccessListArray []ProjectIpAccessListInput

func (ProjectIpAccessListArray) ElementType added in v1.5.2

func (ProjectIpAccessListArray) ElementType() reflect.Type

func (ProjectIpAccessListArray) ToProjectIpAccessListArrayOutput added in v1.5.2

func (i ProjectIpAccessListArray) ToProjectIpAccessListArrayOutput() ProjectIpAccessListArrayOutput

func (ProjectIpAccessListArray) ToProjectIpAccessListArrayOutputWithContext added in v1.5.2

func (i ProjectIpAccessListArray) ToProjectIpAccessListArrayOutputWithContext(ctx context.Context) ProjectIpAccessListArrayOutput

type ProjectIpAccessListArrayInput added in v1.5.2

type ProjectIpAccessListArrayInput interface {
	pulumi.Input

	ToProjectIpAccessListArrayOutput() ProjectIpAccessListArrayOutput
	ToProjectIpAccessListArrayOutputWithContext(context.Context) ProjectIpAccessListArrayOutput
}

ProjectIpAccessListArrayInput is an input type that accepts ProjectIpAccessListArray and ProjectIpAccessListArrayOutput values. You can construct a concrete instance of `ProjectIpAccessListArrayInput` via:

ProjectIpAccessListArray{ ProjectIpAccessListArgs{...} }

type ProjectIpAccessListArrayOutput added in v1.5.2

type ProjectIpAccessListArrayOutput struct{ *pulumi.OutputState }

func (ProjectIpAccessListArrayOutput) ElementType added in v1.5.2

func (ProjectIpAccessListArrayOutput) Index added in v1.5.2

func (ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutput added in v1.5.2

func (o ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutput() ProjectIpAccessListArrayOutput

func (ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutputWithContext added in v1.5.2

func (o ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutputWithContext(ctx context.Context) ProjectIpAccessListArrayOutput

type ProjectIpAccessListInput added in v1.4.0

type ProjectIpAccessListInput interface {
	pulumi.Input

	ToProjectIpAccessListOutput() ProjectIpAccessListOutput
	ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput
}

type ProjectIpAccessListMap added in v1.5.2

type ProjectIpAccessListMap map[string]ProjectIpAccessListInput

func (ProjectIpAccessListMap) ElementType added in v1.5.2

func (ProjectIpAccessListMap) ElementType() reflect.Type

func (ProjectIpAccessListMap) ToProjectIpAccessListMapOutput added in v1.5.2

func (i ProjectIpAccessListMap) ToProjectIpAccessListMapOutput() ProjectIpAccessListMapOutput

func (ProjectIpAccessListMap) ToProjectIpAccessListMapOutputWithContext added in v1.5.2

func (i ProjectIpAccessListMap) ToProjectIpAccessListMapOutputWithContext(ctx context.Context) ProjectIpAccessListMapOutput

type ProjectIpAccessListMapInput added in v1.5.2

type ProjectIpAccessListMapInput interface {
	pulumi.Input

	ToProjectIpAccessListMapOutput() ProjectIpAccessListMapOutput
	ToProjectIpAccessListMapOutputWithContext(context.Context) ProjectIpAccessListMapOutput
}

ProjectIpAccessListMapInput is an input type that accepts ProjectIpAccessListMap and ProjectIpAccessListMapOutput values. You can construct a concrete instance of `ProjectIpAccessListMapInput` via:

ProjectIpAccessListMap{ "key": ProjectIpAccessListArgs{...} }

type ProjectIpAccessListMapOutput added in v1.5.2

type ProjectIpAccessListMapOutput struct{ *pulumi.OutputState }

func (ProjectIpAccessListMapOutput) ElementType added in v1.5.2

func (ProjectIpAccessListMapOutput) MapIndex added in v1.5.2

func (ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutput added in v1.5.2

func (o ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutput() ProjectIpAccessListMapOutput

func (ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutputWithContext added in v1.5.2

func (o ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutputWithContext(ctx context.Context) ProjectIpAccessListMapOutput

type ProjectIpAccessListOutput added in v1.4.0

type ProjectIpAccessListOutput struct {
	*pulumi.OutputState
}

func (ProjectIpAccessListOutput) ElementType added in v1.4.0

func (ProjectIpAccessListOutput) ElementType() reflect.Type

func (ProjectIpAccessListOutput) ToProjectIpAccessListOutput added in v1.4.0

func (o ProjectIpAccessListOutput) ToProjectIpAccessListOutput() ProjectIpAccessListOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListOutputWithContext added in v1.4.0

func (o ProjectIpAccessListOutput) ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutput added in v1.5.2

func (o ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutputWithContext added in v1.5.2

func (o ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListPtrInput added in v1.5.2

type ProjectIpAccessListPtrInput interface {
	pulumi.Input

	ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput
	ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput
}

type ProjectIpAccessListPtrOutput added in v1.5.2

type ProjectIpAccessListPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectIpAccessListPtrOutput) ElementType added in v1.5.2

func (ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutput added in v1.5.2

func (o ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutputWithContext added in v1.5.2

func (o ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListState added in v1.4.0

type ProjectIpAccessListState struct {
	// Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	AwsSecurityGroup pulumi.StringPtrInput
	// Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
	CidrBlock pulumi.StringPtrInput
	// Comment to add to the access list entry.
	Comment pulumi.StringPtrInput
	// Single IP address to be added to the access list. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringPtrInput
	// Unique identifier for the project to which you want to add one or more access list entries.
	ProjectId pulumi.StringPtrInput
}

func (ProjectIpAccessListState) ElementType added in v1.4.0

func (ProjectIpAccessListState) ElementType() reflect.Type

type ProjectIpWhitelist

type ProjectIpWhitelist struct {
	pulumi.CustomResourceState

	// ID of the whitelisted AWS security group. Mutually exclusive with `cidrBlock` and `ipAddress`.
	AwsSecurityGroup pulumi.StringOutput `pulumi:"awsSecurityGroup"`
	// Whitelist entry in Classless Inter-Domain Routing (CIDR) notation. Mutually exclusive with `awsSecurityGroup` and `ipAddress`.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// Comment to add to the whitelist entry.
	Comment pulumi.StringOutput `pulumi:"comment"`
	// Whitelisted IP address. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The ID of the project in which to add the whitelist entry.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`ProjectIpWhitelist` provides an IP Whitelist entry resource. The whitelist grants access from IPs, CIDRs or AWS Security Groups (if VPC Peering is enabled) to clusters within the Project.

> **IMPORTANT:** Recently we have made changes to modernize the terminology we use in Atlas. The term “Whitelist” has been deprecated in favor of “Access List”. The Project IP whitelist resource has been deprecated and will be disabled in June 2021. Please move to using the [Project IP Access List](https://tf-registry.herokuapp.com/providers/mongodb/mongodbatlas/latest/docs/resources/project_ip_access_list) resource before June 2021.

> **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.ß

> **IMPORTANT:** When you remove an entry from the whitelist, existing connections from the removed address(es) may remain open for a variable amount of time. How much time passes before Atlas closes the connection depends on several factors, including how the connection was established, the particular behavior of the application or driver using the address, and the connection protocol (e.g., TCP or UDP). This is particularly important to consider when changing an existing IP address or CIDR block as they cannot be updated via the Provider (comments can however), hence a change will force the destruction and recreation of entries.

## Example Usage ### Using CIDR Block ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewProjectIpWhitelist(ctx, "test", &mongodbatlas.ProjectIpWhitelistArgs{
			CidrBlock: pulumi.String("1.2.3.4/32"),
			Comment:   pulumi.String("cidr block for tf acc testing"),
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Using IP Address ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewProjectIpWhitelist(ctx, "test", &mongodbatlas.ProjectIpWhitelistArgs{
			Comment:   pulumi.String("ip address for tf acc testing"),
			IpAddress: pulumi.String("2.3.4.5"),
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Using an AWS Security Group ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testNetworkContainer, err := mongodbatlas.NewNetworkContainer(ctx, "testNetworkContainer", &mongodbatlas.NetworkContainerArgs{
			ProjectId:      pulumi.String("<PROJECT-ID>"),
			AtlasCidrBlock: pulumi.String("192.168.208.0/21"),
			ProviderName:   pulumi.String("AWS"),
			RegionName:     pulumi.String("US_EAST_1"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewNetworkPeering(ctx, "testNetworkPeering", &mongodbatlas.NetworkPeeringArgs{
			ProjectId:           pulumi.String("<PROJECT-ID>"),
			ContainerId:         testNetworkContainer.ContainerId,
			AccepterRegionName:  pulumi.String("us-east-1"),
			ProviderName:        pulumi.String("AWS"),
			RouteTableCidrBlock: pulumi.String("172.31.0.0/16"),
			VpcId:               pulumi.String("vpc-0d93d6f69f1578bd8"),
			AwsAccountId:        pulumi.String("232589400519"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewProjectIpWhitelist(ctx, "testProjectIpWhitelist", &mongodbatlas.ProjectIpWhitelistArgs{
			ProjectId:        pulumi.String("<PROJECT-ID>"),
			AwsSecurityGroup: pulumi.String("sg-0026348ec11780bd1"),
			Comment:          pulumi.String("TestAcc for awsSecurityGroup"),
		}, pulumi.DependsOn([]pulumi.Resource{
			"mongodbatlas_network_peering.test",
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

> **IMPORTANT:** In order to use AWS Security Group(s) VPC Peering must be enabled like above example.

## Import

IP Whitelist entries can be imported using the `project_id` and `cidr_block` or `ip_address`, e.g.

```sh

$ pulumi import mongodbatlas:index/projectIpWhitelist:ProjectIpWhitelist test 5d0f1f74cf09a29120e123cd-10.242.88.0/21

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/whitelist/)

func GetProjectIpWhitelist

func GetProjectIpWhitelist(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectIpWhitelistState, opts ...pulumi.ResourceOption) (*ProjectIpWhitelist, error)

GetProjectIpWhitelist gets an existing ProjectIpWhitelist 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 NewProjectIpWhitelist

func NewProjectIpWhitelist(ctx *pulumi.Context,
	name string, args *ProjectIpWhitelistArgs, opts ...pulumi.ResourceOption) (*ProjectIpWhitelist, error)

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

func (*ProjectIpWhitelist) ElementType added in v1.3.1

func (*ProjectIpWhitelist) ElementType() reflect.Type

func (*ProjectIpWhitelist) ToProjectIpWhitelistOutput added in v1.3.1

func (i *ProjectIpWhitelist) ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistOutputWithContext added in v1.3.1

func (i *ProjectIpWhitelist) ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistPtrOutput added in v1.5.2

func (i *ProjectIpWhitelist) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistPtrOutputWithContext added in v1.5.2

func (i *ProjectIpWhitelist) ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput

type ProjectIpWhitelistArgs

type ProjectIpWhitelistArgs struct {
	// ID of the whitelisted AWS security group. Mutually exclusive with `cidrBlock` and `ipAddress`.
	AwsSecurityGroup pulumi.StringPtrInput
	// Whitelist entry in Classless Inter-Domain Routing (CIDR) notation. Mutually exclusive with `awsSecurityGroup` and `ipAddress`.
	CidrBlock pulumi.StringPtrInput
	// Comment to add to the whitelist entry.
	Comment pulumi.StringPtrInput
	// Whitelisted IP address. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringPtrInput
	// The ID of the project in which to add the whitelist entry.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a ProjectIpWhitelist resource.

func (ProjectIpWhitelistArgs) ElementType

func (ProjectIpWhitelistArgs) ElementType() reflect.Type

type ProjectIpWhitelistArray added in v1.5.2

type ProjectIpWhitelistArray []ProjectIpWhitelistInput

func (ProjectIpWhitelistArray) ElementType added in v1.5.2

func (ProjectIpWhitelistArray) ElementType() reflect.Type

func (ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutput added in v1.5.2

func (i ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutput() ProjectIpWhitelistArrayOutput

func (ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutputWithContext added in v1.5.2

func (i ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutputWithContext(ctx context.Context) ProjectIpWhitelistArrayOutput

type ProjectIpWhitelistArrayInput added in v1.5.2

type ProjectIpWhitelistArrayInput interface {
	pulumi.Input

	ToProjectIpWhitelistArrayOutput() ProjectIpWhitelistArrayOutput
	ToProjectIpWhitelistArrayOutputWithContext(context.Context) ProjectIpWhitelistArrayOutput
}

ProjectIpWhitelistArrayInput is an input type that accepts ProjectIpWhitelistArray and ProjectIpWhitelistArrayOutput values. You can construct a concrete instance of `ProjectIpWhitelistArrayInput` via:

ProjectIpWhitelistArray{ ProjectIpWhitelistArgs{...} }

type ProjectIpWhitelistArrayOutput added in v1.5.2

type ProjectIpWhitelistArrayOutput struct{ *pulumi.OutputState }

func (ProjectIpWhitelistArrayOutput) ElementType added in v1.5.2

func (ProjectIpWhitelistArrayOutput) Index added in v1.5.2

func (ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutput added in v1.5.2

func (o ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutput() ProjectIpWhitelistArrayOutput

func (ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutputWithContext added in v1.5.2

func (o ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutputWithContext(ctx context.Context) ProjectIpWhitelistArrayOutput

type ProjectIpWhitelistInput added in v1.3.1

type ProjectIpWhitelistInput interface {
	pulumi.Input

	ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput
	ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput
}

type ProjectIpWhitelistMap added in v1.5.2

type ProjectIpWhitelistMap map[string]ProjectIpWhitelistInput

func (ProjectIpWhitelistMap) ElementType added in v1.5.2

func (ProjectIpWhitelistMap) ElementType() reflect.Type

func (ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutput added in v1.5.2

func (i ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutput() ProjectIpWhitelistMapOutput

func (ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutputWithContext added in v1.5.2

func (i ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutputWithContext(ctx context.Context) ProjectIpWhitelistMapOutput

type ProjectIpWhitelistMapInput added in v1.5.2

type ProjectIpWhitelistMapInput interface {
	pulumi.Input

	ToProjectIpWhitelistMapOutput() ProjectIpWhitelistMapOutput
	ToProjectIpWhitelistMapOutputWithContext(context.Context) ProjectIpWhitelistMapOutput
}

ProjectIpWhitelistMapInput is an input type that accepts ProjectIpWhitelistMap and ProjectIpWhitelistMapOutput values. You can construct a concrete instance of `ProjectIpWhitelistMapInput` via:

ProjectIpWhitelistMap{ "key": ProjectIpWhitelistArgs{...} }

type ProjectIpWhitelistMapOutput added in v1.5.2

type ProjectIpWhitelistMapOutput struct{ *pulumi.OutputState }

func (ProjectIpWhitelistMapOutput) ElementType added in v1.5.2

func (ProjectIpWhitelistMapOutput) MapIndex added in v1.5.2

func (ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutput added in v1.5.2

func (o ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutput() ProjectIpWhitelistMapOutput

func (ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutputWithContext added in v1.5.2

func (o ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutputWithContext(ctx context.Context) ProjectIpWhitelistMapOutput

type ProjectIpWhitelistOutput added in v1.3.1

type ProjectIpWhitelistOutput struct {
	*pulumi.OutputState
}

func (ProjectIpWhitelistOutput) ElementType added in v1.3.1

func (ProjectIpWhitelistOutput) ElementType() reflect.Type

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistOutput added in v1.3.1

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistOutputWithContext added in v1.3.1

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutput added in v1.5.2

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutputWithContext added in v1.5.2

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput

type ProjectIpWhitelistPtrInput added in v1.5.2

type ProjectIpWhitelistPtrInput interface {
	pulumi.Input

	ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput
	ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput
}

type ProjectIpWhitelistPtrOutput added in v1.5.2

type ProjectIpWhitelistPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectIpWhitelistPtrOutput) ElementType added in v1.5.2

func (ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutput added in v1.5.2

func (o ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutputWithContext added in v1.5.2

func (o ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput

type ProjectIpWhitelistState

type ProjectIpWhitelistState struct {
	// ID of the whitelisted AWS security group. Mutually exclusive with `cidrBlock` and `ipAddress`.
	AwsSecurityGroup pulumi.StringPtrInput
	// Whitelist entry in Classless Inter-Domain Routing (CIDR) notation. Mutually exclusive with `awsSecurityGroup` and `ipAddress`.
	CidrBlock pulumi.StringPtrInput
	// Comment to add to the whitelist entry.
	Comment pulumi.StringPtrInput
	// Whitelisted IP address. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
	IpAddress pulumi.StringPtrInput
	// The ID of the project in which to add the whitelist entry.
	ProjectId pulumi.StringPtrInput
}

func (ProjectIpWhitelistState) ElementType

func (ProjectIpWhitelistState) ElementType() reflect.Type

type ProjectMap added in v1.5.2

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType added in v1.5.2

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput added in v1.5.2

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext added in v1.5.2

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput added in v1.5.2

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput added in v1.5.2

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType added in v1.5.2

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex added in v1.5.2

func (ProjectMapOutput) ToProjectMapOutput added in v1.5.2

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext added in v1.5.2

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput added in v1.3.1

type ProjectOutput struct {
	*pulumi.OutputState
}

func (ProjectOutput) ElementType added in v1.3.1

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput added in v1.3.1

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext added in v1.3.1

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) ToProjectPtrOutput added in v1.5.2

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext added in v1.5.2

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPtrInput added in v1.5.2

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput added in v1.5.2

type ProjectPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPtrOutput) ElementType added in v1.5.2

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput added in v1.5.2

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext added in v1.5.2

func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectState

type ProjectState struct {
	// The number of Atlas clusters deployed in the project..
	ClusterCount pulumi.IntPtrInput
	// The ISO-8601-formatted timestamp of when Atlas created the project..
	Created pulumi.StringPtrInput
	// The name of the project you want to create. (Cannot be changed via this Provider after creation.)
	Name pulumi.StringPtrInput
	// The ID of the organization you want to create the project within.
	OrgId pulumi.StringPtrInput
	Teams ProjectTeamArrayInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type ProjectTeam

type ProjectTeam struct {
	// Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team.
	// The following are valid roles:
	// * `GROUP_OWNER`
	// * `GROUP_READ_ONLY`
	// * `GROUP_DATA_ACCESS_ADMIN`
	// * `GROUP_DATA_ACCESS_READ_WRITE`
	// * `GROUP_DATA_ACCESS_READ_ONLY`
	// * `GROUP_CLUSTER_MANAGER`
	RoleNames []string `pulumi:"roleNames"`
	// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
	TeamId string `pulumi:"teamId"`
}

type ProjectTeamArgs

type ProjectTeamArgs struct {
	// Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team.
	// The following are valid roles:
	// * `GROUP_OWNER`
	// * `GROUP_READ_ONLY`
	// * `GROUP_DATA_ACCESS_ADMIN`
	// * `GROUP_DATA_ACCESS_READ_WRITE`
	// * `GROUP_DATA_ACCESS_READ_ONLY`
	// * `GROUP_CLUSTER_MANAGER`
	RoleNames pulumi.StringArrayInput `pulumi:"roleNames"`
	// The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.
	TeamId pulumi.StringInput `pulumi:"teamId"`
}

func (ProjectTeamArgs) ElementType

func (ProjectTeamArgs) ElementType() reflect.Type

func (ProjectTeamArgs) ToProjectTeamOutput

func (i ProjectTeamArgs) ToProjectTeamOutput() ProjectTeamOutput

func (ProjectTeamArgs) ToProjectTeamOutputWithContext

func (i ProjectTeamArgs) ToProjectTeamOutputWithContext(ctx context.Context) ProjectTeamOutput

type ProjectTeamArray

type ProjectTeamArray []ProjectTeamInput

func (ProjectTeamArray) ElementType

func (ProjectTeamArray) ElementType() reflect.Type

func (ProjectTeamArray) ToProjectTeamArrayOutput

func (i ProjectTeamArray) ToProjectTeamArrayOutput() ProjectTeamArrayOutput

func (ProjectTeamArray) ToProjectTeamArrayOutputWithContext

func (i ProjectTeamArray) ToProjectTeamArrayOutputWithContext(ctx context.Context) ProjectTeamArrayOutput

type ProjectTeamArrayInput

type ProjectTeamArrayInput interface {
	pulumi.Input

	ToProjectTeamArrayOutput() ProjectTeamArrayOutput
	ToProjectTeamArrayOutputWithContext(context.Context) ProjectTeamArrayOutput
}

ProjectTeamArrayInput is an input type that accepts ProjectTeamArray and ProjectTeamArrayOutput values. You can construct a concrete instance of `ProjectTeamArrayInput` via:

ProjectTeamArray{ ProjectTeamArgs{...} }

type ProjectTeamArrayOutput

type ProjectTeamArrayOutput struct{ *pulumi.OutputState }

func (ProjectTeamArrayOutput) ElementType

func (ProjectTeamArrayOutput) ElementType() reflect.Type

func (ProjectTeamArrayOutput) Index

func (ProjectTeamArrayOutput) ToProjectTeamArrayOutput

func (o ProjectTeamArrayOutput) ToProjectTeamArrayOutput() ProjectTeamArrayOutput

func (ProjectTeamArrayOutput) ToProjectTeamArrayOutputWithContext

func (o ProjectTeamArrayOutput) ToProjectTeamArrayOutputWithContext(ctx context.Context) ProjectTeamArrayOutput

type ProjectTeamInput

type ProjectTeamInput interface {
	pulumi.Input

	ToProjectTeamOutput() ProjectTeamOutput
	ToProjectTeamOutputWithContext(context.Context) ProjectTeamOutput
}

ProjectTeamInput is an input type that accepts ProjectTeamArgs and ProjectTeamOutput values. You can construct a concrete instance of `ProjectTeamInput` via:

ProjectTeamArgs{...}

type ProjectTeamOutput

type ProjectTeamOutput struct{ *pulumi.OutputState }

func (ProjectTeamOutput) ElementType

func (ProjectTeamOutput) ElementType() reflect.Type

func (ProjectTeamOutput) RoleNames

Each string in the array represents a project role you want to assign to the team. Every user associated with the team inherits these roles. You must specify an array even if you are only associating a single role with the team. The following are valid roles: * `GROUP_OWNER` * `GROUP_READ_ONLY` * `GROUP_DATA_ACCESS_ADMIN` * `GROUP_DATA_ACCESS_READ_WRITE` * `GROUP_DATA_ACCESS_READ_ONLY` * `GROUP_CLUSTER_MANAGER`

func (ProjectTeamOutput) TeamId

The unique identifier of the team you want to associate with the project. The team and project must share the same parent organization.

func (ProjectTeamOutput) ToProjectTeamOutput

func (o ProjectTeamOutput) ToProjectTeamOutput() ProjectTeamOutput

func (ProjectTeamOutput) ToProjectTeamOutputWithContext

func (o ProjectTeamOutput) ToProjectTeamOutputWithContext(ctx context.Context) ProjectTeamOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the mongodbatlas 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.5.2

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v1.5.2

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

type ProviderArgs

type ProviderArgs struct {
	// MongoDB Atlas Programmatic Private Key
	PrivateKey pulumi.StringInput
	// MongoDB Atlas Programmatic Public Key
	PublicKey pulumi.StringInput
}

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.5.2

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v1.5.2

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

type ProviderPtrInput added in v1.5.2

type ProviderPtrInput interface {
	pulumi.Input

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

type ProviderPtrOutput added in v1.5.2

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v1.5.2

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v1.5.2

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v1.5.2

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

type Team

type Team struct {
	pulumi.CustomResourceState

	// The name of the team you want to create.
	Name pulumi.StringOutput `pulumi:"name"`
	// The unique identifier for the organization you want to associate the team with.
	OrgId pulumi.StringOutput `pulumi:"orgId"`
	// The unique identifier for the team.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
	// The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
	Usernames pulumi.StringArrayOutput `pulumi:"usernames"`
}

`Teams` provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.

> **IMPORTANT:** MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

MongoDB Atlas Team limits: max 250 teams in an organization and max 100 teams per project.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewTeams(ctx, "test", &mongodbatlas.TeamsArgs{
			OrgId: pulumi.String("<ORGANIZATION-ID>"),
			Usernames: pulumi.StringArray{
				pulumi.String("user1@email.com"),
				pulumi.String("user2@email.com"),
				pulumi.String("user3@email.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Teams can be imported using the organization ID and team id, in the format ORGID-TEAMID, e.g.

```sh

$ pulumi import mongodbatlas:index/team:Team my_team 1112222b3bf99403840e8934-1112222b3bf99403840e8935

```

See detailed information for arguments and attributes[MongoDB API Teams](https://docs.atlas.mongodb.com/reference/api/teams-create-one/)

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.5.2

func (i *Team) ToTeamPtrOutput() TeamPtrOutput

func (*Team) ToTeamPtrOutputWithContext added in v1.5.2

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

type TeamArgs

type TeamArgs struct {
	// The name of the team you want to create.
	Name pulumi.StringPtrInput
	// The unique identifier for the organization you want to associate the team with.
	OrgId pulumi.StringInput
	// The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
	Usernames pulumi.StringArrayInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray added in v1.5.2

type TeamArray []TeamInput

func (TeamArray) ElementType added in v1.5.2

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput added in v1.5.2

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext added in v1.5.2

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

type TeamArrayInput added in v1.5.2

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.5.2

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType added in v1.5.2

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index added in v1.5.2

func (TeamArrayOutput) ToTeamArrayOutput added in v1.5.2

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext added in v1.5.2

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

type TeamMap map[string]TeamInput

func (TeamMap) ElementType added in v1.5.2

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput added in v1.5.2

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext added in v1.5.2

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

type TeamMapInput added in v1.5.2

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.5.2

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType added in v1.5.2

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex added in v1.5.2

func (TeamMapOutput) ToTeamMapOutput added in v1.5.2

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext added in v1.5.2

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.5.2

func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamOutput) ToTeamPtrOutputWithContext added in v1.5.2

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

type TeamPtrInput added in v1.5.2

type TeamPtrInput interface {
	pulumi.Input

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

type TeamPtrOutput added in v1.5.2

type TeamPtrOutput struct {
	*pulumi.OutputState
}

func (TeamPtrOutput) ElementType added in v1.5.2

func (TeamPtrOutput) ElementType() reflect.Type

func (TeamPtrOutput) ToTeamPtrOutput added in v1.5.2

func (o TeamPtrOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamPtrOutput) ToTeamPtrOutputWithContext added in v1.5.2

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

type TeamState

type TeamState struct {
	// The name of the team you want to create.
	Name pulumi.StringPtrInput
	// The unique identifier for the organization you want to associate the team with.
	OrgId pulumi.StringPtrInput
	// The unique identifier for the team.
	TeamId pulumi.StringPtrInput
	// The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
	Usernames pulumi.StringArrayInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

type Teams

type Teams struct {
	pulumi.CustomResourceState

	Name      pulumi.StringOutput      `pulumi:"name"`
	OrgId     pulumi.StringOutput      `pulumi:"orgId"`
	TeamId    pulumi.StringOutput      `pulumi:"teamId"`
	Usernames pulumi.StringArrayOutput `pulumi:"usernames"`
}

func GetTeams

func GetTeams(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamsState, opts ...pulumi.ResourceOption) (*Teams, error)

GetTeams gets an existing Teams 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 NewTeams

func NewTeams(ctx *pulumi.Context,
	name string, args *TeamsArgs, opts ...pulumi.ResourceOption) (*Teams, error)

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

func (*Teams) ElementType added in v1.3.1

func (*Teams) ElementType() reflect.Type

func (*Teams) ToTeamsOutput added in v1.3.1

func (i *Teams) ToTeamsOutput() TeamsOutput

func (*Teams) ToTeamsOutputWithContext added in v1.3.1

func (i *Teams) ToTeamsOutputWithContext(ctx context.Context) TeamsOutput

func (*Teams) ToTeamsPtrOutput added in v1.5.2

func (i *Teams) ToTeamsPtrOutput() TeamsPtrOutput

func (*Teams) ToTeamsPtrOutputWithContext added in v1.5.2

func (i *Teams) ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput

type TeamsArgs

type TeamsArgs struct {
	Name      pulumi.StringPtrInput
	OrgId     pulumi.StringInput
	Usernames pulumi.StringArrayInput
}

The set of arguments for constructing a Teams resource.

func (TeamsArgs) ElementType

func (TeamsArgs) ElementType() reflect.Type

type TeamsArray added in v1.5.2

type TeamsArray []TeamsInput

func (TeamsArray) ElementType added in v1.5.2

func (TeamsArray) ElementType() reflect.Type

func (TeamsArray) ToTeamsArrayOutput added in v1.5.2

func (i TeamsArray) ToTeamsArrayOutput() TeamsArrayOutput

func (TeamsArray) ToTeamsArrayOutputWithContext added in v1.5.2

func (i TeamsArray) ToTeamsArrayOutputWithContext(ctx context.Context) TeamsArrayOutput

type TeamsArrayInput added in v1.5.2

type TeamsArrayInput interface {
	pulumi.Input

	ToTeamsArrayOutput() TeamsArrayOutput
	ToTeamsArrayOutputWithContext(context.Context) TeamsArrayOutput
}

TeamsArrayInput is an input type that accepts TeamsArray and TeamsArrayOutput values. You can construct a concrete instance of `TeamsArrayInput` via:

TeamsArray{ TeamsArgs{...} }

type TeamsArrayOutput added in v1.5.2

type TeamsArrayOutput struct{ *pulumi.OutputState }

func (TeamsArrayOutput) ElementType added in v1.5.2

func (TeamsArrayOutput) ElementType() reflect.Type

func (TeamsArrayOutput) Index added in v1.5.2

func (TeamsArrayOutput) ToTeamsArrayOutput added in v1.5.2

func (o TeamsArrayOutput) ToTeamsArrayOutput() TeamsArrayOutput

func (TeamsArrayOutput) ToTeamsArrayOutputWithContext added in v1.5.2

func (o TeamsArrayOutput) ToTeamsArrayOutputWithContext(ctx context.Context) TeamsArrayOutput

type TeamsInput added in v1.3.1

type TeamsInput interface {
	pulumi.Input

	ToTeamsOutput() TeamsOutput
	ToTeamsOutputWithContext(ctx context.Context) TeamsOutput
}

type TeamsMap added in v1.5.2

type TeamsMap map[string]TeamsInput

func (TeamsMap) ElementType added in v1.5.2

func (TeamsMap) ElementType() reflect.Type

func (TeamsMap) ToTeamsMapOutput added in v1.5.2

func (i TeamsMap) ToTeamsMapOutput() TeamsMapOutput

func (TeamsMap) ToTeamsMapOutputWithContext added in v1.5.2

func (i TeamsMap) ToTeamsMapOutputWithContext(ctx context.Context) TeamsMapOutput

type TeamsMapInput added in v1.5.2

type TeamsMapInput interface {
	pulumi.Input

	ToTeamsMapOutput() TeamsMapOutput
	ToTeamsMapOutputWithContext(context.Context) TeamsMapOutput
}

TeamsMapInput is an input type that accepts TeamsMap and TeamsMapOutput values. You can construct a concrete instance of `TeamsMapInput` via:

TeamsMap{ "key": TeamsArgs{...} }

type TeamsMapOutput added in v1.5.2

type TeamsMapOutput struct{ *pulumi.OutputState }

func (TeamsMapOutput) ElementType added in v1.5.2

func (TeamsMapOutput) ElementType() reflect.Type

func (TeamsMapOutput) MapIndex added in v1.5.2

func (TeamsMapOutput) ToTeamsMapOutput added in v1.5.2

func (o TeamsMapOutput) ToTeamsMapOutput() TeamsMapOutput

func (TeamsMapOutput) ToTeamsMapOutputWithContext added in v1.5.2

func (o TeamsMapOutput) ToTeamsMapOutputWithContext(ctx context.Context) TeamsMapOutput

type TeamsOutput added in v1.3.1

type TeamsOutput struct {
	*pulumi.OutputState
}

func (TeamsOutput) ElementType added in v1.3.1

func (TeamsOutput) ElementType() reflect.Type

func (TeamsOutput) ToTeamsOutput added in v1.3.1

func (o TeamsOutput) ToTeamsOutput() TeamsOutput

func (TeamsOutput) ToTeamsOutputWithContext added in v1.3.1

func (o TeamsOutput) ToTeamsOutputWithContext(ctx context.Context) TeamsOutput

func (TeamsOutput) ToTeamsPtrOutput added in v1.5.2

func (o TeamsOutput) ToTeamsPtrOutput() TeamsPtrOutput

func (TeamsOutput) ToTeamsPtrOutputWithContext added in v1.5.2

func (o TeamsOutput) ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput

type TeamsPtrInput added in v1.5.2

type TeamsPtrInput interface {
	pulumi.Input

	ToTeamsPtrOutput() TeamsPtrOutput
	ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput
}

type TeamsPtrOutput added in v1.5.2

type TeamsPtrOutput struct {
	*pulumi.OutputState
}

func (TeamsPtrOutput) ElementType added in v1.5.2

func (TeamsPtrOutput) ElementType() reflect.Type

func (TeamsPtrOutput) ToTeamsPtrOutput added in v1.5.2

func (o TeamsPtrOutput) ToTeamsPtrOutput() TeamsPtrOutput

func (TeamsPtrOutput) ToTeamsPtrOutputWithContext added in v1.5.2

func (o TeamsPtrOutput) ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput

type TeamsState

type TeamsState struct {
	Name      pulumi.StringPtrInput
	OrgId     pulumi.StringPtrInput
	TeamId    pulumi.StringPtrInput
	Usernames pulumi.StringArrayInput
}

func (TeamsState) ElementType

func (TeamsState) ElementType() reflect.Type

type ThirdPartyIntegration added in v1.4.0

type ThirdPartyIntegration struct {
	pulumi.CustomResourceState

	// Unique identifier of your New Relic account.
	AccountId pulumi.StringPtrOutput `pulumi:"accountId"`
	// Your API Key.
	ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"`
	// Your API Token.
	ApiToken    pulumi.StringPtrOutput `pulumi:"apiToken"`
	ChannelName pulumi.StringPtrOutput `pulumi:"channelName"`
	// Your Flowdock Flow name.
	FlowName pulumi.StringPtrOutput `pulumi:"flowName"`
	// Your License Key.
	LicenseKey pulumi.StringPtrOutput `pulumi:"licenseKey"`
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName pulumi.StringPtrOutput `pulumi:"orgName"`
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken pulumi.StringPtrOutput `pulumi:"readToken"`
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region pulumi.StringPtrOutput `pulumi:"region"`
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey pulumi.StringPtrOutput `pulumi:"routingKey"`
	// An optional field for your webhook secret.
	Secret pulumi.StringPtrOutput `pulumi:"secret"`
	// Your Service Key.
	// * `DATADOG`
	ServiceKey pulumi.StringPtrOutput `pulumi:"serviceKey"`
	TeamName   pulumi.StringPtrOutput `pulumi:"teamName"`
	// Third-Party Integration Settings type
	// * PAGER_DUTY
	// * DATADOG
	// * NEW_RELIC
	// * OPS_GENIE
	// * VICTOR_OPS
	// * FLOWDOCK
	// * WEBHOOK
	Type pulumi.StringOutput `pulumi:"type"`
	// Your webhook URL.
	Url pulumi.StringPtrOutput `pulumi:"url"`
	// Your Insights Insert Key.
	WriteToken pulumi.StringPtrOutput `pulumi:"writeToken"`
}

## Import

Third-Party Integration Settings can be imported using project ID and the integration type, in the format `project_id`-`type`, e.g.

```sh

$ pulumi import mongodbatlas:index/thirdPartyIntegration:ThirdPartyIntegration my_user 1112222b3bf99403840e8934-OPS_GENIE

```

See [MongoDB Atlas API](https://docs.atlas.mongodb.com/reference/api/third-party-integration-settings-create/) Documentation for more information.

func GetThirdPartyIntegration added in v1.4.0

func GetThirdPartyIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ThirdPartyIntegrationState, opts ...pulumi.ResourceOption) (*ThirdPartyIntegration, error)

GetThirdPartyIntegration gets an existing ThirdPartyIntegration 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 NewThirdPartyIntegration added in v1.4.0

func NewThirdPartyIntegration(ctx *pulumi.Context,
	name string, args *ThirdPartyIntegrationArgs, opts ...pulumi.ResourceOption) (*ThirdPartyIntegration, error)

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

func (*ThirdPartyIntegration) ElementType added in v1.4.0

func (*ThirdPartyIntegration) ElementType() reflect.Type

func (*ThirdPartyIntegration) ToThirdPartyIntegrationOutput added in v1.4.0

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationOutputWithContext added in v1.4.0

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutput added in v1.5.2

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutputWithContext added in v1.5.2

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationArgs added in v1.4.0

type ThirdPartyIntegrationArgs struct {
	// Unique identifier of your New Relic account.
	AccountId pulumi.StringPtrInput
	// Your API Key.
	ApiKey pulumi.StringPtrInput
	// Your API Token.
	ApiToken    pulumi.StringPtrInput
	ChannelName pulumi.StringPtrInput
	// Your Flowdock Flow name.
	FlowName pulumi.StringPtrInput
	// Your License Key.
	LicenseKey pulumi.StringPtrInput
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName pulumi.StringPtrInput
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId pulumi.StringInput
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken pulumi.StringPtrInput
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region pulumi.StringPtrInput
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey pulumi.StringPtrInput
	// An optional field for your webhook secret.
	Secret pulumi.StringPtrInput
	// Your Service Key.
	// * `DATADOG`
	ServiceKey pulumi.StringPtrInput
	TeamName   pulumi.StringPtrInput
	// Third-Party Integration Settings type
	// * PAGER_DUTY
	// * DATADOG
	// * NEW_RELIC
	// * OPS_GENIE
	// * VICTOR_OPS
	// * FLOWDOCK
	// * WEBHOOK
	Type pulumi.StringInput
	// Your webhook URL.
	Url pulumi.StringPtrInput
	// Your Insights Insert Key.
	WriteToken pulumi.StringPtrInput
}

The set of arguments for constructing a ThirdPartyIntegration resource.

func (ThirdPartyIntegrationArgs) ElementType added in v1.4.0

func (ThirdPartyIntegrationArgs) ElementType() reflect.Type

type ThirdPartyIntegrationArray added in v1.5.2

type ThirdPartyIntegrationArray []ThirdPartyIntegrationInput

func (ThirdPartyIntegrationArray) ElementType added in v1.5.2

func (ThirdPartyIntegrationArray) ElementType() reflect.Type

func (ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutput added in v1.5.2

func (i ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutput() ThirdPartyIntegrationArrayOutput

func (ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutputWithContext added in v1.5.2

func (i ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutputWithContext(ctx context.Context) ThirdPartyIntegrationArrayOutput

type ThirdPartyIntegrationArrayInput added in v1.5.2

type ThirdPartyIntegrationArrayInput interface {
	pulumi.Input

	ToThirdPartyIntegrationArrayOutput() ThirdPartyIntegrationArrayOutput
	ToThirdPartyIntegrationArrayOutputWithContext(context.Context) ThirdPartyIntegrationArrayOutput
}

ThirdPartyIntegrationArrayInput is an input type that accepts ThirdPartyIntegrationArray and ThirdPartyIntegrationArrayOutput values. You can construct a concrete instance of `ThirdPartyIntegrationArrayInput` via:

ThirdPartyIntegrationArray{ ThirdPartyIntegrationArgs{...} }

type ThirdPartyIntegrationArrayOutput added in v1.5.2

type ThirdPartyIntegrationArrayOutput struct{ *pulumi.OutputState }

func (ThirdPartyIntegrationArrayOutput) ElementType added in v1.5.2

func (ThirdPartyIntegrationArrayOutput) Index added in v1.5.2

func (ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutput added in v1.5.2

func (o ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutput() ThirdPartyIntegrationArrayOutput

func (ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutputWithContext added in v1.5.2

func (o ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutputWithContext(ctx context.Context) ThirdPartyIntegrationArrayOutput

type ThirdPartyIntegrationInput added in v1.4.0

type ThirdPartyIntegrationInput interface {
	pulumi.Input

	ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput
	ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput
}

type ThirdPartyIntegrationMap added in v1.5.2

type ThirdPartyIntegrationMap map[string]ThirdPartyIntegrationInput

func (ThirdPartyIntegrationMap) ElementType added in v1.5.2

func (ThirdPartyIntegrationMap) ElementType() reflect.Type

func (ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutput added in v1.5.2

func (i ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutput() ThirdPartyIntegrationMapOutput

func (ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutputWithContext added in v1.5.2

func (i ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutputWithContext(ctx context.Context) ThirdPartyIntegrationMapOutput

type ThirdPartyIntegrationMapInput added in v1.5.2

type ThirdPartyIntegrationMapInput interface {
	pulumi.Input

	ToThirdPartyIntegrationMapOutput() ThirdPartyIntegrationMapOutput
	ToThirdPartyIntegrationMapOutputWithContext(context.Context) ThirdPartyIntegrationMapOutput
}

ThirdPartyIntegrationMapInput is an input type that accepts ThirdPartyIntegrationMap and ThirdPartyIntegrationMapOutput values. You can construct a concrete instance of `ThirdPartyIntegrationMapInput` via:

ThirdPartyIntegrationMap{ "key": ThirdPartyIntegrationArgs{...} }

type ThirdPartyIntegrationMapOutput added in v1.5.2

type ThirdPartyIntegrationMapOutput struct{ *pulumi.OutputState }

func (ThirdPartyIntegrationMapOutput) ElementType added in v1.5.2

func (ThirdPartyIntegrationMapOutput) MapIndex added in v1.5.2

func (ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutput added in v1.5.2

func (o ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutput() ThirdPartyIntegrationMapOutput

func (ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutputWithContext added in v1.5.2

func (o ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutputWithContext(ctx context.Context) ThirdPartyIntegrationMapOutput

type ThirdPartyIntegrationOutput added in v1.4.0

type ThirdPartyIntegrationOutput struct {
	*pulumi.OutputState
}

func (ThirdPartyIntegrationOutput) ElementType added in v1.4.0

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutput added in v1.4.0

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutputWithContext added in v1.4.0

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutput added in v1.5.2

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutputWithContext added in v1.5.2

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationPtrInput added in v1.5.2

type ThirdPartyIntegrationPtrInput interface {
	pulumi.Input

	ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput
	ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput
}

type ThirdPartyIntegrationPtrOutput added in v1.5.2

type ThirdPartyIntegrationPtrOutput struct {
	*pulumi.OutputState
}

func (ThirdPartyIntegrationPtrOutput) ElementType added in v1.5.2

func (ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutput added in v1.5.2

func (o ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutputWithContext added in v1.5.2

func (o ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationState added in v1.4.0

type ThirdPartyIntegrationState struct {
	// Unique identifier of your New Relic account.
	AccountId pulumi.StringPtrInput
	// Your API Key.
	ApiKey pulumi.StringPtrInput
	// Your API Token.
	ApiToken    pulumi.StringPtrInput
	ChannelName pulumi.StringPtrInput
	// Your Flowdock Flow name.
	FlowName pulumi.StringPtrInput
	// Your License Key.
	LicenseKey pulumi.StringPtrInput
	// Your Flowdock organization name.
	// * `WEBHOOK`
	OrgName pulumi.StringPtrInput
	// The unique ID for the project to get all Third-Party service integrations
	ProjectId pulumi.StringPtrInput
	// Your Insights Query Key.
	// * `OPS_GENIE`
	ReadToken pulumi.StringPtrInput
	// Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
	// * `VICTOR_OPS`
	Region pulumi.StringPtrInput
	// An optional field for your Routing Key.
	// * `FLOWDOCK`
	RoutingKey pulumi.StringPtrInput
	// An optional field for your webhook secret.
	Secret pulumi.StringPtrInput
	// Your Service Key.
	// * `DATADOG`
	ServiceKey pulumi.StringPtrInput
	TeamName   pulumi.StringPtrInput
	// Third-Party Integration Settings type
	// * PAGER_DUTY
	// * DATADOG
	// * NEW_RELIC
	// * OPS_GENIE
	// * VICTOR_OPS
	// * FLOWDOCK
	// * WEBHOOK
	Type pulumi.StringPtrInput
	// Your webhook URL.
	Url pulumi.StringPtrInput
	// Your Insights Insert Key.
	WriteToken pulumi.StringPtrInput
}

func (ThirdPartyIntegrationState) ElementType added in v1.4.0

func (ThirdPartyIntegrationState) ElementType() reflect.Type

type X509AuthenticationDatabaseUser

type X509AuthenticationDatabaseUser struct {
	pulumi.CustomResourceState

	// Array of objects where each details one unexpired database user certificate.
	Certificates X509AuthenticationDatabaseUserCertificateArrayOutput `pulumi:"certificates"`
	// Contains the last X.509 certificate and private key created for a database user.
	CurrentCertificate pulumi.StringOutput `pulumi:"currentCertificate"`
	// PEM string containing one or more customer CAs for database user authentication.
	CustomerX509Cas pulumi.StringPtrOutput `pulumi:"customerX509Cas"`
	// A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
	MonthsUntilExpiration pulumi.IntPtrOutput `pulumi:"monthsUntilExpiration"`
	// Identifier for the Atlas project associated with the X.509 configuration.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Username of the database user to create a certificate for.
	Username pulumi.StringPtrOutput `pulumi:"username"`
}

`X509AuthenticationDatabaseUser` provides a X509 Authentication Database User resource. The X509AuthenticationDatabaseUser resource lets you manage MongoDB users who authenticate using X.509 certificates. You can manage these X.509 certificates or let Atlas do it for you.

| Management | Description | |---|---| | Atlas | Atlas manages your Certificate Authority and can generate certificates for your MongoDB users. No additional X.509 configuration is required. | | Customer | You must provide a Certificate Authority and generate certificates for your MongoDB users. |

> **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.

## Example Usage

### S ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		user, err := mongodbatlas.NewDatabaseUser(ctx, "user", &mongodbatlas.DatabaseUserArgs{
			DatabaseName: pulumi.String(fmt.Sprintf("%v%v", "$", "external")),
			Labels: mongodbatlas.DatabaseUserLabelArray{
				&mongodbatlas.DatabaseUserLabelArgs{
					Key:   pulumi.String("My Key"),
					Value: pulumi.String("My Value"),
				},
			},
			ProjectId: pulumi.String("<PROJECT-ID>"),
			Roles: mongodbatlas.DatabaseUserRoleArray{
				&mongodbatlas.DatabaseUserRoleArgs{
					DatabaseName: pulumi.String("admin"),
					RoleName:     pulumi.String("atlasAdmin"),
				},
			},
			Username: pulumi.String("myUsername"),
			X509Type: pulumi.String("MANAGED"),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewX509AuthenticationDatabaseUser(ctx, "test", &mongodbatlas.X509AuthenticationDatabaseUserArgs{
			MonthsUntilExpiration: pulumi.Int(2),
			ProjectId:             user.ProjectId,
			Username:              user.Username,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewX509AuthenticationDatabaseUser(ctx, "test", &mongodbatlas.X509AuthenticationDatabaseUserArgs{
			CustomerX509Cas: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "  -----BEGIN CERTIFICATE-----\n", "  MIICmTCCAgICCQDZnHzklxsT9TANBgkqhkiG9w0BAQsFADCBkDELMAkGA1UEBhMC\n", "  VVMxDjAMBgNVBAgMBVRleGFzMQ8wDQYDVQQHDAZBdXN0aW4xETAPBgNVBAoMCHRl\n", "  c3QuY29tMQ0wCwYDVQQLDARUZXN0MREwDwYDVQQDDAh0ZXN0LmNvbTErMCkGCSqG\n", "  SIb3DQEJARYcbWVsaXNzYS5wbHVua2V0dEBtb25nb2RiLmNvbTAeFw0yMDAyMDQy\n", "  MDQ2MDFaFw0yMTAyMDMyMDQ2MDFaMIGQMQswCQYDVQQGEwJVUzEOMAwGA1UECAwF\n", "  VGV4YXMxDzANBgNVBAcMBkF1c3RpbjERMA8GA1UECgwIdGVzdC5jb20xDTALBgNV\n", "  BAsMBFRlc3QxETAPBgNVBAMMCHRlc3QuY29tMSswKQYJKoZIhvcNAQkBFhxtZWxp\n", "  c3NhLnBsdW5rZXR0QG1vbmdvZGIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\n", "  iQKBgQCf1LRqr1zftzdYx2Aj9G76tb0noMPtj6faGLlPji1+m6Rn7RWD9L0ntWAr\n", "  cURxvypa9jZ9MXFzDtLevvd3tHEmfrUT3ukNDX6+Jtc4kWm+Dh2A70Pd+deKZ2/O\n", "  Fh8audEKAESGXnTbeJCeQa1XKlIkjqQHBNwES5h1b9vJtFoLJwIDAQABMA0GCSqG\n", "  SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA\n", "  7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A\n", "  iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz\n", "  -----END CERTIFICATE-----\"\n", "\n")),
			ProjectId:       pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

X.509 Certificates for a User can be imported using project ID and username, in the format `project_id-username`, e.g.

```sh

$ pulumi import mongodbatlas:index/x509AuthenticationDatabaseUser:X509AuthenticationDatabaseUser test 1112222b3bf99403840e8934-myUsername

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/x509-configuration-get-certificates/) Current X.509 Configuration can be imported using project ID, in the format `project_id`, e.g.

```sh

$ pulumi import mongodbatlas:index/x509AuthenticationDatabaseUser:X509AuthenticationDatabaseUser test 1112222b3bf99403840e8934

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/x509-configuration-get-certificates/)

func GetX509AuthenticationDatabaseUser

func GetX509AuthenticationDatabaseUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *X509AuthenticationDatabaseUserState, opts ...pulumi.ResourceOption) (*X509AuthenticationDatabaseUser, error)

GetX509AuthenticationDatabaseUser gets an existing X509AuthenticationDatabaseUser 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 NewX509AuthenticationDatabaseUser

func NewX509AuthenticationDatabaseUser(ctx *pulumi.Context,
	name string, args *X509AuthenticationDatabaseUserArgs, opts ...pulumi.ResourceOption) (*X509AuthenticationDatabaseUser, error)

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

func (*X509AuthenticationDatabaseUser) ElementType added in v1.3.1

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutput added in v1.3.1

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutputWithContext added in v1.3.1

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutput added in v1.5.2

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutputWithContext added in v1.5.2

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput

type X509AuthenticationDatabaseUserArgs

type X509AuthenticationDatabaseUserArgs struct {
	// PEM string containing one or more customer CAs for database user authentication.
	CustomerX509Cas pulumi.StringPtrInput
	// A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
	MonthsUntilExpiration pulumi.IntPtrInput
	// Identifier for the Atlas project associated with the X.509 configuration.
	ProjectId pulumi.StringInput
	// Username of the database user to create a certificate for.
	Username pulumi.StringPtrInput
}

The set of arguments for constructing a X509AuthenticationDatabaseUser resource.

func (X509AuthenticationDatabaseUserArgs) ElementType

type X509AuthenticationDatabaseUserArray added in v1.5.2

type X509AuthenticationDatabaseUserArray []X509AuthenticationDatabaseUserInput

func (X509AuthenticationDatabaseUserArray) ElementType added in v1.5.2

func (X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutput added in v1.5.2

func (i X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutput() X509AuthenticationDatabaseUserArrayOutput

func (X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutputWithContext added in v1.5.2

func (i X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserArrayOutput

type X509AuthenticationDatabaseUserArrayInput added in v1.5.2

type X509AuthenticationDatabaseUserArrayInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserArrayOutput() X509AuthenticationDatabaseUserArrayOutput
	ToX509AuthenticationDatabaseUserArrayOutputWithContext(context.Context) X509AuthenticationDatabaseUserArrayOutput
}

X509AuthenticationDatabaseUserArrayInput is an input type that accepts X509AuthenticationDatabaseUserArray and X509AuthenticationDatabaseUserArrayOutput values. You can construct a concrete instance of `X509AuthenticationDatabaseUserArrayInput` via:

X509AuthenticationDatabaseUserArray{ X509AuthenticationDatabaseUserArgs{...} }

type X509AuthenticationDatabaseUserArrayOutput added in v1.5.2

type X509AuthenticationDatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserArrayOutput) ElementType added in v1.5.2

func (X509AuthenticationDatabaseUserArrayOutput) Index added in v1.5.2

func (X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutput added in v1.5.2

func (o X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutput() X509AuthenticationDatabaseUserArrayOutput

func (X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutputWithContext added in v1.5.2

func (o X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserArrayOutput

type X509AuthenticationDatabaseUserCertificate

type X509AuthenticationDatabaseUserCertificate struct {
	CreatedAt *string `pulumi:"createdAt"`
	GroupId   *string `pulumi:"groupId"`
	Id        *int    `pulumi:"id"`
	NotAfter  *string `pulumi:"notAfter"`
	Subject   *string `pulumi:"subject"`
}

type X509AuthenticationDatabaseUserCertificateArgs

type X509AuthenticationDatabaseUserCertificateArgs struct {
	CreatedAt pulumi.StringPtrInput `pulumi:"createdAt"`
	GroupId   pulumi.StringPtrInput `pulumi:"groupId"`
	Id        pulumi.IntPtrInput    `pulumi:"id"`
	NotAfter  pulumi.StringPtrInput `pulumi:"notAfter"`
	Subject   pulumi.StringPtrInput `pulumi:"subject"`
}

func (X509AuthenticationDatabaseUserCertificateArgs) ElementType

func (X509AuthenticationDatabaseUserCertificateArgs) ToX509AuthenticationDatabaseUserCertificateOutput

func (i X509AuthenticationDatabaseUserCertificateArgs) ToX509AuthenticationDatabaseUserCertificateOutput() X509AuthenticationDatabaseUserCertificateOutput

func (X509AuthenticationDatabaseUserCertificateArgs) ToX509AuthenticationDatabaseUserCertificateOutputWithContext

func (i X509AuthenticationDatabaseUserCertificateArgs) ToX509AuthenticationDatabaseUserCertificateOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserCertificateOutput

type X509AuthenticationDatabaseUserCertificateArray

type X509AuthenticationDatabaseUserCertificateArray []X509AuthenticationDatabaseUserCertificateInput

func (X509AuthenticationDatabaseUserCertificateArray) ElementType

func (X509AuthenticationDatabaseUserCertificateArray) ToX509AuthenticationDatabaseUserCertificateArrayOutput

func (i X509AuthenticationDatabaseUserCertificateArray) ToX509AuthenticationDatabaseUserCertificateArrayOutput() X509AuthenticationDatabaseUserCertificateArrayOutput

func (X509AuthenticationDatabaseUserCertificateArray) ToX509AuthenticationDatabaseUserCertificateArrayOutputWithContext

func (i X509AuthenticationDatabaseUserCertificateArray) ToX509AuthenticationDatabaseUserCertificateArrayOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserCertificateArrayOutput

type X509AuthenticationDatabaseUserCertificateArrayInput

type X509AuthenticationDatabaseUserCertificateArrayInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserCertificateArrayOutput() X509AuthenticationDatabaseUserCertificateArrayOutput
	ToX509AuthenticationDatabaseUserCertificateArrayOutputWithContext(context.Context) X509AuthenticationDatabaseUserCertificateArrayOutput
}

X509AuthenticationDatabaseUserCertificateArrayInput is an input type that accepts X509AuthenticationDatabaseUserCertificateArray and X509AuthenticationDatabaseUserCertificateArrayOutput values. You can construct a concrete instance of `X509AuthenticationDatabaseUserCertificateArrayInput` via:

X509AuthenticationDatabaseUserCertificateArray{ X509AuthenticationDatabaseUserCertificateArgs{...} }

type X509AuthenticationDatabaseUserCertificateArrayOutput

type X509AuthenticationDatabaseUserCertificateArrayOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserCertificateArrayOutput) ElementType

func (X509AuthenticationDatabaseUserCertificateArrayOutput) Index

func (X509AuthenticationDatabaseUserCertificateArrayOutput) ToX509AuthenticationDatabaseUserCertificateArrayOutput

func (X509AuthenticationDatabaseUserCertificateArrayOutput) ToX509AuthenticationDatabaseUserCertificateArrayOutputWithContext

func (o X509AuthenticationDatabaseUserCertificateArrayOutput) ToX509AuthenticationDatabaseUserCertificateArrayOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserCertificateArrayOutput

type X509AuthenticationDatabaseUserCertificateInput

type X509AuthenticationDatabaseUserCertificateInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserCertificateOutput() X509AuthenticationDatabaseUserCertificateOutput
	ToX509AuthenticationDatabaseUserCertificateOutputWithContext(context.Context) X509AuthenticationDatabaseUserCertificateOutput
}

X509AuthenticationDatabaseUserCertificateInput is an input type that accepts X509AuthenticationDatabaseUserCertificateArgs and X509AuthenticationDatabaseUserCertificateOutput values. You can construct a concrete instance of `X509AuthenticationDatabaseUserCertificateInput` via:

X509AuthenticationDatabaseUserCertificateArgs{...}

type X509AuthenticationDatabaseUserCertificateOutput

type X509AuthenticationDatabaseUserCertificateOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserCertificateOutput) CreatedAt

func (X509AuthenticationDatabaseUserCertificateOutput) ElementType

func (X509AuthenticationDatabaseUserCertificateOutput) GroupId

func (X509AuthenticationDatabaseUserCertificateOutput) Id

func (X509AuthenticationDatabaseUserCertificateOutput) NotAfter

func (X509AuthenticationDatabaseUserCertificateOutput) Subject

func (X509AuthenticationDatabaseUserCertificateOutput) ToX509AuthenticationDatabaseUserCertificateOutput

func (o X509AuthenticationDatabaseUserCertificateOutput) ToX509AuthenticationDatabaseUserCertificateOutput() X509AuthenticationDatabaseUserCertificateOutput

func (X509AuthenticationDatabaseUserCertificateOutput) ToX509AuthenticationDatabaseUserCertificateOutputWithContext

func (o X509AuthenticationDatabaseUserCertificateOutput) ToX509AuthenticationDatabaseUserCertificateOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserCertificateOutput

type X509AuthenticationDatabaseUserInput added in v1.3.1

type X509AuthenticationDatabaseUserInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput
	ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput
}

type X509AuthenticationDatabaseUserMap added in v1.5.2

type X509AuthenticationDatabaseUserMap map[string]X509AuthenticationDatabaseUserInput

func (X509AuthenticationDatabaseUserMap) ElementType added in v1.5.2

func (X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutput added in v1.5.2

func (i X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutput() X509AuthenticationDatabaseUserMapOutput

func (X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutputWithContext added in v1.5.2

func (i X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserMapOutput

type X509AuthenticationDatabaseUserMapInput added in v1.5.2

type X509AuthenticationDatabaseUserMapInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserMapOutput() X509AuthenticationDatabaseUserMapOutput
	ToX509AuthenticationDatabaseUserMapOutputWithContext(context.Context) X509AuthenticationDatabaseUserMapOutput
}

X509AuthenticationDatabaseUserMapInput is an input type that accepts X509AuthenticationDatabaseUserMap and X509AuthenticationDatabaseUserMapOutput values. You can construct a concrete instance of `X509AuthenticationDatabaseUserMapInput` via:

X509AuthenticationDatabaseUserMap{ "key": X509AuthenticationDatabaseUserArgs{...} }

type X509AuthenticationDatabaseUserMapOutput added in v1.5.2

type X509AuthenticationDatabaseUserMapOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserMapOutput) ElementType added in v1.5.2

func (X509AuthenticationDatabaseUserMapOutput) MapIndex added in v1.5.2

func (X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutput added in v1.5.2

func (o X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutput() X509AuthenticationDatabaseUserMapOutput

func (X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutputWithContext added in v1.5.2

func (o X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserMapOutput

type X509AuthenticationDatabaseUserOutput added in v1.3.1

type X509AuthenticationDatabaseUserOutput struct {
	*pulumi.OutputState
}

func (X509AuthenticationDatabaseUserOutput) ElementType added in v1.3.1

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutput added in v1.3.1

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutputWithContext added in v1.3.1

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutput added in v1.5.2

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext added in v1.5.2

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput

type X509AuthenticationDatabaseUserPtrInput added in v1.5.2

type X509AuthenticationDatabaseUserPtrInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput
	ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput
}

type X509AuthenticationDatabaseUserPtrOutput added in v1.5.2

type X509AuthenticationDatabaseUserPtrOutput struct {
	*pulumi.OutputState
}

func (X509AuthenticationDatabaseUserPtrOutput) ElementType added in v1.5.2

func (X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutput added in v1.5.2

func (o X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext added in v1.5.2

func (o X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput

type X509AuthenticationDatabaseUserState

type X509AuthenticationDatabaseUserState struct {
	// Array of objects where each details one unexpired database user certificate.
	Certificates X509AuthenticationDatabaseUserCertificateArrayInput
	// Contains the last X.509 certificate and private key created for a database user.
	CurrentCertificate pulumi.StringPtrInput
	// PEM string containing one or more customer CAs for database user authentication.
	CustomerX509Cas pulumi.StringPtrInput
	// A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
	MonthsUntilExpiration pulumi.IntPtrInput
	// Identifier for the Atlas project associated with the X.509 configuration.
	ProjectId pulumi.StringPtrInput
	// Username of the database user to create a certificate for.
	Username pulumi.StringPtrInput
}

func (X509AuthenticationDatabaseUserState) ElementType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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