MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi
mongodbatlas.getStreamInstances
Explore with Pulumi AI
# Data Source: mongodbatlas.getStreamInstances
mongodbatlas.getStreamInstances
describes the stream instances defined in a project.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const test = mongodbatlas.getStreamInstances({
projectId: "<PROJECT_ID>",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test = mongodbatlas.get_stream_instances(project_id="<PROJECT_ID>")
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mongodbatlas.LookupStreamInstances(ctx, &mongodbatlas.LookupStreamInstancesArgs{
ProjectId: "<PROJECT_ID>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var test = Mongodbatlas.GetStreamInstances.Invoke(new()
{
ProjectId = "<PROJECT_ID>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetStreamInstancesArgs;
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) {
final var test = MongodbatlasFunctions.getStreamInstances(GetStreamInstancesArgs.builder()
.projectId("<PROJECT_ID>")
.build());
}
}
variables:
test:
fn::invoke:
Function: mongodbatlas:getStreamInstances
Arguments:
projectId: <PROJECT_ID>
Using getStreamInstances
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 getStreamInstances(args: GetStreamInstancesArgs, opts?: InvokeOptions): Promise<GetStreamInstancesResult>
function getStreamInstancesOutput(args: GetStreamInstancesOutputArgs, opts?: InvokeOptions): Output<GetStreamInstancesResult>
def get_stream_instances(items_per_page: Optional[int] = None,
page_num: Optional[int] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStreamInstancesResult
def get_stream_instances_output(items_per_page: Optional[pulumi.Input[int]] = None,
page_num: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStreamInstancesResult]
func LookupStreamInstances(ctx *Context, args *LookupStreamInstancesArgs, opts ...InvokeOption) (*LookupStreamInstancesResult, error)
func LookupStreamInstancesOutput(ctx *Context, args *LookupStreamInstancesOutputArgs, opts ...InvokeOption) LookupStreamInstancesResultOutput
> Note: This function is named LookupStreamInstances
in the Go SDK.
public static class GetStreamInstances
{
public static Task<GetStreamInstancesResult> InvokeAsync(GetStreamInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetStreamInstancesResult> Invoke(GetStreamInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStreamInstancesResult> getStreamInstances(GetStreamInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getStreamInstances:getStreamInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Items
Per intPage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - Page
Num int - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Items
Per intPage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - Page
Num int - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- items
Per IntegerPage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - page
Num Integer - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- items
Per numberPage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - page
Num number - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project.
- items_
per_ intpage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - page_
num int - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- items
Per NumberPage - Number of items that the response returns per page, up to a maximum of
500
. Defaults to100
. - page
Num Number - Number of the page that displays the current set of the total objects that the response returns. Defaults to
1
.
getStreamInstances Result
The following output properties are available:
- Id string
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Results
List<Get
Stream Instances Result> - A list where each element contains a Stream Instance.
- Total
Count int - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- Items
Per intPage - Page
Num int
- Id string
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Results
[]Get
Stream Instances Result - A list where each element contains a Stream Instance.
- Total
Count int - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- Items
Per intPage - Page
Num int
- id String
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- results
List<Get
Stream Instances Result> - A list where each element contains a Stream Instance.
- total
Count Integer - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per IntegerPage - page
Num Integer
- id string
- project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- results
Get
Stream Instances Result[] - A list where each element contains a Stream Instance.
- total
Count number - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per numberPage - page
Num number
- id str
- project_
id str - Unique 24-hexadecimal digit string that identifies your project.
- results
Sequence[Get
Stream Instances Result] - A list where each element contains a Stream Instance.
- total_
count int - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- items_
per_ intpage - page_
num int
- id String
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- results List<Property Map>
- A list where each element contains a Stream Instance.
- total
Count Number - Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
- items
Per NumberPage - page
Num Number
Supporting Types
GetStreamInstancesResult
- Data
Process GetRegion Stream Instances Result Data Process Region - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- Hostnames List<string>
- List that contains the hostnames assigned to the stream instance.
- Id string
- Instance
Name string - Human-readable label that identifies the stream instance.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Stream
Config GetStream Instances Result Stream Config - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
- Data
Process GetRegion Stream Instances Result Data Process Region - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- Hostnames []string
- List that contains the hostnames assigned to the stream instance.
- Id string
- Instance
Name string - Human-readable label that identifies the stream instance.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- Stream
Config GetStream Instances Result Stream Config - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
- data
Process GetRegion Stream Instances Result Data Process Region - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- hostnames List<String>
- List that contains the hostnames assigned to the stream instance.
- id String
- instance
Name String - Human-readable label that identifies the stream instance.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- stream
Config GetStream Instances Result Stream Config - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
- data
Process GetRegion Stream Instances Result Data Process Region - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- hostnames string[]
- List that contains the hostnames assigned to the stream instance.
- id string
- instance
Name string - Human-readable label that identifies the stream instance.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project.
- stream
Config GetStream Instances Result Stream Config - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
- data_
process_ Getregion Stream Instances Result Data Process Region - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- hostnames Sequence[str]
- List that contains the hostnames assigned to the stream instance.
- id str
- instance_
name str - Human-readable label that identifies the stream instance.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project.
- stream_
config GetStream Instances Result Stream Config - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
- data
Process Property MapRegion - Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
- hostnames List<String>
- List that contains the hostnames assigned to the stream instance.
- id String
- instance
Name String - Human-readable label that identifies the stream instance.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project.
- stream
Config Property Map - Defines the configuration options for an Atlas Stream Processing Instance. See stream config
GetStreamInstancesResultDataProcessRegion
- Cloud
Provider string - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- Region string
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
- Cloud
Provider string - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- Region string
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
- cloud
Provider String - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- region String
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
- cloud
Provider string - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- region string
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
- cloud_
provider str - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- region str
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
- cloud
Provider String - Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. The MongoDB Atlas API describes the valid values.
- region String
- Name of the cloud provider region hosting Atlas Stream Processing. The MongoDB Atlas API describes the valid values.
GetStreamInstancesResultStreamConfig
- Tier string
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
- Tier string
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
- tier String
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
- tier string
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
- tier str
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
- tier String
- Selected tier for the Stream Instance. Configures Memory / VCPU allowances. The MongoDB Atlas API describes the valid values.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.