1. Packages
  2. Yandex
  3. API Docs
  4. getMdbMongodbCluster
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.getMdbMongodbCluster

Explore with Pulumi AI

Get information about a Yandex Managed MongoDB cluster. For more information, see the official documentation.

Example Usage

using Pulumi;
using Yandex = Pulumi.Yandex;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = Output.Create(Yandex.GetMdbMongodbCluster.InvokeAsync(new Yandex.GetMdbMongodbClusterArgs
        {
            Name = "test",
        }));
        this.NetworkId = foo.Apply(foo => foo.NetworkId);
    }

    [Output("networkId")]
    public Output<string> NetworkId { get; set; }
}
Copy
package main

import (
	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "test"
		foo, err := yandex.LookupMdbMongodbCluster(ctx, &GetMdbMongodbClusterArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("networkId", foo.NetworkId)
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";

const foo = pulumi.output(yandex.getMdbMongodbCluster({
    name: "test",
}));

export const networkId = foo.networkId;
Copy
import pulumi
import pulumi_yandex as yandex

foo = yandex.get_mdb_mongodb_cluster(name="test")
pulumi.export("networkId", foo.network_id)
Copy

Coming soon!

Using getMdbMongodbCluster

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getMdbMongodbCluster(args: GetMdbMongodbClusterArgs, opts?: InvokeOptions): Promise<GetMdbMongodbClusterResult>
function getMdbMongodbClusterOutput(args: GetMdbMongodbClusterOutputArgs, opts?: InvokeOptions): Output<GetMdbMongodbClusterResult>
Copy
def get_mdb_mongodb_cluster(cluster_id: Optional[str] = None,
                            deletion_protection: Optional[bool] = None,
                            folder_id: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetMdbMongodbClusterResult
def get_mdb_mongodb_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                            deletion_protection: Optional[pulumi.Input[bool]] = None,
                            folder_id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetMdbMongodbClusterResult]
Copy
func LookupMdbMongodbCluster(ctx *Context, args *LookupMdbMongodbClusterArgs, opts ...InvokeOption) (*LookupMdbMongodbClusterResult, error)
func LookupMdbMongodbClusterOutput(ctx *Context, args *LookupMdbMongodbClusterOutputArgs, opts ...InvokeOption) LookupMdbMongodbClusterResultOutput
Copy

> Note: This function is named LookupMdbMongodbCluster in the Go SDK.

public static class GetMdbMongodbCluster 
{
    public static Task<GetMdbMongodbClusterResult> InvokeAsync(GetMdbMongodbClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetMdbMongodbClusterResult> Invoke(GetMdbMongodbClusterInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMdbMongodbClusterResult> getMdbMongodbCluster(GetMdbMongodbClusterArgs args, InvokeOptions options)
public static Output<GetMdbMongodbClusterResult> getMdbMongodbCluster(GetMdbMongodbClusterArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: yandex:index/getMdbMongodbCluster:getMdbMongodbCluster
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ClusterId string
The ID of the MongoDB cluster.
DeletionProtection bool
FolderId string
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
Name string
The name of the MongoDB cluster.
ClusterId string
The ID of the MongoDB cluster.
DeletionProtection bool
FolderId string
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
Name string
The name of the MongoDB cluster.
clusterId String
The ID of the MongoDB cluster.
deletionProtection Boolean
folderId String
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
name String
The name of the MongoDB cluster.
clusterId string
The ID of the MongoDB cluster.
deletionProtection boolean
folderId string
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
name string
The name of the MongoDB cluster.
cluster_id str
The ID of the MongoDB cluster.
deletion_protection bool
folder_id str
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
name str
The name of the MongoDB cluster.
clusterId String
The ID of the MongoDB cluster.
deletionProtection Boolean
folderId String
Folder that the resource belongs to. If value is omitted, the default provider folder is used.
name String
The name of the MongoDB cluster.

getMdbMongodbCluster Result

The following output properties are available:

ClusterConfigs List<GetMdbMongodbClusterClusterConfig>
Configuration of the MongoDB cluster. The structure is documented below.
ClusterId string
CreatedAt string
Creation timestamp of the key.
Databases List<GetMdbMongodbClusterDatabase>
A database of the MongoDB cluster. The structure is documented below.
DeletionProtection bool
Description string
Description of the MongoDB cluster.
Environment string
Deployment environment of the MongoDB cluster.
FolderId string
Health string
The health of the host.
Hosts List<GetMdbMongodbClusterHost>
A host of the MongoDB cluster. The structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Labels Dictionary<string, string>
A set of key/value label pairs to assign to the MongoDB cluster.
MaintenanceWindows List<GetMdbMongodbClusterMaintenanceWindow>
Name string
The name of the database.
NetworkId string
ID of the network, to which the MongoDB cluster belongs.
Resources List<GetMdbMongodbClusterResource>
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
SecurityGroupIds List<string>
A set of ids of security groups assigned to hosts of the cluster.
Sharded bool
MongoDB Cluster mode enabled/disabled.
Status string
Status of the cluster.
Users List<GetMdbMongodbClusterUser>
A user of the MongoDB cluster. The structure is documented below.
ClusterConfigs []GetMdbMongodbClusterClusterConfig
Configuration of the MongoDB cluster. The structure is documented below.
ClusterId string
CreatedAt string
Creation timestamp of the key.
Databases []GetMdbMongodbClusterDatabase
A database of the MongoDB cluster. The structure is documented below.
DeletionProtection bool
Description string
Description of the MongoDB cluster.
Environment string
Deployment environment of the MongoDB cluster.
FolderId string
Health string
The health of the host.
Hosts []GetMdbMongodbClusterHost
A host of the MongoDB cluster. The structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Labels map[string]string
A set of key/value label pairs to assign to the MongoDB cluster.
MaintenanceWindows []GetMdbMongodbClusterMaintenanceWindow
Name string
The name of the database.
NetworkId string
ID of the network, to which the MongoDB cluster belongs.
Resources []GetMdbMongodbClusterResource
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
SecurityGroupIds []string
A set of ids of security groups assigned to hosts of the cluster.
Sharded bool
MongoDB Cluster mode enabled/disabled.
Status string
Status of the cluster.
Users []GetMdbMongodbClusterUser
A user of the MongoDB cluster. The structure is documented below.
clusterConfigs List<GetMdbMongodbClusterClusterConfig>
Configuration of the MongoDB cluster. The structure is documented below.
clusterId String
createdAt String
Creation timestamp of the key.
databases List<GetMdbMongodbClusterDatabase>
A database of the MongoDB cluster. The structure is documented below.
deletionProtection Boolean
description String
Description of the MongoDB cluster.
environment String
Deployment environment of the MongoDB cluster.
folderId String
health String
The health of the host.
hosts List<GetMdbMongodbClusterHost>
A host of the MongoDB cluster. The structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
labels Map<String,String>
A set of key/value label pairs to assign to the MongoDB cluster.
maintenanceWindows List<GetMdbMongodbClusterMaintenanceWindow>
name String
The name of the database.
networkId String
ID of the network, to which the MongoDB cluster belongs.
resources List<GetMdbMongodbClusterResource>
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
securityGroupIds List<String>
A set of ids of security groups assigned to hosts of the cluster.
sharded Boolean
MongoDB Cluster mode enabled/disabled.
status String
Status of the cluster.
users List<GetMdbMongodbClusterUser>
A user of the MongoDB cluster. The structure is documented below.
clusterConfigs GetMdbMongodbClusterClusterConfig[]
Configuration of the MongoDB cluster. The structure is documented below.
clusterId string
createdAt string
Creation timestamp of the key.
databases GetMdbMongodbClusterDatabase[]
A database of the MongoDB cluster. The structure is documented below.
deletionProtection boolean
description string
Description of the MongoDB cluster.
environment string
Deployment environment of the MongoDB cluster.
folderId string
health string
The health of the host.
hosts GetMdbMongodbClusterHost[]
A host of the MongoDB cluster. The structure is documented below.
id string
The provider-assigned unique ID for this managed resource.
labels {[key: string]: string}
A set of key/value label pairs to assign to the MongoDB cluster.
maintenanceWindows GetMdbMongodbClusterMaintenanceWindow[]
name string
The name of the database.
networkId string
ID of the network, to which the MongoDB cluster belongs.
resources GetMdbMongodbClusterResource[]
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
securityGroupIds string[]
A set of ids of security groups assigned to hosts of the cluster.
sharded boolean
MongoDB Cluster mode enabled/disabled.
status string
Status of the cluster.
users GetMdbMongodbClusterUser[]
A user of the MongoDB cluster. The structure is documented below.
cluster_configs Sequence[GetMdbMongodbClusterClusterConfig]
Configuration of the MongoDB cluster. The structure is documented below.
cluster_id str
created_at str
Creation timestamp of the key.
databases Sequence[GetMdbMongodbClusterDatabase]
A database of the MongoDB cluster. The structure is documented below.
deletion_protection bool
description str
Description of the MongoDB cluster.
environment str
Deployment environment of the MongoDB cluster.
folder_id str
health str
The health of the host.
hosts Sequence[GetMdbMongodbClusterHost]
A host of the MongoDB cluster. The structure is documented below.
id str
The provider-assigned unique ID for this managed resource.
labels Mapping[str, str]
A set of key/value label pairs to assign to the MongoDB cluster.
maintenance_windows Sequence[GetMdbMongodbClusterMaintenanceWindow]
name str
The name of the database.
network_id str
ID of the network, to which the MongoDB cluster belongs.
resources Sequence[GetMdbMongodbClusterResource]
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
security_group_ids Sequence[str]
A set of ids of security groups assigned to hosts of the cluster.
sharded bool
MongoDB Cluster mode enabled/disabled.
status str
Status of the cluster.
users Sequence[GetMdbMongodbClusterUser]
A user of the MongoDB cluster. The structure is documented below.
clusterConfigs List<Property Map>
Configuration of the MongoDB cluster. The structure is documented below.
clusterId String
createdAt String
Creation timestamp of the key.
databases List<Property Map>
A database of the MongoDB cluster. The structure is documented below.
deletionProtection Boolean
description String
Description of the MongoDB cluster.
environment String
Deployment environment of the MongoDB cluster.
folderId String
health String
The health of the host.
hosts List<Property Map>
A host of the MongoDB cluster. The structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
labels Map<String>
A set of key/value label pairs to assign to the MongoDB cluster.
maintenanceWindows List<Property Map>
name String
The name of the database.
networkId String
ID of the network, to which the MongoDB cluster belongs.
resources List<Property Map>
Resources allocated to hosts of the MongoDB cluster. The structure is documented below.
securityGroupIds List<String>
A set of ids of security groups assigned to hosts of the cluster.
sharded Boolean
MongoDB Cluster mode enabled/disabled.
status String
Status of the cluster.
users List<Property Map>
A user of the MongoDB cluster. The structure is documented below.

Supporting Types

GetMdbMongodbClusterClusterConfig

Accesses This property is required. List<GetMdbMongodbClusterClusterConfigAccess>
Access policy to MongoDB cluster. The structure is documented below.
BackupWindowStarts This property is required. List<GetMdbMongodbClusterClusterConfigBackupWindowStart>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
FeatureCompatibilityVersion This property is required. string
Feature compatibility version of MongoDB.
Version This property is required. string
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).
Accesses This property is required. []GetMdbMongodbClusterClusterConfigAccess
Access policy to MongoDB cluster. The structure is documented below.
BackupWindowStarts This property is required. []GetMdbMongodbClusterClusterConfigBackupWindowStart
Time to start the daily backup, in the UTC timezone. The structure is documented below.
FeatureCompatibilityVersion This property is required. string
Feature compatibility version of MongoDB.
Version This property is required. string
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).
accesses This property is required. List<GetMdbMongodbClusterClusterConfigAccess>
Access policy to MongoDB cluster. The structure is documented below.
backupWindowStarts This property is required. List<GetMdbMongodbClusterClusterConfigBackupWindowStart>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
featureCompatibilityVersion This property is required. String
Feature compatibility version of MongoDB.
version This property is required. String
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).
accesses This property is required. GetMdbMongodbClusterClusterConfigAccess[]
Access policy to MongoDB cluster. The structure is documented below.
backupWindowStarts This property is required. GetMdbMongodbClusterClusterConfigBackupWindowStart[]
Time to start the daily backup, in the UTC timezone. The structure is documented below.
featureCompatibilityVersion This property is required. string
Feature compatibility version of MongoDB.
version This property is required. string
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).
accesses This property is required. Sequence[GetMdbMongodbClusterClusterConfigAccess]
Access policy to MongoDB cluster. The structure is documented below.
backup_window_starts This property is required. Sequence[GetMdbMongodbClusterClusterConfigBackupWindowStart]
Time to start the daily backup, in the UTC timezone. The structure is documented below.
feature_compatibility_version This property is required. str
Feature compatibility version of MongoDB.
version This property is required. str
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).
accesses This property is required. List<Property Map>
Access policy to MongoDB cluster. The structure is documented below.
backupWindowStarts This property is required. List<Property Map>
Time to start the daily backup, in the UTC timezone. The structure is documented below.
featureCompatibilityVersion This property is required. String
Feature compatibility version of MongoDB.
version This property is required. String
Version of MongoDB (either 5.0, 4.4, 4.2, 4.0 or 3.6).

GetMdbMongodbClusterClusterConfigAccess

DataLens This property is required. bool
Shows whether cluster has access to data lens.
DataLens This property is required. bool
Shows whether cluster has access to data lens.
dataLens This property is required. Boolean
Shows whether cluster has access to data lens.
dataLens This property is required. boolean
Shows whether cluster has access to data lens.
data_lens This property is required. bool
Shows whether cluster has access to data lens.
dataLens This property is required. Boolean
Shows whether cluster has access to data lens.

GetMdbMongodbClusterClusterConfigBackupWindowStart

Hours int
The hour at which backup will be started.
Minutes int
The minute at which backup will be started.
Hours int
The hour at which backup will be started.
Minutes int
The minute at which backup will be started.
hours Integer
The hour at which backup will be started.
minutes Integer
The minute at which backup will be started.
hours number
The hour at which backup will be started.
minutes number
The minute at which backup will be started.
hours int
The hour at which backup will be started.
minutes int
The minute at which backup will be started.
hours Number
The hour at which backup will be started.
minutes Number
The minute at which backup will be started.

GetMdbMongodbClusterDatabase

Name This property is required. string
The name of the MongoDB cluster.
Name This property is required. string
The name of the MongoDB cluster.
name This property is required. String
The name of the MongoDB cluster.
name This property is required. string
The name of the MongoDB cluster.
name This property is required. str
The name of the MongoDB cluster.
name This property is required. String
The name of the MongoDB cluster.

GetMdbMongodbClusterHost

AssignPublicIp This property is required. bool
Has assigned public IP.
Health This property is required. string
The health of the host.
Name This property is required. string
The name of the MongoDB cluster.
Role This property is required. string
The role of the cluster (either PRIMARY or SECONDARY).
ShardName This property is required. string
The name of the shard to which the host belongs.
SubnetId This property is required. string
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
ZoneId This property is required. string
The availability zone where the MongoDB host will be created.
AssignPublicIp This property is required. bool
Has assigned public IP.
Health This property is required. string
The health of the host.
Name This property is required. string
The name of the MongoDB cluster.
Role This property is required. string
The role of the cluster (either PRIMARY or SECONDARY).
ShardName This property is required. string
The name of the shard to which the host belongs.
SubnetId This property is required. string
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
ZoneId This property is required. string
The availability zone where the MongoDB host will be created.
assignPublicIp This property is required. Boolean
Has assigned public IP.
health This property is required. String
The health of the host.
name This property is required. String
The name of the MongoDB cluster.
role This property is required. String
The role of the cluster (either PRIMARY or SECONDARY).
shardName This property is required. String
The name of the shard to which the host belongs.
subnetId This property is required. String
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
zoneId This property is required. String
The availability zone where the MongoDB host will be created.
assignPublicIp This property is required. boolean
Has assigned public IP.
health This property is required. string
The health of the host.
name This property is required. string
The name of the MongoDB cluster.
role This property is required. string
The role of the cluster (either PRIMARY or SECONDARY).
shardName This property is required. string
The name of the shard to which the host belongs.
subnetId This property is required. string
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
zoneId This property is required. string
The availability zone where the MongoDB host will be created.
assign_public_ip This property is required. bool
Has assigned public IP.
health This property is required. str
The health of the host.
name This property is required. str
The name of the MongoDB cluster.
role This property is required. str
The role of the cluster (either PRIMARY or SECONDARY).
shard_name This property is required. str
The name of the shard to which the host belongs.
subnet_id This property is required. str
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
type This property is required. str
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
zone_id This property is required. str
The availability zone where the MongoDB host will be created.
assignPublicIp This property is required. Boolean
Has assigned public IP.
health This property is required. String
The health of the host.
name This property is required. String
The name of the MongoDB cluster.
role This property is required. String
The role of the cluster (either PRIMARY or SECONDARY).
shardName This property is required. String
The name of the shard to which the host belongs.
subnetId This property is required. String
The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
zoneId This property is required. String
The availability zone where the MongoDB host will be created.

GetMdbMongodbClusterMaintenanceWindow

Day This property is required. string
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
Hour This property is required. int
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
Day This property is required. string
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
Hour This property is required. int
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
Type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
day This property is required. String
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
hour This property is required. Integer
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
day This property is required. string
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
hour This property is required. number
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
type This property is required. string
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
day This property is required. str
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
hour This property is required. int
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
type This property is required. str
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.
day This property is required. String
Day of week for maintenance window if window type is weekly. Possible values: MON, TUE, WED, THU, FRI, SAT, SUN.
hour This property is required. Number
Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.
type This property is required. String
Type of maintenance window. Can be either ANYTIME or WEEKLY. A day and hour of window need to be specified with weekly window.

GetMdbMongodbClusterResource

DiskSize This property is required. int
Volume of the storage available to a host, in gigabytes.
DiskTypeId This property is required. string
The ID of the storage type. For more information, see the official documentation
ResourcePresetId This property is required. string
DiskSize This property is required. int
Volume of the storage available to a host, in gigabytes.
DiskTypeId This property is required. string
The ID of the storage type. For more information, see the official documentation
ResourcePresetId This property is required. string
diskSize This property is required. Integer
Volume of the storage available to a host, in gigabytes.
diskTypeId This property is required. String
The ID of the storage type. For more information, see the official documentation
resourcePresetId This property is required. String
diskSize This property is required. number
Volume of the storage available to a host, in gigabytes.
diskTypeId This property is required. string
The ID of the storage type. For more information, see the official documentation
resourcePresetId This property is required. string
disk_size This property is required. int
Volume of the storage available to a host, in gigabytes.
disk_type_id This property is required. str
The ID of the storage type. For more information, see the official documentation
resource_preset_id This property is required. str
diskSize This property is required. Number
Volume of the storage available to a host, in gigabytes.
diskTypeId This property is required. String
The ID of the storage type. For more information, see the official documentation
resourcePresetId This property is required. String

GetMdbMongodbClusterUser

Name This property is required. string
The name of the MongoDB cluster.
Permissions This property is required. List<GetMdbMongodbClusterUserPermission>
Set of permissions granted to the user. The structure is documented below.
Name This property is required. string
The name of the MongoDB cluster.
Permissions This property is required. []GetMdbMongodbClusterUserPermission
Set of permissions granted to the user. The structure is documented below.
name This property is required. String
The name of the MongoDB cluster.
permissions This property is required. List<GetMdbMongodbClusterUserPermission>
Set of permissions granted to the user. The structure is documented below.
name This property is required. string
The name of the MongoDB cluster.
permissions This property is required. GetMdbMongodbClusterUserPermission[]
Set of permissions granted to the user. The structure is documented below.
name This property is required. str
The name of the MongoDB cluster.
permissions This property is required. Sequence[GetMdbMongodbClusterUserPermission]
Set of permissions granted to the user. The structure is documented below.
name This property is required. String
The name of the MongoDB cluster.
permissions This property is required. List<Property Map>
Set of permissions granted to the user. The structure is documented below.

GetMdbMongodbClusterUserPermission

DatabaseName This property is required. string
The name of the database that the permission grants access to.
Roles List<string>
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.
DatabaseName This property is required. string
The name of the database that the permission grants access to.
Roles []string
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.
databaseName This property is required. String
The name of the database that the permission grants access to.
roles List<String>
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.
databaseName This property is required. string
The name of the database that the permission grants access to.
roles string[]
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.
database_name This property is required. str
The name of the database that the permission grants access to.
roles Sequence[str]
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.
databaseName This property is required. String
The name of the database that the permission grants access to.
roles List<String>
(Optional) List of strings. The roles of the user in this database. For more information see the official documentation.

Package Details

Repository
Yandex pulumi/pulumi-yandex
License
Apache-2.0
Notes
This Pulumi package is based on the yandex Terraform Provider.