oci.Opsi.getEnterpriseManagerBridges
Explore with Pulumi AI
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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testEnterpriseManagerBridges:
    fn::invoke:
      function: oci:Opsi:getEnterpriseManagerBridges
      arguments:
        compartmentId: ${compartmentId}
        compartmentIdInSubtree: ${enterpriseManagerBridgeCompartmentIdInSubtree}
        displayName: ${enterpriseManagerBridgeDisplayName}
        id: ${enterpriseManagerBridgeId}
        states: ${enterpriseManagerBridgeState}
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>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]func GetEnterpriseManagerBridges(ctx *Context, args *GetEnterpriseManagerBridgesArgs, opts ...InvokeOption) (*GetEnterpriseManagerBridgesResult, error)
func GetEnterpriseManagerBridgesOutput(ctx *Context, args *GetEnterpriseManagerBridgesOutputArgs, opts ...InvokeOption) GetEnterpriseManagerBridgesResultOutput> 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)
}public static CompletableFuture<GetEnterpriseManagerBridgesResult> getEnterpriseManagerBridges(GetEnterpriseManagerBridgesArgs args, InvokeOptions options)
public static Output<GetEnterpriseManagerBridgesResult> getEnterpriseManagerBridges(GetEnterpriseManagerBridgesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Opsi/getEnterpriseManagerBridges:getEnterpriseManagerBridges
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment.
- CompartmentId boolIn Subtree 
- 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
List<GetEnterprise Manager Bridges Filter> 
- Id string
- Unique Enterprise Manager bridge identifier
- States List<string>
- Lifecycle states
- CompartmentId string
- The OCID of the compartment.
- CompartmentId boolIn Subtree 
- 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
[]GetEnterprise Manager Bridges Filter 
- Id string
- Unique Enterprise Manager bridge identifier
- States []string
- Lifecycle states
- compartmentId String
- The OCID of the compartment.
- compartmentId BooleanIn Subtree 
- 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
List<GetEnterprise Manager Bridges Filter> 
- id String
- Unique Enterprise Manager bridge identifier
- states List<String>
- Lifecycle states
- compartmentId string
- The OCID of the compartment.
- compartmentId booleanIn Subtree 
- 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
GetEnterprise Manager Bridges Filter[] 
- id string
- Unique Enterprise Manager bridge identifier
- states string[]
- Lifecycle states
- compartment_id str
- The OCID of the compartment.
- compartment_id_ boolin_ subtree 
- 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
Sequence[opsi.Get Enterprise Manager Bridges Filter] 
- id str
- Unique Enterprise Manager bridge identifier
- states Sequence[str]
- Lifecycle states
- compartmentId String
- The OCID of the compartment.
- compartmentId BooleanIn Subtree 
- 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 List<Property Map>
- id String
- Unique Enterprise Manager bridge identifier
- states List<String>
- Lifecycle states
getEnterpriseManagerBridges Result
The following output properties are available:
- EnterpriseManager List<GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection> 
- The list of enterprise_manager_bridge_collection.
- CompartmentId string
- Compartment identifier of the Enterprise Manager bridge
- CompartmentId boolIn Subtree 
- DisplayName string
- User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- Filters
List<GetEnterprise Manager Bridges Filter> 
- Id string
- Enterprise Manager bridge identifier
- States List<string>
- The current state of the Enterprise Manager bridge.
- EnterpriseManager []GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection 
- The list of enterprise_manager_bridge_collection.
- CompartmentId string
- Compartment identifier of the Enterprise Manager bridge
- CompartmentId boolIn Subtree 
- DisplayName string
- User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- Filters
[]GetEnterprise Manager Bridges Filter 
- Id string
- Enterprise Manager bridge identifier
- States []string
- The current state of the Enterprise Manager bridge.
- enterpriseManager List<GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection> 
- The list of enterprise_manager_bridge_collection.
- compartmentId String
- Compartment identifier of the Enterprise Manager bridge
- compartmentId BooleanIn Subtree 
- displayName String
- User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- filters
List<GetEnterprise Manager Bridges Filter> 
- id String
- Enterprise Manager bridge identifier
- states List<String>
- The current state of the Enterprise Manager bridge.
- enterpriseManager GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection[] 
- The list of enterprise_manager_bridge_collection.
- compartmentId string
- Compartment identifier of the Enterprise Manager bridge
- compartmentId booleanIn Subtree 
- displayName string
- User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- filters
GetEnterprise Manager Bridges Filter[] 
- id string
- Enterprise Manager bridge identifier
- states string[]
- The current state of the Enterprise Manager bridge.
- enterprise_manager_ Sequence[opsi.bridge_ collections Get Enterprise Manager Bridges Enterprise Manager Bridge Collection] 
- The list of enterprise_manager_bridge_collection.
- compartment_id str
- Compartment identifier of the Enterprise Manager bridge
- compartment_id_ boolin_ subtree 
- display_name str
- User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- filters
Sequence[opsi.Get Enterprise Manager Bridges Filter] 
- id str
- Enterprise Manager bridge identifier
- states Sequence[str]
- The current state of the Enterprise Manager bridge.
- enterpriseManager List<Property Map>Bridge Collections 
- The list of enterprise_manager_bridge_collection.
- compartmentId String
- Compartment identifier of the Enterprise Manager bridge
- compartmentId BooleanIn Subtree 
- 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       
GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItem        
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Description of Enterprise Manager Bridge
- DisplayName string
- A filter to return only resources that match the entire display name.
- 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 string
- Unique Enterprise Manager bridge identifier
- LifecycleDetails 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.
- ObjectStorage stringBucket Name 
- Object Storage Bucket Name
- ObjectStorage stringBucket Status Details 
- 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.
- ObjectStorage stringNamespace Name 
- Object Storage Namespace Name
- State string
- Lifecycle states
- 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 string
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- Description string
- Description of Enterprise Manager Bridge
- DisplayName string
- A filter to return only resources that match the entire display name.
- 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 string
- Unique Enterprise Manager bridge identifier
- LifecycleDetails 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.
- ObjectStorage stringBucket Name 
- Object Storage Bucket Name
- ObjectStorage stringBucket Status Details 
- 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.
- ObjectStorage stringNamespace Name 
- Object Storage Namespace Name
- State string
- Lifecycle states
- 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 string
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- TimeUpdated string
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Description of Enterprise Manager Bridge
- displayName String
- A filter to return only resources that match the entire display name.
- 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 String
- Unique Enterprise Manager bridge identifier
- lifecycleDetails 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.
- objectStorage StringBucket Name 
- Object Storage Bucket Name
- objectStorage StringBucket Status Details 
- 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.
- objectStorage StringNamespace Name 
- Object Storage Namespace Name
- state String
- Lifecycle states
- 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 String
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- timeUpdated String
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description string
- Description of Enterprise Manager Bridge
- displayName string
- A filter to return only resources that match the entire display name.
- {[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 string
- Unique Enterprise Manager bridge identifier
- lifecycleDetails 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.
- objectStorage stringBucket Name 
- Object Storage Bucket Name
- objectStorage stringBucket Status Details 
- 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.
- objectStorage stringNamespace Name 
- Object Storage Namespace Name
- state string
- Lifecycle states
- {[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 string
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- timeUpdated string
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description str
- Description of Enterprise Manager Bridge
- display_name str
- A filter to return only resources that match the entire display name.
- 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 str
- Unique Enterprise Manager bridge identifier
- lifecycle_details 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_ strbucket_ name 
- Object Storage Bucket Name
- object_storage_ strbucket_ status_ details 
- 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_ strnamespace_ name 
- Object Storage Namespace Name
- state str
- Lifecycle states
- 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 str
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- time_updated str
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartmentId String
- The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- description String
- Description of Enterprise Manager Bridge
- displayName String
- A filter to return only resources that match the entire display name.
- 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 String
- Unique Enterprise Manager bridge identifier
- lifecycleDetails 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.
- objectStorage StringBucket Name 
- Object Storage Bucket Name
- objectStorage StringBucket Status Details 
- 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.
- objectStorage StringNamespace Name 
- Object Storage Namespace Name
- state String
- Lifecycle states
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- timeUpdated String
- The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
GetEnterpriseManagerBridgesFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.