mongodbatlas

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*AlertConfiguration) ElementType() reflect.Type

func (*AlertConfiguration) ToAlertConfigurationOutput

func (i *AlertConfiguration) ToAlertConfigurationOutput() AlertConfigurationOutput

func (*AlertConfiguration) ToAlertConfigurationOutputWithContext

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

func (*AlertConfiguration) ToAlertConfigurationPtrOutput

func (i *AlertConfiguration) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (*AlertConfiguration) ToAlertConfigurationPtrOutputWithContext

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

type AlertConfigurationArray []AlertConfigurationInput

func (AlertConfigurationArray) ElementType

func (AlertConfigurationArray) ElementType() reflect.Type

func (AlertConfigurationArray) ToAlertConfigurationArrayOutput

func (i AlertConfigurationArray) ToAlertConfigurationArrayOutput() AlertConfigurationArrayOutput

func (AlertConfigurationArray) ToAlertConfigurationArrayOutputWithContext

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

type AlertConfigurationArrayInput

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

type AlertConfigurationArrayOutput struct{ *pulumi.OutputState }

func (AlertConfigurationArrayOutput) ElementType

func (AlertConfigurationArrayOutput) Index

func (AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutput

func (o AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutput() AlertConfigurationArrayOutput

func (AlertConfigurationArrayOutput) ToAlertConfigurationArrayOutputWithContext

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

type AlertConfigurationInput

type AlertConfigurationInput interface {
	pulumi.Input

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

type AlertConfigurationMap

type AlertConfigurationMap map[string]AlertConfigurationInput

func (AlertConfigurationMap) ElementType

func (AlertConfigurationMap) ElementType() reflect.Type

func (AlertConfigurationMap) ToAlertConfigurationMapOutput

func (i AlertConfigurationMap) ToAlertConfigurationMapOutput() AlertConfigurationMapOutput

func (AlertConfigurationMap) ToAlertConfigurationMapOutputWithContext

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

type AlertConfigurationMapInput

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

type AlertConfigurationMapOutput struct{ *pulumi.OutputState }

func (AlertConfigurationMapOutput) ElementType

func (AlertConfigurationMapOutput) MapIndex

func (AlertConfigurationMapOutput) ToAlertConfigurationMapOutput

func (o AlertConfigurationMapOutput) ToAlertConfigurationMapOutput() AlertConfigurationMapOutput

func (AlertConfigurationMapOutput) ToAlertConfigurationMapOutputWithContext

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. **CONDITIONAL** PAGER_DUTY manages the interval value, please do not set it in case of PAGER_DUTY
	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. **CONDITIONAL** PAGER_DUTY manages the interval value, please do not set it in case of PAGER_DUTY
	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. **CONDITIONAL** PAGER_DUTY manages the interval value, please do not set it in case of PAGER_DUTY

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

type AlertConfigurationOutput struct {
	*pulumi.OutputState
}

func (AlertConfigurationOutput) ElementType

func (AlertConfigurationOutput) ElementType() reflect.Type

func (AlertConfigurationOutput) ToAlertConfigurationOutput

func (o AlertConfigurationOutput) ToAlertConfigurationOutput() AlertConfigurationOutput

func (AlertConfigurationOutput) ToAlertConfigurationOutputWithContext

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

func (AlertConfigurationOutput) ToAlertConfigurationPtrOutput

func (o AlertConfigurationOutput) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (AlertConfigurationOutput) ToAlertConfigurationPtrOutputWithContext

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

type AlertConfigurationPtrInput

type AlertConfigurationPtrInput interface {
	pulumi.Input

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

type AlertConfigurationPtrOutput

type AlertConfigurationPtrOutput struct {
	*pulumi.OutputState
}

func (AlertConfigurationPtrOutput) ElementType

func (AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutput

func (o AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutput() AlertConfigurationPtrOutput

func (AlertConfigurationPtrOutput) ToAlertConfigurationPtrOutputWithContext

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

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

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

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutput

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutput() AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdOutputWithContext

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

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutput

func (i AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdArgs) ToAlertConfigurationThresholdPtrOutputWithContext

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

type AlertConfigurationThresholdInput

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

type AlertConfigurationThresholdOutput struct{ *pulumi.OutputState }

func (AlertConfigurationThresholdOutput) ElementType

func (AlertConfigurationThresholdOutput) Operator

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

func (AlertConfigurationThresholdOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutput

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutput() AlertConfigurationThresholdOutput

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdOutputWithContext

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

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutput

func (o AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdOutput) ToAlertConfigurationThresholdPtrOutputWithContext

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

func (AlertConfigurationThresholdOutput) 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 AlertConfigurationThresholdPtrInput

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

type AlertConfigurationThresholdPtrOutput

type AlertConfigurationThresholdPtrOutput struct{ *pulumi.OutputState }

func (AlertConfigurationThresholdPtrOutput) Elem

func (AlertConfigurationThresholdPtrOutput) ElementType

func (AlertConfigurationThresholdPtrOutput) Operator

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

func (AlertConfigurationThresholdPtrOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutput

func (o AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutput() AlertConfigurationThresholdPtrOutput

func (AlertConfigurationThresholdPtrOutput) ToAlertConfigurationThresholdPtrOutputWithContext

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

func (AlertConfigurationThresholdPtrOutput) 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 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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Auditing) ElementType() reflect.Type

func (*Auditing) ToAuditingOutput

func (i *Auditing) ToAuditingOutput() AuditingOutput

func (*Auditing) ToAuditingOutputWithContext

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

func (*Auditing) ToAuditingPtrOutput

func (i *Auditing) ToAuditingPtrOutput() AuditingPtrOutput

func (*Auditing) ToAuditingPtrOutputWithContext

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

type AuditingArray []AuditingInput

func (AuditingArray) ElementType

func (AuditingArray) ElementType() reflect.Type

func (AuditingArray) ToAuditingArrayOutput

func (i AuditingArray) ToAuditingArrayOutput() AuditingArrayOutput

func (AuditingArray) ToAuditingArrayOutputWithContext

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

type AuditingArrayInput

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

type AuditingArrayOutput struct{ *pulumi.OutputState }

func (AuditingArrayOutput) ElementType

func (AuditingArrayOutput) ElementType() reflect.Type

func (AuditingArrayOutput) Index

func (AuditingArrayOutput) ToAuditingArrayOutput

func (o AuditingArrayOutput) ToAuditingArrayOutput() AuditingArrayOutput

func (AuditingArrayOutput) ToAuditingArrayOutputWithContext

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

type AuditingInput

type AuditingInput interface {
	pulumi.Input

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

type AuditingMap

type AuditingMap map[string]AuditingInput

func (AuditingMap) ElementType

func (AuditingMap) ElementType() reflect.Type

func (AuditingMap) ToAuditingMapOutput

func (i AuditingMap) ToAuditingMapOutput() AuditingMapOutput

func (AuditingMap) ToAuditingMapOutputWithContext

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

type AuditingMapInput

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

type AuditingMapOutput struct{ *pulumi.OutputState }

func (AuditingMapOutput) ElementType

func (AuditingMapOutput) ElementType() reflect.Type

func (AuditingMapOutput) MapIndex

func (AuditingMapOutput) ToAuditingMapOutput

func (o AuditingMapOutput) ToAuditingMapOutput() AuditingMapOutput

func (AuditingMapOutput) ToAuditingMapOutputWithContext

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

type AuditingOutput

type AuditingOutput struct {
	*pulumi.OutputState
}

func (AuditingOutput) ElementType

func (AuditingOutput) ElementType() reflect.Type

func (AuditingOutput) ToAuditingOutput

func (o AuditingOutput) ToAuditingOutput() AuditingOutput

func (AuditingOutput) ToAuditingOutputWithContext

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

func (AuditingOutput) ToAuditingPtrOutput

func (o AuditingOutput) ToAuditingPtrOutput() AuditingPtrOutput

func (AuditingOutput) ToAuditingPtrOutputWithContext

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

type AuditingPtrInput

type AuditingPtrInput interface {
	pulumi.Input

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

type AuditingPtrOutput

type AuditingPtrOutput struct {
	*pulumi.OutputState
}

func (AuditingPtrOutput) ElementType

func (AuditingPtrOutput) ElementType() reflect.Type

func (AuditingPtrOutput) ToAuditingPtrOutput

func (o AuditingPtrOutput) ToAuditingPtrOutput() AuditingPtrOutput

func (AuditingPtrOutput) ToAuditingPtrOutputWithContext

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

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
	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 returned by mongodb atlas api
	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

```

func GetCloudProviderAccess

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

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

func (*CloudProviderAccess) ElementType() reflect.Type

func (*CloudProviderAccess) ToCloudProviderAccessOutput

func (i *CloudProviderAccess) ToCloudProviderAccessOutput() CloudProviderAccessOutput

func (*CloudProviderAccess) ToCloudProviderAccessOutputWithContext

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

func (*CloudProviderAccess) ToCloudProviderAccessPtrOutput

func (i *CloudProviderAccess) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (*CloudProviderAccess) ToCloudProviderAccessPtrOutputWithContext

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

type CloudProviderAccessArgs

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
	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

func (CloudProviderAccessArgs) ElementType() reflect.Type

type CloudProviderAccessArray

type CloudProviderAccessArray []CloudProviderAccessInput

func (CloudProviderAccessArray) ElementType

func (CloudProviderAccessArray) ElementType() reflect.Type

func (CloudProviderAccessArray) ToCloudProviderAccessArrayOutput

func (i CloudProviderAccessArray) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput

func (CloudProviderAccessArray) ToCloudProviderAccessArrayOutputWithContext

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

type CloudProviderAccessArrayInput

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

type CloudProviderAccessArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessArrayOutput) ElementType

func (CloudProviderAccessArrayOutput) Index

func (CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutput

func (o CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutput() CloudProviderAccessArrayOutput

func (CloudProviderAccessArrayOutput) ToCloudProviderAccessArrayOutputWithContext

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

type CloudProviderAccessAuthorization added in v2.1.0

type CloudProviderAccessAuthorization struct {
	pulumi.CustomResourceState

	AuthorizedDate pulumi.StringOutput                                     `pulumi:"authorizedDate"`
	Aws            CloudProviderAccessAuthorizationAwsPtrOutput            `pulumi:"aws"`
	FeatureUsages  CloudProviderAccessAuthorizationFeatureUsageArrayOutput `pulumi:"featureUsages"`
	ProjectId      pulumi.StringOutput                                     `pulumi:"projectId"`
	RoleId         pulumi.StringOutput                                     `pulumi:"roleId"`
}

func GetCloudProviderAccessAuthorization added in v2.1.0

func GetCloudProviderAccessAuthorization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderAccessAuthorizationState, opts ...pulumi.ResourceOption) (*CloudProviderAccessAuthorization, error)

GetCloudProviderAccessAuthorization gets an existing CloudProviderAccessAuthorization 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 NewCloudProviderAccessAuthorization added in v2.1.0

func NewCloudProviderAccessAuthorization(ctx *pulumi.Context,
	name string, args *CloudProviderAccessAuthorizationArgs, opts ...pulumi.ResourceOption) (*CloudProviderAccessAuthorization, error)

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

func (*CloudProviderAccessAuthorization) ElementType added in v2.1.0

func (*CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationOutput added in v2.1.0

func (i *CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationOutput() CloudProviderAccessAuthorizationOutput

func (*CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationOutputWithContext added in v2.1.0

func (i *CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationOutput

func (*CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationPtrOutput added in v2.1.0

func (i *CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationPtrOutput() CloudProviderAccessAuthorizationPtrOutput

func (*CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationPtrOutputWithContext added in v2.1.0

func (i *CloudProviderAccessAuthorization) ToCloudProviderAccessAuthorizationPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationPtrOutput

type CloudProviderAccessAuthorizationArgs added in v2.1.0

type CloudProviderAccessAuthorizationArgs struct {
	Aws       CloudProviderAccessAuthorizationAwsPtrInput
	ProjectId pulumi.StringInput
	RoleId    pulumi.StringInput
}

The set of arguments for constructing a CloudProviderAccessAuthorization resource.

func (CloudProviderAccessAuthorizationArgs) ElementType added in v2.1.0

type CloudProviderAccessAuthorizationArray added in v2.1.0

type CloudProviderAccessAuthorizationArray []CloudProviderAccessAuthorizationInput

func (CloudProviderAccessAuthorizationArray) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationArray) ToCloudProviderAccessAuthorizationArrayOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationArray) ToCloudProviderAccessAuthorizationArrayOutput() CloudProviderAccessAuthorizationArrayOutput

func (CloudProviderAccessAuthorizationArray) ToCloudProviderAccessAuthorizationArrayOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationArray) ToCloudProviderAccessAuthorizationArrayOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationArrayOutput

type CloudProviderAccessAuthorizationArrayInput added in v2.1.0

type CloudProviderAccessAuthorizationArrayInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationArrayOutput() CloudProviderAccessAuthorizationArrayOutput
	ToCloudProviderAccessAuthorizationArrayOutputWithContext(context.Context) CloudProviderAccessAuthorizationArrayOutput
}

CloudProviderAccessAuthorizationArrayInput is an input type that accepts CloudProviderAccessAuthorizationArray and CloudProviderAccessAuthorizationArrayOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationArrayInput` via:

CloudProviderAccessAuthorizationArray{ CloudProviderAccessAuthorizationArgs{...} }

type CloudProviderAccessAuthorizationArrayOutput added in v2.1.0

type CloudProviderAccessAuthorizationArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationArrayOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationArrayOutput) Index added in v2.1.0

func (CloudProviderAccessAuthorizationArrayOutput) ToCloudProviderAccessAuthorizationArrayOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationArrayOutput) ToCloudProviderAccessAuthorizationArrayOutput() CloudProviderAccessAuthorizationArrayOutput

func (CloudProviderAccessAuthorizationArrayOutput) ToCloudProviderAccessAuthorizationArrayOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationArrayOutput) ToCloudProviderAccessAuthorizationArrayOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationArrayOutput

type CloudProviderAccessAuthorizationAws added in v2.1.0

type CloudProviderAccessAuthorizationAws struct {
	IamAssumedRoleArn string `pulumi:"iamAssumedRoleArn"`
}

type CloudProviderAccessAuthorizationAwsArgs added in v2.1.0

type CloudProviderAccessAuthorizationAwsArgs struct {
	IamAssumedRoleArn pulumi.StringInput `pulumi:"iamAssumedRoleArn"`
}

func (CloudProviderAccessAuthorizationAwsArgs) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsOutput() CloudProviderAccessAuthorizationAwsOutput

func (CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationAwsOutput

func (CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsPtrOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsPtrOutput() CloudProviderAccessAuthorizationAwsPtrOutput

func (CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationAwsArgs) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationAwsPtrOutput

type CloudProviderAccessAuthorizationAwsInput added in v2.1.0

type CloudProviderAccessAuthorizationAwsInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationAwsOutput() CloudProviderAccessAuthorizationAwsOutput
	ToCloudProviderAccessAuthorizationAwsOutputWithContext(context.Context) CloudProviderAccessAuthorizationAwsOutput
}

CloudProviderAccessAuthorizationAwsInput is an input type that accepts CloudProviderAccessAuthorizationAwsArgs and CloudProviderAccessAuthorizationAwsOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationAwsInput` via:

CloudProviderAccessAuthorizationAwsArgs{...}

type CloudProviderAccessAuthorizationAwsOutput added in v2.1.0

type CloudProviderAccessAuthorizationAwsOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationAwsOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationAwsOutput) IamAssumedRoleArn added in v2.1.0

func (CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsOutput() CloudProviderAccessAuthorizationAwsOutput

func (CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationAwsOutput

func (CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsPtrOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsPtrOutput() CloudProviderAccessAuthorizationAwsPtrOutput

func (CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsOutput) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationAwsPtrOutput

type CloudProviderAccessAuthorizationAwsPtrInput added in v2.1.0

type CloudProviderAccessAuthorizationAwsPtrInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationAwsPtrOutput() CloudProviderAccessAuthorizationAwsPtrOutput
	ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext(context.Context) CloudProviderAccessAuthorizationAwsPtrOutput
}

CloudProviderAccessAuthorizationAwsPtrInput is an input type that accepts CloudProviderAccessAuthorizationAwsArgs, CloudProviderAccessAuthorizationAwsPtr and CloudProviderAccessAuthorizationAwsPtrOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationAwsPtrInput` via:

        CloudProviderAccessAuthorizationAwsArgs{...}

or:

        nil

type CloudProviderAccessAuthorizationAwsPtrOutput added in v2.1.0

type CloudProviderAccessAuthorizationAwsPtrOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationAwsPtrOutput) Elem added in v2.1.0

func (CloudProviderAccessAuthorizationAwsPtrOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationAwsPtrOutput) IamAssumedRoleArn added in v2.1.0

func (CloudProviderAccessAuthorizationAwsPtrOutput) ToCloudProviderAccessAuthorizationAwsPtrOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsPtrOutput) ToCloudProviderAccessAuthorizationAwsPtrOutput() CloudProviderAccessAuthorizationAwsPtrOutput

func (CloudProviderAccessAuthorizationAwsPtrOutput) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationAwsPtrOutput) ToCloudProviderAccessAuthorizationAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationAwsPtrOutput

type CloudProviderAccessAuthorizationFeatureUsage added in v2.1.0

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

type CloudProviderAccessAuthorizationFeatureUsageArgs added in v2.1.0

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

func (CloudProviderAccessAuthorizationFeatureUsageArgs) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageArgs) ToCloudProviderAccessAuthorizationFeatureUsageOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationFeatureUsageArgs) ToCloudProviderAccessAuthorizationFeatureUsageOutput() CloudProviderAccessAuthorizationFeatureUsageOutput

func (CloudProviderAccessAuthorizationFeatureUsageArgs) ToCloudProviderAccessAuthorizationFeatureUsageOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationFeatureUsageArgs) ToCloudProviderAccessAuthorizationFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationFeatureUsageOutput

type CloudProviderAccessAuthorizationFeatureUsageArray added in v2.1.0

type CloudProviderAccessAuthorizationFeatureUsageArray []CloudProviderAccessAuthorizationFeatureUsageInput

func (CloudProviderAccessAuthorizationFeatureUsageArray) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageArray) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationFeatureUsageArray) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutput() CloudProviderAccessAuthorizationFeatureUsageArrayOutput

func (CloudProviderAccessAuthorizationFeatureUsageArray) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationFeatureUsageArray) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationFeatureUsageArrayOutput

type CloudProviderAccessAuthorizationFeatureUsageArrayInput added in v2.1.0

type CloudProviderAccessAuthorizationFeatureUsageArrayInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationFeatureUsageArrayOutput() CloudProviderAccessAuthorizationFeatureUsageArrayOutput
	ToCloudProviderAccessAuthorizationFeatureUsageArrayOutputWithContext(context.Context) CloudProviderAccessAuthorizationFeatureUsageArrayOutput
}

CloudProviderAccessAuthorizationFeatureUsageArrayInput is an input type that accepts CloudProviderAccessAuthorizationFeatureUsageArray and CloudProviderAccessAuthorizationFeatureUsageArrayOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationFeatureUsageArrayInput` via:

CloudProviderAccessAuthorizationFeatureUsageArray{ CloudProviderAccessAuthorizationFeatureUsageArgs{...} }

type CloudProviderAccessAuthorizationFeatureUsageArrayOutput added in v2.1.0

type CloudProviderAccessAuthorizationFeatureUsageArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationFeatureUsageArrayOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageArrayOutput) Index added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageArrayOutput) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutput added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageArrayOutput) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationFeatureUsageArrayOutput) ToCloudProviderAccessAuthorizationFeatureUsageArrayOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationFeatureUsageArrayOutput

type CloudProviderAccessAuthorizationFeatureUsageInput added in v2.1.0

type CloudProviderAccessAuthorizationFeatureUsageInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationFeatureUsageOutput() CloudProviderAccessAuthorizationFeatureUsageOutput
	ToCloudProviderAccessAuthorizationFeatureUsageOutputWithContext(context.Context) CloudProviderAccessAuthorizationFeatureUsageOutput
}

CloudProviderAccessAuthorizationFeatureUsageInput is an input type that accepts CloudProviderAccessAuthorizationFeatureUsageArgs and CloudProviderAccessAuthorizationFeatureUsageOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationFeatureUsageInput` via:

CloudProviderAccessAuthorizationFeatureUsageArgs{...}

type CloudProviderAccessAuthorizationFeatureUsageOutput added in v2.1.0

type CloudProviderAccessAuthorizationFeatureUsageOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationFeatureUsageOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageOutput) FeatureId added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageOutput) FeatureType added in v2.1.0

func (CloudProviderAccessAuthorizationFeatureUsageOutput) ToCloudProviderAccessAuthorizationFeatureUsageOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationFeatureUsageOutput) ToCloudProviderAccessAuthorizationFeatureUsageOutput() CloudProviderAccessAuthorizationFeatureUsageOutput

func (CloudProviderAccessAuthorizationFeatureUsageOutput) ToCloudProviderAccessAuthorizationFeatureUsageOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationFeatureUsageOutput) ToCloudProviderAccessAuthorizationFeatureUsageOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationFeatureUsageOutput

type CloudProviderAccessAuthorizationInput added in v2.1.0

type CloudProviderAccessAuthorizationInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationOutput() CloudProviderAccessAuthorizationOutput
	ToCloudProviderAccessAuthorizationOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationOutput
}

type CloudProviderAccessAuthorizationMap added in v2.1.0

type CloudProviderAccessAuthorizationMap map[string]CloudProviderAccessAuthorizationInput

func (CloudProviderAccessAuthorizationMap) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationMap) ToCloudProviderAccessAuthorizationMapOutput added in v2.1.0

func (i CloudProviderAccessAuthorizationMap) ToCloudProviderAccessAuthorizationMapOutput() CloudProviderAccessAuthorizationMapOutput

func (CloudProviderAccessAuthorizationMap) ToCloudProviderAccessAuthorizationMapOutputWithContext added in v2.1.0

func (i CloudProviderAccessAuthorizationMap) ToCloudProviderAccessAuthorizationMapOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationMapOutput

type CloudProviderAccessAuthorizationMapInput added in v2.1.0

type CloudProviderAccessAuthorizationMapInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationMapOutput() CloudProviderAccessAuthorizationMapOutput
	ToCloudProviderAccessAuthorizationMapOutputWithContext(context.Context) CloudProviderAccessAuthorizationMapOutput
}

CloudProviderAccessAuthorizationMapInput is an input type that accepts CloudProviderAccessAuthorizationMap and CloudProviderAccessAuthorizationMapOutput values. You can construct a concrete instance of `CloudProviderAccessAuthorizationMapInput` via:

CloudProviderAccessAuthorizationMap{ "key": CloudProviderAccessAuthorizationArgs{...} }

type CloudProviderAccessAuthorizationMapOutput added in v2.1.0

type CloudProviderAccessAuthorizationMapOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessAuthorizationMapOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationMapOutput) MapIndex added in v2.1.0

func (CloudProviderAccessAuthorizationMapOutput) ToCloudProviderAccessAuthorizationMapOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationMapOutput) ToCloudProviderAccessAuthorizationMapOutput() CloudProviderAccessAuthorizationMapOutput

func (CloudProviderAccessAuthorizationMapOutput) ToCloudProviderAccessAuthorizationMapOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationMapOutput) ToCloudProviderAccessAuthorizationMapOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationMapOutput

type CloudProviderAccessAuthorizationOutput added in v2.1.0

type CloudProviderAccessAuthorizationOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessAuthorizationOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationOutput() CloudProviderAccessAuthorizationOutput

func (CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationOutput

func (CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationPtrOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationPtrOutput() CloudProviderAccessAuthorizationPtrOutput

func (CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationOutput) ToCloudProviderAccessAuthorizationPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationPtrOutput

type CloudProviderAccessAuthorizationPtrInput added in v2.1.0

type CloudProviderAccessAuthorizationPtrInput interface {
	pulumi.Input

	ToCloudProviderAccessAuthorizationPtrOutput() CloudProviderAccessAuthorizationPtrOutput
	ToCloudProviderAccessAuthorizationPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationPtrOutput
}

type CloudProviderAccessAuthorizationPtrOutput added in v2.1.0

type CloudProviderAccessAuthorizationPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessAuthorizationPtrOutput) ElementType added in v2.1.0

func (CloudProviderAccessAuthorizationPtrOutput) ToCloudProviderAccessAuthorizationPtrOutput added in v2.1.0

func (o CloudProviderAccessAuthorizationPtrOutput) ToCloudProviderAccessAuthorizationPtrOutput() CloudProviderAccessAuthorizationPtrOutput

func (CloudProviderAccessAuthorizationPtrOutput) ToCloudProviderAccessAuthorizationPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessAuthorizationPtrOutput) ToCloudProviderAccessAuthorizationPtrOutputWithContext(ctx context.Context) CloudProviderAccessAuthorizationPtrOutput

type CloudProviderAccessAuthorizationState added in v2.1.0

type CloudProviderAccessAuthorizationState struct {
	AuthorizedDate pulumi.StringPtrInput
	Aws            CloudProviderAccessAuthorizationAwsPtrInput
	FeatureUsages  CloudProviderAccessAuthorizationFeatureUsageArrayInput
	ProjectId      pulumi.StringPtrInput
	RoleId         pulumi.StringPtrInput
}

func (CloudProviderAccessAuthorizationState) ElementType added in v2.1.0

type CloudProviderAccessFeatureUsage

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

type CloudProviderAccessFeatureUsageArgs

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

func (CloudProviderAccessFeatureUsageArgs) ElementType

