MongoDB Atlas v3.7.2, Mar 31 23
MongoDB Atlas v3.7.2, Mar 31 23
mongodbatlas.getServerlessInstance
Explore with Pulumi AI
Using getServerlessInstance
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 getServerlessInstance(args: GetServerlessInstanceArgs, opts?: InvokeOptions): Promise<GetServerlessInstanceResult>
function getServerlessInstanceOutput(args: GetServerlessInstanceOutputArgs, opts?: InvokeOptions): Output<GetServerlessInstanceResult>
def get_serverless_instance(continuous_backup_enabled: Optional[bool] = None,
links: Optional[Sequence[GetServerlessInstanceLink]] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
state_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerlessInstanceResult
def get_serverless_instance_output(continuous_backup_enabled: Optional[pulumi.Input[bool]] = None,
links: Optional[pulumi.Input[Sequence[pulumi.Input[GetServerlessInstanceLinkArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
state_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerlessInstanceResult]
func LookupServerlessInstance(ctx *Context, args *LookupServerlessInstanceArgs, opts ...InvokeOption) (*LookupServerlessInstanceResult, error)
func LookupServerlessInstanceOutput(ctx *Context, args *LookupServerlessInstanceOutputArgs, opts ...InvokeOption) LookupServerlessInstanceResultOutput
> Note: This function is named LookupServerlessInstance
in the Go SDK.
public static class GetServerlessInstance
{
public static Task<GetServerlessInstanceResult> InvokeAsync(GetServerlessInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetServerlessInstanceResult> Invoke(GetServerlessInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServerlessInstanceResult> getServerlessInstance(GetServerlessInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getServerlessInstance:getServerlessInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
Human-readable label that identifies your serverless instance.
- Project
Id string Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- Continuous
Backup boolEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- Links
List<Get
Serverless Instance Link> - State
Name string Stage of deployment of this serverless instance when the resource made its request.
- Name string
Human-readable label that identifies your serverless instance.
- Project
Id string Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- Continuous
Backup boolEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- Links
[]Get
Serverless Instance Link - State
Name string Stage of deployment of this serverless instance when the resource made its request.
- name String
Human-readable label that identifies your serverless instance.
- project
Id String Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- continuous
Backup BooleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- links
List<Get
Serverless Instance Link> - state
Name String Stage of deployment of this serverless instance when the resource made its request.
- name string
Human-readable label that identifies your serverless instance.
- project
Id string Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- continuous
Backup booleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- links
Get
Serverless Instance Link[] - state
Name string Stage of deployment of this serverless instance when the resource made its request.
- name str
Human-readable label that identifies your serverless instance.
- project_
id str Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- continuous_
backup_ boolenabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- links
Sequence[Get
Serverless Instance Link] - state_
name str Stage of deployment of this serverless instance when the resource made its request.
- name String
Human-readable label that identifies your serverless instance.
- project
Id String Unique 24-hexadecimal digit string that identifies the project that contains your serverless instance.
- continuous
Backup BooleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- links List<Property Map>
- state
Name String Stage of deployment of this serverless instance when the resource made its request.
getServerlessInstance Result
The following output properties are available:
- Connection
Strings List<string>Private Endpoint Srvs List of Serverless Private Endpoint Connections
- Connection
Strings stringStandard Srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- Continuous
Backup boolEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- Create
Date string - Id string
Unique 24-hexadecimal digit string that identifies the serverless instance.
- Links
List<Get
Serverless Instance Link> - Mongo
Db stringVersion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- Name string
- Project
Id string - Provider
Settings stringBacking Provider Name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- Provider
Settings stringProvider Name Cloud service provider that applies to the provisioned the serverless instance.
- Provider
Settings stringRegion Name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- State
Name string Stage of deployment of this serverless instance when the resource made its request.
- Termination
Protection boolEnabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
- Connection
Strings []stringPrivate Endpoint Srvs List of Serverless Private Endpoint Connections
- Connection
Strings stringStandard Srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- Continuous
Backup boolEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- Create
Date string - Id string
Unique 24-hexadecimal digit string that identifies the serverless instance.
- Links
[]Get
Serverless Instance Link - Mongo
Db stringVersion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- Name string
- Project
Id string - Provider
Settings stringBacking Provider Name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- Provider
Settings stringProvider Name Cloud service provider that applies to the provisioned the serverless instance.
- Provider
Settings stringRegion Name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- State
Name string Stage of deployment of this serverless instance when the resource made its request.
- Termination
Protection boolEnabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
- connection
Strings List<String>Private Endpoint Srvs List of Serverless Private Endpoint Connections
- connection
Strings StringStandard Srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- continuous
Backup BooleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- create
Date String - id String
Unique 24-hexadecimal digit string that identifies the serverless instance.
- links
List<Get
Serverless Instance Link> - mongo
Db StringVersion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- name String
- project
Id String - provider
Settings StringBacking Provider Name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- provider
Settings StringProvider Name Cloud service provider that applies to the provisioned the serverless instance.
- provider
Settings StringRegion Name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- state
Name String Stage of deployment of this serverless instance when the resource made its request.
- termination
Protection BooleanEnabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
- connection
Strings string[]Private Endpoint Srvs List of Serverless Private Endpoint Connections
- connection
Strings stringStandard Srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- continuous
Backup booleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- create
Date string - id string
Unique 24-hexadecimal digit string that identifies the serverless instance.
- links
Get
Serverless Instance Link[] - mongo
Db stringVersion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- name string
- project
Id string - provider
Settings stringBacking Provider Name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- provider
Settings stringProvider Name Cloud service provider that applies to the provisioned the serverless instance.
- provider
Settings stringRegion Name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- state
Name string Stage of deployment of this serverless instance when the resource made its request.
- termination
Protection booleanEnabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
- connection_
strings_ Sequence[str]private_ endpoint_ srvs List of Serverless Private Endpoint Connections
- connection_
strings_ strstandard_ srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- continuous_
backup_ boolenabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- create_
date str - id str
Unique 24-hexadecimal digit string that identifies the serverless instance.
- links
Sequence[Get
Serverless Instance Link] - mongo_
db_ strversion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- name str
- project_
id str - provider_
settings_ strbacking_ provider_ name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- provider_
settings_ strprovider_ name Cloud service provider that applies to the provisioned the serverless instance.
- provider_
settings_ strregion_ name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- state_
name str Stage of deployment of this serverless instance when the resource made its request.
- termination_
protection_ boolenabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
- connection
Strings List<String>Private Endpoint Srvs List of Serverless Private Endpoint Connections
- connection
Strings StringStandard Srv Public
mongodb+srv://
connection string that you can use to connect to this serverless instance.- continuous
Backup BooleanEnabled Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
- create
Date String - id String
Unique 24-hexadecimal digit string that identifies the serverless instance.
- links List<Property Map>
- mongo
Db StringVersion Version of MongoDB that the serverless instance runs, in
<major version>
.<minor version>
format.- name String
- project
Id String - provider
Settings StringBacking Provider Name Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
- provider
Settings StringProvider Name Cloud service provider that applies to the provisioned the serverless instance.
- provider
Settings StringRegion Name Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
- state
Name String Stage of deployment of this serverless instance when the resource made its request.
- termination
Protection BooleanEnabled Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
Supporting Types
GetServerlessInstanceLink
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.