azure-native.documentdb.MongoCluster
Explore with Pulumi AI
Represents a mongo cluster resource. Azure REST API version: 2023-03-15-preview.
Other available API versions: 2023-09-15-preview, 2023-11-15-preview, 2024-02-15-preview, 2024-03-01-preview.
Example Usage
Create a new mongo cluster
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var mongoCluster = new AzureNative.DocumentDB.MongoCluster("mongoCluster", new()
{
AdministratorLogin = "mongoAdmin",
AdministratorLoginPassword = "password",
Location = "westus2",
MongoClusterName = "myMongoCluster",
NodeGroupSpecs = new[]
{
new AzureNative.DocumentDB.Inputs.NodeGroupSpecArgs
{
DiskSizeGB = 128,
EnableHa = true,
Kind = AzureNative.DocumentDB.NodeKind.Shard,
NodeCount = 3,
Sku = "M30",
},
},
ResourceGroupName = "TestResourceGroup",
ServerVersion = "5.0",
});
});
package main
import (
documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := documentdb.NewMongoCluster(ctx, "mongoCluster", &documentdb.MongoClusterArgs{
AdministratorLogin: pulumi.String("mongoAdmin"),
AdministratorLoginPassword: pulumi.String("password"),
Location: pulumi.String("westus2"),
MongoClusterName: pulumi.String("myMongoCluster"),
NodeGroupSpecs: documentdb.NodeGroupSpecArray{
&documentdb.NodeGroupSpecArgs{
DiskSizeGB: pulumi.Float64(128),
EnableHa: pulumi.Bool(true),
Kind: pulumi.String(documentdb.NodeKindShard),
NodeCount: pulumi.Int(3),
Sku: pulumi.String("M30"),
},
},
ResourceGroupName: pulumi.String("TestResourceGroup"),
ServerVersion: pulumi.String("5.0"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.documentdb.MongoCluster;
import com.pulumi.azurenative.documentdb.MongoClusterArgs;
import com.pulumi.azurenative.documentdb.inputs.NodeGroupSpecArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mongoCluster = new MongoCluster("mongoCluster", MongoClusterArgs.builder()
.administratorLogin("mongoAdmin")
.administratorLoginPassword("password")
.location("westus2")
.mongoClusterName("myMongoCluster")
.nodeGroupSpecs(NodeGroupSpecArgs.builder()
.diskSizeGB(128)
.enableHa(true)
.kind("Shard")
.nodeCount(3)
.sku("M30")
.build())
.resourceGroupName("TestResourceGroup")
.serverVersion("5.0")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
mongo_cluster = azure_native.documentdb.MongoCluster("mongoCluster",
administrator_login="mongoAdmin",
administrator_login_password="password",
location="westus2",
mongo_cluster_name="myMongoCluster",
node_group_specs=[azure_native.documentdb.NodeGroupSpecArgs(
disk_size_gb=128,
enable_ha=True,
kind=azure_native.documentdb.NodeKind.SHARD,
node_count=3,
sku="M30",
)],
resource_group_name="TestResourceGroup",
server_version="5.0")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const mongoCluster = new azure_native.documentdb.MongoCluster("mongoCluster", {
administratorLogin: "mongoAdmin",
administratorLoginPassword: "password",
location: "westus2",
mongoClusterName: "myMongoCluster",
nodeGroupSpecs: [{
diskSizeGB: 128,
enableHa: true,
kind: azure_native.documentdb.NodeKind.Shard,
nodeCount: 3,
sku: "M30",
}],
resourceGroupName: "TestResourceGroup",
serverVersion: "5.0",
});
resources:
mongoCluster:
type: azure-native:documentdb:MongoCluster
properties:
administratorLogin: mongoAdmin
administratorLoginPassword: password
location: westus2
mongoClusterName: myMongoCluster
nodeGroupSpecs:
- diskSizeGB: 128
enableHa: true
kind: Shard
nodeCount: 3
sku: M30
resourceGroupName: TestResourceGroup
serverVersion: '5.0'
Create a new mongo cluster with point in time restore
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var mongoCluster = new AzureNative.DocumentDB.MongoCluster("mongoCluster", new()
{
CreateMode = AzureNative.DocumentDB.CreateMode.PointInTimeRestore,
Location = "westus2",
MongoClusterName = "myMongoCluster",
ResourceGroupName = "TestResourceGroup",
RestoreParameters = new AzureNative.DocumentDB.Inputs.MongoClusterRestoreParametersArgs
{
PointInTimeUTC = "2023-01-13T20:07:35Z",
SourceResourceId = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster",
},
});
});
package main
import (
documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := documentdb.NewMongoCluster(ctx, "mongoCluster", &documentdb.MongoClusterArgs{
CreateMode: pulumi.String(documentdb.CreateModePointInTimeRestore),
Location: pulumi.String("westus2"),
MongoClusterName: pulumi.String("myMongoCluster"),
ResourceGroupName: pulumi.String("TestResourceGroup"),
RestoreParameters: &documentdb.MongoClusterRestoreParametersArgs{
PointInTimeUTC: pulumi.String("2023-01-13T20:07:35Z"),
SourceResourceId: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.documentdb.MongoCluster;
import com.pulumi.azurenative.documentdb.MongoClusterArgs;
import com.pulumi.azurenative.documentdb.inputs.MongoClusterRestoreParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var mongoCluster = new MongoCluster("mongoCluster", MongoClusterArgs.builder()
.createMode("PointInTimeRestore")
.location("westus2")
.mongoClusterName("myMongoCluster")
.resourceGroupName("TestResourceGroup")
.restoreParameters(MongoClusterRestoreParametersArgs.builder()
.pointInTimeUTC("2023-01-13T20:07:35Z")
.sourceResourceId("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
mongo_cluster = azure_native.documentdb.MongoCluster("mongoCluster",
create_mode=azure_native.documentdb.CreateMode.POINT_IN_TIME_RESTORE,
location="westus2",
mongo_cluster_name="myMongoCluster",
resource_group_name="TestResourceGroup",
restore_parameters=azure_native.documentdb.MongoClusterRestoreParametersArgs(
point_in_time_utc="2023-01-13T20:07:35Z",
source_resource_id="/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const mongoCluster = new azure_native.documentdb.MongoCluster("mongoCluster", {
createMode: azure_native.documentdb.CreateMode.PointInTimeRestore,
location: "westus2",
mongoClusterName: "myMongoCluster",
resourceGroupName: "TestResourceGroup",
restoreParameters: {
pointInTimeUTC: "2023-01-13T20:07:35Z",
sourceResourceId: "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster",
},
});
resources:
mongoCluster:
type: azure-native:documentdb:MongoCluster
properties:
createMode: PointInTimeRestore
location: westus2
mongoClusterName: myMongoCluster
resourceGroupName: TestResourceGroup
restoreParameters:
pointInTimeUTC: 2023-01-13T20:07:35Z
sourceResourceId: /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DocumentDB/mongoClusters/myOtherMongoCluster
Create MongoCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MongoCluster(name: string, args: MongoClusterArgs, opts?: CustomResourceOptions);
@overload
def MongoCluster(resource_name: str,
args: MongoClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MongoCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
administrator_login: Optional[str] = None,
administrator_login_password: Optional[str] = None,
create_mode: Optional[Union[str, CreateMode]] = None,
location: Optional[str] = None,
mongo_cluster_name: Optional[str] = None,
node_group_specs: Optional[Sequence[NodeGroupSpecArgs]] = None,
restore_parameters: Optional[MongoClusterRestoreParametersArgs] = None,
server_version: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewMongoCluster(ctx *Context, name string, args MongoClusterArgs, opts ...ResourceOption) (*MongoCluster, error)
public MongoCluster(string name, MongoClusterArgs args, CustomResourceOptions? opts = null)
public MongoCluster(String name, MongoClusterArgs args)
public MongoCluster(String name, MongoClusterArgs args, CustomResourceOptions options)
type: azure-native:documentdb:MongoCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MongoClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mongoClusterResource = new AzureNative.DocumentDB.MongoCluster("mongoClusterResource", new()
{
ResourceGroupName = "string",
AdministratorLogin = "string",
AdministratorLoginPassword = "string",
CreateMode = "string",
Location = "string",
MongoClusterName = "string",
NodeGroupSpecs = new[]
{
new AzureNative.DocumentDB.Inputs.NodeGroupSpecArgs
{
DiskSizeGB = 0,
EnableHa = false,
Kind = "string",
NodeCount = 0,
Sku = "string",
},
},
RestoreParameters = new AzureNative.DocumentDB.Inputs.MongoClusterRestoreParametersArgs
{
PointInTimeUTC = "string",
SourceResourceId = "string",
},
ServerVersion = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := documentdb.NewMongoCluster(ctx, "mongoClusterResource", &documentdb.MongoClusterArgs{
ResourceGroupName: pulumi.String("string"),
AdministratorLogin: pulumi.String("string"),
AdministratorLoginPassword: pulumi.String("string"),
CreateMode: pulumi.String("string"),
Location: pulumi.String("string"),
MongoClusterName: pulumi.String("string"),
NodeGroupSpecs: documentdb.NodeGroupSpecArray{
&documentdb.NodeGroupSpecArgs{
DiskSizeGB: pulumi.Float64(0),
EnableHa: pulumi.Bool(false),
Kind: pulumi.String("string"),
NodeCount: pulumi.Int(0),
Sku: pulumi.String("string"),
},
},
RestoreParameters: &documentdb.MongoClusterRestoreParametersArgs{
PointInTimeUTC: pulumi.String("string"),
SourceResourceId: pulumi.String("string"),
},
ServerVersion: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var mongoClusterResource = new MongoCluster("mongoClusterResource", MongoClusterArgs.builder()
.resourceGroupName("string")
.administratorLogin("string")
.administratorLoginPassword("string")
.createMode("string")
.location("string")
.mongoClusterName("string")
.nodeGroupSpecs(NodeGroupSpecArgs.builder()
.diskSizeGB(0)
.enableHa(false)
.kind("string")
.nodeCount(0)
.sku("string")
.build())
.restoreParameters(MongoClusterRestoreParametersArgs.builder()
.pointInTimeUTC("string")
.sourceResourceId("string")
.build())
.serverVersion("string")
.tags(Map.of("string", "string"))
.build());
mongo_cluster_resource = azure_native.documentdb.MongoCluster("mongoClusterResource",
resource_group_name="string",
administrator_login="string",
administrator_login_password="string",
create_mode="string",
location="string",
mongo_cluster_name="string",
node_group_specs=[azure_native.documentdb.NodeGroupSpecArgs(
disk_size_gb=0,
enable_ha=False,
kind="string",
node_count=0,
sku="string",
)],
restore_parameters=azure_native.documentdb.MongoClusterRestoreParametersArgs(
point_in_time_utc="string",
source_resource_id="string",
),
server_version="string",
tags={
"string": "string",
})
const mongoClusterResource = new azure_native.documentdb.MongoCluster("mongoClusterResource", {
resourceGroupName: "string",
administratorLogin: "string",
administratorLoginPassword: "string",
createMode: "string",
location: "string",
mongoClusterName: "string",
nodeGroupSpecs: [{
diskSizeGB: 0,
enableHa: false,
kind: "string",
nodeCount: 0,
sku: "string",
}],
restoreParameters: {
pointInTimeUTC: "string",
sourceResourceId: "string",
},
serverVersion: "string",
tags: {
string: "string",
},
});
type: azure-native:documentdb:MongoCluster
properties:
administratorLogin: string
administratorLoginPassword: string
createMode: string
location: string
mongoClusterName: string
nodeGroupSpecs:
- diskSizeGB: 0
enableHa: false
kind: string
nodeCount: 0
sku: string
resourceGroupName: string
restoreParameters:
pointInTimeUTC: string
sourceResourceId: string
serverVersion: string
tags:
string: string
MongoCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The MongoCluster resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Administrator
Login string - The administrator's login for the mongo cluster.
- Administrator
Login stringPassword - The password of the administrator login.
- Create
Mode string | Pulumi.Azure Native. Document DB. Create Mode - The mode to create a mongo cluster.
- Location string
- The geo-location where the resource lives
- Mongo
Cluster stringName - The name of the mongo cluster.
- Node
Group List<Pulumi.Specs Azure Native. Document DB. Inputs. Node Group Spec> - The list of node group specs in the cluster.
- Restore
Parameters Pulumi.Azure Native. Document DB. Inputs. Mongo Cluster Restore Parameters - Parameters used for restore operations
- Server
Version string - The Mongo DB server version. Defaults to the latest available version if not specified.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Administrator
Login string - The administrator's login for the mongo cluster.
- Administrator
Login stringPassword - The password of the administrator login.
- Create
Mode string | CreateMode - The mode to create a mongo cluster.
- Location string
- The geo-location where the resource lives
- Mongo
Cluster stringName - The name of the mongo cluster.
- Node
Group []NodeSpecs Group Spec Args - The list of node group specs in the cluster.
- Restore
Parameters MongoCluster Restore Parameters Args - Parameters used for restore operations
- Server
Version string - The Mongo DB server version. Defaults to the latest available version if not specified.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- administrator
Login String - The administrator's login for the mongo cluster.
- administrator
Login StringPassword - The password of the administrator login.
- create
Mode String | CreateMode - The mode to create a mongo cluster.
- location String
- The geo-location where the resource lives
- mongo
Cluster StringName - The name of the mongo cluster.
- node
Group List<NodeSpecs Group Spec> - The list of node group specs in the cluster.
- restore
Parameters MongoCluster Restore Parameters - Parameters used for restore operations
- server
Version String - The Mongo DB server version. Defaults to the latest available version if not specified.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- administrator
Login string - The administrator's login for the mongo cluster.
- administrator
Login stringPassword - The password of the administrator login.
- create
Mode string | CreateMode - The mode to create a mongo cluster.
- location string
- The geo-location where the resource lives
- mongo
Cluster stringName - The name of the mongo cluster.
- node
Group NodeSpecs Group Spec[] - The list of node group specs in the cluster.
- restore
Parameters MongoCluster Restore Parameters - Parameters used for restore operations
- server
Version string - The Mongo DB server version. Defaults to the latest available version if not specified.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- administrator_
login str - The administrator's login for the mongo cluster.
- administrator_
login_ strpassword - The password of the administrator login.
- create_
mode str | CreateMode - The mode to create a mongo cluster.
- location str
- The geo-location where the resource lives
- mongo_
cluster_ strname - The name of the mongo cluster.
- node_
group_ Sequence[Nodespecs Group Spec Args] - The list of node group specs in the cluster.
- restore_
parameters MongoCluster Restore Parameters Args - Parameters used for restore operations
- server_
version str - The Mongo DB server version. Defaults to the latest available version if not specified.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- administrator
Login String - The administrator's login for the mongo cluster.
- administrator
Login StringPassword - The password of the administrator login.
- create
Mode String | "Default" | "PointIn Time Restore" - The mode to create a mongo cluster.
- location String
- The geo-location where the resource lives
- mongo
Cluster StringName - The name of the mongo cluster.
- node
Group List<Property Map>Specs - The list of node group specs in the cluster.
- restore
Parameters Property Map - Parameters used for restore operations
- server
Version String - The Mongo DB server version. Defaults to the latest available version if not specified.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the MongoCluster resource produces the following output properties:
- Cluster
Status string - A status of the mongo cluster.
- Connection
String string - The default mongo connection string for the cluster.
- Earliest
Restore stringTime - Earliest restore timestamp in UTC ISO8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - A provisioning state of the mongo cluster.
- System
Data Pulumi.Azure Native. Document DB. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Cluster
Status string - A status of the mongo cluster.
- Connection
String string - The default mongo connection string for the cluster.
- Earliest
Restore stringTime - Earliest restore timestamp in UTC ISO8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - A provisioning state of the mongo cluster.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cluster
Status String - A status of the mongo cluster.
- connection
String String - The default mongo connection string for the cluster.
- earliest
Restore StringTime - Earliest restore timestamp in UTC ISO8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - A provisioning state of the mongo cluster.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cluster
Status string - A status of the mongo cluster.
- connection
String string - The default mongo connection string for the cluster.
- earliest
Restore stringTime - Earliest restore timestamp in UTC ISO8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - A provisioning state of the mongo cluster.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cluster_
status str - A status of the mongo cluster.
- connection_
string str - The default mongo connection string for the cluster.
- earliest_
restore_ strtime - Earliest restore timestamp in UTC ISO8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - A provisioning state of the mongo cluster.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- cluster
Status String - A status of the mongo cluster.
- connection
String String - The default mongo connection string for the cluster.
- earliest
Restore StringTime - Earliest restore timestamp in UTC ISO8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - A provisioning state of the mongo cluster.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CreateMode, CreateModeArgs
- Default
- Default
- Point
In Time Restore - PointInTimeRestore
- Create
Mode Default - Default
- Create
Mode Point In Time Restore - PointInTimeRestore
- Default
- Default
- Point
In Time Restore - PointInTimeRestore
- Default
- Default
- Point
In Time Restore - PointInTimeRestore
- DEFAULT
- Default
- POINT_IN_TIME_RESTORE
- PointInTimeRestore
- "Default"
- Default
- "Point
In Time Restore" - PointInTimeRestore
MongoClusterRestoreParameters, MongoClusterRestoreParametersArgs
- Point
In stringTime UTC - UTC point in time to restore a mongo cluster
- Source
Resource stringId - Resource ID to locate the source cluster to restore
- Point
In stringTime UTC - UTC point in time to restore a mongo cluster
- Source
Resource stringId - Resource ID to locate the source cluster to restore
- point
In StringTime UTC - UTC point in time to restore a mongo cluster
- source
Resource StringId - Resource ID to locate the source cluster to restore
- point
In stringTime UTC - UTC point in time to restore a mongo cluster
- source
Resource stringId - Resource ID to locate the source cluster to restore
- point_
in_ strtime_ utc - UTC point in time to restore a mongo cluster
- source_
resource_ strid - Resource ID to locate the source cluster to restore
- point
In StringTime UTC - UTC point in time to restore a mongo cluster
- source
Resource StringId - Resource ID to locate the source cluster to restore
NodeGroupSpec, NodeGroupSpecArgs
- Disk
Size doubleGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- Enable
Ha bool - Whether high availability is enabled on the node group.
- Kind
string | Pulumi.
Azure Native. Document DB. Node Kind - The node type deployed in the node group.
- Node
Count int - The number of nodes in the node group.
- Sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- Disk
Size float64GB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- Enable
Ha bool - Whether high availability is enabled on the node group.
- Kind
string | Node
Kind - The node type deployed in the node group.
- Node
Count int - The number of nodes in the node group.
- Sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size DoubleGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha Boolean - Whether high availability is enabled on the node group.
- kind
String | Node
Kind - The node type deployed in the node group.
- node
Count Integer - The number of nodes in the node group.
- sku String
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size numberGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha boolean - Whether high availability is enabled on the node group.
- kind
string | Node
Kind - The node type deployed in the node group.
- node
Count number - The number of nodes in the node group.
- sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk_
size_ floatgb - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable_
ha bool - Whether high availability is enabled on the node group.
- kind
str | Node
Kind - The node type deployed in the node group.
- node_
count int - The number of nodes in the node group.
- sku str
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size NumberGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha Boolean - Whether high availability is enabled on the node group.
- kind String | "Shard"
- The node type deployed in the node group.
- node
Count Number - The number of nodes in the node group.
- sku String
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
NodeGroupSpecResponse, NodeGroupSpecResponseArgs
- Disk
Size doubleGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- Enable
Ha bool - Whether high availability is enabled on the node group.
- Kind string
- The node type deployed in the node group.
- Node
Count int - The number of nodes in the node group.
- Sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- Disk
Size float64GB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- Enable
Ha bool - Whether high availability is enabled on the node group.
- Kind string
- The node type deployed in the node group.
- Node
Count int - The number of nodes in the node group.
- Sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size DoubleGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha Boolean - Whether high availability is enabled on the node group.
- kind String
- The node type deployed in the node group.
- node
Count Integer - The number of nodes in the node group.
- sku String
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size numberGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha boolean - Whether high availability is enabled on the node group.
- kind string
- The node type deployed in the node group.
- node
Count number - The number of nodes in the node group.
- sku string
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk_
size_ floatgb - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable_
ha bool - Whether high availability is enabled on the node group.
- kind str
- The node type deployed in the node group.
- node_
count int - The number of nodes in the node group.
- sku str
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
- disk
Size NumberGB - The disk storage size for the node group in GB. Example values: 128, 256, 512, 1024.
- enable
Ha Boolean - Whether high availability is enabled on the node group.
- kind String
- The node type deployed in the node group.
- node
Count Number - The number of nodes in the node group.
- sku String
- The resource sku for the node group. This defines the size of CPU and memory that is provisioned for each node. Example values: 'M30', 'M40'.
NodeKind, NodeKindArgs
- Shard
- Shard
- Node
Kind Shard - Shard
- Shard
- Shard
- Shard
- Shard
- SHARD
- Shard
- "Shard"
- Shard
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:documentdb:MongoCluster myMongoCluster /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0