func (CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutput

func (i CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput

func (CloudProviderAccessFeatureUsageArgs) ToCloudProviderAccessFeatureUsageOutputWithContext

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

type CloudProviderAccessFeatureUsageArray

type CloudProviderAccessFeatureUsageArray []CloudProviderAccessFeatureUsageInput

func (CloudProviderAccessFeatureUsageArray) ElementType

func (CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutput

func (i CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput

func (CloudProviderAccessFeatureUsageArray) ToCloudProviderAccessFeatureUsageArrayOutputWithContext

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

type CloudProviderAccessFeatureUsageArrayInput

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

type CloudProviderAccessFeatureUsageArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessFeatureUsageArrayOutput) ElementType

func (CloudProviderAccessFeatureUsageArrayOutput) Index

func (CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutput

func (o CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutput() CloudProviderAccessFeatureUsageArrayOutput

func (CloudProviderAccessFeatureUsageArrayOutput) ToCloudProviderAccessFeatureUsageArrayOutputWithContext

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

type CloudProviderAccessFeatureUsageInput

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

type CloudProviderAccessFeatureUsageOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessFeatureUsageOutput) ElementType

func (CloudProviderAccessFeatureUsageOutput) FeatureId

func (CloudProviderAccessFeatureUsageOutput) FeatureType

func (CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutput

func (o CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutput() CloudProviderAccessFeatureUsageOutput

func (CloudProviderAccessFeatureUsageOutput) ToCloudProviderAccessFeatureUsageOutputWithContext

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

type CloudProviderAccessInput

type CloudProviderAccessInput interface {
	pulumi.Input

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

type CloudProviderAccessMap

type CloudProviderAccessMap map[string]CloudProviderAccessInput

func (CloudProviderAccessMap) ElementType

func (CloudProviderAccessMap) ElementType() reflect.Type

func (CloudProviderAccessMap) ToCloudProviderAccessMapOutput

func (i CloudProviderAccessMap) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput

func (CloudProviderAccessMap) ToCloudProviderAccessMapOutputWithContext

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

type CloudProviderAccessMapInput

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

type CloudProviderAccessMapOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessMapOutput) ElementType

func (CloudProviderAccessMapOutput) MapIndex

func (CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutput

func (o CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutput() CloudProviderAccessMapOutput

func (CloudProviderAccessMapOutput) ToCloudProviderAccessMapOutputWithContext

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

type CloudProviderAccessOutput

type CloudProviderAccessOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessOutput) ElementType

func (CloudProviderAccessOutput) ElementType() reflect.Type

func (CloudProviderAccessOutput) ToCloudProviderAccessOutput

func (o CloudProviderAccessOutput) ToCloudProviderAccessOutput() CloudProviderAccessOutput

func (CloudProviderAccessOutput) ToCloudProviderAccessOutputWithContext

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

func (CloudProviderAccessOutput) ToCloudProviderAccessPtrOutput

func (o CloudProviderAccessOutput) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (CloudProviderAccessOutput) ToCloudProviderAccessPtrOutputWithContext

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

type CloudProviderAccessPtrInput

type CloudProviderAccessPtrInput interface {
	pulumi.Input

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

type CloudProviderAccessPtrOutput

type CloudProviderAccessPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessPtrOutput) ElementType

func (CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutput

func (o CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutput() CloudProviderAccessPtrOutput

func (CloudProviderAccessPtrOutput) ToCloudProviderAccessPtrOutputWithContext

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

type CloudProviderAccessSetup added in v2.1.0

type CloudProviderAccessSetup struct {
	pulumi.CustomResourceState

	Aws          CloudProviderAccessSetupAwsOutput `pulumi:"aws"`
	CreatedDate  pulumi.StringOutput               `pulumi:"createdDate"`
	ProjectId    pulumi.StringOutput               `pulumi:"projectId"`
	ProviderName pulumi.StringOutput               `pulumi:"providerName"`
	RoleId       pulumi.StringOutput               `pulumi:"roleId"`
}

func GetCloudProviderAccessSetup added in v2.1.0

func GetCloudProviderAccessSetup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CloudProviderAccessSetupState, opts ...pulumi.ResourceOption) (*CloudProviderAccessSetup, error)

GetCloudProviderAccessSetup gets an existing CloudProviderAccessSetup 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 NewCloudProviderAccessSetup added in v2.1.0

func NewCloudProviderAccessSetup(ctx *pulumi.Context,
	name string, args *CloudProviderAccessSetupArgs, opts ...pulumi.ResourceOption) (*CloudProviderAccessSetup, error)

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

func (*CloudProviderAccessSetup) ElementType added in v2.1.0

func (*CloudProviderAccessSetup) ElementType() reflect.Type

func (*CloudProviderAccessSetup) ToCloudProviderAccessSetupOutput added in v2.1.0

func (i *CloudProviderAccessSetup) ToCloudProviderAccessSetupOutput() CloudProviderAccessSetupOutput

func (*CloudProviderAccessSetup) ToCloudProviderAccessSetupOutputWithContext added in v2.1.0

func (i *CloudProviderAccessSetup) ToCloudProviderAccessSetupOutputWithContext(ctx context.Context) CloudProviderAccessSetupOutput

func (*CloudProviderAccessSetup) ToCloudProviderAccessSetupPtrOutput added in v2.1.0

func (i *CloudProviderAccessSetup) ToCloudProviderAccessSetupPtrOutput() CloudProviderAccessSetupPtrOutput

func (*CloudProviderAccessSetup) ToCloudProviderAccessSetupPtrOutputWithContext added in v2.1.0

func (i *CloudProviderAccessSetup) ToCloudProviderAccessSetupPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupPtrOutput

type CloudProviderAccessSetupArgs added in v2.1.0

type CloudProviderAccessSetupArgs struct {
	ProjectId    pulumi.StringInput
	ProviderName pulumi.StringInput
}

The set of arguments for constructing a CloudProviderAccessSetup resource.

func (CloudProviderAccessSetupArgs) ElementType added in v2.1.0

type CloudProviderAccessSetupArray added in v2.1.0

type CloudProviderAccessSetupArray []CloudProviderAccessSetupInput

func (CloudProviderAccessSetupArray) ElementType added in v2.1.0

func (CloudProviderAccessSetupArray) ToCloudProviderAccessSetupArrayOutput added in v2.1.0

func (i CloudProviderAccessSetupArray) ToCloudProviderAccessSetupArrayOutput() CloudProviderAccessSetupArrayOutput

func (CloudProviderAccessSetupArray) ToCloudProviderAccessSetupArrayOutputWithContext added in v2.1.0

func (i CloudProviderAccessSetupArray) ToCloudProviderAccessSetupArrayOutputWithContext(ctx context.Context) CloudProviderAccessSetupArrayOutput

type CloudProviderAccessSetupArrayInput added in v2.1.0

type CloudProviderAccessSetupArrayInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupArrayOutput() CloudProviderAccessSetupArrayOutput
	ToCloudProviderAccessSetupArrayOutputWithContext(context.Context) CloudProviderAccessSetupArrayOutput
}

CloudProviderAccessSetupArrayInput is an input type that accepts CloudProviderAccessSetupArray and CloudProviderAccessSetupArrayOutput values. You can construct a concrete instance of `CloudProviderAccessSetupArrayInput` via:

CloudProviderAccessSetupArray{ CloudProviderAccessSetupArgs{...} }

type CloudProviderAccessSetupArrayOutput added in v2.1.0

type CloudProviderAccessSetupArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessSetupArrayOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupArrayOutput) Index added in v2.1.0

func (CloudProviderAccessSetupArrayOutput) ToCloudProviderAccessSetupArrayOutput added in v2.1.0

func (o CloudProviderAccessSetupArrayOutput) ToCloudProviderAccessSetupArrayOutput() CloudProviderAccessSetupArrayOutput

func (CloudProviderAccessSetupArrayOutput) ToCloudProviderAccessSetupArrayOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupArrayOutput) ToCloudProviderAccessSetupArrayOutputWithContext(ctx context.Context) CloudProviderAccessSetupArrayOutput

type CloudProviderAccessSetupAws added in v2.1.0

type CloudProviderAccessSetupAws struct {
	AtlasAssumedRoleExternalId *string `pulumi:"atlasAssumedRoleExternalId"`
	AtlasAwsAccountArn         *string `pulumi:"atlasAwsAccountArn"`
}

type CloudProviderAccessSetupAwsArgs added in v2.1.0

type CloudProviderAccessSetupAwsArgs struct {
	AtlasAssumedRoleExternalId pulumi.StringPtrInput `pulumi:"atlasAssumedRoleExternalId"`
	AtlasAwsAccountArn         pulumi.StringPtrInput `pulumi:"atlasAwsAccountArn"`
}

func (CloudProviderAccessSetupAwsArgs) ElementType added in v2.1.0

func (CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsOutput added in v2.1.0

func (i CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsOutput() CloudProviderAccessSetupAwsOutput

func (CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsOutputWithContext added in v2.1.0

func (i CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsOutputWithContext(ctx context.Context) CloudProviderAccessSetupAwsOutput

func (CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsPtrOutput added in v2.1.0

func (i CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsPtrOutput() CloudProviderAccessSetupAwsPtrOutput

func (CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsPtrOutputWithContext added in v2.1.0

func (i CloudProviderAccessSetupAwsArgs) ToCloudProviderAccessSetupAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupAwsPtrOutput

type CloudProviderAccessSetupAwsInput added in v2.1.0

type CloudProviderAccessSetupAwsInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupAwsOutput() CloudProviderAccessSetupAwsOutput
	ToCloudProviderAccessSetupAwsOutputWithContext(context.Context) CloudProviderAccessSetupAwsOutput
}

CloudProviderAccessSetupAwsInput is an input type that accepts CloudProviderAccessSetupAwsArgs and CloudProviderAccessSetupAwsOutput values. You can construct a concrete instance of `CloudProviderAccessSetupAwsInput` via:

CloudProviderAccessSetupAwsArgs{...}

type CloudProviderAccessSetupAwsOutput added in v2.1.0

type CloudProviderAccessSetupAwsOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessSetupAwsOutput) AtlasAssumedRoleExternalId added in v2.1.0

func (o CloudProviderAccessSetupAwsOutput) AtlasAssumedRoleExternalId() pulumi.StringPtrOutput

func (CloudProviderAccessSetupAwsOutput) AtlasAwsAccountArn added in v2.1.0

func (CloudProviderAccessSetupAwsOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsOutput added in v2.1.0

func (o CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsOutput() CloudProviderAccessSetupAwsOutput

func (CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsOutputWithContext(ctx context.Context) CloudProviderAccessSetupAwsOutput

func (CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsPtrOutput added in v2.1.0

func (o CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsPtrOutput() CloudProviderAccessSetupAwsPtrOutput

func (CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupAwsOutput) ToCloudProviderAccessSetupAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupAwsPtrOutput

type CloudProviderAccessSetupAwsPtrInput added in v2.1.0

type CloudProviderAccessSetupAwsPtrInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupAwsPtrOutput() CloudProviderAccessSetupAwsPtrOutput
	ToCloudProviderAccessSetupAwsPtrOutputWithContext(context.Context) CloudProviderAccessSetupAwsPtrOutput
}

CloudProviderAccessSetupAwsPtrInput is an input type that accepts CloudProviderAccessSetupAwsArgs, CloudProviderAccessSetupAwsPtr and CloudProviderAccessSetupAwsPtrOutput values. You can construct a concrete instance of `CloudProviderAccessSetupAwsPtrInput` via:

        CloudProviderAccessSetupAwsArgs{...}

or:

        nil

func CloudProviderAccessSetupAwsPtr added in v2.1.0

type CloudProviderAccessSetupAwsPtrOutput added in v2.1.0

type CloudProviderAccessSetupAwsPtrOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessSetupAwsPtrOutput) AtlasAssumedRoleExternalId added in v2.1.0

func (o CloudProviderAccessSetupAwsPtrOutput) AtlasAssumedRoleExternalId() pulumi.StringPtrOutput

func (CloudProviderAccessSetupAwsPtrOutput) AtlasAwsAccountArn added in v2.1.0

func (CloudProviderAccessSetupAwsPtrOutput) Elem added in v2.1.0

func (CloudProviderAccessSetupAwsPtrOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupAwsPtrOutput) ToCloudProviderAccessSetupAwsPtrOutput added in v2.1.0

func (o CloudProviderAccessSetupAwsPtrOutput) ToCloudProviderAccessSetupAwsPtrOutput() CloudProviderAccessSetupAwsPtrOutput

func (CloudProviderAccessSetupAwsPtrOutput) ToCloudProviderAccessSetupAwsPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupAwsPtrOutput) ToCloudProviderAccessSetupAwsPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupAwsPtrOutput

type CloudProviderAccessSetupInput added in v2.1.0

type CloudProviderAccessSetupInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupOutput() CloudProviderAccessSetupOutput
	ToCloudProviderAccessSetupOutputWithContext(ctx context.Context) CloudProviderAccessSetupOutput
}

type CloudProviderAccessSetupMap added in v2.1.0

type CloudProviderAccessSetupMap map[string]CloudProviderAccessSetupInput

func (CloudProviderAccessSetupMap) ElementType added in v2.1.0

func (CloudProviderAccessSetupMap) ToCloudProviderAccessSetupMapOutput added in v2.1.0

func (i CloudProviderAccessSetupMap) ToCloudProviderAccessSetupMapOutput() CloudProviderAccessSetupMapOutput

func (CloudProviderAccessSetupMap) ToCloudProviderAccessSetupMapOutputWithContext added in v2.1.0

func (i CloudProviderAccessSetupMap) ToCloudProviderAccessSetupMapOutputWithContext(ctx context.Context) CloudProviderAccessSetupMapOutput

type CloudProviderAccessSetupMapInput added in v2.1.0

type CloudProviderAccessSetupMapInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupMapOutput() CloudProviderAccessSetupMapOutput
	ToCloudProviderAccessSetupMapOutputWithContext(context.Context) CloudProviderAccessSetupMapOutput
}

CloudProviderAccessSetupMapInput is an input type that accepts CloudProviderAccessSetupMap and CloudProviderAccessSetupMapOutput values. You can construct a concrete instance of `CloudProviderAccessSetupMapInput` via:

CloudProviderAccessSetupMap{ "key": CloudProviderAccessSetupArgs{...} }

type CloudProviderAccessSetupMapOutput added in v2.1.0

type CloudProviderAccessSetupMapOutput struct{ *pulumi.OutputState }

func (CloudProviderAccessSetupMapOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupMapOutput) MapIndex added in v2.1.0

func (CloudProviderAccessSetupMapOutput) ToCloudProviderAccessSetupMapOutput added in v2.1.0

func (o CloudProviderAccessSetupMapOutput) ToCloudProviderAccessSetupMapOutput() CloudProviderAccessSetupMapOutput

func (CloudProviderAccessSetupMapOutput) ToCloudProviderAccessSetupMapOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupMapOutput) ToCloudProviderAccessSetupMapOutputWithContext(ctx context.Context) CloudProviderAccessSetupMapOutput

type CloudProviderAccessSetupOutput added in v2.1.0

type CloudProviderAccessSetupOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessSetupOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupOutput added in v2.1.0

func (o CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupOutput() CloudProviderAccessSetupOutput

func (CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupOutputWithContext(ctx context.Context) CloudProviderAccessSetupOutput

func (CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupPtrOutput added in v2.1.0

func (o CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupPtrOutput() CloudProviderAccessSetupPtrOutput

func (CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupOutput) ToCloudProviderAccessSetupPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupPtrOutput

type CloudProviderAccessSetupPtrInput added in v2.1.0

type CloudProviderAccessSetupPtrInput interface {
	pulumi.Input

	ToCloudProviderAccessSetupPtrOutput() CloudProviderAccessSetupPtrOutput
	ToCloudProviderAccessSetupPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupPtrOutput
}

type CloudProviderAccessSetupPtrOutput added in v2.1.0

type CloudProviderAccessSetupPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderAccessSetupPtrOutput) ElementType added in v2.1.0

func (CloudProviderAccessSetupPtrOutput) ToCloudProviderAccessSetupPtrOutput added in v2.1.0

func (o CloudProviderAccessSetupPtrOutput) ToCloudProviderAccessSetupPtrOutput() CloudProviderAccessSetupPtrOutput

func (CloudProviderAccessSetupPtrOutput) ToCloudProviderAccessSetupPtrOutputWithContext added in v2.1.0

func (o CloudProviderAccessSetupPtrOutput) ToCloudProviderAccessSetupPtrOutputWithContext(ctx context.Context) CloudProviderAccessSetupPtrOutput

type CloudProviderAccessSetupState added in v2.1.0

type CloudProviderAccessSetupState struct {
	Aws          CloudProviderAccessSetupAwsPtrInput
	CreatedDate  pulumi.StringPtrInput
	ProjectId    pulumi.StringPtrInput
	ProviderName pulumi.StringPtrInput
	RoleId       pulumi.StringPtrInput
}

func (CloudProviderAccessSetupState) ElementType added in v2.1.0

type CloudProviderAccessState

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
	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 returned by mongodb atlas api
	RoleId pulumi.StringPtrInput
}

func (CloudProviderAccessState) ElementType

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
		})
		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

func (*CloudProviderSnapshot) ElementType() reflect.Type

func (*CloudProviderSnapshot) ToCloudProviderSnapshotOutput

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotOutput() CloudProviderSnapshotOutput

func (*CloudProviderSnapshot) ToCloudProviderSnapshotOutputWithContext

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

func (*CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutput

func (i *CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (*CloudProviderSnapshot) ToCloudProviderSnapshotPtrOutputWithContext

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

type CloudProviderSnapshotArray []CloudProviderSnapshotInput

func (CloudProviderSnapshotArray) ElementType

func (CloudProviderSnapshotArray) ElementType() reflect.Type

func (CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutput

func (i CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutput() CloudProviderSnapshotArrayOutput

func (CloudProviderSnapshotArray) ToCloudProviderSnapshotArrayOutputWithContext

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

type CloudProviderSnapshotArrayInput

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

type CloudProviderSnapshotArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotArrayOutput) ElementType

func (CloudProviderSnapshotArrayOutput) Index

func (CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutput

func (o CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutput() CloudProviderSnapshotArrayOutput

func (CloudProviderSnapshotArrayOutput) ToCloudProviderSnapshotArrayOutputWithContext

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

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutput

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutput() CloudProviderSnapshotBackupPolicyOutput

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyOutputWithContext

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

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutput

func (i *CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (*CloudProviderSnapshotBackupPolicy) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext

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

type CloudProviderSnapshotBackupPolicyArray []CloudProviderSnapshotBackupPolicyInput

func (CloudProviderSnapshotBackupPolicyArray) ElementType

func (CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutput

func (i CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutput() CloudProviderSnapshotBackupPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyArray) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext

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

type CloudProviderSnapshotBackupPolicyArrayInput

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

type CloudProviderSnapshotBackupPolicyArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyArrayOutput) ElementType

func (CloudProviderSnapshotBackupPolicyArrayOutput) Index

func (CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutput

func (o CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutput() CloudProviderSnapshotBackupPolicyArrayOutput

func (CloudProviderSnapshotBackupPolicyArrayOutput) ToCloudProviderSnapshotBackupPolicyArrayOutputWithContext

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

type CloudProviderSnapshotBackupPolicyInput

type CloudProviderSnapshotBackupPolicyInput interface {
	pulumi.Input

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

type CloudProviderSnapshotBackupPolicyMap

type CloudProviderSnapshotBackupPolicyMap map[string]CloudProviderSnapshotBackupPolicyInput

func (CloudProviderSnapshotBackupPolicyMap) ElementType

func (CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutput

func (i CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutput() CloudProviderSnapshotBackupPolicyMapOutput

func (CloudProviderSnapshotBackupPolicyMap) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext

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

type CloudProviderSnapshotBackupPolicyMapInput

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

type CloudProviderSnapshotBackupPolicyMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotBackupPolicyMapOutput) ElementType

func (CloudProviderSnapshotBackupPolicyMapOutput) MapIndex

func (CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutput

func (o CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutput() CloudProviderSnapshotBackupPolicyMapOutput

func (CloudProviderSnapshotBackupPolicyMapOutput) ToCloudProviderSnapshotBackupPolicyMapOutputWithContext

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

type CloudProviderSnapshotBackupPolicyOutput

type CloudProviderSnapshotBackupPolicyOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotBackupPolicyOutput) ElementType

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutput

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutput() CloudProviderSnapshotBackupPolicyOutput

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyOutputWithContext

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

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput

func (o CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (CloudProviderSnapshotBackupPolicyOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext

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

type CloudProviderSnapshotBackupPolicyPtrInput interface {
	pulumi.Input

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

type CloudProviderSnapshotBackupPolicyPtrOutput

type CloudProviderSnapshotBackupPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotBackupPolicyPtrOutput) ElementType

func (CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput

func (o CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutput() CloudProviderSnapshotBackupPolicyPtrOutput

func (CloudProviderSnapshotBackupPolicyPtrOutput) ToCloudProviderSnapshotBackupPolicyPtrOutputWithContext

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

type CloudProviderSnapshotInput interface {
	pulumi.Input

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

type CloudProviderSnapshotMap

type CloudProviderSnapshotMap map[string]CloudProviderSnapshotInput

func (CloudProviderSnapshotMap) ElementType

func (CloudProviderSnapshotMap) ElementType() reflect.Type

func (CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutput

func (i CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutput() CloudProviderSnapshotMapOutput

func (CloudProviderSnapshotMap) ToCloudProviderSnapshotMapOutputWithContext

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

type CloudProviderSnapshotMapInput

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

type CloudProviderSnapshotMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotMapOutput) ElementType

func (CloudProviderSnapshotMapOutput) MapIndex

func (CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutput

func (o CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutput() CloudProviderSnapshotMapOutput

func (CloudProviderSnapshotMapOutput) ToCloudProviderSnapshotMapOutputWithContext

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

type CloudProviderSnapshotOutput

type CloudProviderSnapshotOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotOutput) ElementType

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutput

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutput() CloudProviderSnapshotOutput

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotOutputWithContext

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

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutput

func (o CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (CloudProviderSnapshotOutput) ToCloudProviderSnapshotPtrOutputWithContext

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

type CloudProviderSnapshotPtrInput

type CloudProviderSnapshotPtrInput interface {
	pulumi.Input

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

type CloudProviderSnapshotPtrOutput

type CloudProviderSnapshotPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotPtrOutput) ElementType

func (CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutput

func (o CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutput() CloudProviderSnapshotPtrOutput

func (CloudProviderSnapshotPtrOutput) ToCloudProviderSnapshotPtrOutputWithContext

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
		})
		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{
			testCloudProviderSnapshot,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example download delivery type.

```go package main

import (

"github.com/pulumi/pulumi-mongodbatlas/sdk/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
		})
		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

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutput

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutput() CloudProviderSnapshotRestoreJobOutput

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobOutputWithContext

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

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutput

func (i *CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (*CloudProviderSnapshotRestoreJob) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext

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

type CloudProviderSnapshotRestoreJobArray []CloudProviderSnapshotRestoreJobInput

func (CloudProviderSnapshotRestoreJobArray) ElementType

func (CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutput

func (i CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutput() CloudProviderSnapshotRestoreJobArrayOutput

func (CloudProviderSnapshotRestoreJobArray) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext

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

type CloudProviderSnapshotRestoreJobArrayInput

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

type CloudProviderSnapshotRestoreJobArrayOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobArrayOutput) ElementType

func (CloudProviderSnapshotRestoreJobArrayOutput) Index

func (CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutput

func (o CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutput() CloudProviderSnapshotRestoreJobArrayOutput

func (CloudProviderSnapshotRestoreJobArrayOutput) ToCloudProviderSnapshotRestoreJobArrayOutputWithContext

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

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) OplogTs

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) PointInTime

func (CloudProviderSnapshotRestoreJobDeliveryTypeOutput) PointInTimeUtcSeconds

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

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) OplogTs

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) PointInTime

func (CloudProviderSnapshotRestoreJobDeliveryTypePtrOutput) PointInTimeUtcSeconds

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

type CloudProviderSnapshotRestoreJobInput interface {
	pulumi.Input

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

type CloudProviderSnapshotRestoreJobMap

type CloudProviderSnapshotRestoreJobMap map[string]CloudProviderSnapshotRestoreJobInput

func (CloudProviderSnapshotRestoreJobMap) ElementType

func (CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutput

func (i CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutput() CloudProviderSnapshotRestoreJobMapOutput

func (CloudProviderSnapshotRestoreJobMap) ToCloudProviderSnapshotRestoreJobMapOutputWithContext

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

type CloudProviderSnapshotRestoreJobMapInput

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

type CloudProviderSnapshotRestoreJobMapOutput struct{ *pulumi.OutputState }

func (CloudProviderSnapshotRestoreJobMapOutput) ElementType

func (CloudProviderSnapshotRestoreJobMapOutput) MapIndex

func (CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutput

func (o CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutput() CloudProviderSnapshotRestoreJobMapOutput

func (CloudProviderSnapshotRestoreJobMapOutput) ToCloudProviderSnapshotRestoreJobMapOutputWithContext

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

type CloudProviderSnapshotRestoreJobOutput

type CloudProviderSnapshotRestoreJobOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotRestoreJobOutput) ElementType

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutput

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutput() CloudProviderSnapshotRestoreJobOutput

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobOutputWithContext

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

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutput

func (o CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (CloudProviderSnapshotRestoreJobOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext

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

type CloudProviderSnapshotRestoreJobPtrInput

type CloudProviderSnapshotRestoreJobPtrInput interface {
	pulumi.Input

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

type CloudProviderSnapshotRestoreJobPtrOutput

type CloudProviderSnapshotRestoreJobPtrOutput struct {
	*pulumi.OutputState
}

func (CloudProviderSnapshotRestoreJobPtrOutput) ElementType

func (CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutput

func (o CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutput() CloudProviderSnapshotRestoreJobPtrOutput

func (CloudProviderSnapshotRestoreJobPtrOutput) ToCloudProviderSnapshotRestoreJobPtrOutputWithContext

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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector ClusterBiConnectorPtrOutput `pulumi:"biConnector"`
	// 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.
	BiConnectorConfig ClusterBiConnectorConfigOutput `pulumi:"biConnectorConfig"`
	// 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`.  This setting requires that `providerInstanceSizeName` to be M30 or greater and cannot be used with clusters with local NVMe SSDs.  The default value for `providerDiskIops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console.  It is used in cases where a higher number of IOPS is needed and possible.  If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default.  More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
	// * You do not need to configure IOPS for a STANDARD disk configuration but only for a PROVISIONED configuration.
	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"`
	// **(Deprecated) The Flag is always 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.**.
	//
	// Deprecated: All EBS volumes are encrypted by default, the option to disable encryption has been removed
	ProviderEncryptEbsVolume     pulumi.BoolOutput `pulumi:"providerEncryptEbsVolume"`
	ProviderEncryptEbsVolumeFlag pulumi.BoolOutput `pulumi:"providerEncryptEbsVolumeFlag"`
	// 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` is ONLY 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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
			ProviderInstanceSizeName: pulumi.String("M40"),
			ProviderName:             pulumi.String("AWS"),
			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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderName:             pulumi.String("AWS"),
			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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
			ProviderInstanceSizeName: pulumi.String("M30"),
			ProviderName:             pulumi.String("AWS"),
			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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

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

func (*Cluster) ToClusterPtrOutput

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext

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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector ClusterBiConnectorPtrInput
	// 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.
	BiConnectorConfig ClusterBiConnectorConfigPtrInput
	// 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`.  This setting requires that `providerInstanceSizeName` to be M30 or greater and cannot be used with clusters with local NVMe SSDs.  The default value for `providerDiskIops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console.  It is used in cases where a higher number of IOPS is needed and possible.  If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default.  More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
	// * You do not need to configure IOPS for a STANDARD disk configuration but only for a PROVISIONED configuration.
	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
	// **(Deprecated) The Flag is always 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.**.
	//
	// Deprecated: All EBS volumes are encrypted by default, the option to disable encryption has been removed
	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` is ONLY 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

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

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

type ClusterArrayInput

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

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

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 ClusterBiConnectorConfig added in v2.1.0

type ClusterBiConnectorConfig 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 *bool `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 ClusterBiConnectorConfigArgs added in v2.1.0

type ClusterBiConnectorConfigArgs 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.BoolPtrInput `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 (ClusterBiConnectorConfigArgs) ElementType added in v2.1.0

func (ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigOutput added in v2.1.0

func (i ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigOutput() ClusterBiConnectorConfigOutput

func (ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigOutputWithContext added in v2.1.0

func (i ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigOutputWithContext(ctx context.Context) ClusterBiConnectorConfigOutput

func (ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigPtrOutput added in v2.1.0

func (i ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigPtrOutput() ClusterBiConnectorConfigPtrOutput

func (ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigPtrOutputWithContext added in v2.1.0

func (i ClusterBiConnectorConfigArgs) ToClusterBiConnectorConfigPtrOutputWithContext(ctx context.Context) ClusterBiConnectorConfigPtrOutput

type ClusterBiConnectorConfigInput added in v2.1.0

type ClusterBiConnectorConfigInput interface {
	pulumi.Input

	ToClusterBiConnectorConfigOutput() ClusterBiConnectorConfigOutput
	ToClusterBiConnectorConfigOutputWithContext(context.Context) ClusterBiConnectorConfigOutput
}

ClusterBiConnectorConfigInput is an input type that accepts ClusterBiConnectorConfigArgs and ClusterBiConnectorConfigOutput values. You can construct a concrete instance of `ClusterBiConnectorConfigInput` via:

ClusterBiConnectorConfigArgs{...}

type ClusterBiConnectorConfigOutput added in v2.1.0

type ClusterBiConnectorConfigOutput struct{ *pulumi.OutputState }

func (ClusterBiConnectorConfigOutput) ElementType added in v2.1.0

func (ClusterBiConnectorConfigOutput) Enabled added in v2.1.0

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 (ClusterBiConnectorConfigOutput) ReadPreference added in v2.1.0

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 (ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigOutput added in v2.1.0

func (o ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigOutput() ClusterBiConnectorConfigOutput

func (ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigOutputWithContext added in v2.1.0

func (o ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigOutputWithContext(ctx context.Context) ClusterBiConnectorConfigOutput

func (ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigPtrOutput added in v2.1.0

func (o ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigPtrOutput() ClusterBiConnectorConfigPtrOutput

func (ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigPtrOutputWithContext added in v2.1.0

func (o ClusterBiConnectorConfigOutput) ToClusterBiConnectorConfigPtrOutputWithContext(ctx context.Context) ClusterBiConnectorConfigPtrOutput

type ClusterBiConnectorConfigPtrInput added in v2.1.0

type ClusterBiConnectorConfigPtrInput interface {
	pulumi.Input

	ToClusterBiConnectorConfigPtrOutput() ClusterBiConnectorConfigPtrOutput
	ToClusterBiConnectorConfigPtrOutputWithContext(context.Context) ClusterBiConnectorConfigPtrOutput
}

ClusterBiConnectorConfigPtrInput is an input type that accepts ClusterBiConnectorConfigArgs, ClusterBiConnectorConfigPtr and ClusterBiConnectorConfigPtrOutput values. You can construct a concrete instance of `ClusterBiConnectorConfigPtrInput` via:

        ClusterBiConnectorConfigArgs{...}

or:

        nil

func ClusterBiConnectorConfigPtr added in v2.1.0

func ClusterBiConnectorConfigPtr(v *ClusterBiConnectorConfigArgs) ClusterBiConnectorConfigPtrInput

type ClusterBiConnectorConfigPtrOutput added in v2.1.0

type ClusterBiConnectorConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterBiConnectorConfigPtrOutput) Elem added in v2.1.0

func (ClusterBiConnectorConfigPtrOutput) ElementType added in v2.1.0

func (ClusterBiConnectorConfigPtrOutput) Enabled added in v2.1.0

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 (ClusterBiConnectorConfigPtrOutput) ReadPreference added in v2.1.0

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 (ClusterBiConnectorConfigPtrOutput) ToClusterBiConnectorConfigPtrOutput added in v2.1.0

func (o ClusterBiConnectorConfigPtrOutput) ToClusterBiConnectorConfigPtrOutput() ClusterBiConnectorConfigPtrOutput

func (ClusterBiConnectorConfigPtrOutput) ToClusterBiConnectorConfigPtrOutputWithContext added in v2.1.0

func (o ClusterBiConnectorConfigPtrOutput) ToClusterBiConnectorConfigPtrOutputWithContext(ctx context.Context) ClusterBiConnectorConfigPtrOutput

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

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

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

type ClusterConnectionStringsPrivateEndpointArgs

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

func (ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutput

func (i ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutput() ClusterConnectionStringsPrivateEndpointOutput

func (ClusterConnectionStringsPrivateEndpointArgs) ToClusterConnectionStringsPrivateEndpointOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointArray

type ClusterConnectionStringsPrivateEndpointArray []ClusterConnectionStringsPrivateEndpointInput

func (ClusterConnectionStringsPrivateEndpointArray) ElementType

func (ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutput

func (i ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointArray) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointArrayInput

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

type ClusterConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ElementType

func (ClusterConnectionStringsPrivateEndpointArrayOutput) Index

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutput

func (o ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointArrayOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointEndpoint

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

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

func (ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutput

func (i ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutput() ClusterConnectionStringsPrivateEndpointEndpointOutput

func (ClusterConnectionStringsPrivateEndpointEndpointArgs) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointEndpointArray

type ClusterConnectionStringsPrivateEndpointEndpointArray []ClusterConnectionStringsPrivateEndpointEndpointInput

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ElementType

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (i ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput() ClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointEndpointArray) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointEndpointArrayInput

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

type ClusterConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) Index

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (ClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointEndpointInput

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

type ClusterConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ElementType

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) EndpointId

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ProviderName

Cloud service provider on which the servers are provisioned.

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) Region

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ToClusterConnectionStringsPrivateEndpointEndpointOutput

func (ClusterConnectionStringsPrivateEndpointEndpointOutput) ToClusterConnectionStringsPrivateEndpointEndpointOutputWithContext

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

type ClusterConnectionStringsPrivateEndpointInput

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

type ClusterConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ClusterConnectionStringsPrivateEndpointOutput) ConnectionString

func (ClusterConnectionStringsPrivateEndpointOutput) ElementType

func (ClusterConnectionStringsPrivateEndpointOutput) Endpoints

func (ClusterConnectionStringsPrivateEndpointOutput) SrvConnectionString

func (ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutput

func (o ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutput() ClusterConnectionStringsPrivateEndpointOutput

func (ClusterConnectionStringsPrivateEndpointOutput) ToClusterConnectionStringsPrivateEndpointOutputWithContext

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

func (ClusterConnectionStringsPrivateEndpointOutput) Type

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

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

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

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

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

type ClusterMapInput

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

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

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

type ClusterOutput

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) ToClusterPtrOutput

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext

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

type ClusterPtrInput

type ClusterPtrInput interface {
	pulumi.Input

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

type ClusterPtrOutput

type ClusterPtrOutput struct {
	*pulumi.OutputState
}

func (ClusterPtrOutput) ElementType

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext

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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector ClusterBiConnectorPtrInput
	// 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.
	BiConnectorConfig ClusterBiConnectorConfigPtrInput
	// 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`.  This setting requires that `providerInstanceSizeName` to be M30 or greater and cannot be used with clusters with local NVMe SSDs.  The default value for `providerDiskIops` is the same as the cluster tier's Standard IOPS value, as viewable in the Atlas console.  It is used in cases where a higher number of IOPS is needed and possible.  If a value is submitted that is lower or equal to the default IOPS value for the cluster tier Atlas ignores the requested value and uses the default.  More details available under the providerSettings.diskIOPS parameter: [MongoDB API Clusters](https://docs.atlas.mongodb.com/reference/api/clusters-create-one/)
	// * You do not need to configure IOPS for a STANDARD disk configuration but only for a PROVISIONED configuration.
	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
	// **(Deprecated) The Flag is always 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.**.
	//
	// Deprecated: All EBS volumes are encrypted by default, the option to disable encryption has been removed
	ProviderEncryptEbsVolume     pulumi.BoolPtrInput
	ProviderEncryptEbsVolumeFlag 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` is ONLY 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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

func (*CustomDbRole) ElementType() reflect.Type

func (*CustomDbRole) ToCustomDbRoleOutput

func (i *CustomDbRole) ToCustomDbRoleOutput() CustomDbRoleOutput

func (*CustomDbRole) ToCustomDbRoleOutputWithContext

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

func (*CustomDbRole) ToCustomDbRolePtrOutput

func (i *CustomDbRole) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (*CustomDbRole) ToCustomDbRolePtrOutputWithContext

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

type CustomDbRoleArray []CustomDbRoleInput

func (CustomDbRoleArray) ElementType

func (CustomDbRoleArray) ElementType() reflect.Type

func (CustomDbRoleArray) ToCustomDbRoleArrayOutput

func (i CustomDbRoleArray) ToCustomDbRoleArrayOutput() CustomDbRoleArrayOutput

func (CustomDbRoleArray) ToCustomDbRoleArrayOutputWithContext

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

type CustomDbRoleArrayInput

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

type CustomDbRoleArrayOutput struct{ *pulumi.OutputState }

func (CustomDbRoleArrayOutput) ElementType

func (CustomDbRoleArrayOutput) ElementType() reflect.Type

func (CustomDbRoleArrayOutput) Index

func (CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutput

func (o CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutput() CustomDbRoleArrayOutput

func (CustomDbRoleArrayOutput) ToCustomDbRoleArrayOutputWithContext

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

type CustomDbRoleInput interface {
	pulumi.Input

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

type CustomDbRoleMap

type CustomDbRoleMap map[string]CustomDbRoleInput

func (CustomDbRoleMap) ElementType

func (CustomDbRoleMap) ElementType() reflect.Type

func (CustomDbRoleMap) ToCustomDbRoleMapOutput

func (i CustomDbRoleMap) ToCustomDbRoleMapOutput() CustomDbRoleMapOutput

func (CustomDbRoleMap) ToCustomDbRoleMapOutputWithContext

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

type CustomDbRoleMapInput

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

type CustomDbRoleMapOutput struct{ *pulumi.OutputState }

func (CustomDbRoleMapOutput) ElementType

func (CustomDbRoleMapOutput) ElementType() reflect.Type

func (CustomDbRoleMapOutput) MapIndex

func (CustomDbRoleMapOutput) ToCustomDbRoleMapOutput

func (o CustomDbRoleMapOutput) ToCustomDbRoleMapOutput() CustomDbRoleMapOutput

func (CustomDbRoleMapOutput) ToCustomDbRoleMapOutputWithContext

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

type CustomDbRoleOutput

type CustomDbRoleOutput struct {
	*pulumi.OutputState
}

func (CustomDbRoleOutput) ElementType

func (CustomDbRoleOutput) ElementType() reflect.Type

func (CustomDbRoleOutput) ToCustomDbRoleOutput

func (o CustomDbRoleOutput) ToCustomDbRoleOutput() CustomDbRoleOutput

func (CustomDbRoleOutput) ToCustomDbRoleOutputWithContext

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

func (CustomDbRoleOutput) ToCustomDbRolePtrOutput

func (o CustomDbRoleOutput) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (CustomDbRoleOutput) ToCustomDbRolePtrOutputWithContext

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

type CustomDbRolePtrInput

type CustomDbRolePtrInput interface {
	pulumi.Input

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

type CustomDbRolePtrOutput

type CustomDbRolePtrOutput struct {
	*pulumi.OutputState
}

func (CustomDbRolePtrOutput) ElementType

func (CustomDbRolePtrOutput) ElementType() reflect.Type

func (CustomDbRolePtrOutput) ToCustomDbRolePtrOutput

func (o CustomDbRolePtrOutput) ToCustomDbRolePtrOutput() CustomDbRolePtrOutput

func (CustomDbRolePtrOutput) ToCustomDbRolePtrOutputWithContext

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 CustomDnsConfigurationClusterAws added in v2.1.0

type CustomDnsConfigurationClusterAws struct {
	pulumi.CustomResourceState

	// Indicates whether the project's clusters deployed to AWS use custom DNS. If `true`, the `Get All Clusters` and `Get One Cluster` endpoints return the `connectionStrings.private` and `connectionStrings.privateSrv` fields for clusters deployed to AWS .
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Required 	Unique identifier for the project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
}

`CustomDnsConfigurationClusterAws` provides a Custom DNS Configuration for Atlas Clusters on AWS resource. This represents a Custom DNS Configuration for Atlas Clusters on AWS that can be updated 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-mongodbatlas/sdk/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewCustomDnsConfigurationClusterAws(ctx, "test", &mongodbatlas.CustomDnsConfigurationClusterAwsArgs{
			Enabled:   pulumi.Bool(true),
			ProjectId: pulumi.String("<PROJECT-ID>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Custom DNS Configuration for Atlas Clusters on AWS must be imported using auditing ID, e.g.

```sh

$ pulumi import mongodbatlas:index/customDnsConfigurationClusterAws:CustomDnsConfigurationClusterAws test 1112222b3bf99403840e8934

```

See detailed information for arguments and attributes[MongoDB API Custom DNS Configuration for Atlas Clusters on AWS](https://docs.atlas.mongodb.com/reference/api/aws-custom-dns)

func GetCustomDnsConfigurationClusterAws added in v2.1.0

func GetCustomDnsConfigurationClusterAws(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomDnsConfigurationClusterAwsState, opts ...pulumi.ResourceOption) (*CustomDnsConfigurationClusterAws, error)

GetCustomDnsConfigurationClusterAws gets an existing CustomDnsConfigurationClusterAws 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 NewCustomDnsConfigurationClusterAws added in v2.1.0

func NewCustomDnsConfigurationClusterAws(ctx *pulumi.Context,
	name string, args *CustomDnsConfigurationClusterAwsArgs, opts ...pulumi.ResourceOption) (*CustomDnsConfigurationClusterAws, error)

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

func (*CustomDnsConfigurationClusterAws) ElementType added in v2.1.0

func (*CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsOutput added in v2.1.0

func (i *CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsOutput() CustomDnsConfigurationClusterAwsOutput

func (*CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsOutputWithContext added in v2.1.0

func (i *CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsOutput

func (*CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsPtrOutput added in v2.1.0

func (i *CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsPtrOutput() CustomDnsConfigurationClusterAwsPtrOutput

func (*CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext added in v2.1.0

func (i *CustomDnsConfigurationClusterAws) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsPtrOutput

type CustomDnsConfigurationClusterAwsArgs added in v2.1.0

type CustomDnsConfigurationClusterAwsArgs struct {
	// Indicates whether the project's clusters deployed to AWS use custom DNS. If `true`, the `Get All Clusters` and `Get One Cluster` endpoints return the `connectionStrings.private` and `connectionStrings.privateSrv` fields for clusters deployed to AWS .
	Enabled pulumi.BoolInput
	// Required 	Unique identifier for the project.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a CustomDnsConfigurationClusterAws resource.

func (CustomDnsConfigurationClusterAwsArgs) ElementType added in v2.1.0

type CustomDnsConfigurationClusterAwsArray added in v2.1.0

type CustomDnsConfigurationClusterAwsArray []CustomDnsConfigurationClusterAwsInput

func (CustomDnsConfigurationClusterAwsArray) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsArray) ToCustomDnsConfigurationClusterAwsArrayOutput added in v2.1.0

func (i CustomDnsConfigurationClusterAwsArray) ToCustomDnsConfigurationClusterAwsArrayOutput() CustomDnsConfigurationClusterAwsArrayOutput

func (CustomDnsConfigurationClusterAwsArray) ToCustomDnsConfigurationClusterAwsArrayOutputWithContext added in v2.1.0

func (i CustomDnsConfigurationClusterAwsArray) ToCustomDnsConfigurationClusterAwsArrayOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsArrayOutput

type CustomDnsConfigurationClusterAwsArrayInput added in v2.1.0

type CustomDnsConfigurationClusterAwsArrayInput interface {
	pulumi.Input

	ToCustomDnsConfigurationClusterAwsArrayOutput() CustomDnsConfigurationClusterAwsArrayOutput
	ToCustomDnsConfigurationClusterAwsArrayOutputWithContext(context.Context) CustomDnsConfigurationClusterAwsArrayOutput
}

CustomDnsConfigurationClusterAwsArrayInput is an input type that accepts CustomDnsConfigurationClusterAwsArray and CustomDnsConfigurationClusterAwsArrayOutput values. You can construct a concrete instance of `CustomDnsConfigurationClusterAwsArrayInput` via:

CustomDnsConfigurationClusterAwsArray{ CustomDnsConfigurationClusterAwsArgs{...} }

type CustomDnsConfigurationClusterAwsArrayOutput added in v2.1.0

type CustomDnsConfigurationClusterAwsArrayOutput struct{ *pulumi.OutputState }

func (CustomDnsConfigurationClusterAwsArrayOutput) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsArrayOutput) Index added in v2.1.0

func (CustomDnsConfigurationClusterAwsArrayOutput) ToCustomDnsConfigurationClusterAwsArrayOutput added in v2.1.0

func (o CustomDnsConfigurationClusterAwsArrayOutput) ToCustomDnsConfigurationClusterAwsArrayOutput() CustomDnsConfigurationClusterAwsArrayOutput

func (CustomDnsConfigurationClusterAwsArrayOutput) ToCustomDnsConfigurationClusterAwsArrayOutputWithContext added in v2.1.0

func (o CustomDnsConfigurationClusterAwsArrayOutput) ToCustomDnsConfigurationClusterAwsArrayOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsArrayOutput

type CustomDnsConfigurationClusterAwsInput added in v2.1.0

type CustomDnsConfigurationClusterAwsInput interface {
	pulumi.Input

	ToCustomDnsConfigurationClusterAwsOutput() CustomDnsConfigurationClusterAwsOutput
	ToCustomDnsConfigurationClusterAwsOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsOutput
}

type CustomDnsConfigurationClusterAwsMap added in v2.1.0

type CustomDnsConfigurationClusterAwsMap map[string]CustomDnsConfigurationClusterAwsInput

func (CustomDnsConfigurationClusterAwsMap) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsMap) ToCustomDnsConfigurationClusterAwsMapOutput added in v2.1.0

func (i CustomDnsConfigurationClusterAwsMap) ToCustomDnsConfigurationClusterAwsMapOutput() CustomDnsConfigurationClusterAwsMapOutput

func (CustomDnsConfigurationClusterAwsMap) ToCustomDnsConfigurationClusterAwsMapOutputWithContext added in v2.1.0

func (i CustomDnsConfigurationClusterAwsMap) ToCustomDnsConfigurationClusterAwsMapOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsMapOutput

type CustomDnsConfigurationClusterAwsMapInput added in v2.1.0

type CustomDnsConfigurationClusterAwsMapInput interface {
	pulumi.Input

	ToCustomDnsConfigurationClusterAwsMapOutput() CustomDnsConfigurationClusterAwsMapOutput
	ToCustomDnsConfigurationClusterAwsMapOutputWithContext(context.Context) CustomDnsConfigurationClusterAwsMapOutput
}

CustomDnsConfigurationClusterAwsMapInput is an input type that accepts CustomDnsConfigurationClusterAwsMap and CustomDnsConfigurationClusterAwsMapOutput values. You can construct a concrete instance of `CustomDnsConfigurationClusterAwsMapInput` via:

CustomDnsConfigurationClusterAwsMap{ "key": CustomDnsConfigurationClusterAwsArgs{...} }

type CustomDnsConfigurationClusterAwsMapOutput added in v2.1.0

type CustomDnsConfigurationClusterAwsMapOutput struct{ *pulumi.OutputState }

func (CustomDnsConfigurationClusterAwsMapOutput) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsMapOutput) MapIndex added in v2.1.0

func (CustomDnsConfigurationClusterAwsMapOutput) ToCustomDnsConfigurationClusterAwsMapOutput added in v2.1.0

func (o CustomDnsConfigurationClusterAwsMapOutput) ToCustomDnsConfigurationClusterAwsMapOutput() CustomDnsConfigurationClusterAwsMapOutput

func (CustomDnsConfigurationClusterAwsMapOutput) ToCustomDnsConfigurationClusterAwsMapOutputWithContext added in v2.1.0

func (o CustomDnsConfigurationClusterAwsMapOutput) ToCustomDnsConfigurationClusterAwsMapOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsMapOutput

type CustomDnsConfigurationClusterAwsOutput added in v2.1.0

type CustomDnsConfigurationClusterAwsOutput struct {
	*pulumi.OutputState
}

func (CustomDnsConfigurationClusterAwsOutput) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsOutput added in v2.1.0

func (o CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsOutput() CustomDnsConfigurationClusterAwsOutput

func (CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsOutputWithContext added in v2.1.0

func (o CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsOutput

func (CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsPtrOutput added in v2.1.0

func (o CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsPtrOutput() CustomDnsConfigurationClusterAwsPtrOutput

func (CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext added in v2.1.0

func (o CustomDnsConfigurationClusterAwsOutput) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsPtrOutput

type CustomDnsConfigurationClusterAwsPtrInput added in v2.1.0

type CustomDnsConfigurationClusterAwsPtrInput interface {
	pulumi.Input

	ToCustomDnsConfigurationClusterAwsPtrOutput() CustomDnsConfigurationClusterAwsPtrOutput
	ToCustomDnsConfigurationClusterAwsPtrOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsPtrOutput
}

type CustomDnsConfigurationClusterAwsPtrOutput added in v2.1.0

type CustomDnsConfigurationClusterAwsPtrOutput struct {
	*pulumi.OutputState
}

func (CustomDnsConfigurationClusterAwsPtrOutput) ElementType added in v2.1.0

func (CustomDnsConfigurationClusterAwsPtrOutput) ToCustomDnsConfigurationClusterAwsPtrOutput added in v2.1.0

func (o CustomDnsConfigurationClusterAwsPtrOutput) ToCustomDnsConfigurationClusterAwsPtrOutput() CustomDnsConfigurationClusterAwsPtrOutput

func (CustomDnsConfigurationClusterAwsPtrOutput) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext added in v2.1.0

func (o CustomDnsConfigurationClusterAwsPtrOutput) ToCustomDnsConfigurationClusterAwsPtrOutputWithContext(ctx context.Context) CustomDnsConfigurationClusterAwsPtrOutput

type CustomDnsConfigurationClusterAwsState added in v2.1.0

type CustomDnsConfigurationClusterAwsState struct {
	// Indicates whether the project's clusters deployed to AWS use custom DNS. If `true`, the `Get All Clusters` and `Get One Cluster` endpoints return the `connectionStrings.private` and `connectionStrings.privateSrv` fields for clusters deployed to AWS .
	Enabled pulumi.BoolPtrInput
	// Required 	Unique identifier for the project.
	ProjectId pulumi.StringPtrInput
}

func (CustomDnsConfigurationClusterAwsState) ElementType added in v2.1.0

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"`
	// Method by which the provided `username` is authenticated. If no value is given, Atlas uses the default value of `NONE`.
	LdapAuthType pulumi.StringPtrOutput `pulumi:"ldapAuthType"`
	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. USER_ARN or ROLE_ARN if `awsIamType` is USER or ROLE.
	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

func (*DatabaseUser) ElementType() reflect.Type

func (*DatabaseUser) ToDatabaseUserOutput

func (i *DatabaseUser) ToDatabaseUserOutput() DatabaseUserOutput

func (*DatabaseUser) ToDatabaseUserOutputWithContext

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

func (*DatabaseUser) ToDatabaseUserPtrOutput

func (i *DatabaseUser) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (*DatabaseUser) ToDatabaseUserPtrOutputWithContext

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
	// Method by which the provided `username` is authenticated. If no value is given, Atlas uses the default value of `NONE`.
	LdapAuthType pulumi.StringPtrInput
	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. USER_ARN or ROLE_ARN if `awsIamType` is USER or ROLE.
	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

type DatabaseUserArray []DatabaseUserInput

func (DatabaseUserArray) ElementType

func (DatabaseUserArray) ElementType() reflect.Type

func (DatabaseUserArray) ToDatabaseUserArrayOutput

func (i DatabaseUserArray) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArray) ToDatabaseUserArrayOutputWithContext

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

type DatabaseUserArrayInput

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

type DatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserArrayOutput) ElementType

func (DatabaseUserArrayOutput) ElementType() reflect.Type

func (DatabaseUserArrayOutput) Index

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutput

func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput

func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext

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

type DatabaseUserInput

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

type DatabaseUserMap map[string]DatabaseUserInput

func (DatabaseUserMap) ElementType

func (DatabaseUserMap) ElementType() reflect.Type

func (DatabaseUserMap) ToDatabaseUserMapOutput

func (i DatabaseUserMap) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMap) ToDatabaseUserMapOutputWithContext

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

type DatabaseUserMapInput

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

type DatabaseUserMapOutput struct{ *pulumi.OutputState }

func (DatabaseUserMapOutput) ElementType

func (DatabaseUserMapOutput) ElementType() reflect.Type

func (DatabaseUserMapOutput) MapIndex

func (DatabaseUserMapOutput) ToDatabaseUserMapOutput

func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput

func (DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext

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

type DatabaseUserOutput

type DatabaseUserOutput struct {
	*pulumi.OutputState
}

func (DatabaseUserOutput) ElementType

func (DatabaseUserOutput) ElementType() reflect.Type

func (DatabaseUserOutput) ToDatabaseUserOutput

func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput

func (DatabaseUserOutput) ToDatabaseUserOutputWithContext

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

func (DatabaseUserOutput) ToDatabaseUserPtrOutput

func (o DatabaseUserOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserOutput) ToDatabaseUserPtrOutputWithContext

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

type DatabaseUserPtrInput

type DatabaseUserPtrInput interface {
	pulumi.Input

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

type DatabaseUserPtrOutput

type DatabaseUserPtrOutput struct {
	*pulumi.OutputState
}

func (DatabaseUserPtrOutput) ElementType

func (DatabaseUserPtrOutput) ElementType() reflect.Type

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutput

func (o DatabaseUserPtrOutput) ToDatabaseUserPtrOutput() DatabaseUserPtrOutput

func (DatabaseUserPtrOutput) ToDatabaseUserPtrOutputWithContext

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

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

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

func (DatabaseUserScopeArgs) ElementType() reflect.Type

func (DatabaseUserScopeArgs) ToDatabaseUserScopeOutput

func (i DatabaseUserScopeArgs) ToDatabaseUserScopeOutput() DatabaseUserScopeOutput

func (DatabaseUserScopeArgs) ToDatabaseUserScopeOutputWithContext

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

type DatabaseUserScopeArray

type DatabaseUserScopeArray []DatabaseUserScopeInput

func (DatabaseUserScopeArray) ElementType

func (DatabaseUserScopeArray) ElementType() reflect.Type

func (DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutput

func (i DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutput() DatabaseUserScopeArrayOutput

func (DatabaseUserScopeArray) ToDatabaseUserScopeArrayOutputWithContext

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

type DatabaseUserScopeArrayInput

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

type DatabaseUserScopeArrayOutput struct{ *pulumi.OutputState }

func (DatabaseUserScopeArrayOutput) ElementType

func (DatabaseUserScopeArrayOutput) Index

func (DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutput

func (o DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutput() DatabaseUserScopeArrayOutput

func (DatabaseUserScopeArrayOutput) ToDatabaseUserScopeArrayOutputWithContext

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

type DatabaseUserScopeInput

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

type DatabaseUserScopeOutput struct{ *pulumi.OutputState }

func (DatabaseUserScopeOutput) ElementType

func (DatabaseUserScopeOutput) ElementType() reflect.Type

func (DatabaseUserScopeOutput) Name

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

func (DatabaseUserScopeOutput) ToDatabaseUserScopeOutput

func (o DatabaseUserScopeOutput) ToDatabaseUserScopeOutput() DatabaseUserScopeOutput

func (DatabaseUserScopeOutput) ToDatabaseUserScopeOutputWithContext

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

func (DatabaseUserScopeOutput) Type

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
	// Method by which the provided `username` is authenticated. If no value is given, Atlas uses the default value of `NONE`.
	LdapAuthType pulumi.StringPtrInput
	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. USER_ARN or ROLE_ARN if `awsIamType` is USER or ROLE.
	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"`
}

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

func (*EncryptionAtRest) ElementType() reflect.Type

func (*EncryptionAtRest) ToEncryptionAtRestOutput

func (i *EncryptionAtRest) ToEncryptionAtRestOutput() EncryptionAtRestOutput

func (*EncryptionAtRest) ToEncryptionAtRestOutputWithContext

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

func (*EncryptionAtRest) ToEncryptionAtRestPtrOutput

func (i *EncryptionAtRest) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (*EncryptionAtRest) ToEncryptionAtRestPtrOutputWithContext

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

type EncryptionAtRestArray []EncryptionAtRestInput

func (EncryptionAtRestArray) ElementType

func (EncryptionAtRestArray) ElementType() reflect.Type

func (EncryptionAtRestArray) ToEncryptionAtRestArrayOutput

func (i EncryptionAtRestArray) ToEncryptionAtRestArrayOutput() EncryptionAtRestArrayOutput

func (EncryptionAtRestArray) ToEncryptionAtRestArrayOutputWithContext

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

type EncryptionAtRestArrayInput

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

type EncryptionAtRestArrayOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestArrayOutput) ElementType

func (EncryptionAtRestArrayOutput) Index

func (EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutput

func (o EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutput() EncryptionAtRestArrayOutput

func (EncryptionAtRestArrayOutput) ToEncryptionAtRestArrayOutputWithContext

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

type EncryptionAtRestAwsKms

type EncryptionAtRestAwsKms struct {
	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"`
	SecretAccessKey *string `pulumi:"secretAccessKey"`
}

type EncryptionAtRestAwsKmsArgs

type EncryptionAtRestAwsKmsArgs struct {
	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"`
	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

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

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

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

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

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

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

type EncryptionAtRestInput interface {
	pulumi.Input

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

type EncryptionAtRestMap

type EncryptionAtRestMap map[string]EncryptionAtRestInput

func (EncryptionAtRestMap) ElementType

func (EncryptionAtRestMap) ElementType() reflect.Type

func (EncryptionAtRestMap) ToEncryptionAtRestMapOutput

func (i EncryptionAtRestMap) ToEncryptionAtRestMapOutput() EncryptionAtRestMapOutput

func (EncryptionAtRestMap) ToEncryptionAtRestMapOutputWithContext

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

type EncryptionAtRestMapInput

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

type EncryptionAtRestMapOutput struct{ *pulumi.OutputState }

func (EncryptionAtRestMapOutput) ElementType

func (EncryptionAtRestMapOutput) ElementType() reflect.Type

func (EncryptionAtRestMapOutput) MapIndex

func (EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutput

func (o EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutput() EncryptionAtRestMapOutput

func (EncryptionAtRestMapOutput) ToEncryptionAtRestMapOutputWithContext

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

type EncryptionAtRestOutput

type EncryptionAtRestOutput struct {
	*pulumi.OutputState
}

func (EncryptionAtRestOutput) ElementType

func (EncryptionAtRestOutput) ElementType() reflect.Type

func (EncryptionAtRestOutput) ToEncryptionAtRestOutput

func (o EncryptionAtRestOutput) ToEncryptionAtRestOutput() EncryptionAtRestOutput

func (EncryptionAtRestOutput) ToEncryptionAtRestOutputWithContext

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

func (EncryptionAtRestOutput) ToEncryptionAtRestPtrOutput

func (o EncryptionAtRestOutput) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (EncryptionAtRestOutput) ToEncryptionAtRestPtrOutputWithContext

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

type EncryptionAtRestPtrInput

type EncryptionAtRestPtrInput interface {
	pulumi.Input

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

type EncryptionAtRestPtrOutput

type EncryptionAtRestPtrOutput struct {
	*pulumi.OutputState
}

func (EncryptionAtRestPtrOutput) ElementType

func (EncryptionAtRestPtrOutput) ElementType() reflect.Type

func (EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutput

func (o EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutput() EncryptionAtRestPtrOutput

func (EncryptionAtRestPtrOutput) ToEncryptionAtRestPtrOutputWithContext

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testX509AuthenticationDatabaseUser, err := mongodbatlas.NewX509AuthenticationDatabaseUser(ctx, "testX509AuthenticationDatabaseUser", &mongodbatlas.X509AuthenticationDatabaseUserArgs{
			ProjectId:       pulumi.String("<PROJECT-ID>"),
			CustomerX509Cas: pulumi.String(fmt.Sprintf("%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")),
		})
		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

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

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

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

func (GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutput

func (i GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutput() GetAlertConfigurationThresholdOutput

func (GetAlertConfigurationThresholdArgs) ToGetAlertConfigurationThresholdOutputWithContext

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

type GetAlertConfigurationThresholdInput

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

type GetAlertConfigurationThresholdOutput struct{ *pulumi.OutputState }

func (GetAlertConfigurationThresholdOutput) ElementType

func (GetAlertConfigurationThresholdOutput) Operator

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

func (GetAlertConfigurationThresholdOutput) Threshold

Threshold value outside of which an alert will be triggered.

func (GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutput

func (o GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutput() GetAlertConfigurationThresholdOutput

func (GetAlertConfigurationThresholdOutput) ToGetAlertConfigurationThresholdOutputWithContext

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

func (GetAlertConfigurationThresholdOutput) 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 GetCloudProviderAccessAwsIamRole

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

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

func (GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutput

func (i GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput

func (GetCloudProviderAccessAwsIamRoleArgs) ToGetCloudProviderAccessAwsIamRoleOutputWithContext

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

type GetCloudProviderAccessAwsIamRoleArray

type GetCloudProviderAccessAwsIamRoleArray []GetCloudProviderAccessAwsIamRoleInput

func (GetCloudProviderAccessAwsIamRoleArray) ElementType

func (GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutput

func (i GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput

func (GetCloudProviderAccessAwsIamRoleArray) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext

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

type GetCloudProviderAccessAwsIamRoleArrayInput

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

type GetCloudProviderAccessAwsIamRoleArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ElementType

func (GetCloudProviderAccessAwsIamRoleArrayOutput) Index

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutput

func (o GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutput() GetCloudProviderAccessAwsIamRoleArrayOutput

func (GetCloudProviderAccessAwsIamRoleArrayOutput) ToGetCloudProviderAccessAwsIamRoleArrayOutputWithContext

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

type GetCloudProviderAccessAwsIamRoleFeatureUsage

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

type GetCloudProviderAccessAwsIamRoleFeatureUsageArgs

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

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ElementType

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArgs) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageArray

type GetCloudProviderAccessAwsIamRoleFeatureUsageArray []GetCloudProviderAccessAwsIamRoleFeatureUsageInput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ElementType

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext

func (i GetCloudProviderAccessAwsIamRoleFeatureUsageArray) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayInput

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

type GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ElementType

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) Index

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageArrayOutput

type GetCloudProviderAccessAwsIamRoleFeatureUsageInput

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

type GetCloudProviderAccessAwsIamRoleFeatureUsageOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ElementType

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureId

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) FeatureType

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutput() GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

func (GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext

func (o GetCloudProviderAccessAwsIamRoleFeatureUsageOutput) ToGetCloudProviderAccessAwsIamRoleFeatureUsageOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleFeatureUsageOutput

type GetCloudProviderAccessAwsIamRoleInput

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

type GetCloudProviderAccessAwsIamRoleOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessAwsIamRoleOutput) AtlasAssumedRoleExternalId

func (o GetCloudProviderAccessAwsIamRoleOutput) AtlasAssumedRoleExternalId() pulumi.StringOutput

Unique external ID Atlas uses when assuming the IAM role in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) AtlasAwsAccountArn

ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) AuthorizedDate

Date on which this role was authorized.

func (GetCloudProviderAccessAwsIamRoleOutput) CreatedDate

Date on which this role was created.

func (GetCloudProviderAccessAwsIamRoleOutput) ElementType

func (GetCloudProviderAccessAwsIamRoleOutput) FeatureUsages

Atlas features this AWS IAM role is linked to.

func (GetCloudProviderAccessAwsIamRoleOutput) IamAssumedRoleArn

ARN of the IAM Role that Atlas assumes when accessing resources in your AWS account.

func (GetCloudProviderAccessAwsIamRoleOutput) ProviderName

Name of the cloud provider. Currently limited to AWS.

func (GetCloudProviderAccessAwsIamRoleOutput) RoleId

Unique ID of this role.

func (GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutput

func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutput() GetCloudProviderAccessAwsIamRoleOutput

func (GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutputWithContext

func (o GetCloudProviderAccessAwsIamRoleOutput) ToGetCloudProviderAccessAwsIamRoleOutputWithContext(ctx context.Context) GetCloudProviderAccessAwsIamRoleOutput

type GetCloudProviderAccessSetupAws added in v2.1.0

type GetCloudProviderAccessSetupAws 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"`
}

type GetCloudProviderAccessSetupAwsArgs added in v2.1.0

type GetCloudProviderAccessSetupAwsArgs 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"`
}

func (GetCloudProviderAccessSetupAwsArgs) ElementType added in v2.1.0

func (GetCloudProviderAccessSetupAwsArgs) ToGetCloudProviderAccessSetupAwsOutput added in v2.1.0

func (i GetCloudProviderAccessSetupAwsArgs) ToGetCloudProviderAccessSetupAwsOutput() GetCloudProviderAccessSetupAwsOutput

func (GetCloudProviderAccessSetupAwsArgs) ToGetCloudProviderAccessSetupAwsOutputWithContext added in v2.1.0

func (i GetCloudProviderAccessSetupAwsArgs) ToGetCloudProviderAccessSetupAwsOutputWithContext(ctx context.Context) GetCloudProviderAccessSetupAwsOutput

type GetCloudProviderAccessSetupAwsInput added in v2.1.0

type GetCloudProviderAccessSetupAwsInput interface {
	pulumi.Input

	ToGetCloudProviderAccessSetupAwsOutput() GetCloudProviderAccessSetupAwsOutput
	ToGetCloudProviderAccessSetupAwsOutputWithContext(context.Context) GetCloudProviderAccessSetupAwsOutput
}

GetCloudProviderAccessSetupAwsInput is an input type that accepts GetCloudProviderAccessSetupAwsArgs and GetCloudProviderAccessSetupAwsOutput values. You can construct a concrete instance of `GetCloudProviderAccessSetupAwsInput` via:

GetCloudProviderAccessSetupAwsArgs{...}

type GetCloudProviderAccessSetupAwsOutput added in v2.1.0

type GetCloudProviderAccessSetupAwsOutput struct{ *pulumi.OutputState }

func (GetCloudProviderAccessSetupAwsOutput) AtlasAssumedRoleExternalId added in v2.1.0

func (o GetCloudProviderAccessSetupAwsOutput) AtlasAssumedRoleExternalId() pulumi.StringOutput

Unique external ID Atlas uses when assuming the IAM role in your AWS account.

func (GetCloudProviderAccessSetupAwsOutput) AtlasAwsAccountArn added in v2.1.0

ARN associated with the Atlas AWS account used to assume IAM roles in your AWS account.

func (GetCloudProviderAccessSetupAwsOutput) ElementType added in v2.1.0

func (GetCloudProviderAccessSetupAwsOutput) ToGetCloudProviderAccessSetupAwsOutput added in v2.1.0

func (o GetCloudProviderAccessSetupAwsOutput) ToGetCloudProviderAccessSetupAwsOutput() GetCloudProviderAccessSetupAwsOutput

func (GetCloudProviderAccessSetupAwsOutput) ToGetCloudProviderAccessSetupAwsOutputWithContext added in v2.1.0

func (o GetCloudProviderAccessSetupAwsOutput) ToGetCloudProviderAccessSetupAwsOutputWithContext(ctx context.Context) GetCloudProviderAccessSetupAwsOutput

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testCloudProviderSnapshot, err := mongodbatlas.NewCloudProviderSnapshot(ctx, "testCloudProviderSnapshot", &mongodbatlas.CloudProviderSnapshotArgs{
			ProjectId:       pulumi.String("5cf5a45a9ccf6400e60981b6"),
			ClusterName:     pulumi.String("MyCluster"),
			Description:     pulumi.String("MyDescription"),
			RetentionInDays: pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		testCloudProviderSnapshotRestoreJob, err := mongodbatlas.NewCloudProviderSnapshotRestoreJob(ctx, "testCloudProviderSnapshotRestoreJob", &mongodbatlas.CloudProviderSnapshotRestoreJobArgs{
			ProjectId:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			ClusterName: pulumi.String("MyCluster"),
			SnapshotId:  testCloudProviderSnapshot.ID(),
			DeliveryType: &mongodbatlas.CloudProviderSnapshotRestoreJobDeliveryTypeArgs{
				Automated:           pulumi.Bool(true),
				Target_cluster_name: pulumi.String("MyCluster"),
				Target_project_id:   pulumi.String("5cf5a45a9ccf6400e60981b6"),
			},
		})
		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

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) OplogTs

func (GetCloudProviderSnapshotRestoreJobsResultTypeOutput) PointInTimeUtcSeconds

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 GetClusterBiConnectorConfig added in v2.1.0

type GetClusterBiConnectorConfig struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled bool `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 GetClusterBiConnectorConfigArgs added in v2.1.0

type GetClusterBiConnectorConfigArgs struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled pulumi.BoolInput `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 (GetClusterBiConnectorConfigArgs) ElementType added in v2.1.0

func (GetClusterBiConnectorConfigArgs) ToGetClusterBiConnectorConfigOutput added in v2.1.0

func (i GetClusterBiConnectorConfigArgs) ToGetClusterBiConnectorConfigOutput() GetClusterBiConnectorConfigOutput

func (GetClusterBiConnectorConfigArgs) ToGetClusterBiConnectorConfigOutputWithContext added in v2.1.0

func (i GetClusterBiConnectorConfigArgs) ToGetClusterBiConnectorConfigOutputWithContext(ctx context.Context) GetClusterBiConnectorConfigOutput

type GetClusterBiConnectorConfigInput added in v2.1.0

type GetClusterBiConnectorConfigInput interface {
	pulumi.Input

	ToGetClusterBiConnectorConfigOutput() GetClusterBiConnectorConfigOutput
	ToGetClusterBiConnectorConfigOutputWithContext(context.Context) GetClusterBiConnectorConfigOutput
}

GetClusterBiConnectorConfigInput is an input type that accepts GetClusterBiConnectorConfigArgs and GetClusterBiConnectorConfigOutput values. You can construct a concrete instance of `GetClusterBiConnectorConfigInput` via:

GetClusterBiConnectorConfigArgs{...}

type GetClusterBiConnectorConfigOutput added in v2.1.0

type GetClusterBiConnectorConfigOutput struct{ *pulumi.OutputState }

func (GetClusterBiConnectorConfigOutput) ElementType added in v2.1.0

func (GetClusterBiConnectorConfigOutput) Enabled added in v2.1.0

Indicates whether or not BI Connector for Atlas is enabled on the cluster.

func (GetClusterBiConnectorConfigOutput) ReadPreference added in v2.1.0

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 (GetClusterBiConnectorConfigOutput) ToGetClusterBiConnectorConfigOutput added in v2.1.0

func (o GetClusterBiConnectorConfigOutput) ToGetClusterBiConnectorConfigOutput() GetClusterBiConnectorConfigOutput

func (GetClusterBiConnectorConfigOutput) ToGetClusterBiConnectorConfigOutputWithContext added in v2.1.0

func (o GetClusterBiConnectorConfigOutput) ToGetClusterBiConnectorConfigOutputWithContext(ctx context.Context) GetClusterBiConnectorConfigOutput

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

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

type GetClusterConnectionStringsPrivateEndpoint struct {
	ConnectionString    string                                               `pulumi:"connectionString"`
	Endpoints           []GetClusterConnectionStringsPrivateEndpointEndpoint `pulumi:"endpoints"`
	SrvConnectionString string                                               `pulumi:"srvConnectionString"`
	Type                string                                               `pulumi:"type"`
}

type GetClusterConnectionStringsPrivateEndpointArgs

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

func (GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutput

func (i GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutput() GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext

func (i GetClusterConnectionStringsPrivateEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointOutput

type GetClusterConnectionStringsPrivateEndpointArray

type GetClusterConnectionStringsPrivateEndpointArray []GetClusterConnectionStringsPrivateEndpointInput

func (GetClusterConnectionStringsPrivateEndpointArray) ElementType

func (GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutput

func (i GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext

func (i GetClusterConnectionStringsPrivateEndpointArray) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointArrayInput

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

type GetClusterConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ElementType

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) Index

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext

func (o GetClusterConnectionStringsPrivateEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpoint

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

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

func (GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext

func (i GetClusterConnectionStringsPrivateEndpointEndpointArgs) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointOutput

type GetClusterConnectionStringsPrivateEndpointEndpointArray

type GetClusterConnectionStringsPrivateEndpointEndpointArray []GetClusterConnectionStringsPrivateEndpointEndpointInput

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ElementType

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (i GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput() GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

func (i GetClusterConnectionStringsPrivateEndpointEndpointArray) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpointArrayInput

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

type GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) Index

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

func (GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

func (o GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClusterConnectionStringsPrivateEndpointEndpointInput

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

type GetClusterConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ElementType

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) EndpointId

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ProviderName

Indicates the cloud service provider on which the servers are provisioned.

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) Region

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext

func (o GetClusterConnectionStringsPrivateEndpointEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointEndpointOutput

type GetClusterConnectionStringsPrivateEndpointInput

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

type GetClusterConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (GetClusterConnectionStringsPrivateEndpointOutput) ConnectionString

func (GetClusterConnectionStringsPrivateEndpointOutput) ElementType

func (GetClusterConnectionStringsPrivateEndpointOutput) Endpoints

func (GetClusterConnectionStringsPrivateEndpointOutput) SrvConnectionString

func (GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutput

func (o GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutput() GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext

func (o GetClusterConnectionStringsPrivateEndpointOutput) ToGetClusterConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClusterConnectionStringsPrivateEndpointOutput

func (GetClusterConnectionStringsPrivateEndpointOutput) Type

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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"),
			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 GetClustersResultBiConnectorConfig added in v2.1.0

type GetClustersResultBiConnectorConfig struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled bool `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 GetClustersResultBiConnectorConfigArgs added in v2.1.0

type GetClustersResultBiConnectorConfigArgs struct {
	// Indicates whether or not BI Connector for Atlas is enabled on the cluster.
	Enabled pulumi.BoolInput `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 (GetClustersResultBiConnectorConfigArgs) ElementType added in v2.1.0

func (GetClustersResultBiConnectorConfigArgs) ToGetClustersResultBiConnectorConfigOutput added in v2.1.0

func (i GetClustersResultBiConnectorConfigArgs) ToGetClustersResultBiConnectorConfigOutput() GetClustersResultBiConnectorConfigOutput

func (GetClustersResultBiConnectorConfigArgs) ToGetClustersResultBiConnectorConfigOutputWithContext added in v2.1.0

func (i GetClustersResultBiConnectorConfigArgs) ToGetClustersResultBiConnectorConfigOutputWithContext(ctx context.Context) GetClustersResultBiConnectorConfigOutput

type GetClustersResultBiConnectorConfigInput added in v2.1.0

type GetClustersResultBiConnectorConfigInput interface {
	pulumi.Input

	ToGetClustersResultBiConnectorConfigOutput() GetClustersResultBiConnectorConfigOutput
	ToGetClustersResultBiConnectorConfigOutputWithContext(context.Context) GetClustersResultBiConnectorConfigOutput
}

GetClustersResultBiConnectorConfigInput is an input type that accepts GetClustersResultBiConnectorConfigArgs and GetClustersResultBiConnectorConfigOutput values. You can construct a concrete instance of `GetClustersResultBiConnectorConfigInput` via:

GetClustersResultBiConnectorConfigArgs{...}

type GetClustersResultBiConnectorConfigOutput added in v2.1.0

type GetClustersResultBiConnectorConfigOutput struct{ *pulumi.OutputState }

func (GetClustersResultBiConnectorConfigOutput) ElementType added in v2.1.0

func (GetClustersResultBiConnectorConfigOutput) Enabled added in v2.1.0

Indicates whether or not BI Connector for Atlas is enabled on the cluster.

func (GetClustersResultBiConnectorConfigOutput) ReadPreference added in v2.1.0

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 (GetClustersResultBiConnectorConfigOutput) ToGetClustersResultBiConnectorConfigOutput added in v2.1.0

func (o GetClustersResultBiConnectorConfigOutput) ToGetClustersResultBiConnectorConfigOutput() GetClustersResultBiConnectorConfigOutput

func (GetClustersResultBiConnectorConfigOutput) ToGetClustersResultBiConnectorConfigOutputWithContext added in v2.1.0

func (o GetClustersResultBiConnectorConfigOutput) ToGetClustersResultBiConnectorConfigOutputWithContext(ctx context.Context) GetClustersResultBiConnectorConfigOutput

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

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

type GetClustersResultConnectionStringsPrivateEndpoint struct {
	ConnectionString    string                                                      `pulumi:"connectionString"`
	Endpoints           []GetClustersResultConnectionStringsPrivateEndpointEndpoint `pulumi:"endpoints"`
	SrvConnectionString string                                                      `pulumi:"srvConnectionString"`
	Type                string                                                      `pulumi:"type"`
}

type GetClustersResultConnectionStringsPrivateEndpointArgs

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

func (GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutput

func (i GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutput() GetClustersResultConnectionStringsPrivateEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext

func (i GetClustersResultConnectionStringsPrivateEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointArray

type GetClustersResultConnectionStringsPrivateEndpointArray []GetClustersResultConnectionStringsPrivateEndpointInput

func (GetClustersResultConnectionStringsPrivateEndpointArray) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput

func (i GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput() GetClustersResultConnectionStringsPrivateEndpointArrayOutput

func (GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext

func (i GetClustersResultConnectionStringsPrivateEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointArrayInput

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

type GetClustersResultConnectionStringsPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) Index

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutput

func (GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext

func (o GetClustersResultConnectionStringsPrivateEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpoint

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

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

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext

func (i GetClustersResultConnectionStringsPrivateEndpointEndpointArgs) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointArray

type GetClustersResultConnectionStringsPrivateEndpointEndpointArray []GetClustersResultConnectionStringsPrivateEndpointEndpointInput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

func (i GetClustersResultConnectionStringsPrivateEndpointEndpointArray) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayInput

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

type GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext

func (o GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointArrayOutput

type GetClustersResultConnectionStringsPrivateEndpointEndpointInput

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

type GetClustersResultConnectionStringsPrivateEndpointEndpointOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) EndpointId

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ProviderName

Indicates the cloud service provider on which the servers are provisioned.

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) Region

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext

func (o GetClustersResultConnectionStringsPrivateEndpointEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointEndpointOutput

type GetClustersResultConnectionStringsPrivateEndpointInput

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

type GetClustersResultConnectionStringsPrivateEndpointOutput struct{ *pulumi.OutputState }

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ConnectionString

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ElementType

func (GetClustersResultConnectionStringsPrivateEndpointOutput) SrvConnectionString

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext

func (o GetClustersResultConnectionStringsPrivateEndpointOutput) ToGetClustersResultConnectionStringsPrivateEndpointOutputWithContext(ctx context.Context) GetClustersResultConnectionStringsPrivateEndpointOutput

func (GetClustersResultConnectionStringsPrivateEndpointOutput) Type

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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector GetClustersResultBiConnector `pulumi:"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.
	BiConnectorConfig GetClustersResultBiConnectorConfig `pulumi:"biConnectorConfig"`
	// 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"`
	// **(DEPRECATED)** 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. By default this attribute is always enabled, per deprecation process showing the real value at `providerEncryptEbsVolumeFlag` computed attribute.
	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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector GetClustersResultBiConnectorInput `pulumi:"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.
	BiConnectorConfig GetClustersResultBiConnectorConfigInput `pulumi:"biConnectorConfig"`
	// 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"`
	// **(DEPRECATED)** 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. By default this attribute is always enabled, per deprecation process showing the real value at `providerEncryptEbsVolumeFlag` computed attribute.
	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

func (o GetClustersResultTypeOutput) AutoScalingComputeEnabled() pulumi.BoolOutput

(Optional) Specifies whether cluster tier auto-scaling is enabled. The default is false.

func (GetClustersResultTypeOutput) AutoScalingComputeScaleDownEnabled

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 deprecated

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. **DEPRECATED** Use `biConnectorConfig` instead.

Deprecated: use bi_connector_config instead

func (GetClustersResultTypeOutput) BiConnectorConfig added in v2.1.0

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

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

func (o GetClustersResultTypeOutput) ProviderAutoScalingComputeMaxInstanceSize() pulumi.StringOutput

(Optional) Maximum instance size to which your cluster can automatically scale.

func (GetClustersResultTypeOutput) ProviderAutoScalingComputeMinInstanceSize

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

**(DEPRECATED)** 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. By default this attribute is always enabled, per deprecation process showing the real value at `providerEncryptEbsVolumeFlag` computed attribute.

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mongodbatlas.NewDatabaseUser(ctx, "testDatabaseUser", &mongodbatlas.DatabaseUserArgs{
			Username:     pulumi.String("test-acc-username"),
			Password:     pulumi.String("test-acc-password"),
			ProjectId:    pulumi.String("<PROJECT-ID>"),
			DatabaseName: 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"),
				},
			},
		})
		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

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

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

func (GetDatabaseUserScopeArgs) ElementType() reflect.Type

func (GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutput

func (i GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutput() GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutputWithContext

func (i GetDatabaseUserScopeArgs) ToGetDatabaseUserScopeOutputWithContext(ctx context.Context) GetDatabaseUserScopeOutput

type GetDatabaseUserScopeArray

type GetDatabaseUserScopeArray []GetDatabaseUserScopeInput

func (GetDatabaseUserScopeArray) ElementType

func (GetDatabaseUserScopeArray) ElementType() reflect.Type

func (GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutput

func (i GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutput() GetDatabaseUserScopeArrayOutput

func (GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutputWithContext

func (i GetDatabaseUserScopeArray) ToGetDatabaseUserScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUserScopeArrayOutput

type GetDatabaseUserScopeArrayInput

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

type GetDatabaseUserScopeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserScopeArrayOutput) ElementType

func (GetDatabaseUserScopeArrayOutput) Index

func (GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutput

func (o GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutput() GetDatabaseUserScopeArrayOutput

func (GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutputWithContext

func (o GetDatabaseUserScopeArrayOutput) ToGetDatabaseUserScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUserScopeArrayOutput

type GetDatabaseUserScopeInput

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

type GetDatabaseUserScopeOutput struct{ *pulumi.OutputState }

func (GetDatabaseUserScopeOutput) ElementType

func (GetDatabaseUserScopeOutput) ElementType() reflect.Type

func (GetDatabaseUserScopeOutput) Name

Name of the role to grant.

func (GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutput

func (o GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutput() GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutputWithContext

func (o GetDatabaseUserScopeOutput) ToGetDatabaseUserScopeOutputWithContext(ctx context.Context) GetDatabaseUserScopeOutput

func (GetDatabaseUserScopeOutput) Type

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

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

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

func (GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutput

func (i GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutput() GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutputWithContext

func (i GetDatabaseUsersResultScopeArgs) ToGetDatabaseUsersResultScopeOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeOutput

type GetDatabaseUsersResultScopeArray

type GetDatabaseUsersResultScopeArray []GetDatabaseUsersResultScopeInput

func (GetDatabaseUsersResultScopeArray) ElementType

func (GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutput

func (i GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutput() GetDatabaseUsersResultScopeArrayOutput

func (GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutputWithContext

func (i GetDatabaseUsersResultScopeArray) ToGetDatabaseUsersResultScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeArrayOutput

type GetDatabaseUsersResultScopeArrayInput

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

type GetDatabaseUsersResultScopeArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultScopeArrayOutput) ElementType

func (GetDatabaseUsersResultScopeArrayOutput) Index

func (GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutput

func (o GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutput() GetDatabaseUsersResultScopeArrayOutput

func (GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutputWithContext

func (o GetDatabaseUsersResultScopeArrayOutput) ToGetDatabaseUsersResultScopeArrayOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeArrayOutput

type GetDatabaseUsersResultScopeInput

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

type GetDatabaseUsersResultScopeOutput struct{ *pulumi.OutputState }

func (GetDatabaseUsersResultScopeOutput) ElementType

func (GetDatabaseUsersResultScopeOutput) Name

Name of the role to grant.

func (GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutput

func (o GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutput() GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutputWithContext

func (o GetDatabaseUsersResultScopeOutput) ToGetDatabaseUsersResultScopeOutputWithContext(ctx context.Context) GetDatabaseUsersResultScopeOutput

func (GetDatabaseUsersResultScopeOutput) Type

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` and `ldapAuthType` 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"`
	// Method by which the provided username is authenticated. Default is `NONE`. Other valid values are: `USER`, `GROUP`.
	LdapAuthType string `pulumi:"ldapAuthType"`
	// 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` and `ldapAuthType` 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"`
	// Method by which the provided username is authenticated. Default is `NONE`. Other valid values are: `USER`, `GROUP`.
	LdapAuthType pulumi.StringInput `pulumi:"ldapAuthType"`
	// 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` and `ldapAuthType` are omitted or NONE. * `$external` if: * `x509Type` is MANAGED or CUSTOMER, or * `awsIamType` is USER or ROLE.

func (GetDatabaseUsersResultTypeOutput) AwsIamType

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) LdapAuthType added in v2.1.0

Method by which the provided username is authenticated. Default is `NONE`. Other valid values are: `USER`, `GROUP`.

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

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 GetLdapConfigurationUserToDnMapping added in v2.1.0

type GetLdapConfigurationUserToDnMapping struct {
	LdapQuery    string `pulumi:"ldapQuery"`
	Match        string `pulumi:"match"`
	Substitution string `pulumi:"substitution"`
}

type GetLdapConfigurationUserToDnMappingArgs added in v2.1.0

type GetLdapConfigurationUserToDnMappingArgs struct {
	LdapQuery    pulumi.StringInput `pulumi:"ldapQuery"`
	Match        pulumi.StringInput `pulumi:"match"`
	Substitution pulumi.StringInput `pulumi:"substitution"`
}

func (GetLdapConfigurationUserToDnMappingArgs) ElementType added in v2.1.0

func (GetLdapConfigurationUserToDnMappingArgs) ToGetLdapConfigurationUserToDnMappingOutput added in v2.1.0

func (i GetLdapConfigurationUserToDnMappingArgs) ToGetLdapConfigurationUserToDnMappingOutput() GetLdapConfigurationUserToDnMappingOutput

func (GetLdapConfigurationUserToDnMappingArgs) ToGetLdapConfigurationUserToDnMappingOutputWithContext added in v2.1.0

func (i GetLdapConfigurationUserToDnMappingArgs) ToGetLdapConfigurationUserToDnMappingOutputWithContext(ctx context.Context) GetLdapConfigurationUserToDnMappingOutput

type GetLdapConfigurationUserToDnMappingArray added in v2.1.0

type GetLdapConfigurationUserToDnMappingArray []GetLdapConfigurationUserToDnMappingInput

func (GetLdapConfigurationUserToDnMappingArray) ElementType added in v2.1.0

func (GetLdapConfigurationUserToDnMappingArray) ToGetLdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

func (i GetLdapConfigurationUserToDnMappingArray) ToGetLdapConfigurationUserToDnMappingArrayOutput() GetLdapConfigurationUserToDnMappingArrayOutput

func (GetLdapConfigurationUserToDnMappingArray) ToGetLdapConfigurationUserToDnMappingArrayOutputWithContext added in v2.1.0

func (i GetLdapConfigurationUserToDnMappingArray) ToGetLdapConfigurationUserToDnMappingArrayOutputWithContext(ctx context.Context) GetLdapConfigurationUserToDnMappingArrayOutput

type GetLdapConfigurationUserToDnMappingArrayInput added in v2.1.0

type GetLdapConfigurationUserToDnMappingArrayInput interface {
	pulumi.Input

	ToGetLdapConfigurationUserToDnMappingArrayOutput() GetLdapConfigurationUserToDnMappingArrayOutput
	ToGetLdapConfigurationUserToDnMappingArrayOutputWithContext(context.Context) GetLdapConfigurationUserToDnMappingArrayOutput
}

GetLdapConfigurationUserToDnMappingArrayInput is an input type that accepts GetLdapConfigurationUserToDnMappingArray and GetLdapConfigurationUserToDnMappingArrayOutput values. You can construct a concrete instance of `GetLdapConfigurationUserToDnMappingArrayInput` via:

GetLdapConfigurationUserToDnMappingArray{ GetLdapConfigurationUserToDnMappingArgs{...} }

type GetLdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

type GetLdapConfigurationUserToDnMappingArrayOutput struct{ *pulumi.OutputState }

func (GetLdapConfigurationUserToDnMappingArrayOutput) ElementType added in v2.1.0

func (GetLdapConfigurationUserToDnMappingArrayOutput) Index added in v2.1.0

func (GetLdapConfigurationUserToDnMappingArrayOutput) ToGetLdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

func (o GetLdapConfigurationUserToDnMappingArrayOutput) ToGetLdapConfigurationUserToDnMappingArrayOutput() GetLdapConfigurationUserToDnMappingArrayOutput

func (GetLdapConfigurationUserToDnMappingArrayOutput) ToGetLdapConfigurationUserToDnMappingArrayOutputWithContext added in v2.1.0

func (o GetLdapConfigurationUserToDnMappingArrayOutput) ToGetLdapConfigurationUserToDnMappingArrayOutputWithContext(ctx context.Context) GetLdapConfigurationUserToDnMappingArrayOutput

type GetLdapConfigurationUserToDnMappingInput added in v2.1.0

type GetLdapConfigurationUserToDnMappingInput interface {
	pulumi.Input

	ToGetLdapConfigurationUserToDnMappingOutput() GetLdapConfigurationUserToDnMappingOutput
	ToGetLdapConfigurationUserToDnMappingOutputWithContext(context.Context) GetLdapConfigurationUserToDnMappingOutput
}

GetLdapConfigurationUserToDnMappingInput is an input type that accepts GetLdapConfigurationUserToDnMappingArgs and GetLdapConfigurationUserToDnMappingOutput values. You can construct a concrete instance of `GetLdapConfigurationUserToDnMappingInput` via:

GetLdapConfigurationUserToDnMappingArgs{...}

type GetLdapConfigurationUserToDnMappingOutput added in v2.1.0

type GetLdapConfigurationUserToDnMappingOutput struct{ *pulumi.OutputState }

func (GetLdapConfigurationUserToDnMappingOutput) ElementType added in v2.1.0

func (GetLdapConfigurationUserToDnMappingOutput) LdapQuery added in v2.1.0

func (GetLdapConfigurationUserToDnMappingOutput) Match added in v2.1.0

func (GetLdapConfigurationUserToDnMappingOutput) Substitution added in v2.1.0

func (GetLdapConfigurationUserToDnMappingOutput) ToGetLdapConfigurationUserToDnMappingOutput added in v2.1.0

func (o GetLdapConfigurationUserToDnMappingOutput) ToGetLdapConfigurationUserToDnMappingOutput() GetLdapConfigurationUserToDnMappingOutput

func (GetLdapConfigurationUserToDnMappingOutput) ToGetLdapConfigurationUserToDnMappingOutputWithContext added in v2.1.0

func (o GetLdapConfigurationUserToDnMappingOutput) ToGetLdapConfigurationUserToDnMappingOutputWithContext(ctx context.Context) GetLdapConfigurationUserToDnMappingOutput
type GetLdapVerifyLink struct {
	Href string `pulumi:"href"`
	Rel  string `pulumi:"rel"`
}

type GetLdapVerifyLinkArgs added in v2.1.0

type GetLdapVerifyLinkArgs struct {
	Href pulumi.StringInput `pulumi:"href"`
	Rel  pulumi.StringInput `pulumi:"rel"`
}

func (GetLdapVerifyLinkArgs) ElementType added in v2.1.0

func (GetLdapVerifyLinkArgs) ElementType() reflect.Type

func (GetLdapVerifyLinkArgs) ToGetLdapVerifyLinkOutput added in v2.1.0

func (i GetLdapVerifyLinkArgs) ToGetLdapVerifyLinkOutput() GetLdapVerifyLinkOutput

func (GetLdapVerifyLinkArgs) ToGetLdapVerifyLinkOutputWithContext added in v2.1.0

func (i GetLdapVerifyLinkArgs) ToGetLdapVerifyLinkOutputWithContext(ctx context.Context) GetLdapVerifyLinkOutput

type GetLdapVerifyLinkArray added in v2.1.0

type GetLdapVerifyLinkArray []GetLdapVerifyLinkInput

func (GetLdapVerifyLinkArray) ElementType added in v2.1.0

func (GetLdapVerifyLinkArray) ElementType() reflect.Type

func (GetLdapVerifyLinkArray) ToGetLdapVerifyLinkArrayOutput added in v2.1.0

func (i GetLdapVerifyLinkArray) ToGetLdapVerifyLinkArrayOutput() GetLdapVerifyLinkArrayOutput

func (GetLdapVerifyLinkArray) ToGetLdapVerifyLinkArrayOutputWithContext added in v2.1.0

func (i GetLdapVerifyLinkArray) ToGetLdapVerifyLinkArrayOutputWithContext(ctx context.Context) GetLdapVerifyLinkArrayOutput

type GetLdapVerifyLinkArrayInput added in v2.1.0

type GetLdapVerifyLinkArrayInput interface {
	pulumi.Input

	ToGetLdapVerifyLinkArrayOutput() GetLdapVerifyLinkArrayOutput
	ToGetLdapVerifyLinkArrayOutputWithContext(context.Context) GetLdapVerifyLinkArrayOutput
}

GetLdapVerifyLinkArrayInput is an input type that accepts GetLdapVerifyLinkArray and GetLdapVerifyLinkArrayOutput values. You can construct a concrete instance of `GetLdapVerifyLinkArrayInput` via:

GetLdapVerifyLinkArray{ GetLdapVerifyLinkArgs{...} }

type GetLdapVerifyLinkArrayOutput added in v2.1.0

type GetLdapVerifyLinkArrayOutput struct{ *pulumi.OutputState }

func (GetLdapVerifyLinkArrayOutput) ElementType added in v2.1.0

func (GetLdapVerifyLinkArrayOutput) Index added in v2.1.0

func (GetLdapVerifyLinkArrayOutput) ToGetLdapVerifyLinkArrayOutput added in v2.1.0

func (o GetLdapVerifyLinkArrayOutput) ToGetLdapVerifyLinkArrayOutput() GetLdapVerifyLinkArrayOutput

func (GetLdapVerifyLinkArrayOutput) ToGetLdapVerifyLinkArrayOutputWithContext added in v2.1.0

func (o GetLdapVerifyLinkArrayOutput) ToGetLdapVerifyLinkArrayOutputWithContext(ctx context.Context) GetLdapVerifyLinkArrayOutput

type GetLdapVerifyLinkInput added in v2.1.0

type GetLdapVerifyLinkInput interface {
	pulumi.Input

	ToGetLdapVerifyLinkOutput() GetLdapVerifyLinkOutput
	ToGetLdapVerifyLinkOutputWithContext(context.Context) GetLdapVerifyLinkOutput
}

GetLdapVerifyLinkInput is an input type that accepts GetLdapVerifyLinkArgs and GetLdapVerifyLinkOutput values. You can construct a concrete instance of `GetLdapVerifyLinkInput` via:

GetLdapVerifyLinkArgs{...}

type GetLdapVerifyLinkOutput added in v2.1.0

type GetLdapVerifyLinkOutput struct{ *pulumi.OutputState }

func (GetLdapVerifyLinkOutput) ElementType added in v2.1.0

func (GetLdapVerifyLinkOutput) ElementType() reflect.Type

func (GetLdapVerifyLinkOutput) Href added in v2.1.0

func (GetLdapVerifyLinkOutput) Rel added in v2.1.0

func (GetLdapVerifyLinkOutput) ToGetLdapVerifyLinkOutput added in v2.1.0

func (o GetLdapVerifyLinkOutput) ToGetLdapVerifyLinkOutput() GetLdapVerifyLinkOutput

func (GetLdapVerifyLinkOutput) ToGetLdapVerifyLinkOutputWithContext added in v2.1.0

func (o GetLdapVerifyLinkOutput) ToGetLdapVerifyLinkOutputWithContext(ctx context.Context) GetLdapVerifyLinkOutput

type GetLdapVerifyValidation added in v2.1.0

type GetLdapVerifyValidation struct {
	// The current status of the LDAP over TLS/SSL configuration.
	Status         string `pulumi:"status"`
	ValidationType string `pulumi:"validationType"`
}

type GetLdapVerifyValidationArgs added in v2.1.0

type GetLdapVerifyValidationArgs struct {
	// The current status of the LDAP over TLS/SSL configuration.
	Status         pulumi.StringInput `pulumi:"status"`
	ValidationType pulumi.StringInput `pulumi:"validationType"`
}

func (GetLdapVerifyValidationArgs) ElementType added in v2.1.0

func (GetLdapVerifyValidationArgs) ToGetLdapVerifyValidationOutput added in v2.1.0

func (i GetLdapVerifyValidationArgs) ToGetLdapVerifyValidationOutput() GetLdapVerifyValidationOutput

func (GetLdapVerifyValidationArgs) ToGetLdapVerifyValidationOutputWithContext added in v2.1.0

func (i GetLdapVerifyValidationArgs) ToGetLdapVerifyValidationOutputWithContext(ctx context.Context) GetLdapVerifyValidationOutput

type GetLdapVerifyValidationArray added in v2.1.0

type GetLdapVerifyValidationArray []GetLdapVerifyValidationInput

func (GetLdapVerifyValidationArray) ElementType added in v2.1.0

func (GetLdapVerifyValidationArray) ToGetLdapVerifyValidationArrayOutput added in v2.1.0

func (i GetLdapVerifyValidationArray) ToGetLdapVerifyValidationArrayOutput() GetLdapVerifyValidationArrayOutput

func (GetLdapVerifyValidationArray) ToGetLdapVerifyValidationArrayOutputWithContext added in v2.1.0

func (i GetLdapVerifyValidationArray) ToGetLdapVerifyValidationArrayOutputWithContext(ctx context.Context) GetLdapVerifyValidationArrayOutput

type GetLdapVerifyValidationArrayInput added in v2.1.0

type GetLdapVerifyValidationArrayInput interface {
	pulumi.Input

	ToGetLdapVerifyValidationArrayOutput() GetLdapVerifyValidationArrayOutput
	ToGetLdapVerifyValidationArrayOutputWithContext(context.Context) GetLdapVerifyValidationArrayOutput
}

GetLdapVerifyValidationArrayInput is an input type that accepts GetLdapVerifyValidationArray and GetLdapVerifyValidationArrayOutput values. You can construct a concrete instance of `GetLdapVerifyValidationArrayInput` via:

GetLdapVerifyValidationArray{ GetLdapVerifyValidationArgs{...} }

type GetLdapVerifyValidationArrayOutput added in v2.1.0

type GetLdapVerifyValidationArrayOutput struct{ *pulumi.OutputState }

func (GetLdapVerifyValidationArrayOutput) ElementType added in v2.1.0

func (GetLdapVerifyValidationArrayOutput) Index added in v2.1.0

func (GetLdapVerifyValidationArrayOutput) ToGetLdapVerifyValidationArrayOutput added in v2.1.0

func (o GetLdapVerifyValidationArrayOutput) ToGetLdapVerifyValidationArrayOutput() GetLdapVerifyValidationArrayOutput

func (GetLdapVerifyValidationArrayOutput) ToGetLdapVerifyValidationArrayOutputWithContext added in v2.1.0

func (o GetLdapVerifyValidationArrayOutput) ToGetLdapVerifyValidationArrayOutputWithContext(ctx context.Context) GetLdapVerifyValidationArrayOutput

type GetLdapVerifyValidationInput added in v2.1.0

type GetLdapVerifyValidationInput interface {
	pulumi.Input

	ToGetLdapVerifyValidationOutput() GetLdapVerifyValidationOutput
	ToGetLdapVerifyValidationOutputWithContext(context.Context) GetLdapVerifyValidationOutput
}

GetLdapVerifyValidationInput is an input type that accepts GetLdapVerifyValidationArgs and GetLdapVerifyValidationOutput values. You can construct a concrete instance of `GetLdapVerifyValidationInput` via:

GetLdapVerifyValidationArgs{...}

type GetLdapVerifyValidationOutput added in v2.1.0

type GetLdapVerifyValidationOutput struct{ *pulumi.OutputState }

func (GetLdapVerifyValidationOutput) ElementType added in v2.1.0

func (GetLdapVerifyValidationOutput) Status added in v2.1.0

The current status of the LDAP over TLS/SSL configuration.

func (GetLdapVerifyValidationOutput) ToGetLdapVerifyValidationOutput added in v2.1.0

func (o GetLdapVerifyValidationOutput) ToGetLdapVerifyValidationOutput() GetLdapVerifyValidationOutput

func (GetLdapVerifyValidationOutput) ToGetLdapVerifyValidationOutputWithContext added in v2.1.0

func (o GetLdapVerifyValidationOutput) ToGetLdapVerifyValidationOutputWithContext(ctx context.Context) GetLdapVerifyValidationOutput

func (GetLdapVerifyValidationOutput) ValidationType added in v2.1.0

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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"`
	// Atlas GCP regions where the container resides.
	Regions []string `pulumi:"regions"`
	// 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"`
	// Atlas GCP regions where the container resides.
	Regions pulumi.StringArrayInput `pulumi:"regions"`
	// 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) Regions added in v2.1.0

Atlas GCP regions where the container resides.

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

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

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

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

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

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

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

func (GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutput

func (i GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutput() GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutputWithContext

func (i GetThirdPartyIntegrationsResultTypeArgs) ToGetThirdPartyIntegrationsResultTypeOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeOutput

type GetThirdPartyIntegrationsResultTypeArray

type GetThirdPartyIntegrationsResultTypeArray []GetThirdPartyIntegrationsResultTypeInput

func (GetThirdPartyIntegrationsResultTypeArray) ElementType

func (GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutput

func (i GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutput() GetThirdPartyIntegrationsResultTypeArrayOutput

func (GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext

func (i GetThirdPartyIntegrationsResultTypeArray) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeArrayOutput

type GetThirdPartyIntegrationsResultTypeArrayInput

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

type GetThirdPartyIntegrationsResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ElementType

func (GetThirdPartyIntegrationsResultTypeArrayOutput) Index

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutput

func (o GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutput() GetThirdPartyIntegrationsResultTypeArrayOutput

func (GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext

func (o GetThirdPartyIntegrationsResultTypeArrayOutput) ToGetThirdPartyIntegrationsResultTypeArrayOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeArrayOutput

type GetThirdPartyIntegrationsResultTypeInput

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

type GetThirdPartyIntegrationsResultTypeOutput struct{ *pulumi.OutputState }

func (GetThirdPartyIntegrationsResultTypeOutput) AccountId

Unique identifier of your New Relic account.

func (GetThirdPartyIntegrationsResultTypeOutput) ApiKey

Your API Key.

func (GetThirdPartyIntegrationsResultTypeOutput) ApiToken

Your API Token.

func (GetThirdPartyIntegrationsResultTypeOutput) ChannelName

func (GetThirdPartyIntegrationsResultTypeOutput) ElementType

func (GetThirdPartyIntegrationsResultTypeOutput) FlowName

Your Flowdock Flow name.

func (GetThirdPartyIntegrationsResultTypeOutput) LicenseKey

Your License Key.

func (GetThirdPartyIntegrationsResultTypeOutput) OrgName

Your Flowdock organization name. * `WEBHOOK`

func (GetThirdPartyIntegrationsResultTypeOutput) ProjectId

The unique ID for the project to get all Third-Party service integrations

func (GetThirdPartyIntegrationsResultTypeOutput) ReadToken

Your Insights Query Key. * `OPS_GENIE`

func (GetThirdPartyIntegrationsResultTypeOutput) Region

Indicates which API URL to use, either US or EU. Opsgenie will use US by default. * `VICTOR_OPS`

func (GetThirdPartyIntegrationsResultTypeOutput) RoutingKey

An optional field for your Routing Key. * `FLOWDOCK`

func (GetThirdPartyIntegrationsResultTypeOutput) Secret

An optional field for your webhook secret.

func (GetThirdPartyIntegrationsResultTypeOutput) ServiceKey

Your Service Key. * `DATADOG`

func (GetThirdPartyIntegrationsResultTypeOutput) TeamName

func (GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutput

func (o GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutput() GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutputWithContext

func (o GetThirdPartyIntegrationsResultTypeOutput) ToGetThirdPartyIntegrationsResultTypeOutputWithContext(ctx context.Context) GetThirdPartyIntegrationsResultTypeOutput

func (GetThirdPartyIntegrationsResultTypeOutput) Type

(Required) Thirt-Party service integration type.

func (GetThirdPartyIntegrationsResultTypeOutput) Url

Your webhook URL.

func (GetThirdPartyIntegrationsResultTypeOutput) WriteToken

Your Insights Insert Key.

type GlobalClusterConfig

type GlobalClusterConfig struct {
	pulumi.CustomResourceState

	// The name of the Global Cluster.
	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.
	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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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"),
			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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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),
			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

func (*GlobalClusterConfig) ElementType() reflect.Type

func (*GlobalClusterConfig) ToGlobalClusterConfigOutput

func (i *GlobalClusterConfig) ToGlobalClusterConfigOutput() GlobalClusterConfigOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigOutputWithContext

func (i *GlobalClusterConfig) ToGlobalClusterConfigOutputWithContext(ctx context.Context) GlobalClusterConfigOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigPtrOutput

func (i *GlobalClusterConfig) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (*GlobalClusterConfig) ToGlobalClusterConfigPtrOutputWithContext

func (i *GlobalClusterConfig) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigArgs

type GlobalClusterConfigArgs struct {
	// The name of the Global Cluster.
	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.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a GlobalClusterConfig resource.

func (GlobalClusterConfigArgs) ElementType

func (GlobalClusterConfigArgs) ElementType() reflect.Type

type GlobalClusterConfigArray

type GlobalClusterConfigArray []GlobalClusterConfigInput

func (GlobalClusterConfigArray) ElementType

func (GlobalClusterConfigArray) ElementType() reflect.Type

func (GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutput

func (i GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutput() GlobalClusterConfigArrayOutput

func (GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutputWithContext

func (i GlobalClusterConfigArray) ToGlobalClusterConfigArrayOutputWithContext(ctx context.Context) GlobalClusterConfigArrayOutput

type GlobalClusterConfigArrayInput

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

type GlobalClusterConfigArrayOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigArrayOutput) ElementType

func (GlobalClusterConfigArrayOutput) Index

func (GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutput

func (o GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutput() GlobalClusterConfigArrayOutput

func (GlobalClusterConfigArrayOutput) ToGlobalClusterConfigArrayOutputWithContext

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

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

type GlobalClusterConfigMap map[string]GlobalClusterConfigInput

func (GlobalClusterConfigMap) ElementType

func (GlobalClusterConfigMap) ElementType() reflect.Type

func (GlobalClusterConfigMap) ToGlobalClusterConfigMapOutput

func (i GlobalClusterConfigMap) ToGlobalClusterConfigMapOutput() GlobalClusterConfigMapOutput

func (GlobalClusterConfigMap) ToGlobalClusterConfigMapOutputWithContext

func (i GlobalClusterConfigMap) ToGlobalClusterConfigMapOutputWithContext(ctx context.Context) GlobalClusterConfigMapOutput

type GlobalClusterConfigMapInput

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

type GlobalClusterConfigMapOutput struct{ *pulumi.OutputState }

func (GlobalClusterConfigMapOutput) ElementType

func (GlobalClusterConfigMapOutput) MapIndex

func (GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutput

func (o GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutput() GlobalClusterConfigMapOutput

func (GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutputWithContext

func (o GlobalClusterConfigMapOutput) ToGlobalClusterConfigMapOutputWithContext(ctx context.Context) GlobalClusterConfigMapOutput

type GlobalClusterConfigOutput

type GlobalClusterConfigOutput struct {
	*pulumi.OutputState
}

func (GlobalClusterConfigOutput) ElementType

func (GlobalClusterConfigOutput) ElementType() reflect.Type

func (GlobalClusterConfigOutput) ToGlobalClusterConfigOutput

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigOutput() GlobalClusterConfigOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigOutputWithContext

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigOutputWithContext(ctx context.Context) GlobalClusterConfigOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutput

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutputWithContext

func (o GlobalClusterConfigOutput) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigPtrInput

type GlobalClusterConfigPtrInput interface {
	pulumi.Input

	ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput
	ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput
}

type GlobalClusterConfigPtrOutput

type GlobalClusterConfigPtrOutput struct {
	*pulumi.OutputState
}

func (GlobalClusterConfigPtrOutput) ElementType

func (GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutput

func (o GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutput() GlobalClusterConfigPtrOutput

func (GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutputWithContext

func (o GlobalClusterConfigPtrOutput) ToGlobalClusterConfigPtrOutputWithContext(ctx context.Context) GlobalClusterConfigPtrOutput

type GlobalClusterConfigState

type GlobalClusterConfigState struct {
	// The name of the Global Cluster.
	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.
	ProjectId pulumi.StringPtrInput
}

func (GlobalClusterConfigState) ElementType

func (GlobalClusterConfigState) ElementType() reflect.Type

type LdapConfiguration added in v2.1.0

type LdapConfiguration struct {
	pulumi.CustomResourceState

	// Specifies whether user authentication with LDAP is enabled.
	AuthenticationEnabled pulumi.BoolOutput `pulumi:"authenticationEnabled"`
	// Specifies whether user authorization with LDAP is enabled. You cannot enable user authorization with LDAP without first enabling user authentication with LDAP.
	AuthorizationEnabled pulumi.BoolOutput `pulumi:"authorizationEnabled"`
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringOutput `pulumi:"authzQueryTemplate"`
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringOutput `pulumi:"bindPassword"`
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringOutput `pulumi:"bindUsername"`
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringOutput `pulumi:"caCertificate"`
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Maps an LDAP username for authentication to an LDAP Distinguished Name (DN). Each document contains a `match` regular expression and either a `substitution` or `ldapQuery` template used to transform the LDAP username extracted from the regular expression. Atlas steps through the each document in the array in the given order, checking the authentication username against the `match` filter. If a match is found, Atlas applies the transformation and uses the output to authenticate the user. Atlas does not check the remaining documents in the array. For more details and examples see the [MongoDB Atlas API Reference](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-save/).
	// * `user_to_dn_mapping.0.match` - (Optional) A regular expression to match against a provided LDAP username. Each parenthesis-enclosed section represents a regular expression capture group used by the `substitution` or `ldapQuery` template.
	// * `user_to_dn_mapping.0.substitution` - (Optional) An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by the `match` regular expression into an LDAP Distinguished Name. Each bracket-enclosed numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	// * `user_to_dn_mapping.0.ldap_query` - (Optional) An LDAP query formatting template that inserts the LDAP name matched by the `match` regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516. Each numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	UserToDnMappings LdapConfigurationUserToDnMappingArrayOutput `pulumi:"userToDnMappings"`
}

## Import

LDAP Configuration must be imported using project ID, e.g.

```sh

$ pulumi import mongodbatlas:index/ldapConfiguration:LdapConfiguration test 5d09d6a59ccf6445652a444a

```

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

func GetLdapConfiguration added in v2.1.0

func GetLdapConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LdapConfigurationState, opts ...pulumi.ResourceOption) (*LdapConfiguration, error)

GetLdapConfiguration gets an existing LdapConfiguration 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 NewLdapConfiguration added in v2.1.0

func NewLdapConfiguration(ctx *pulumi.Context,
	name string, args *LdapConfigurationArgs, opts ...pulumi.ResourceOption) (*LdapConfiguration, error)

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

func (*LdapConfiguration) ElementType added in v2.1.0

func (*LdapConfiguration) ElementType() reflect.Type

func (*LdapConfiguration) ToLdapConfigurationOutput added in v2.1.0

func (i *LdapConfiguration) ToLdapConfigurationOutput() LdapConfigurationOutput

func (*LdapConfiguration) ToLdapConfigurationOutputWithContext added in v2.1.0

func (i *LdapConfiguration) ToLdapConfigurationOutputWithContext(ctx context.Context) LdapConfigurationOutput

func (*LdapConfiguration) ToLdapConfigurationPtrOutput added in v2.1.0

func (i *LdapConfiguration) ToLdapConfigurationPtrOutput() LdapConfigurationPtrOutput

func (*LdapConfiguration) ToLdapConfigurationPtrOutputWithContext added in v2.1.0

func (i *LdapConfiguration) ToLdapConfigurationPtrOutputWithContext(ctx context.Context) LdapConfigurationPtrOutput

type LdapConfigurationArgs added in v2.1.0

type LdapConfigurationArgs struct {
	// Specifies whether user authentication with LDAP is enabled.
	AuthenticationEnabled pulumi.BoolInput
	// Specifies whether user authorization with LDAP is enabled. You cannot enable user authorization with LDAP without first enabling user authentication with LDAP.
	AuthorizationEnabled pulumi.BoolPtrInput
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringPtrInput
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringInput
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringInput
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringPtrInput
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringInput
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntPtrInput
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringInput
	// Maps an LDAP username for authentication to an LDAP Distinguished Name (DN). Each document contains a `match` regular expression and either a `substitution` or `ldapQuery` template used to transform the LDAP username extracted from the regular expression. Atlas steps through the each document in the array in the given order, checking the authentication username against the `match` filter. If a match is found, Atlas applies the transformation and uses the output to authenticate the user. Atlas does not check the remaining documents in the array. For more details and examples see the [MongoDB Atlas API Reference](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-save/).
	// * `user_to_dn_mapping.0.match` - (Optional) A regular expression to match against a provided LDAP username. Each parenthesis-enclosed section represents a regular expression capture group used by the `substitution` or `ldapQuery` template.
	// * `user_to_dn_mapping.0.substitution` - (Optional) An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by the `match` regular expression into an LDAP Distinguished Name. Each bracket-enclosed numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	// * `user_to_dn_mapping.0.ldap_query` - (Optional) An LDAP query formatting template that inserts the LDAP name matched by the `match` regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516. Each numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	UserToDnMappings LdapConfigurationUserToDnMappingArrayInput
}

The set of arguments for constructing a LdapConfiguration resource.

func (LdapConfigurationArgs) ElementType added in v2.1.0

func (LdapConfigurationArgs) ElementType() reflect.Type

type LdapConfigurationArray added in v2.1.0

type LdapConfigurationArray []LdapConfigurationInput

func (LdapConfigurationArray) ElementType added in v2.1.0

func (LdapConfigurationArray) ElementType() reflect.Type

func (LdapConfigurationArray) ToLdapConfigurationArrayOutput added in v2.1.0

func (i LdapConfigurationArray) ToLdapConfigurationArrayOutput() LdapConfigurationArrayOutput

func (LdapConfigurationArray) ToLdapConfigurationArrayOutputWithContext added in v2.1.0

func (i LdapConfigurationArray) ToLdapConfigurationArrayOutputWithContext(ctx context.Context) LdapConfigurationArrayOutput

type LdapConfigurationArrayInput added in v2.1.0

type LdapConfigurationArrayInput interface {
	pulumi.Input

	ToLdapConfigurationArrayOutput() LdapConfigurationArrayOutput
	ToLdapConfigurationArrayOutputWithContext(context.Context) LdapConfigurationArrayOutput
}

LdapConfigurationArrayInput is an input type that accepts LdapConfigurationArray and LdapConfigurationArrayOutput values. You can construct a concrete instance of `LdapConfigurationArrayInput` via:

LdapConfigurationArray{ LdapConfigurationArgs{...} }

type LdapConfigurationArrayOutput added in v2.1.0

type LdapConfigurationArrayOutput struct{ *pulumi.OutputState }

func (LdapConfigurationArrayOutput) ElementType added in v2.1.0

func (LdapConfigurationArrayOutput) Index added in v2.1.0

func (LdapConfigurationArrayOutput) ToLdapConfigurationArrayOutput added in v2.1.0

func (o LdapConfigurationArrayOutput) ToLdapConfigurationArrayOutput() LdapConfigurationArrayOutput

func (LdapConfigurationArrayOutput) ToLdapConfigurationArrayOutputWithContext added in v2.1.0

func (o LdapConfigurationArrayOutput) ToLdapConfigurationArrayOutputWithContext(ctx context.Context) LdapConfigurationArrayOutput

type LdapConfigurationInput added in v2.1.0

type LdapConfigurationInput interface {
	pulumi.Input

	ToLdapConfigurationOutput() LdapConfigurationOutput
	ToLdapConfigurationOutputWithContext(ctx context.Context) LdapConfigurationOutput
}

type LdapConfigurationMap added in v2.1.0

type LdapConfigurationMap map[string]LdapConfigurationInput

func (LdapConfigurationMap) ElementType added in v2.1.0

func (LdapConfigurationMap) ElementType() reflect.Type

func (LdapConfigurationMap) ToLdapConfigurationMapOutput added in v2.1.0

func (i LdapConfigurationMap) ToLdapConfigurationMapOutput() LdapConfigurationMapOutput

func (LdapConfigurationMap) ToLdapConfigurationMapOutputWithContext added in v2.1.0

func (i LdapConfigurationMap) ToLdapConfigurationMapOutputWithContext(ctx context.Context) LdapConfigurationMapOutput

type LdapConfigurationMapInput added in v2.1.0

type LdapConfigurationMapInput interface {
	pulumi.Input

	ToLdapConfigurationMapOutput() LdapConfigurationMapOutput
	ToLdapConfigurationMapOutputWithContext(context.Context) LdapConfigurationMapOutput
}

LdapConfigurationMapInput is an input type that accepts LdapConfigurationMap and LdapConfigurationMapOutput values. You can construct a concrete instance of `LdapConfigurationMapInput` via:

LdapConfigurationMap{ "key": LdapConfigurationArgs{...} }

type LdapConfigurationMapOutput added in v2.1.0

type LdapConfigurationMapOutput struct{ *pulumi.OutputState }

func (LdapConfigurationMapOutput) ElementType added in v2.1.0

func (LdapConfigurationMapOutput) ElementType() reflect.Type

func (LdapConfigurationMapOutput) MapIndex added in v2.1.0

func (LdapConfigurationMapOutput) ToLdapConfigurationMapOutput added in v2.1.0

func (o LdapConfigurationMapOutput) ToLdapConfigurationMapOutput() LdapConfigurationMapOutput

func (LdapConfigurationMapOutput) ToLdapConfigurationMapOutputWithContext added in v2.1.0

func (o LdapConfigurationMapOutput) ToLdapConfigurationMapOutputWithContext(ctx context.Context) LdapConfigurationMapOutput

type LdapConfigurationOutput added in v2.1.0

type LdapConfigurationOutput struct {
	*pulumi.OutputState
}

func (LdapConfigurationOutput) ElementType added in v2.1.0

func (LdapConfigurationOutput) ElementType() reflect.Type

func (LdapConfigurationOutput) ToLdapConfigurationOutput added in v2.1.0

func (o LdapConfigurationOutput) ToLdapConfigurationOutput() LdapConfigurationOutput

func (LdapConfigurationOutput) ToLdapConfigurationOutputWithContext added in v2.1.0

func (o LdapConfigurationOutput) ToLdapConfigurationOutputWithContext(ctx context.Context) LdapConfigurationOutput

func (LdapConfigurationOutput) ToLdapConfigurationPtrOutput added in v2.1.0

func (o LdapConfigurationOutput) ToLdapConfigurationPtrOutput() LdapConfigurationPtrOutput

func (LdapConfigurationOutput) ToLdapConfigurationPtrOutputWithContext added in v2.1.0

func (o LdapConfigurationOutput) ToLdapConfigurationPtrOutputWithContext(ctx context.Context) LdapConfigurationPtrOutput

type LdapConfigurationPtrInput added in v2.1.0

type LdapConfigurationPtrInput interface {
	pulumi.Input

	ToLdapConfigurationPtrOutput() LdapConfigurationPtrOutput
	ToLdapConfigurationPtrOutputWithContext(ctx context.Context) LdapConfigurationPtrOutput
}

type LdapConfigurationPtrOutput added in v2.1.0

type LdapConfigurationPtrOutput struct {
	*pulumi.OutputState
}

func (LdapConfigurationPtrOutput) ElementType added in v2.1.0

func (LdapConfigurationPtrOutput) ElementType() reflect.Type

func (LdapConfigurationPtrOutput) ToLdapConfigurationPtrOutput added in v2.1.0

func (o LdapConfigurationPtrOutput) ToLdapConfigurationPtrOutput() LdapConfigurationPtrOutput

func (LdapConfigurationPtrOutput) ToLdapConfigurationPtrOutputWithContext added in v2.1.0

func (o LdapConfigurationPtrOutput) ToLdapConfigurationPtrOutputWithContext(ctx context.Context) LdapConfigurationPtrOutput

type LdapConfigurationState added in v2.1.0

type LdapConfigurationState struct {
	// Specifies whether user authentication with LDAP is enabled.
	AuthenticationEnabled pulumi.BoolPtrInput
	// Specifies whether user authorization with LDAP is enabled. You cannot enable user authorization with LDAP without first enabling user authentication with LDAP.
	AuthorizationEnabled pulumi.BoolPtrInput
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringPtrInput
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringPtrInput
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringPtrInput
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringPtrInput
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringPtrInput
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntPtrInput
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringPtrInput
	// Maps an LDAP username for authentication to an LDAP Distinguished Name (DN). Each document contains a `match` regular expression and either a `substitution` or `ldapQuery` template used to transform the LDAP username extracted from the regular expression. Atlas steps through the each document in the array in the given order, checking the authentication username against the `match` filter. If a match is found, Atlas applies the transformation and uses the output to authenticate the user. Atlas does not check the remaining documents in the array. For more details and examples see the [MongoDB Atlas API Reference](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-save/).
	// * `user_to_dn_mapping.0.match` - (Optional) A regular expression to match against a provided LDAP username. Each parenthesis-enclosed section represents a regular expression capture group used by the `substitution` or `ldapQuery` template.
	// * `user_to_dn_mapping.0.substitution` - (Optional) An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by the `match` regular expression into an LDAP Distinguished Name. Each bracket-enclosed numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	// * `user_to_dn_mapping.0.ldap_query` - (Optional) An LDAP query formatting template that inserts the LDAP name matched by the `match` regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516. Each numeric value is replaced by the corresponding regular expression capture group extracted from the LDAP username that matched the `match` regular expression.
	UserToDnMappings LdapConfigurationUserToDnMappingArrayInput
}

func (LdapConfigurationState) ElementType added in v2.1.0

func (LdapConfigurationState) ElementType() reflect.Type

type LdapConfigurationUserToDnMapping added in v2.1.0

type LdapConfigurationUserToDnMapping struct {
	LdapQuery    *string `pulumi:"ldapQuery"`
	Match        *string `pulumi:"match"`
	Substitution *string `pulumi:"substitution"`
}

type LdapConfigurationUserToDnMappingArgs added in v2.1.0

type LdapConfigurationUserToDnMappingArgs struct {
	LdapQuery    pulumi.StringPtrInput `pulumi:"ldapQuery"`
	Match        pulumi.StringPtrInput `pulumi:"match"`
	Substitution pulumi.StringPtrInput `pulumi:"substitution"`
}

func (LdapConfigurationUserToDnMappingArgs) ElementType added in v2.1.0

func (LdapConfigurationUserToDnMappingArgs) ToLdapConfigurationUserToDnMappingOutput added in v2.1.0

func (i LdapConfigurationUserToDnMappingArgs) ToLdapConfigurationUserToDnMappingOutput() LdapConfigurationUserToDnMappingOutput

func (LdapConfigurationUserToDnMappingArgs) ToLdapConfigurationUserToDnMappingOutputWithContext added in v2.1.0

func (i LdapConfigurationUserToDnMappingArgs) ToLdapConfigurationUserToDnMappingOutputWithContext(ctx context.Context) LdapConfigurationUserToDnMappingOutput

type LdapConfigurationUserToDnMappingArray added in v2.1.0

type LdapConfigurationUserToDnMappingArray []LdapConfigurationUserToDnMappingInput

func (LdapConfigurationUserToDnMappingArray) ElementType added in v2.1.0

func (LdapConfigurationUserToDnMappingArray) ToLdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

func (i LdapConfigurationUserToDnMappingArray) ToLdapConfigurationUserToDnMappingArrayOutput() LdapConfigurationUserToDnMappingArrayOutput

func (LdapConfigurationUserToDnMappingArray) ToLdapConfigurationUserToDnMappingArrayOutputWithContext added in v2.1.0

func (i LdapConfigurationUserToDnMappingArray) ToLdapConfigurationUserToDnMappingArrayOutputWithContext(ctx context.Context) LdapConfigurationUserToDnMappingArrayOutput

type LdapConfigurationUserToDnMappingArrayInput added in v2.1.0

type LdapConfigurationUserToDnMappingArrayInput interface {
	pulumi.Input

	ToLdapConfigurationUserToDnMappingArrayOutput() LdapConfigurationUserToDnMappingArrayOutput
	ToLdapConfigurationUserToDnMappingArrayOutputWithContext(context.Context) LdapConfigurationUserToDnMappingArrayOutput
}

LdapConfigurationUserToDnMappingArrayInput is an input type that accepts LdapConfigurationUserToDnMappingArray and LdapConfigurationUserToDnMappingArrayOutput values. You can construct a concrete instance of `LdapConfigurationUserToDnMappingArrayInput` via:

LdapConfigurationUserToDnMappingArray{ LdapConfigurationUserToDnMappingArgs{...} }

type LdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

type LdapConfigurationUserToDnMappingArrayOutput struct{ *pulumi.OutputState }

func (LdapConfigurationUserToDnMappingArrayOutput) ElementType added in v2.1.0

func (LdapConfigurationUserToDnMappingArrayOutput) Index added in v2.1.0

func (LdapConfigurationUserToDnMappingArrayOutput) ToLdapConfigurationUserToDnMappingArrayOutput added in v2.1.0

func (o LdapConfigurationUserToDnMappingArrayOutput) ToLdapConfigurationUserToDnMappingArrayOutput() LdapConfigurationUserToDnMappingArrayOutput

func (LdapConfigurationUserToDnMappingArrayOutput) ToLdapConfigurationUserToDnMappingArrayOutputWithContext added in v2.1.0

func (o LdapConfigurationUserToDnMappingArrayOutput) ToLdapConfigurationUserToDnMappingArrayOutputWithContext(ctx context.Context) LdapConfigurationUserToDnMappingArrayOutput

type LdapConfigurationUserToDnMappingInput added in v2.1.0

type LdapConfigurationUserToDnMappingInput interface {
	pulumi.Input

	ToLdapConfigurationUserToDnMappingOutput() LdapConfigurationUserToDnMappingOutput
	ToLdapConfigurationUserToDnMappingOutputWithContext(context.Context) LdapConfigurationUserToDnMappingOutput
}

LdapConfigurationUserToDnMappingInput is an input type that accepts LdapConfigurationUserToDnMappingArgs and LdapConfigurationUserToDnMappingOutput values. You can construct a concrete instance of `LdapConfigurationUserToDnMappingInput` via:

LdapConfigurationUserToDnMappingArgs{...}

type LdapConfigurationUserToDnMappingOutput added in v2.1.0

type LdapConfigurationUserToDnMappingOutput struct{ *pulumi.OutputState }

func (LdapConfigurationUserToDnMappingOutput) ElementType added in v2.1.0

func (LdapConfigurationUserToDnMappingOutput) LdapQuery added in v2.1.0

func (LdapConfigurationUserToDnMappingOutput) Match added in v2.1.0

func (LdapConfigurationUserToDnMappingOutput) Substitution added in v2.1.0

func (LdapConfigurationUserToDnMappingOutput) ToLdapConfigurationUserToDnMappingOutput added in v2.1.0

func (o LdapConfigurationUserToDnMappingOutput) ToLdapConfigurationUserToDnMappingOutput() LdapConfigurationUserToDnMappingOutput

func (LdapConfigurationUserToDnMappingOutput) ToLdapConfigurationUserToDnMappingOutputWithContext added in v2.1.0

func (o LdapConfigurationUserToDnMappingOutput) ToLdapConfigurationUserToDnMappingOutputWithContext(ctx context.Context) LdapConfigurationUserToDnMappingOutput

type LdapVerify added in v2.1.0

type LdapVerify struct {
	pulumi.CustomResourceState

	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringOutput `pulumi:"authzQueryTemplate"`
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringOutput `pulumi:"bindPassword"`
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringOutput `pulumi:"bindUsername"`
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringOutput `pulumi:"caCertificate"`
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
	Links LdapVerifyLinkArrayOutput `pulumi:"links"`
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntOutput `pulumi:"port"`
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
	RequestId pulumi.StringOutput `pulumi:"requestId"`
	// The current status of the LDAP over TLS/SSL configuration. One of the following values: `PENDING`, `SUCCESS`, and `FAILED`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: [Values](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-request-verification)
	Validations LdapVerifyValidationArrayOutput `pulumi:"validations"`
}

`LdapVerify` provides an LDAP Verify resource. This allows a a verification of an LDAP configuration over TLS for an Atlas project. Atlas retains only the most recent request for each project.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testProject, err := mongodbatlas.NewProject(ctx, "testProject", &mongodbatlas.ProjectArgs{
			OrgId: pulumi.String("ORG ID"),
		})
		if err != nil {
			return err
		}
		testCluster, err := mongodbatlas.NewCluster(ctx, "testCluster", &mongodbatlas.ClusterArgs{
			ProjectId:                testProject.ID(),
			DiskSizeGb:               pulumi.Float64(5),
			ProviderName:             pulumi.String("AWS"),
			ProviderRegionName:       pulumi.String("US_EAST_2"),
			ProviderInstanceSizeName: pulumi.String("M10"),
			ProviderBackupEnabled:    pulumi.Bool(true),
			ProviderEncryptEbsVolume: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewLdapVerify(ctx, "testLdapVerify", &mongodbatlas.LdapVerifyArgs{
			ProjectId:    testProject.ID(),
			Hostname:     pulumi.String("HOSTNAME"),
			Port:         pulumi.Int(636),
			BindUsername: pulumi.String("USERNAME"),
			BindPassword: pulumi.String("PASSWORD"),
		}, pulumi.DependsOn([]pulumi.Resource{
			testCluster,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LDAP Configuration must be imported using project ID and request ID, e.g.

```sh

$ pulumi import mongodbatlas:index/ldapVerify:LdapVerify test 5d09d6a59ccf6445652a444a-5d09d6a59ccf6445652a444a

```

For more information see[MongoDB Atlas API Reference.](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-request-verification)

func GetLdapVerify added in v2.1.0

func GetLdapVerify(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LdapVerifyState, opts ...pulumi.ResourceOption) (*LdapVerify, error)

GetLdapVerify gets an existing LdapVerify 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 NewLdapVerify added in v2.1.0

func NewLdapVerify(ctx *pulumi.Context,
	name string, args *LdapVerifyArgs, opts ...pulumi.ResourceOption) (*LdapVerify, error)

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

func (*LdapVerify) ElementType added in v2.1.0

func (*LdapVerify) ElementType() reflect.Type

func (*LdapVerify) ToLdapVerifyOutput added in v2.1.0

func (i *LdapVerify) ToLdapVerifyOutput() LdapVerifyOutput

func (*LdapVerify) ToLdapVerifyOutputWithContext added in v2.1.0

func (i *LdapVerify) ToLdapVerifyOutputWithContext(ctx context.Context) LdapVerifyOutput

func (*LdapVerify) ToLdapVerifyPtrOutput added in v2.1.0

func (i *LdapVerify) ToLdapVerifyPtrOutput() LdapVerifyPtrOutput

func (*LdapVerify) ToLdapVerifyPtrOutputWithContext added in v2.1.0

func (i *LdapVerify) ToLdapVerifyPtrOutputWithContext(ctx context.Context) LdapVerifyPtrOutput

type LdapVerifyArgs added in v2.1.0

type LdapVerifyArgs struct {
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringPtrInput
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringInput
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringInput
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringPtrInput
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringInput
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntInput
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringInput
}

The set of arguments for constructing a LdapVerify resource.

func (LdapVerifyArgs) ElementType added in v2.1.0

func (LdapVerifyArgs) ElementType() reflect.Type

type LdapVerifyArray added in v2.1.0

type LdapVerifyArray []LdapVerifyInput

func (LdapVerifyArray) ElementType added in v2.1.0

func (LdapVerifyArray) ElementType() reflect.Type

func (LdapVerifyArray) ToLdapVerifyArrayOutput added in v2.1.0

func (i LdapVerifyArray) ToLdapVerifyArrayOutput() LdapVerifyArrayOutput

func (LdapVerifyArray) ToLdapVerifyArrayOutputWithContext added in v2.1.0

func (i LdapVerifyArray) ToLdapVerifyArrayOutputWithContext(ctx context.Context) LdapVerifyArrayOutput

type LdapVerifyArrayInput added in v2.1.0

type LdapVerifyArrayInput interface {
	pulumi.Input

	ToLdapVerifyArrayOutput() LdapVerifyArrayOutput
	ToLdapVerifyArrayOutputWithContext(context.Context) LdapVerifyArrayOutput
}

LdapVerifyArrayInput is an input type that accepts LdapVerifyArray and LdapVerifyArrayOutput values. You can construct a concrete instance of `LdapVerifyArrayInput` via:

LdapVerifyArray{ LdapVerifyArgs{...} }

type LdapVerifyArrayOutput added in v2.1.0

type LdapVerifyArrayOutput struct{ *pulumi.OutputState }

func (LdapVerifyArrayOutput) ElementType added in v2.1.0

func (LdapVerifyArrayOutput) ElementType() reflect.Type

func (LdapVerifyArrayOutput) Index added in v2.1.0

func (LdapVerifyArrayOutput) ToLdapVerifyArrayOutput added in v2.1.0

func (o LdapVerifyArrayOutput) ToLdapVerifyArrayOutput() LdapVerifyArrayOutput

func (LdapVerifyArrayOutput) ToLdapVerifyArrayOutputWithContext added in v2.1.0

func (o LdapVerifyArrayOutput) ToLdapVerifyArrayOutputWithContext(ctx context.Context) LdapVerifyArrayOutput

type LdapVerifyInput added in v2.1.0

type LdapVerifyInput interface {
	pulumi.Input

	ToLdapVerifyOutput() LdapVerifyOutput
	ToLdapVerifyOutputWithContext(ctx context.Context) LdapVerifyOutput
}
type LdapVerifyLink struct {
	Href *string `pulumi:"href"`
	Rel  *string `pulumi:"rel"`
}

type LdapVerifyLinkArgs added in v2.1.0

type LdapVerifyLinkArgs struct {
	Href pulumi.StringPtrInput `pulumi:"href"`
	Rel  pulumi.StringPtrInput `pulumi:"rel"`
}

func (LdapVerifyLinkArgs) ElementType added in v2.1.0

func (LdapVerifyLinkArgs) ElementType() reflect.Type

func (LdapVerifyLinkArgs) ToLdapVerifyLinkOutput added in v2.1.0

func (i LdapVerifyLinkArgs) ToLdapVerifyLinkOutput() LdapVerifyLinkOutput

func (LdapVerifyLinkArgs) ToLdapVerifyLinkOutputWithContext added in v2.1.0

func (i LdapVerifyLinkArgs) ToLdapVerifyLinkOutputWithContext(ctx context.Context) LdapVerifyLinkOutput

type LdapVerifyLinkArray added in v2.1.0

type LdapVerifyLinkArray []LdapVerifyLinkInput

func (LdapVerifyLinkArray) ElementType added in v2.1.0

func (LdapVerifyLinkArray) ElementType() reflect.Type

func (LdapVerifyLinkArray) ToLdapVerifyLinkArrayOutput added in v2.1.0

func (i LdapVerifyLinkArray) ToLdapVerifyLinkArrayOutput() LdapVerifyLinkArrayOutput

func (LdapVerifyLinkArray) ToLdapVerifyLinkArrayOutputWithContext added in v2.1.0

func (i LdapVerifyLinkArray) ToLdapVerifyLinkArrayOutputWithContext(ctx context.Context) LdapVerifyLinkArrayOutput

type LdapVerifyLinkArrayInput added in v2.1.0

type LdapVerifyLinkArrayInput interface {
	pulumi.Input

	ToLdapVerifyLinkArrayOutput() LdapVerifyLinkArrayOutput
	ToLdapVerifyLinkArrayOutputWithContext(context.Context) LdapVerifyLinkArrayOutput
}

LdapVerifyLinkArrayInput is an input type that accepts LdapVerifyLinkArray and LdapVerifyLinkArrayOutput values. You can construct a concrete instance of `LdapVerifyLinkArrayInput` via:

LdapVerifyLinkArray{ LdapVerifyLinkArgs{...} }

type LdapVerifyLinkArrayOutput added in v2.1.0

type LdapVerifyLinkArrayOutput struct{ *pulumi.OutputState }

func (LdapVerifyLinkArrayOutput) ElementType added in v2.1.0

func (LdapVerifyLinkArrayOutput) ElementType() reflect.Type

func (LdapVerifyLinkArrayOutput) Index added in v2.1.0

func (LdapVerifyLinkArrayOutput) ToLdapVerifyLinkArrayOutput added in v2.1.0

func (o LdapVerifyLinkArrayOutput) ToLdapVerifyLinkArrayOutput() LdapVerifyLinkArrayOutput

func (LdapVerifyLinkArrayOutput) ToLdapVerifyLinkArrayOutputWithContext added in v2.1.0

func (o LdapVerifyLinkArrayOutput) ToLdapVerifyLinkArrayOutputWithContext(ctx context.Context) LdapVerifyLinkArrayOutput

type LdapVerifyLinkInput added in v2.1.0

type LdapVerifyLinkInput interface {
	pulumi.Input

	ToLdapVerifyLinkOutput() LdapVerifyLinkOutput
	ToLdapVerifyLinkOutputWithContext(context.Context) LdapVerifyLinkOutput
}

LdapVerifyLinkInput is an input type that accepts LdapVerifyLinkArgs and LdapVerifyLinkOutput values. You can construct a concrete instance of `LdapVerifyLinkInput` via:

LdapVerifyLinkArgs{...}

type LdapVerifyLinkOutput added in v2.1.0

type LdapVerifyLinkOutput struct{ *pulumi.OutputState }

func (LdapVerifyLinkOutput) ElementType added in v2.1.0

func (LdapVerifyLinkOutput) ElementType() reflect.Type

func (LdapVerifyLinkOutput) Href added in v2.1.0

func (LdapVerifyLinkOutput) Rel added in v2.1.0

func (LdapVerifyLinkOutput) ToLdapVerifyLinkOutput added in v2.1.0

func (o LdapVerifyLinkOutput) ToLdapVerifyLinkOutput() LdapVerifyLinkOutput

func (LdapVerifyLinkOutput) ToLdapVerifyLinkOutputWithContext added in v2.1.0

func (o LdapVerifyLinkOutput) ToLdapVerifyLinkOutputWithContext(ctx context.Context) LdapVerifyLinkOutput

type LdapVerifyMap added in v2.1.0

type LdapVerifyMap map[string]LdapVerifyInput

func (LdapVerifyMap) ElementType added in v2.1.0

func (LdapVerifyMap) ElementType() reflect.Type

func (LdapVerifyMap) ToLdapVerifyMapOutput added in v2.1.0

func (i LdapVerifyMap) ToLdapVerifyMapOutput() LdapVerifyMapOutput

func (LdapVerifyMap) ToLdapVerifyMapOutputWithContext added in v2.1.0

func (i LdapVerifyMap) ToLdapVerifyMapOutputWithContext(ctx context.Context) LdapVerifyMapOutput

type LdapVerifyMapInput added in v2.1.0

type LdapVerifyMapInput interface {
	pulumi.Input

	ToLdapVerifyMapOutput() LdapVerifyMapOutput
	ToLdapVerifyMapOutputWithContext(context.Context) LdapVerifyMapOutput
}

LdapVerifyMapInput is an input type that accepts LdapVerifyMap and LdapVerifyMapOutput values. You can construct a concrete instance of `LdapVerifyMapInput` via:

LdapVerifyMap{ "key": LdapVerifyArgs{...} }

type LdapVerifyMapOutput added in v2.1.0

type LdapVerifyMapOutput struct{ *pulumi.OutputState }

func (LdapVerifyMapOutput) ElementType added in v2.1.0

func (LdapVerifyMapOutput) ElementType() reflect.Type

func (LdapVerifyMapOutput) MapIndex added in v2.1.0

func (LdapVerifyMapOutput) ToLdapVerifyMapOutput added in v2.1.0

func (o LdapVerifyMapOutput) ToLdapVerifyMapOutput() LdapVerifyMapOutput

func (LdapVerifyMapOutput) ToLdapVerifyMapOutputWithContext added in v2.1.0

func (o LdapVerifyMapOutput) ToLdapVerifyMapOutputWithContext(ctx context.Context) LdapVerifyMapOutput

type LdapVerifyOutput added in v2.1.0

type LdapVerifyOutput struct {
	*pulumi.OutputState
}

func (LdapVerifyOutput) ElementType added in v2.1.0

func (LdapVerifyOutput) ElementType() reflect.Type

func (LdapVerifyOutput) ToLdapVerifyOutput added in v2.1.0

func (o LdapVerifyOutput) ToLdapVerifyOutput() LdapVerifyOutput

func (LdapVerifyOutput) ToLdapVerifyOutputWithContext added in v2.1.0

func (o LdapVerifyOutput) ToLdapVerifyOutputWithContext(ctx context.Context) LdapVerifyOutput

func (LdapVerifyOutput) ToLdapVerifyPtrOutput added in v2.1.0

func (o LdapVerifyOutput) ToLdapVerifyPtrOutput() LdapVerifyPtrOutput

func (LdapVerifyOutput) ToLdapVerifyPtrOutputWithContext added in v2.1.0

func (o LdapVerifyOutput) ToLdapVerifyPtrOutputWithContext(ctx context.Context) LdapVerifyPtrOutput

type LdapVerifyPtrInput added in v2.1.0

type LdapVerifyPtrInput interface {
	pulumi.Input

	ToLdapVerifyPtrOutput() LdapVerifyPtrOutput
	ToLdapVerifyPtrOutputWithContext(ctx context.Context) LdapVerifyPtrOutput
}

type LdapVerifyPtrOutput added in v2.1.0

type LdapVerifyPtrOutput struct {
	*pulumi.OutputState
}

func (LdapVerifyPtrOutput) ElementType added in v2.1.0

func (LdapVerifyPtrOutput) ElementType() reflect.Type

func (LdapVerifyPtrOutput) ToLdapVerifyPtrOutput added in v2.1.0

func (o LdapVerifyPtrOutput) ToLdapVerifyPtrOutput() LdapVerifyPtrOutput

func (LdapVerifyPtrOutput) ToLdapVerifyPtrOutputWithContext added in v2.1.0

func (o LdapVerifyPtrOutput) ToLdapVerifyPtrOutputWithContext(ctx context.Context) LdapVerifyPtrOutput

type LdapVerifyState added in v2.1.0

type LdapVerifyState struct {
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs. Used only for user authorization. Use the {USER} placeholder in the URL to substitute the authenticated username. The query is relative to the host specified with hostname. The formatting for the query must conform to RFC4515 and RFC 4516. If you do not provide a query template, Atlas attempts to use the default value: `{USER}?memberOf?base`.
	AuthzQueryTemplate pulumi.StringPtrInput
	// The password used to authenticate the `bindUsername`.
	BindPassword pulumi.StringPtrInput
	// The user DN that Atlas uses to connect to the LDAP server. Must be the full DN, such as `CN=BindUser,CN=Users,DC=myldapserver,DC=mycompany,DC=com`.
	BindUsername pulumi.StringPtrInput
	// CA certificate used to verify the identify of the LDAP server. Self-signed certificates are allowed.
	CaCertificate pulumi.StringPtrInput
	// The hostname or IP address of the LDAP server. The server must be visible to the internet or connected to your Atlas cluster with VPC Peering.
	Hostname pulumi.StringPtrInput
	// One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
	Links LdapVerifyLinkArrayInput
	// The port to which the LDAP server listens for client connections. Default: `636`
	Port pulumi.IntPtrInput
	// The unique ID for the project to configure LDAP.
	ProjectId pulumi.StringPtrInput
	// The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
	RequestId pulumi.StringPtrInput
	// The current status of the LDAP over TLS/SSL configuration. One of the following values: `PENDING`, `SUCCESS`, and `FAILED`.
	Status pulumi.StringPtrInput
	// Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details. The array contains a document for each test that Atlas runs. Atlas stops running tests after the first failure. The following return values can be seen here: [Values](https://docs.atlas.mongodb.com/reference/api/ldaps-configuration-request-verification)
	Validations LdapVerifyValidationArrayInput
}

func (LdapVerifyState) ElementType added in v2.1.0

func (LdapVerifyState) ElementType() reflect.Type

type LdapVerifyValidation added in v2.1.0

type LdapVerifyValidation struct {
	// The current status of the LDAP over TLS/SSL configuration. One of the following values: `PENDING`, `SUCCESS`, and `FAILED`.
	Status         *string `pulumi:"status"`
	ValidationType *string `pulumi:"validationType"`
}

type LdapVerifyValidationArgs added in v2.1.0

type LdapVerifyValidationArgs struct {
	// The current status of the LDAP over TLS/SSL configuration. One of the following values: `PENDING`, `SUCCESS`, and `FAILED`.
	Status         pulumi.StringPtrInput `pulumi:"status"`
	ValidationType pulumi.StringPtrInput `pulumi:"validationType"`
}

func (LdapVerifyValidationArgs) ElementType added in v2.1.0

func (LdapVerifyValidationArgs) ElementType() reflect.Type

func (LdapVerifyValidationArgs) ToLdapVerifyValidationOutput added in v2.1.0

func (i LdapVerifyValidationArgs) ToLdapVerifyValidationOutput() LdapVerifyValidationOutput

func (LdapVerifyValidationArgs) ToLdapVerifyValidationOutputWithContext added in v2.1.0

func (i LdapVerifyValidationArgs) ToLdapVerifyValidationOutputWithContext(ctx context.Context) LdapVerifyValidationOutput

type LdapVerifyValidationArray added in v2.1.0

type LdapVerifyValidationArray []LdapVerifyValidationInput

func (LdapVerifyValidationArray) ElementType added in v2.1.0

func (LdapVerifyValidationArray) ElementType() reflect.Type

func (LdapVerifyValidationArray) ToLdapVerifyValidationArrayOutput added in v2.1.0

func (i LdapVerifyValidationArray) ToLdapVerifyValidationArrayOutput() LdapVerifyValidationArrayOutput

func (LdapVerifyValidationArray) ToLdapVerifyValidationArrayOutputWithContext added in v2.1.0

func (i LdapVerifyValidationArray) ToLdapVerifyValidationArrayOutputWithContext(ctx context.Context) LdapVerifyValidationArrayOutput

type LdapVerifyValidationArrayInput added in v2.1.0

type LdapVerifyValidationArrayInput interface {
	pulumi.Input

	ToLdapVerifyValidationArrayOutput() LdapVerifyValidationArrayOutput
	ToLdapVerifyValidationArrayOutputWithContext(context.Context) LdapVerifyValidationArrayOutput
}

LdapVerifyValidationArrayInput is an input type that accepts LdapVerifyValidationArray and LdapVerifyValidationArrayOutput values. You can construct a concrete instance of `LdapVerifyValidationArrayInput` via:

LdapVerifyValidationArray{ LdapVerifyValidationArgs{...} }

type LdapVerifyValidationArrayOutput added in v2.1.0

type LdapVerifyValidationArrayOutput struct{ *pulumi.OutputState }

func (LdapVerifyValidationArrayOutput) ElementType added in v2.1.0

func (LdapVerifyValidationArrayOutput) Index added in v2.1.0

func (LdapVerifyValidationArrayOutput) ToLdapVerifyValidationArrayOutput added in v2.1.0

func (o LdapVerifyValidationArrayOutput) ToLdapVerifyValidationArrayOutput() LdapVerifyValidationArrayOutput

func (LdapVerifyValidationArrayOutput) ToLdapVerifyValidationArrayOutputWithContext added in v2.1.0

func (o LdapVerifyValidationArrayOutput) ToLdapVerifyValidationArrayOutputWithContext(ctx context.Context) LdapVerifyValidationArrayOutput

type LdapVerifyValidationInput added in v2.1.0

type LdapVerifyValidationInput interface {
	pulumi.Input

	ToLdapVerifyValidationOutput() LdapVerifyValidationOutput
	ToLdapVerifyValidationOutputWithContext(context.Context) LdapVerifyValidationOutput
}

LdapVerifyValidationInput is an input type that accepts LdapVerifyValidationArgs and LdapVerifyValidationOutput values. You can construct a concrete instance of `LdapVerifyValidationInput` via:

LdapVerifyValidationArgs{...}

type LdapVerifyValidationOutput added in v2.1.0

type LdapVerifyValidationOutput struct{ *pulumi.OutputState }

func (LdapVerifyValidationOutput) ElementType added in v2.1.0

func (LdapVerifyValidationOutput) ElementType() reflect.Type

func (LdapVerifyValidationOutput) Status added in v2.1.0

The current status of the LDAP over TLS/SSL configuration. One of the following values: `PENDING`, `SUCCESS`, and `FAILED`.

func (LdapVerifyValidationOutput) ToLdapVerifyValidationOutput added in v2.1.0

func (o LdapVerifyValidationOutput) ToLdapVerifyValidationOutput() LdapVerifyValidationOutput

func (LdapVerifyValidationOutput) ToLdapVerifyValidationOutputWithContext added in v2.1.0

func (o LdapVerifyValidationOutput) ToLdapVerifyValidationOutputWithContext(ctx context.Context) LdapVerifyValidationOutput

func (LdapVerifyValidationOutput) ValidationType added in v2.1.0

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

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

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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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 LookupCloudProviderAccessSetupArgs added in v2.1.0

type LookupCloudProviderAccessSetupArgs struct {
	// The unique ID for the project to get all Cloud Provider Access
	ProjectId string `pulumi:"projectId"`
	// cloud provider name, currently only AWS is supported
	ProviderName string `pulumi:"providerName"`
	// unique role id among all the aws roles provided by mongodb atlas
	RoleId string `pulumi:"roleId"`
}

A collection of arguments for invoking getCloudProviderAccessSetup.

type LookupCloudProviderAccessSetupResult added in v2.1.0

type LookupCloudProviderAccessSetupResult struct {
	// aws related role information
	Aws GetCloudProviderAccessSetupAws `pulumi:"aws"`
	// Date on which this role was created.
	CreatedDate string `pulumi:"createdDate"`
	// The provider-assigned unique ID for this managed resource.
	Id           string `pulumi:"id"`
	ProjectId    string `pulumi:"projectId"`
	ProviderName string `pulumi:"providerName"`
	RoleId       string `pulumi:"roleId"`
}

A collection of values returned by getCloudProviderAccessSetup.

func LookupCloudProviderAccessSetup added in v2.1.0

`CloudProviderAccess` allows you to get a single role for a provider access role setup, 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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := mongodbatlas.NewCloudProviderAccessSetup(ctx, "testRole", &mongodbatlas.CloudProviderAccessSetupArgs{
			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. **DEPRECATED** Use `biConnectorConfig` instead.
	//
	// Deprecated: use bi_connector_config instead
	BiConnector GetClusterBiConnector `pulumi:"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.
	BiConnectorConfig GetClusterBiConnectorConfig `pulumi:"biConnectorConfig"`
	// 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"`
	// **(DEPRECATED)** 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. By default this attribute is always enabled, per deprecation process showing the real value at `providerEncryptEbsVolumeFlag` computed attribute.
	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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testRole, err := mongodbatlas.NewCustomDbRole(ctx, "testRole", &mongodbatlas.CustomDbRoleArgs{
			ProjectId: pulumi.String("<PROJECT-ID>"),
			RoleName:  pulumi.String("myCustomRole"),
			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"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupCustomDnsConfigurationClusterAwsArgs added in v2.1.0

type LookupCustomDnsConfigurationClusterAwsArgs struct {
	// Unique identifier for the project.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getCustomDnsConfigurationClusterAws.

type LookupCustomDnsConfigurationClusterAwsResult added in v2.1.0

type LookupCustomDnsConfigurationClusterAwsResult struct {
	// Indicates whether the project's clusters deployed to AWS use custom DNS.
	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 getCustomDnsConfigurationClusterAws.

func LookupCustomDnsConfigurationClusterAws added in v2.1.0

`CustomDnsConfigurationClusterAws` describes a Custom DNS Configuration for Atlas Clusters on AWS.

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

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"`
	// Method by which the provided username is authenticated. Default is `NONE`. Other valid values are: `USER`, `GROUP`.
	LdapAuthType string `pulumi:"ldapAuthType"`
	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 LookupLdapConfigurationArgs added in v2.1.0

type LookupLdapConfigurationArgs struct {
	// Identifier for the Atlas project associated with the LDAP over TLS/SSL configuration.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getLdapConfiguration.

type LookupLdapConfigurationResult added in v2.1.0

type LookupLdapConfigurationResult struct {
	// Specifies whether user authentication with LDAP is enabled.
	AuthenticationEnabled bool `pulumi:"authenticationEnabled"`
	// Specifies whether user authorization with LDAP is enabled.
	AuthorizationEnabled bool `pulumi:"authorizationEnabled"`
	// An LDAP query template that Atlas executes to obtain the LDAP groups to which the authenticated user belongs.
	AuthzQueryTemplate string `pulumi:"authzQueryTemplate"`
	// The password used to authenticate the `bindUsername`.
	BindPassword string `pulumi:"bindPassword"`
	// The user DN that Atlas uses to connect to the LDAP server.
	BindUsername string `pulumi:"bindUsername"`
	// CA certificate used to verify the identify of the LDAP server.
	CaCertificate string `pulumi:"caCertificate"`
	// (Required) The hostname or IP address of the LDAP server.
	Hostname string `pulumi:"hostname"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The port to which the LDAP server listens for client connections.
	Port      int    `pulumi:"port"`
	ProjectId string `pulumi:"projectId"`
	// Maps an LDAP username for authentication to an LDAP Distinguished Name (DN).
	// * `user_to_dn_mapping.0.match` - A regular expression to match against a provided LDAP username.
	// * `user_to_dn_mapping.0.substitution` - An LDAP Distinguished Name (DN) formatting template that converts the LDAP name matched by the `match` regular expression into an LDAP Distinguished Name.
	// * `user_to_dn_mapping.0.ldap_query` - An LDAP query formatting template that inserts the LDAP name matched by the `match` regular expression into an LDAP query URI as specified by RFC 4515 and RFC 4516.
	UserToDnMappings []GetLdapConfigurationUserToDnMapping `pulumi:"userToDnMappings"`
}

A collection of values returned by getLdapConfiguration.

func LookupLdapConfiguration added in v2.1.0

func LookupLdapConfiguration(ctx *pulumi.Context, args *LookupLdapConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupLdapConfigurationResult, error)

`LdapConfiguration` describes a LDAP Configuration.

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

type LookupLdapVerifyArgs added in v2.1.0

type LookupLdapVerifyArgs struct {
	// Unique identifier for the Atlas project associated with the verification request.
	ProjectId string `pulumi:"projectId"`
	// Unique identifier of a request to verify an LDAP configuration.
	RequestId string `pulumi:"requestId"`
}

A collection of arguments for invoking getLdapVerify.

type LookupLdapVerifyResult added in v2.1.0

type LookupLdapVerifyResult struct {
	// The user DN that Atlas uses to connect to the LDAP server.
	BindUsername string `pulumi:"bindUsername"`
	// (Required) The hostname or IP address of the LDAP server.
	Hostname string `pulumi:"hostname"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// One or more links to sub-resources. The relations in the URLs are explained in the Web Linking Specification.
	Links []GetLdapVerifyLink `pulumi:"links"`
	// LDAP ConfigurationThe port to which the LDAP server listens for client connections.
	Port      int    `pulumi:"port"`
	ProjectId string `pulumi:"projectId"`
	// The unique identifier for the request to verify the LDAP over TLS/SSL configuration.
	RequestId string `pulumi:"requestId"`
	// The current status of the LDAP over TLS/SSL configuration.
	Status string `pulumi:"status"`
	// Array of validation messages related to the verification of the provided LDAP over TLS/SSL configuration details.
	Validations []GetLdapVerifyValidation `pulumi:"validations"`
}

A collection of values returned by getLdapVerify.

func LookupLdapVerify added in v2.1.0

func LookupLdapVerify(ctx *pulumi.Context, args *LookupLdapVerifyArgs, opts ...pulumi.InvokeOption) (*LookupLdapVerifyResult, error)

`LdapVerify` describes a LDAP Verify.

> **NOTE:** Groups and projects are synonymous terms. You may find **group_id** 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"`
	// Atlas GCP regions where the container resides.
	Regions []string `pulumi:"regions"`
	// 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

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

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

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

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

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

`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

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

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

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

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

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

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

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

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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*MaintenanceWindow) ElementType() reflect.Type

func (*MaintenanceWindow) ToMaintenanceWindowOutput

func (i *MaintenanceWindow) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowOutputWithContext

func (i *MaintenanceWindow) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutput

func (i *MaintenanceWindow) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (*MaintenanceWindow) ToMaintenanceWindowPtrOutputWithContext

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

type MaintenanceWindowArray []MaintenanceWindowInput

func (MaintenanceWindowArray) ElementType

func (MaintenanceWindowArray) ElementType() reflect.Type

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutput

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext

func (i MaintenanceWindowArray) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowArrayInput

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

type MaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowArrayOutput) ElementType

func (MaintenanceWindowArrayOutput) Index

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutput() MaintenanceWindowArrayOutput

func (MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext

func (o MaintenanceWindowArrayOutput) ToMaintenanceWindowArrayOutputWithContext(ctx context.Context) MaintenanceWindowArrayOutput

type MaintenanceWindowInput

type MaintenanceWindowInput interface {
	pulumi.Input

	ToMaintenanceWindowOutput() MaintenanceWindowOutput
	ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput
}

type MaintenanceWindowMap

type MaintenanceWindowMap map[string]MaintenanceWindowInput

func (MaintenanceWindowMap) ElementType

func (MaintenanceWindowMap) ElementType() reflect.Type

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutput

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext

func (i MaintenanceWindowMap) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowMapInput

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

type MaintenanceWindowMapOutput struct{ *pulumi.OutputState }

func (MaintenanceWindowMapOutput) ElementType

func (MaintenanceWindowMapOutput) ElementType() reflect.Type

func (MaintenanceWindowMapOutput) MapIndex

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutput() MaintenanceWindowMapOutput

func (MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext

func (o MaintenanceWindowMapOutput) ToMaintenanceWindowMapOutputWithContext(ctx context.Context) MaintenanceWindowMapOutput

type MaintenanceWindowOutput

type MaintenanceWindowOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowOutput) ElementType

func (MaintenanceWindowOutput) ElementType() reflect.Type

func (MaintenanceWindowOutput) ToMaintenanceWindowOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutput() MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext

func (o MaintenanceWindowOutput) ToMaintenanceWindowOutputWithContext(ctx context.Context) MaintenanceWindowOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext

func (o MaintenanceWindowOutput) ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput

type MaintenanceWindowPtrInput

type MaintenanceWindowPtrInput interface {
	pulumi.Input

	ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput
	ToMaintenanceWindowPtrOutputWithContext(ctx context.Context) MaintenanceWindowPtrOutput
}

type MaintenanceWindowPtrOutput

type MaintenanceWindowPtrOutput struct {
	*pulumi.OutputState
}

func (MaintenanceWindowPtrOutput) ElementType

func (MaintenanceWindowPtrOutput) ElementType() reflect.Type

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput

func (o MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutput() MaintenanceWindowPtrOutput

func (MaintenanceWindowPtrOutput) ToMaintenanceWindowPtrOutputWithContext

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"`
	// Atlas regions where the container resides. Provide this field only if you provide an `atlasCidrBlock` smaller than `/18`. [GCP Regions values](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/#request-body-parameters).
	Regions  pulumi.StringArrayOutput `pulumi:"regions"`
	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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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"),
			Regions: pulumi.StringArray{
				pulumi.String("US_EAST_4"),
				pulumi.String("US_WEST_3"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Example with Azure

```go package main

import (

"github.com/pulumi/pulumi-mongodbatlas/sdk/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*NetworkContainer) ElementType() reflect.Type

func (*NetworkContainer) ToNetworkContainerOutput

func (i *NetworkContainer) ToNetworkContainerOutput() NetworkContainerOutput

func (*NetworkContainer) ToNetworkContainerOutputWithContext

func (i *NetworkContainer) ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput

func (*NetworkContainer) ToNetworkContainerPtrOutput

func (i *NetworkContainer) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (*NetworkContainer) ToNetworkContainerPtrOutputWithContext

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
	// Atlas regions where the container resides. Provide this field only if you provide an `atlasCidrBlock` smaller than `/18`. [GCP Regions values](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/#request-body-parameters).
	Regions pulumi.StringArrayInput
}

The set of arguments for constructing a NetworkContainer resource.

func (NetworkContainerArgs) ElementType

func (NetworkContainerArgs) ElementType() reflect.Type

type NetworkContainerArray

type NetworkContainerArray []NetworkContainerInput

func (NetworkContainerArray) ElementType

func (NetworkContainerArray) ElementType() reflect.Type

func (NetworkContainerArray) ToNetworkContainerArrayOutput

func (i NetworkContainerArray) ToNetworkContainerArrayOutput() NetworkContainerArrayOutput

func (NetworkContainerArray) ToNetworkContainerArrayOutputWithContext

func (i NetworkContainerArray) ToNetworkContainerArrayOutputWithContext(ctx context.Context) NetworkContainerArrayOutput

type NetworkContainerArrayInput

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

type NetworkContainerArrayOutput struct{ *pulumi.OutputState }

func (NetworkContainerArrayOutput) ElementType

func (NetworkContainerArrayOutput) Index

func (NetworkContainerArrayOutput) ToNetworkContainerArrayOutput

func (o NetworkContainerArrayOutput) ToNetworkContainerArrayOutput() NetworkContainerArrayOutput

func (NetworkContainerArrayOutput) ToNetworkContainerArrayOutputWithContext

func (o NetworkContainerArrayOutput) ToNetworkContainerArrayOutputWithContext(ctx context.Context) NetworkContainerArrayOutput

type NetworkContainerInput

type NetworkContainerInput interface {
	pulumi.Input

	ToNetworkContainerOutput() NetworkContainerOutput
	ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput
}

type NetworkContainerMap

type NetworkContainerMap map[string]NetworkContainerInput

func (NetworkContainerMap) ElementType

func (NetworkContainerMap) ElementType() reflect.Type

func (NetworkContainerMap) ToNetworkContainerMapOutput

func (i NetworkContainerMap) ToNetworkContainerMapOutput() NetworkContainerMapOutput

func (NetworkContainerMap) ToNetworkContainerMapOutputWithContext

func (i NetworkContainerMap) ToNetworkContainerMapOutputWithContext(ctx context.Context) NetworkContainerMapOutput

type NetworkContainerMapInput

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

type NetworkContainerMapOutput struct{ *pulumi.OutputState }

func (NetworkContainerMapOutput) ElementType

func (NetworkContainerMapOutput) ElementType() reflect.Type

func (NetworkContainerMapOutput) MapIndex

func (NetworkContainerMapOutput) ToNetworkContainerMapOutput

func (o NetworkContainerMapOutput) ToNetworkContainerMapOutput() NetworkContainerMapOutput

func (NetworkContainerMapOutput) ToNetworkContainerMapOutputWithContext

func (o NetworkContainerMapOutput) ToNetworkContainerMapOutputWithContext(ctx context.Context) NetworkContainerMapOutput

type NetworkContainerOutput

type NetworkContainerOutput struct {
	*pulumi.OutputState
}

func (NetworkContainerOutput) ElementType

func (NetworkContainerOutput) ElementType() reflect.Type

func (NetworkContainerOutput) ToNetworkContainerOutput

func (o NetworkContainerOutput) ToNetworkContainerOutput() NetworkContainerOutput

func (NetworkContainerOutput) ToNetworkContainerOutputWithContext

func (o NetworkContainerOutput) ToNetworkContainerOutputWithContext(ctx context.Context) NetworkContainerOutput

func (NetworkContainerOutput) ToNetworkContainerPtrOutput

func (o NetworkContainerOutput) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (NetworkContainerOutput) ToNetworkContainerPtrOutputWithContext

func (o NetworkContainerOutput) ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput

type NetworkContainerPtrInput

type NetworkContainerPtrInput interface {
	pulumi.Input

	ToNetworkContainerPtrOutput() NetworkContainerPtrOutput
	ToNetworkContainerPtrOutputWithContext(ctx context.Context) NetworkContainerPtrOutput
}

type NetworkContainerPtrOutput

type NetworkContainerPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkContainerPtrOutput) ElementType

func (NetworkContainerPtrOutput) ElementType() reflect.Type

func (NetworkContainerPtrOutput) ToNetworkContainerPtrOutput

func (o NetworkContainerPtrOutput) ToNetworkContainerPtrOutput() NetworkContainerPtrOutput

func (NetworkContainerPtrOutput) ToNetworkContainerPtrOutputWithContext

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
	// Atlas regions where the container resides. Provide this field only if you provide an `atlasCidrBlock` smaller than `/18`. [GCP Regions values](https://docs.atlas.mongodb.com/reference/api/vpc-create-container/#request-body-parameters).
	Regions  pulumi.StringArrayInput
	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 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

func (*NetworkPeering) ElementType() reflect.Type

func (*NetworkPeering) ToNetworkPeeringOutput

func (i *NetworkPeering) ToNetworkPeeringOutput() NetworkPeeringOutput

func (*NetworkPeering) ToNetworkPeeringOutputWithContext

func (i *NetworkPeering) ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput

func (*NetworkPeering) ToNetworkPeeringPtrOutput

func (i *NetworkPeering) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (*NetworkPeering) ToNetworkPeeringPtrOutputWithContext

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

type NetworkPeeringArray []NetworkPeeringInput

func (NetworkPeeringArray) ElementType

func (NetworkPeeringArray) ElementType() reflect.Type

func (NetworkPeeringArray) ToNetworkPeeringArrayOutput

func (i NetworkPeeringArray) ToNetworkPeeringArrayOutput() NetworkPeeringArrayOutput

func (NetworkPeeringArray) ToNetworkPeeringArrayOutputWithContext

func (i NetworkPeeringArray) ToNetworkPeeringArrayOutputWithContext(ctx context.Context) NetworkPeeringArrayOutput

type NetworkPeeringArrayInput

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

type NetworkPeeringArrayOutput struct{ *pulumi.OutputState }

func (NetworkPeeringArrayOutput) ElementType

func (NetworkPeeringArrayOutput) ElementType() reflect.Type

func (NetworkPeeringArrayOutput) Index

func (NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutput

func (o NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutput() NetworkPeeringArrayOutput

func (NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutputWithContext

func (o NetworkPeeringArrayOutput) ToNetworkPeeringArrayOutputWithContext(ctx context.Context) NetworkPeeringArrayOutput

type NetworkPeeringInput

type NetworkPeeringInput interface {
	pulumi.Input

	ToNetworkPeeringOutput() NetworkPeeringOutput
	ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput
}

type NetworkPeeringMap

type NetworkPeeringMap map[string]NetworkPeeringInput

func (NetworkPeeringMap) ElementType

func (NetworkPeeringMap) ElementType() reflect.Type

func (NetworkPeeringMap) ToNetworkPeeringMapOutput

func (i NetworkPeeringMap) ToNetworkPeeringMapOutput() NetworkPeeringMapOutput

func (NetworkPeeringMap) ToNetworkPeeringMapOutputWithContext

func (i NetworkPeeringMap) ToNetworkPeeringMapOutputWithContext(ctx context.Context) NetworkPeeringMapOutput

type NetworkPeeringMapInput

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

type NetworkPeeringMapOutput struct{ *pulumi.OutputState }

func (NetworkPeeringMapOutput) ElementType

func (NetworkPeeringMapOutput) ElementType() reflect.Type

func (NetworkPeeringMapOutput) MapIndex

func (NetworkPeeringMapOutput) ToNetworkPeeringMapOutput

func (o NetworkPeeringMapOutput) ToNetworkPeeringMapOutput() NetworkPeeringMapOutput

func (NetworkPeeringMapOutput) ToNetworkPeeringMapOutputWithContext

func (o NetworkPeeringMapOutput) ToNetworkPeeringMapOutputWithContext(ctx context.Context) NetworkPeeringMapOutput

type NetworkPeeringOutput

type NetworkPeeringOutput struct {
	*pulumi.OutputState
}

func (NetworkPeeringOutput) ElementType

func (NetworkPeeringOutput) ElementType() reflect.Type

func (NetworkPeeringOutput) ToNetworkPeeringOutput

func (o NetworkPeeringOutput) ToNetworkPeeringOutput() NetworkPeeringOutput

func (NetworkPeeringOutput) ToNetworkPeeringOutputWithContext

func (o NetworkPeeringOutput) ToNetworkPeeringOutputWithContext(ctx context.Context) NetworkPeeringOutput

func (NetworkPeeringOutput) ToNetworkPeeringPtrOutput

func (o NetworkPeeringOutput) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (NetworkPeeringOutput) ToNetworkPeeringPtrOutputWithContext

func (o NetworkPeeringOutput) ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput

type NetworkPeeringPtrInput

type NetworkPeeringPtrInput interface {
	pulumi.Input

	ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput
	ToNetworkPeeringPtrOutputWithContext(ctx context.Context) NetworkPeeringPtrOutput
}

type NetworkPeeringPtrOutput

type NetworkPeeringPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkPeeringPtrOutput) ElementType

func (NetworkPeeringPtrOutput) ElementType() reflect.Type

func (NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutput

func (o NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutput() NetworkPeeringPtrOutput

func (NetworkPeeringPtrOutput) ToNetworkPeeringPtrOutputWithContext

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*PrivateEndpoint) ElementType() reflect.Type

func (*PrivateEndpoint) ToPrivateEndpointOutput

func (i *PrivateEndpoint) ToPrivateEndpointOutput() PrivateEndpointOutput

func (*PrivateEndpoint) ToPrivateEndpointOutputWithContext

func (i *PrivateEndpoint) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput

func (*PrivateEndpoint) ToPrivateEndpointPtrOutput

func (i *PrivateEndpoint) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (*PrivateEndpoint) ToPrivateEndpointPtrOutputWithContext

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

type PrivateEndpointArray []PrivateEndpointInput

func (PrivateEndpointArray) ElementType

func (PrivateEndpointArray) ElementType() reflect.Type

func (PrivateEndpointArray) ToPrivateEndpointArrayOutput

func (i PrivateEndpointArray) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput

func (PrivateEndpointArray) ToPrivateEndpointArrayOutputWithContext

func (i PrivateEndpointArray) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput

type PrivateEndpointArrayInput

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

type PrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (PrivateEndpointArrayOutput) ElementType

func (PrivateEndpointArrayOutput) ElementType() reflect.Type

func (PrivateEndpointArrayOutput) Index

func (PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutput

func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput

func (PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutputWithContext

func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput

type PrivateEndpointInput

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/v4/go/aws/ec2"
"github.com/pulumi/pulumi-mongodbatlas/sdk/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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{
			VpcId:           pulumi.String("vpc-7fc0a543"),
			ServiceName:     testPrivateEndpoint.EndpointServiceName,
			VpcEndpointType: pulumi.String("Interface"),
			SubnetIds: pulumi.StringArray{
				pulumi.String("subnet-de0406d2"),
			},
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("sg-3f238186"),
			},
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewPrivateEndpointInterfaceLink(ctx, "testPrivateEndpointInterfaceLink", &mongodbatlas.PrivateEndpointInterfaceLinkArgs{
			ProjectId:           testPrivateEndpoint.ProjectId,
			PrivateLinkId:       testPrivateEndpoint.PrivateLinkId,
			InterfaceEndpointId: ptfeService.ID(),
		})
		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

func (*PrivateEndpointInterfaceLink) ElementType() reflect.Type

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutput

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutputWithContext

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutput

func (i *PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (*PrivateEndpointInterfaceLink) ToPrivateEndpointInterfaceLinkPtrOutputWithContext

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

type PrivateEndpointInterfaceLinkArray []PrivateEndpointInterfaceLinkInput

func (PrivateEndpointInterfaceLinkArray) ElementType

func (PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutput

func (i PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutput() PrivateEndpointInterfaceLinkArrayOutput

func (PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutputWithContext

func (i PrivateEndpointInterfaceLinkArray) ToPrivateEndpointInterfaceLinkArrayOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkArrayOutput

type PrivateEndpointInterfaceLinkArrayInput

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

type PrivateEndpointInterfaceLinkArrayOutput struct{ *pulumi.OutputState }

func (PrivateEndpointInterfaceLinkArrayOutput) ElementType

func (PrivateEndpointInterfaceLinkArrayOutput) Index

func (PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutput

func (o PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutput() PrivateEndpointInterfaceLinkArrayOutput

func (PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutputWithContext

func (o PrivateEndpointInterfaceLinkArrayOutput) ToPrivateEndpointInterfaceLinkArrayOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkArrayOutput

type PrivateEndpointInterfaceLinkInput

type PrivateEndpointInterfaceLinkInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput
	ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput
}

type PrivateEndpointInterfaceLinkMap

type PrivateEndpointInterfaceLinkMap map[string]PrivateEndpointInterfaceLinkInput

func (PrivateEndpointInterfaceLinkMap) ElementType

func (PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutput

func (i PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutput() PrivateEndpointInterfaceLinkMapOutput

func (PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutputWithContext

func (i PrivateEndpointInterfaceLinkMap) ToPrivateEndpointInterfaceLinkMapOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkMapOutput

type PrivateEndpointInterfaceLinkMapInput

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

type PrivateEndpointInterfaceLinkMapOutput struct{ *pulumi.OutputState }

func (PrivateEndpointInterfaceLinkMapOutput) ElementType

func (PrivateEndpointInterfaceLinkMapOutput) MapIndex

func (PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutput

func (o PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutput() PrivateEndpointInterfaceLinkMapOutput

func (PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutputWithContext

func (o PrivateEndpointInterfaceLinkMapOutput) ToPrivateEndpointInterfaceLinkMapOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkMapOutput

type PrivateEndpointInterfaceLinkOutput

type PrivateEndpointInterfaceLinkOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointInterfaceLinkOutput) ElementType

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutput

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutput() PrivateEndpointInterfaceLinkOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutputWithContext

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutput

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext

func (o PrivateEndpointInterfaceLinkOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput

type PrivateEndpointInterfaceLinkPtrInput

type PrivateEndpointInterfaceLinkPtrInput interface {
	pulumi.Input

	ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput
	ToPrivateEndpointInterfaceLinkPtrOutputWithContext(ctx context.Context) PrivateEndpointInterfaceLinkPtrOutput
}

type PrivateEndpointInterfaceLinkPtrOutput

type PrivateEndpointInterfaceLinkPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointInterfaceLinkPtrOutput) ElementType

func (PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutput

func (o PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutput() PrivateEndpointInterfaceLinkPtrOutput

func (PrivateEndpointInterfaceLinkPtrOutput) ToPrivateEndpointInterfaceLinkPtrOutputWithContext

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

type PrivateEndpointMap map[string]PrivateEndpointInput

func (PrivateEndpointMap) ElementType

func (PrivateEndpointMap) ElementType() reflect.Type

func (PrivateEndpointMap) ToPrivateEndpointMapOutput

func (i PrivateEndpointMap) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput

func (PrivateEndpointMap) ToPrivateEndpointMapOutputWithContext

func (i PrivateEndpointMap) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput

type PrivateEndpointMapInput

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

type PrivateEndpointMapOutput struct{ *pulumi.OutputState }

func (PrivateEndpointMapOutput) ElementType

func (PrivateEndpointMapOutput) ElementType() reflect.Type

func (PrivateEndpointMapOutput) MapIndex

func (PrivateEndpointMapOutput) ToPrivateEndpointMapOutput

func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput

func (PrivateEndpointMapOutput) ToPrivateEndpointMapOutputWithContext

func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput

type PrivateEndpointOutput

type PrivateEndpointOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointOutput) ElementType

func (PrivateEndpointOutput) ElementType() reflect.Type

func (PrivateEndpointOutput) ToPrivateEndpointOutput

func (o PrivateEndpointOutput) ToPrivateEndpointOutput() PrivateEndpointOutput

func (PrivateEndpointOutput) ToPrivateEndpointOutputWithContext

func (o PrivateEndpointOutput) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput

func (PrivateEndpointOutput) ToPrivateEndpointPtrOutput

func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (PrivateEndpointOutput) ToPrivateEndpointPtrOutputWithContext

func (o PrivateEndpointOutput) ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput

type PrivateEndpointPtrInput

type PrivateEndpointPtrInput interface {
	pulumi.Input

	ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput
	ToPrivateEndpointPtrOutputWithContext(ctx context.Context) PrivateEndpointPtrOutput
}

type PrivateEndpointPtrOutput

type PrivateEndpointPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateEndpointPtrOutput) ElementType

func (PrivateEndpointPtrOutput) ElementType() reflect.Type

func (PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutput

func (o PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutput() PrivateEndpointPtrOutput

func (PrivateEndpointPtrOutput) ToPrivateEndpointPtrOutputWithContext

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*PrivateIpMode) ElementType() reflect.Type

func (*PrivateIpMode) ToPrivateIpModeOutput

func (i *PrivateIpMode) ToPrivateIpModeOutput() PrivateIpModeOutput

func (*PrivateIpMode) ToPrivateIpModeOutputWithContext

func (i *PrivateIpMode) ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput

func (*PrivateIpMode) ToPrivateIpModePtrOutput

func (i *PrivateIpMode) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (*PrivateIpMode) ToPrivateIpModePtrOutputWithContext

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

type PrivateIpModeArray []PrivateIpModeInput

func (PrivateIpModeArray) ElementType

func (PrivateIpModeArray) ElementType() reflect.Type

func (PrivateIpModeArray) ToPrivateIpModeArrayOutput

func (i PrivateIpModeArray) ToPrivateIpModeArrayOutput() PrivateIpModeArrayOutput

func (PrivateIpModeArray) ToPrivateIpModeArrayOutputWithContext

func (i PrivateIpModeArray) ToPrivateIpModeArrayOutputWithContext(ctx context.Context) PrivateIpModeArrayOutput

type PrivateIpModeArrayInput

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

type PrivateIpModeArrayOutput struct{ *pulumi.OutputState }

func (PrivateIpModeArrayOutput) ElementType

func (PrivateIpModeArrayOutput) ElementType() reflect.Type

func (PrivateIpModeArrayOutput) Index

func (PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutput

func (o PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutput() PrivateIpModeArrayOutput

func (PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutputWithContext

func (o PrivateIpModeArrayOutput) ToPrivateIpModeArrayOutputWithContext(ctx context.Context) PrivateIpModeArrayOutput

type PrivateIpModeInput

type PrivateIpModeInput interface {
	pulumi.Input

	ToPrivateIpModeOutput() PrivateIpModeOutput
	ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput
}

type PrivateIpModeMap

type PrivateIpModeMap map[string]PrivateIpModeInput

func (PrivateIpModeMap) ElementType

func (PrivateIpModeMap) ElementType() reflect.Type

func (PrivateIpModeMap) ToPrivateIpModeMapOutput

func (i PrivateIpModeMap) ToPrivateIpModeMapOutput() PrivateIpModeMapOutput

func (PrivateIpModeMap) ToPrivateIpModeMapOutputWithContext

func (i PrivateIpModeMap) ToPrivateIpModeMapOutputWithContext(ctx context.Context) PrivateIpModeMapOutput

type PrivateIpModeMapInput

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

type PrivateIpModeMapOutput struct{ *pulumi.OutputState }

func (PrivateIpModeMapOutput) ElementType

func (PrivateIpModeMapOutput) ElementType() reflect.Type

func (PrivateIpModeMapOutput) MapIndex

func (PrivateIpModeMapOutput) ToPrivateIpModeMapOutput

func (o PrivateIpModeMapOutput) ToPrivateIpModeMapOutput() PrivateIpModeMapOutput

func (PrivateIpModeMapOutput) ToPrivateIpModeMapOutputWithContext

func (o PrivateIpModeMapOutput) ToPrivateIpModeMapOutputWithContext(ctx context.Context) PrivateIpModeMapOutput

type PrivateIpModeOutput

type PrivateIpModeOutput struct {
	*pulumi.OutputState
}

func (PrivateIpModeOutput) ElementType

func (PrivateIpModeOutput) ElementType() reflect.Type

func (PrivateIpModeOutput) ToPrivateIpModeOutput

func (o PrivateIpModeOutput) ToPrivateIpModeOutput() PrivateIpModeOutput

func (PrivateIpModeOutput) ToPrivateIpModeOutputWithContext

func (o PrivateIpModeOutput) ToPrivateIpModeOutputWithContext(ctx context.Context) PrivateIpModeOutput

func (PrivateIpModeOutput) ToPrivateIpModePtrOutput

func (o PrivateIpModeOutput) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (PrivateIpModeOutput) ToPrivateIpModePtrOutputWithContext

func (o PrivateIpModeOutput) ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput

type PrivateIpModePtrInput

type PrivateIpModePtrInput interface {
	pulumi.Input

	ToPrivateIpModePtrOutput() PrivateIpModePtrOutput
	ToPrivateIpModePtrOutputWithContext(ctx context.Context) PrivateIpModePtrOutput
}

type PrivateIpModePtrOutput

type PrivateIpModePtrOutput struct {
	*pulumi.OutputState
}

func (PrivateIpModePtrOutput) ElementType

func (PrivateIpModePtrOutput) ElementType() reflect.Type

func (PrivateIpModePtrOutput) ToPrivateIpModePtrOutput

func (o PrivateIpModePtrOutput) ToPrivateIpModePtrOutput() PrivateIpModePtrOutput

func (PrivateIpModePtrOutput) ToPrivateIpModePtrOutputWithContext

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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

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

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

func (*PrivateLinkEndpoint) ElementType() reflect.Type

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutput

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutput

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (*PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutputWithContext

func (i *PrivateLinkEndpoint) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointArgs

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

func (PrivateLinkEndpointArgs) ElementType() reflect.Type

type PrivateLinkEndpointArray

type PrivateLinkEndpointArray []PrivateLinkEndpointInput

func (PrivateLinkEndpointArray) ElementType

func (PrivateLinkEndpointArray) ElementType() reflect.Type

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext

func (i PrivateLinkEndpointArray) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointArrayInput

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

type PrivateLinkEndpointArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointArrayOutput) ElementType

func (PrivateLinkEndpointArrayOutput) Index

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutput() PrivateLinkEndpointArrayOutput

func (PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext

func (o PrivateLinkEndpointArrayOutput) ToPrivateLinkEndpointArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointArrayOutput

type PrivateLinkEndpointInput

type PrivateLinkEndpointInput interface {
	pulumi.Input

	ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput
	ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput
}

type PrivateLinkEndpointMap

type PrivateLinkEndpointMap map[string]PrivateLinkEndpointInput

func (PrivateLinkEndpointMap) ElementType

func (PrivateLinkEndpointMap) ElementType() reflect.Type

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext

func (i PrivateLinkEndpointMap) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointMapInput

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

type PrivateLinkEndpointMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointMapOutput) ElementType

func (PrivateLinkEndpointMapOutput) MapIndex

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutput() PrivateLinkEndpointMapOutput

func (PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext

func (o PrivateLinkEndpointMapOutput) ToPrivateLinkEndpointMapOutputWithContext(ctx context.Context) PrivateLinkEndpointMapOutput

type PrivateLinkEndpointOutput

type PrivateLinkEndpointOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointOutput) ElementType

func (PrivateLinkEndpointOutput) ElementType() reflect.Type

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutput() PrivateLinkEndpointOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointOutputWithContext(ctx context.Context) PrivateLinkEndpointOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutput

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutputWithContext

func (o PrivateLinkEndpointOutput) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointPtrInput

type PrivateLinkEndpointPtrInput interface {
	pulumi.Input

	ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput
	ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput
}

type PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointPtrOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointPtrOutput) ElementType

func (PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutput

func (o PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutput() PrivateLinkEndpointPtrOutput

func (PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutputWithContext

func (o PrivateLinkEndpointPtrOutput) ToPrivateLinkEndpointPtrOutputWithContext(ctx context.Context) PrivateLinkEndpointPtrOutput

type PrivateLinkEndpointService

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/v4/go/aws/ec2"
"github.com/pulumi/pulumi-mongodbatlas/sdk/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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{
			VpcId:           pulumi.String("vpc-7fc0a543"),
			ServiceName:     testPrivateLinkEndpoint.EndpointServiceName,
			VpcEndpointType: pulumi.String("Interface"),
			SubnetIds: pulumi.StringArray{
				pulumi.String("subnet-de0406d2"),
			},
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("sg-3f238186"),
			},
		})
		if err != nil {
			return err
		}
		_, err = mongodbatlas.NewPrivateLinkEndpointService(ctx, "testPrivateLinkEndpointService", &mongodbatlas.PrivateLinkEndpointServiceArgs{
			ProjectId:         testPrivateLinkEndpoint.ProjectId,
			PrivateLinkId:     testPrivateLinkEndpoint.PrivateLinkId,
			EndpointServiceId: ptfeService.ID(),
			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

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

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

func (*PrivateLinkEndpointService) ElementType() reflect.Type

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutput

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutputWithContext

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutput

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (*PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutputWithContext

func (i *PrivateLinkEndpointService) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServiceArgs

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

type PrivateLinkEndpointServiceArray

type PrivateLinkEndpointServiceArray []PrivateLinkEndpointServiceInput

func (PrivateLinkEndpointServiceArray) ElementType

func (PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutput

func (i PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutput() PrivateLinkEndpointServiceArrayOutput

func (PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutputWithContext

func (i PrivateLinkEndpointServiceArray) ToPrivateLinkEndpointServiceArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceArrayOutput

type PrivateLinkEndpointServiceArrayInput

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

type PrivateLinkEndpointServiceArrayOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointServiceArrayOutput) ElementType

func (PrivateLinkEndpointServiceArrayOutput) Index

func (PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutput

func (o PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutput() PrivateLinkEndpointServiceArrayOutput

func (PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutputWithContext

func (o PrivateLinkEndpointServiceArrayOutput) ToPrivateLinkEndpointServiceArrayOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceArrayOutput

type PrivateLinkEndpointServiceInput

type PrivateLinkEndpointServiceInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput
	ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput
}

type PrivateLinkEndpointServiceMap

type PrivateLinkEndpointServiceMap map[string]PrivateLinkEndpointServiceInput

func (PrivateLinkEndpointServiceMap) ElementType

func (PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutput

func (i PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutput() PrivateLinkEndpointServiceMapOutput

func (PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutputWithContext

func (i PrivateLinkEndpointServiceMap) ToPrivateLinkEndpointServiceMapOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceMapOutput

type PrivateLinkEndpointServiceMapInput

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

type PrivateLinkEndpointServiceMapOutput struct{ *pulumi.OutputState }

func (PrivateLinkEndpointServiceMapOutput) ElementType

func (PrivateLinkEndpointServiceMapOutput) MapIndex

func (PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutput

func (o PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutput() PrivateLinkEndpointServiceMapOutput

func (PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutputWithContext

func (o PrivateLinkEndpointServiceMapOutput) ToPrivateLinkEndpointServiceMapOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceMapOutput

type PrivateLinkEndpointServiceOutput

type PrivateLinkEndpointServiceOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointServiceOutput) ElementType

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutput

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutput() PrivateLinkEndpointServiceOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutputWithContext

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServiceOutputWithContext(ctx context.Context) PrivateLinkEndpointServiceOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutput

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutputWithContext

func (o PrivateLinkEndpointServiceOutput) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServicePtrInput

type PrivateLinkEndpointServicePtrInput interface {
	pulumi.Input

	ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput
	ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput
}

type PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServicePtrOutput struct {
	*pulumi.OutputState
}

func (PrivateLinkEndpointServicePtrOutput) ElementType

func (PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutput

func (o PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutput() PrivateLinkEndpointServicePtrOutput

func (PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutputWithContext

func (o PrivateLinkEndpointServicePtrOutput) ToPrivateLinkEndpointServicePtrOutputWithContext(ctx context.Context) PrivateLinkEndpointServicePtrOutput

type PrivateLinkEndpointServiceState

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

type PrivateLinkEndpointState

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

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

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (*Project) ToProjectPtrOutput

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext

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

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

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

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectIpAccessList

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

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

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

func (*ProjectIpAccessList) ElementType() reflect.Type

func (*ProjectIpAccessList) ToProjectIpAccessListOutput

func (i *ProjectIpAccessList) ToProjectIpAccessListOutput() ProjectIpAccessListOutput

func (*ProjectIpAccessList) ToProjectIpAccessListOutputWithContext

func (i *ProjectIpAccessList) ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput

func (*ProjectIpAccessList) ToProjectIpAccessListPtrOutput

func (i *ProjectIpAccessList) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (*ProjectIpAccessList) ToProjectIpAccessListPtrOutputWithContext

func (i *ProjectIpAccessList) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListArgs

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

func (ProjectIpAccessListArgs) ElementType() reflect.Type

type ProjectIpAccessListArray

type ProjectIpAccessListArray []ProjectIpAccessListInput

func (ProjectIpAccessListArray) ElementType

func (ProjectIpAccessListArray) ElementType() reflect.Type

func (ProjectIpAccessListArray) ToProjectIpAccessListArrayOutput

func (i ProjectIpAccessListArray) ToProjectIpAccessListArrayOutput() ProjectIpAccessListArrayOutput

func (ProjectIpAccessListArray) ToProjectIpAccessListArrayOutputWithContext

func (i ProjectIpAccessListArray) ToProjectIpAccessListArrayOutputWithContext(ctx context.Context) ProjectIpAccessListArrayOutput

type ProjectIpAccessListArrayInput

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

type ProjectIpAccessListArrayOutput struct{ *pulumi.OutputState }

func (ProjectIpAccessListArrayOutput) ElementType

func (ProjectIpAccessListArrayOutput) Index

func (ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutput

func (o ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutput() ProjectIpAccessListArrayOutput

func (ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutputWithContext

func (o ProjectIpAccessListArrayOutput) ToProjectIpAccessListArrayOutputWithContext(ctx context.Context) ProjectIpAccessListArrayOutput

type ProjectIpAccessListInput

type ProjectIpAccessListInput interface {
	pulumi.Input

	ToProjectIpAccessListOutput() ProjectIpAccessListOutput
	ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput
}

type ProjectIpAccessListMap

type ProjectIpAccessListMap map[string]ProjectIpAccessListInput

func (ProjectIpAccessListMap) ElementType

func (ProjectIpAccessListMap) ElementType() reflect.Type

func (ProjectIpAccessListMap) ToProjectIpAccessListMapOutput

func (i ProjectIpAccessListMap) ToProjectIpAccessListMapOutput() ProjectIpAccessListMapOutput

func (ProjectIpAccessListMap) ToProjectIpAccessListMapOutputWithContext

func (i ProjectIpAccessListMap) ToProjectIpAccessListMapOutputWithContext(ctx context.Context) ProjectIpAccessListMapOutput

type ProjectIpAccessListMapInput

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

type ProjectIpAccessListMapOutput struct{ *pulumi.OutputState }

func (ProjectIpAccessListMapOutput) ElementType

func (ProjectIpAccessListMapOutput) MapIndex

func (ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutput

func (o ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutput() ProjectIpAccessListMapOutput

func (ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutputWithContext

func (o ProjectIpAccessListMapOutput) ToProjectIpAccessListMapOutputWithContext(ctx context.Context) ProjectIpAccessListMapOutput

type ProjectIpAccessListOutput

type ProjectIpAccessListOutput struct {
	*pulumi.OutputState
}

func (ProjectIpAccessListOutput) ElementType

func (ProjectIpAccessListOutput) ElementType() reflect.Type

func (ProjectIpAccessListOutput) ToProjectIpAccessListOutput

func (o ProjectIpAccessListOutput) ToProjectIpAccessListOutput() ProjectIpAccessListOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListOutputWithContext

func (o ProjectIpAccessListOutput) ToProjectIpAccessListOutputWithContext(ctx context.Context) ProjectIpAccessListOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutput

func (o ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutputWithContext

func (o ProjectIpAccessListOutput) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListPtrInput

type ProjectIpAccessListPtrInput interface {
	pulumi.Input

	ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput
	ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput
}

type ProjectIpAccessListPtrOutput

type ProjectIpAccessListPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectIpAccessListPtrOutput) ElementType

func (ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutput

func (o ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutput() ProjectIpAccessListPtrOutput

func (ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutputWithContext

func (o ProjectIpAccessListPtrOutput) ToProjectIpAccessListPtrOutputWithContext(ctx context.Context) ProjectIpAccessListPtrOutput

type ProjectIpAccessListState

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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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
		}
		testNetworkPeering, 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{
			testNetworkPeering,
		}))
		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

func (*ProjectIpWhitelist) ElementType() reflect.Type

func (*ProjectIpWhitelist) ToProjectIpWhitelistOutput

func (i *ProjectIpWhitelist) ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistOutputWithContext

func (i *ProjectIpWhitelist) ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistPtrOutput

func (i *ProjectIpWhitelist) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (*ProjectIpWhitelist) ToProjectIpWhitelistPtrOutputWithContext

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

type ProjectIpWhitelistArray []ProjectIpWhitelistInput

func (ProjectIpWhitelistArray) ElementType

func (ProjectIpWhitelistArray) ElementType() reflect.Type

func (ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutput

func (i ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutput() ProjectIpWhitelistArrayOutput

func (ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutputWithContext

func (i ProjectIpWhitelistArray) ToProjectIpWhitelistArrayOutputWithContext(ctx context.Context) ProjectIpWhitelistArrayOutput

type ProjectIpWhitelistArrayInput

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

type ProjectIpWhitelistArrayOutput struct{ *pulumi.OutputState }

func (ProjectIpWhitelistArrayOutput) ElementType

func (ProjectIpWhitelistArrayOutput) Index

func (ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutput

func (o ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutput() ProjectIpWhitelistArrayOutput

func (ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutputWithContext

func (o ProjectIpWhitelistArrayOutput) ToProjectIpWhitelistArrayOutputWithContext(ctx context.Context) ProjectIpWhitelistArrayOutput

type ProjectIpWhitelistInput

type ProjectIpWhitelistInput interface {
	pulumi.Input

	ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput
	ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput
}

type ProjectIpWhitelistMap

type ProjectIpWhitelistMap map[string]ProjectIpWhitelistInput

func (ProjectIpWhitelistMap) ElementType

func (ProjectIpWhitelistMap) ElementType() reflect.Type

func (ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutput

func (i ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutput() ProjectIpWhitelistMapOutput

func (ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutputWithContext

func (i ProjectIpWhitelistMap) ToProjectIpWhitelistMapOutputWithContext(ctx context.Context) ProjectIpWhitelistMapOutput

type ProjectIpWhitelistMapInput

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

type ProjectIpWhitelistMapOutput struct{ *pulumi.OutputState }

func (ProjectIpWhitelistMapOutput) ElementType

func (ProjectIpWhitelistMapOutput) MapIndex

func (ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutput

func (o ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutput() ProjectIpWhitelistMapOutput

func (ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutputWithContext

func (o ProjectIpWhitelistMapOutput) ToProjectIpWhitelistMapOutputWithContext(ctx context.Context) ProjectIpWhitelistMapOutput

type ProjectIpWhitelistOutput

type ProjectIpWhitelistOutput struct {
	*pulumi.OutputState
}

func (ProjectIpWhitelistOutput) ElementType

func (ProjectIpWhitelistOutput) ElementType() reflect.Type

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistOutput

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistOutput() ProjectIpWhitelistOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistOutputWithContext

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistOutputWithContext(ctx context.Context) ProjectIpWhitelistOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutput

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutputWithContext

func (o ProjectIpWhitelistOutput) ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput

type ProjectIpWhitelistPtrInput

type ProjectIpWhitelistPtrInput interface {
	pulumi.Input

	ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput
	ToProjectIpWhitelistPtrOutputWithContext(ctx context.Context) ProjectIpWhitelistPtrOutput
}

type ProjectIpWhitelistPtrOutput

type ProjectIpWhitelistPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectIpWhitelistPtrOutput) ElementType

func (ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutput

func (o ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutput() ProjectIpWhitelistPtrOutput

func (ProjectIpWhitelistPtrOutput) ToProjectIpWhitelistPtrOutputWithContext

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

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

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

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct {
	*pulumi.OutputState
}

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) ToProjectPtrOutput

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPtrInput

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput

type ProjectPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPtrOutput) ElementType

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext

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

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

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

func (*Provider) ToProviderPtrOutput

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext

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

type ProviderInput interface {
	pulumi.Input

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

type ProviderOutput

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

func (ProviderOutput) ToProviderPtrOutput

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext

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

type ProviderPtrInput

type ProviderPtrInput interface {
	pulumi.Input

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

type ProviderPtrOutput

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/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

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

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

func (*Team) ToTeamPtrOutput

func (i *Team) ToTeamPtrOutput() TeamPtrOutput

func (*Team) ToTeamPtrOutputWithContext

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

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

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

type TeamArrayInput

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

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

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

type TeamInput

type TeamInput interface {
	pulumi.Input

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

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

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

type TeamMapInput

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

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

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

type TeamOutput

type TeamOutput struct {
	*pulumi.OutputState
}

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

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

func (TeamOutput) ToTeamPtrOutput

func (o TeamOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamOutput) ToTeamPtrOutputWithContext

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

type TeamPtrInput

type TeamPtrInput interface {
	pulumi.Input

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

type TeamPtrOutput

type TeamPtrOutput struct {
	*pulumi.OutputState
}

func (TeamPtrOutput) ElementType

func (TeamPtrOutput) ElementType() reflect.Type

func (TeamPtrOutput) ToTeamPtrOutput

func (o TeamPtrOutput) ToTeamPtrOutput() TeamPtrOutput

func (TeamPtrOutput) ToTeamPtrOutputWithContext

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

func (*Teams) ElementType() reflect.Type

func (*Teams) ToTeamsOutput

func (i *Teams) ToTeamsOutput() TeamsOutput

func (*Teams) ToTeamsOutputWithContext

func (i *Teams) ToTeamsOutputWithContext(ctx context.Context) TeamsOutput

func (*Teams) ToTeamsPtrOutput

func (i *Teams) ToTeamsPtrOutput() TeamsPtrOutput

func (*Teams) ToTeamsPtrOutputWithContext

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

type TeamsArray []TeamsInput

func (TeamsArray) ElementType

func (TeamsArray) ElementType() reflect.Type

func (TeamsArray) ToTeamsArrayOutput

func (i TeamsArray) ToTeamsArrayOutput() TeamsArrayOutput

func (TeamsArray) ToTeamsArrayOutputWithContext

func (i TeamsArray) ToTeamsArrayOutputWithContext(ctx context.Context) TeamsArrayOutput

type TeamsArrayInput

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

type TeamsArrayOutput struct{ *pulumi.OutputState }

func (TeamsArrayOutput) ElementType

func (TeamsArrayOutput) ElementType() reflect.Type

func (TeamsArrayOutput) Index

func (TeamsArrayOutput) ToTeamsArrayOutput

func (o TeamsArrayOutput) ToTeamsArrayOutput() TeamsArrayOutput

func (TeamsArrayOutput) ToTeamsArrayOutputWithContext

func (o TeamsArrayOutput) ToTeamsArrayOutputWithContext(ctx context.Context) TeamsArrayOutput

type TeamsInput

type TeamsInput interface {
	pulumi.Input

	ToTeamsOutput() TeamsOutput
	ToTeamsOutputWithContext(ctx context.Context) TeamsOutput
}

type TeamsMap

type TeamsMap map[string]TeamsInput

func (TeamsMap) ElementType

func (TeamsMap) ElementType() reflect.Type

func (TeamsMap) ToTeamsMapOutput

func (i TeamsMap) ToTeamsMapOutput() TeamsMapOutput

func (TeamsMap) ToTeamsMapOutputWithContext

func (i TeamsMap) ToTeamsMapOutputWithContext(ctx context.Context) TeamsMapOutput

type TeamsMapInput

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

type TeamsMapOutput struct{ *pulumi.OutputState }

func (TeamsMapOutput) ElementType

func (TeamsMapOutput) ElementType() reflect.Type

func (TeamsMapOutput) MapIndex

func (TeamsMapOutput) ToTeamsMapOutput

func (o TeamsMapOutput) ToTeamsMapOutput() TeamsMapOutput

func (TeamsMapOutput) ToTeamsMapOutputWithContext

func (o TeamsMapOutput) ToTeamsMapOutputWithContext(ctx context.Context) TeamsMapOutput

type TeamsOutput

type TeamsOutput struct {
	*pulumi.OutputState
}

func (TeamsOutput) ElementType

func (TeamsOutput) ElementType() reflect.Type

func (TeamsOutput) ToTeamsOutput

func (o TeamsOutput) ToTeamsOutput() TeamsOutput

func (TeamsOutput) ToTeamsOutputWithContext

func (o TeamsOutput) ToTeamsOutputWithContext(ctx context.Context) TeamsOutput

func (TeamsOutput) ToTeamsPtrOutput

func (o TeamsOutput) ToTeamsPtrOutput() TeamsPtrOutput

func (TeamsOutput) ToTeamsPtrOutputWithContext

func (o TeamsOutput) ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput

type TeamsPtrInput

type TeamsPtrInput interface {
	pulumi.Input

	ToTeamsPtrOutput() TeamsPtrOutput
	ToTeamsPtrOutputWithContext(ctx context.Context) TeamsPtrOutput
}

type TeamsPtrOutput

type TeamsPtrOutput struct {
	*pulumi.OutputState
}

func (TeamsPtrOutput) ElementType

func (TeamsPtrOutput) ElementType() reflect.Type

func (TeamsPtrOutput) ToTeamsPtrOutput

func (o TeamsPtrOutput) ToTeamsPtrOutput() TeamsPtrOutput

func (TeamsPtrOutput) ToTeamsPtrOutputWithContext

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

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

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

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

func (*ThirdPartyIntegration) ElementType() reflect.Type

func (*ThirdPartyIntegration) ToThirdPartyIntegrationOutput

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationOutputWithContext

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutput

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (*ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutputWithContext

func (i *ThirdPartyIntegration) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationArgs

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

func (ThirdPartyIntegrationArgs) ElementType() reflect.Type

type ThirdPartyIntegrationArray

type ThirdPartyIntegrationArray []ThirdPartyIntegrationInput

func (ThirdPartyIntegrationArray) ElementType

func (ThirdPartyIntegrationArray) ElementType() reflect.Type

func (ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutput

func (i ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutput() ThirdPartyIntegrationArrayOutput

func (ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutputWithContext

func (i ThirdPartyIntegrationArray) ToThirdPartyIntegrationArrayOutputWithContext(ctx context.Context) ThirdPartyIntegrationArrayOutput

type ThirdPartyIntegrationArrayInput

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

type ThirdPartyIntegrationArrayOutput struct{ *pulumi.OutputState }

func (ThirdPartyIntegrationArrayOutput) ElementType

func (ThirdPartyIntegrationArrayOutput) Index

func (ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutput

func (o ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutput() ThirdPartyIntegrationArrayOutput

func (ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutputWithContext

func (o ThirdPartyIntegrationArrayOutput) ToThirdPartyIntegrationArrayOutputWithContext(ctx context.Context) ThirdPartyIntegrationArrayOutput

type ThirdPartyIntegrationInput

type ThirdPartyIntegrationInput interface {
	pulumi.Input

	ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput
	ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput
}

type ThirdPartyIntegrationMap

type ThirdPartyIntegrationMap map[string]ThirdPartyIntegrationInput

func (ThirdPartyIntegrationMap) ElementType

func (ThirdPartyIntegrationMap) ElementType() reflect.Type

func (ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutput

func (i ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutput() ThirdPartyIntegrationMapOutput

func (ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutputWithContext

func (i ThirdPartyIntegrationMap) ToThirdPartyIntegrationMapOutputWithContext(ctx context.Context) ThirdPartyIntegrationMapOutput

type ThirdPartyIntegrationMapInput

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

type ThirdPartyIntegrationMapOutput struct{ *pulumi.OutputState }

func (ThirdPartyIntegrationMapOutput) ElementType

func (ThirdPartyIntegrationMapOutput) MapIndex

func (ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutput

func (o ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutput() ThirdPartyIntegrationMapOutput

func (ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutputWithContext

func (o ThirdPartyIntegrationMapOutput) ToThirdPartyIntegrationMapOutputWithContext(ctx context.Context) ThirdPartyIntegrationMapOutput

type ThirdPartyIntegrationOutput

type ThirdPartyIntegrationOutput struct {
	*pulumi.OutputState
}

func (ThirdPartyIntegrationOutput) ElementType

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutput

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutput() ThirdPartyIntegrationOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutputWithContext

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationOutputWithContext(ctx context.Context) ThirdPartyIntegrationOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutput

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutputWithContext

func (o ThirdPartyIntegrationOutput) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationPtrInput

type ThirdPartyIntegrationPtrInput interface {
	pulumi.Input

	ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput
	ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput
}

type ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationPtrOutput struct {
	*pulumi.OutputState
}

func (ThirdPartyIntegrationPtrOutput) ElementType

func (ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutput

func (o ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutput() ThirdPartyIntegrationPtrOutput

func (ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutputWithContext

func (o ThirdPartyIntegrationPtrOutput) ToThirdPartyIntegrationPtrOutputWithContext(ctx context.Context) ThirdPartyIntegrationPtrOutput

type ThirdPartyIntegrationState

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

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/v2/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutput

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutputWithContext

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutput

func (i *X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (*X509AuthenticationDatabaseUser) ToX509AuthenticationDatabaseUserPtrOutputWithContext

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

type X509AuthenticationDatabaseUserArray []X509AuthenticationDatabaseUserInput

func (X509AuthenticationDatabaseUserArray) ElementType

func (X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutput

func (i X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutput() X509AuthenticationDatabaseUserArrayOutput

func (X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutputWithContext

func (i X509AuthenticationDatabaseUserArray) ToX509AuthenticationDatabaseUserArrayOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserArrayOutput

type X509AuthenticationDatabaseUserArrayInput

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

type X509AuthenticationDatabaseUserArrayOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserArrayOutput) ElementType

func (X509AuthenticationDatabaseUserArrayOutput) Index

func (X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutput

func (o X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutput() X509AuthenticationDatabaseUserArrayOutput

func (X509AuthenticationDatabaseUserArrayOutput) ToX509AuthenticationDatabaseUserArrayOutputWithContext

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

type X509AuthenticationDatabaseUserInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput
	ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput
}

type X509AuthenticationDatabaseUserMap

type X509AuthenticationDatabaseUserMap map[string]X509AuthenticationDatabaseUserInput

func (X509AuthenticationDatabaseUserMap) ElementType

func (X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutput

func (i X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutput() X509AuthenticationDatabaseUserMapOutput

func (X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutputWithContext

func (i X509AuthenticationDatabaseUserMap) ToX509AuthenticationDatabaseUserMapOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserMapOutput

type X509AuthenticationDatabaseUserMapInput

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

type X509AuthenticationDatabaseUserMapOutput struct{ *pulumi.OutputState }

func (X509AuthenticationDatabaseUserMapOutput) ElementType

func (X509AuthenticationDatabaseUserMapOutput) MapIndex

func (X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutput

func (o X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutput() X509AuthenticationDatabaseUserMapOutput

func (X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutputWithContext

func (o X509AuthenticationDatabaseUserMapOutput) ToX509AuthenticationDatabaseUserMapOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserMapOutput

type X509AuthenticationDatabaseUserOutput

type X509AuthenticationDatabaseUserOutput struct {
	*pulumi.OutputState
}

func (X509AuthenticationDatabaseUserOutput) ElementType

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutput

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutput() X509AuthenticationDatabaseUserOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutputWithContext

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutput

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext

func (o X509AuthenticationDatabaseUserOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput

type X509AuthenticationDatabaseUserPtrInput

type X509AuthenticationDatabaseUserPtrInput interface {
	pulumi.Input

	ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput
	ToX509AuthenticationDatabaseUserPtrOutputWithContext(ctx context.Context) X509AuthenticationDatabaseUserPtrOutput
}

type X509AuthenticationDatabaseUserPtrOutput

type X509AuthenticationDatabaseUserPtrOutput struct {
	*pulumi.OutputState
}

func (X509AuthenticationDatabaseUserPtrOutput) ElementType

func (X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutput

func (o X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutput() X509AuthenticationDatabaseUserPtrOutput

func (X509AuthenticationDatabaseUserPtrOutput) ToX509AuthenticationDatabaseUserPtrOutputWithContext

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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