1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getEnterpriseManagerBridges
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.Opsi.getEnterpriseManagerBridges

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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,
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getEnterpriseManagerBridges:getEnterpriseManagerBridges
      arguments:
        # arguments dictionary

    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 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 []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 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 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 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 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

    GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItem

    CompartmentId string
    The OCID of the compartment.
    DefinedTags 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.
    FreeformTags 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.
    ObjectStorageBucketName string
    Object Storage Bucket Name
    ObjectStorageBucketStatusDetails 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 string
    Object Storage Namespace Name
    State string
    Lifecycle states
    SystemTags 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.
    DefinedTags 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.
    FreeformTags 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.
    ObjectStorageBucketName string
    Object Storage Bucket Name
    ObjectStorageBucketStatusDetails 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 string
    Object Storage Namespace Name
    State string
    Lifecycle states
    SystemTags 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.
    definedTags 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.
    freeformTags 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.
    objectStorageBucketName String
    Object Storage Bucket Name
    objectStorageBucketStatusDetails 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 String
    Object Storage Namespace Name
    state String
    Lifecycle states
    systemTags 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.
    definedTags {[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.
    freeformTags {[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.
    objectStorageBucketName string
    Object Storage Bucket Name
    objectStorageBucketStatusDetails 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 string
    Object Storage Namespace Name
    state string
    Lifecycle states
    systemTags {[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.
    defined_tags 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.
    freeform_tags 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_bucket_name str
    Object Storage Bucket Name
    object_storage_bucket_status_details 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 str
    Object Storage Namespace Name
    state str
    Lifecycle states
    system_tags 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.
    definedTags 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.
    freeformTags 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.
    objectStorageBucketName String
    Object Storage Bucket Name
    objectStorageBucketStatusDetails 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 String
    Object Storage Namespace Name
    state String
    Lifecycle states
    systemTags 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

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values 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.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi