MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi
mongodbatlas.getPrivateEndpointRegionalMode
Explore with Pulumi AI
# Data Source: private_endpoint_regional_mode
private_endpoint_regional_mode
describes a Private Endpoint Regional Mode. This represents a Private Endpoint Regional Mode Connection that wants to retrieve settings of an Atlas project.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Using getPrivateEndpointRegionalMode
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 getPrivateEndpointRegionalMode(args: GetPrivateEndpointRegionalModeArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointRegionalModeResult>
function getPrivateEndpointRegionalModeOutput(args: GetPrivateEndpointRegionalModeOutputArgs, opts?: InvokeOptions): Output<GetPrivateEndpointRegionalModeResult>
def get_private_endpoint_regional_mode(enabled: Optional[bool] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointRegionalModeResult
def get_private_endpoint_regional_mode_output(enabled: Optional[pulumi.Input[bool]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateEndpointRegionalModeResult]
func LookupPrivateEndpointRegionalMode(ctx *Context, args *LookupPrivateEndpointRegionalModeArgs, opts ...InvokeOption) (*LookupPrivateEndpointRegionalModeResult, error)
func LookupPrivateEndpointRegionalModeOutput(ctx *Context, args *LookupPrivateEndpointRegionalModeOutputArgs, opts ...InvokeOption) LookupPrivateEndpointRegionalModeResultOutput
> Note: This function is named LookupPrivateEndpointRegionalMode
in the Go SDK.
public static class GetPrivateEndpointRegionalMode
{
public static Task<GetPrivateEndpointRegionalModeResult> InvokeAsync(GetPrivateEndpointRegionalModeArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateEndpointRegionalModeResult> Invoke(GetPrivateEndpointRegionalModeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateEndpointRegionalModeResult> getPrivateEndpointRegionalMode(GetPrivateEndpointRegionalModeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getPrivateEndpointRegionalMode:getPrivateEndpointRegionalMode
arguments:
# arguments dictionary
The following arguments are supported:
- project_
id str - Unique identifier for the project.
- enabled bool
- Flag that indicates whether the regionalized private endpoitn setting is enabled for the project.
getPrivateEndpointRegionalMode Result
The following output properties are available:
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - enabled bool
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.