1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getEnterpriseManagerBridges
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Opsi.getEnterpriseManagerBridges

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Enterprise Manager Bridges in Oracle Cloud Infrastructure Opsi service.

Gets a list of Ops Insights Enterprise Manager bridges. Either compartmentId or id must be specified. When both compartmentId and compartmentIdInSubtree are specified, a list of bridges in that compartment and in all sub-compartments will be returned.

Example Usage

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

const testEnterpriseManagerBridges = oci.Opsi.getEnterpriseManagerBridges({
    compartmentId: compartmentId,
    compartmentIdInSubtree: enterpriseManagerBridgeCompartmentIdInSubtree,
    displayName: enterpriseManagerBridgeDisplayName,
    id: enterpriseManagerBridgeId,
    states: enterpriseManagerBridgeState,
});
Copy
import pulumi
import pulumi_oci as oci

test_enterprise_manager_bridges = oci.Opsi.get_enterprise_manager_bridges(compartment_id=compartment_id,
    compartment_id_in_subtree=enterprise_manager_bridge_compartment_id_in_subtree,
    display_name=enterprise_manager_bridge_display_name,
    id=enterprise_manager_bridge_id,
    states=enterprise_manager_bridge_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/opsi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opsi.GetEnterpriseManagerBridges(ctx, &opsi.GetEnterpriseManagerBridgesArgs{
			CompartmentId:          pulumi.StringRef(compartmentId),
			CompartmentIdInSubtree: pulumi.BoolRef(enterpriseManagerBridgeCompartmentIdInSubtree),
			DisplayName:            pulumi.StringRef(enterpriseManagerBridgeDisplayName),
			Id:                     pulumi.StringRef(enterpriseManagerBridgeId),
			States:                 enterpriseManagerBridgeState,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testEnterpriseManagerBridges = Oci.Opsi.GetEnterpriseManagerBridges.Invoke(new()
    {
        CompartmentId = compartmentId,
        CompartmentIdInSubtree = enterpriseManagerBridgeCompartmentIdInSubtree,
        DisplayName = enterpriseManagerBridgeDisplayName,
        Id = enterpriseManagerBridgeId,
        States = enterpriseManagerBridgeState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.OpsiFunctions;
import com.pulumi.oci.Opsi.inputs.GetEnterpriseManagerBridgesArgs;
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 testEnterpriseManagerBridges = OpsiFunctions.getEnterpriseManagerBridges(GetEnterpriseManagerBridgesArgs.builder()
            .compartmentId(compartmentId)
            .compartmentIdInSubtree(enterpriseManagerBridgeCompartmentIdInSubtree)
            .displayName(enterpriseManagerBridgeDisplayName)
            .id(enterpriseManagerBridgeId)
            .states(enterpriseManagerBridgeState)
            .build());

    }
}
Copy
variables:
  testEnterpriseManagerBridges:
    fn::invoke:
      function: oci:Opsi:getEnterpriseManagerBridges
      arguments:
        compartmentId: ${compartmentId}
        compartmentIdInSubtree: ${enterpriseManagerBridgeCompartmentIdInSubtree}
        displayName: ${enterpriseManagerBridgeDisplayName}
        id: ${enterpriseManagerBridgeId}
        states: ${enterpriseManagerBridgeState}
Copy

Using getEnterpriseManagerBridges

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 getEnterpriseManagerBridges(args: GetEnterpriseManagerBridgesArgs, opts?: InvokeOptions): Promise<GetEnterpriseManagerBridgesResult>
function getEnterpriseManagerBridgesOutput(args: GetEnterpriseManagerBridgesOutputArgs, opts?: InvokeOptions): Output<GetEnterpriseManagerBridgesResult>
Copy
def get_enterprise_manager_bridges(compartment_id: Optional[str] = None,
                                   compartment_id_in_subtree: Optional[bool] = None,
                                   display_name: Optional[str] = None,
                                   filters: Optional[Sequence[_opsi.GetEnterpriseManagerBridgesFilter]] = None,
                                   id: Optional[str] = None,
                                   states: Optional[Sequence[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetEnterpriseManagerBridgesResult
def get_enterprise_manager_bridges_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                   compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                   display_name: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_opsi.GetEnterpriseManagerBridgesFilterArgs]]]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetEnterpriseManagerBridgesResult]
Copy
func GetEnterpriseManagerBridges(ctx *Context, args *GetEnterpriseManagerBridgesArgs, opts ...InvokeOption) (*GetEnterpriseManagerBridgesResult, error)
func GetEnterpriseManagerBridgesOutput(ctx *Context, args *GetEnterpriseManagerBridgesOutputArgs, opts ...InvokeOption) GetEnterpriseManagerBridgesResultOutput
Copy

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

public static class GetEnterpriseManagerBridges 
{
    public static Task<GetEnterpriseManagerBridgesResult> InvokeAsync(GetEnterpriseManagerBridgesArgs args, InvokeOptions? opts = null)
    public static Output<GetEnterpriseManagerBridgesResult> Invoke(GetEnterpriseManagerBridgesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetEnterpriseManagerBridgesResult> getEnterpriseManagerBridges(GetEnterpriseManagerBridgesArgs args, InvokeOptions options)
public static Output<GetEnterpriseManagerBridgesResult> getEnterpriseManagerBridges(GetEnterpriseManagerBridgesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Opsi/getEnterpriseManagerBridges:getEnterpriseManagerBridges
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment.
CompartmentIdInSubtree bool
A flag to search all resources within a given compartment and all sub-compartments.
DisplayName string
A filter to return only resources that match the entire display name.
Filters Changes to this property will trigger replacement. List<GetEnterpriseManagerBridgesFilter>
Id string
Unique Enterprise Manager bridge identifier
States List<string>
Lifecycle states
CompartmentId string
The OCID of the compartment.
CompartmentIdInSubtree bool
A flag to search all resources within a given compartment and all sub-compartments.
DisplayName string
A filter to return only resources that match the entire display name.
Filters Changes to this property will trigger replacement. []GetEnterpriseManagerBridgesFilter
Id string
Unique Enterprise Manager bridge identifier
States []string
Lifecycle states
compartmentId String
The OCID of the compartment.
compartmentIdInSubtree Boolean
A flag to search all resources within a given compartment and all sub-compartments.
displayName String
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. List<GetEnterpriseManagerBridgesFilter>
id String
Unique Enterprise Manager bridge identifier
states List<String>
Lifecycle states
compartmentId string
The OCID of the compartment.
compartmentIdInSubtree boolean
A flag to search all resources within a given compartment and all sub-compartments.
displayName string
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. GetEnterpriseManagerBridgesFilter[]
id string
Unique Enterprise Manager bridge identifier
states string[]
Lifecycle states
compartment_id str
The OCID of the compartment.
compartment_id_in_subtree bool
A flag to search all resources within a given compartment and all sub-compartments.
display_name str
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. Sequence[opsi.GetEnterpriseManagerBridgesFilter]
id str
Unique Enterprise Manager bridge identifier
states Sequence[str]
Lifecycle states
compartmentId String
The OCID of the compartment.
compartmentIdInSubtree Boolean
A flag to search all resources within a given compartment and all sub-compartments.
displayName String
A filter to return only resources that match the entire display name.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Unique Enterprise Manager bridge identifier
states List<String>
Lifecycle states

getEnterpriseManagerBridges Result

The following output properties are available:

EnterpriseManagerBridgeCollections List<GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection>
The list of enterprise_manager_bridge_collection.
CompartmentId string
Compartment identifier of the Enterprise Manager bridge
CompartmentIdInSubtree bool
DisplayName string
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
Filters List<GetEnterpriseManagerBridgesFilter>
Id string
Enterprise Manager bridge identifier
States List<string>
The current state of the Enterprise Manager bridge.
EnterpriseManagerBridgeCollections []GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection
The list of enterprise_manager_bridge_collection.
CompartmentId string
Compartment identifier of the Enterprise Manager bridge
CompartmentIdInSubtree bool
DisplayName string
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
Filters []GetEnterpriseManagerBridgesFilter
Id string
Enterprise Manager bridge identifier
States []string
The current state of the Enterprise Manager bridge.
enterpriseManagerBridgeCollections List<GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection>
The list of enterprise_manager_bridge_collection.
compartmentId String
Compartment identifier of the Enterprise Manager bridge
compartmentIdInSubtree Boolean
displayName String
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
filters List<GetEnterpriseManagerBridgesFilter>
id String
Enterprise Manager bridge identifier
states List<String>
The current state of the Enterprise Manager bridge.
enterpriseManagerBridgeCollections GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection[]
The list of enterprise_manager_bridge_collection.
compartmentId string
Compartment identifier of the Enterprise Manager bridge
compartmentIdInSubtree boolean
displayName string
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
filters GetEnterpriseManagerBridgesFilter[]
id string
Enterprise Manager bridge identifier
states string[]
The current state of the Enterprise Manager bridge.
enterprise_manager_bridge_collections Sequence[opsi.GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection]
The list of enterprise_manager_bridge_collection.
compartment_id str
Compartment identifier of the Enterprise Manager bridge
compartment_id_in_subtree bool
display_name str
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
filters Sequence[opsi.GetEnterpriseManagerBridgesFilter]
id str
Enterprise Manager bridge identifier
states Sequence[str]
The current state of the Enterprise Manager bridge.
enterpriseManagerBridgeCollections List<Property Map>
The list of enterprise_manager_bridge_collection.
compartmentId String
Compartment identifier of the Enterprise Manager bridge
compartmentIdInSubtree Boolean
displayName String
User-friedly name of Enterprise Manager Bridge that does not have to be unique.
filters List<Property Map>
id String
Enterprise Manager bridge identifier
states List<String>
The current state of the Enterprise Manager bridge.

Supporting Types

GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollection

items This property is required. List<Property Map>

GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItem

CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Description of Enterprise Manager Bridge
DisplayName This property is required. string
A filter to return only resources that match the entire display name.
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique Enterprise Manager bridge identifier
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
ObjectStorageBucketName This property is required. string
Object Storage Bucket Name
ObjectStorageBucketStatusDetails This property is required. string
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
ObjectStorageNamespaceName This property is required. string
Object Storage Namespace Name
State This property is required. string
Lifecycle states
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
TimeUpdated This property is required. string
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
Description of Enterprise Manager Bridge
DisplayName This property is required. string
A filter to return only resources that match the entire display name.
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Id This property is required. string
Unique Enterprise Manager bridge identifier
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
ObjectStorageBucketName This property is required. string
Object Storage Bucket Name
ObjectStorageBucketStatusDetails This property is required. string
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
ObjectStorageNamespaceName This property is required. string
Object Storage Namespace Name
State This property is required. string
Lifecycle states
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
TimeUpdated This property is required. string
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Description of Enterprise Manager Bridge
displayName This property is required. String
A filter to return only resources that match the entire display name.
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique Enterprise Manager bridge identifier
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName This property is required. String
Object Storage Bucket Name
objectStorageBucketStatusDetails This property is required. String
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
objectStorageNamespaceName This property is required. String
Object Storage Namespace Name
state This property is required. String
Lifecycle states
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
timeUpdated This property is required. String
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
compartmentId This property is required. string
The OCID of the compartment.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. string
Description of Enterprise Manager Bridge
displayName This property is required. string
A filter to return only resources that match the entire display name.
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. string
Unique Enterprise Manager bridge identifier
lifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName This property is required. string
Object Storage Bucket Name
objectStorageBucketStatusDetails This property is required. string
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
objectStorageNamespaceName This property is required. string
Object Storage Namespace Name
state This property is required. string
Lifecycle states
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
timeUpdated This property is required. string
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
compartment_id This property is required. str
The OCID of the compartment.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. str
Description of Enterprise Manager Bridge
display_name This property is required. str
A filter to return only resources that match the entire display name.
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. str
Unique Enterprise Manager bridge identifier
lifecycle_details This property is required. str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
object_storage_bucket_name This property is required. str
Object Storage Bucket Name
object_storage_bucket_status_details This property is required. str
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
object_storage_namespace_name This property is required. str
Object Storage Namespace Name
state This property is required. str
Lifecycle states
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
time_updated This property is required. str
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
Description of Enterprise Manager Bridge
displayName This property is required. String
A filter to return only resources that match the entire display name.
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
id This property is required. String
Unique Enterprise Manager bridge identifier
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName This property is required. String
Object Storage Bucket Name
objectStorageBucketStatusDetails This property is required. String
A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
objectStorageNamespaceName This property is required. String
Object Storage Namespace Name
state This property is required. String
Lifecycle states
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
timeUpdated This property is required. String
The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string

GetEnterpriseManagerBridgesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi