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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Opsi/getEnterpriseManagerBridges:getEnterpriseManagerBridges
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - 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 string - A filter to return only resources that match the entire display name.
- Filters
List<Get
Enterprise Manager Bridges Filter> - Id string
- Unique Enterprise Manager bridge identifier
- States List<string>
- Lifecycle states
- Compartment
Id string - 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 string - A filter to return only resources that match the entire display name.
- Filters
[]Get
Enterprise Manager Bridges Filter - Id string
- Unique Enterprise Manager bridge identifier
- States []string
- Lifecycle states
- compartment
Id String - The OCID of the compartment.
- compartment
Id BooleanIn Subtree - A flag to search all resources within a given compartment and all sub-compartments.
- display
Name String - A filter to return only resources that match the entire display name.
- filters
List<Get
Enterprise Manager Bridges Filter> - id String
- Unique Enterprise Manager bridge identifier
- states List<String>
- Lifecycle states
- compartment
Id string - The OCID of the compartment.
- compartment
Id booleanIn Subtree - A flag to search all resources within a given compartment and all sub-compartments.
- display
Name string - A filter to return only resources that match the entire display name.
- filters
Get
Enterprise 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
- compartment
Id String - The OCID of the compartment.
- compartment
Id BooleanIn Subtree - A flag to search all resources within a given compartment and all sub-compartments.
- display
Name 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:
- Enterprise
Manager List<GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection> - The list of enterprise_manager_bridge_collection.
- Compartment
Id string - Compartment identifier of the Enterprise Manager bridge
- Compartment
Id boolIn Subtree - Display
Name string - User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- Filters
List<Get
Enterprise Manager Bridges Filter> - Id string
- Enterprise Manager bridge identifier
- States List<string>
- The current state of the Enterprise Manager bridge.
- Enterprise
Manager []GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection - The list of enterprise_manager_bridge_collection.
- Compartment
Id string - Compartment identifier of the Enterprise Manager bridge
- Compartment
Id boolIn Subtree - Display
Name string - User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- Filters
[]Get
Enterprise Manager Bridges Filter - Id string
- Enterprise Manager bridge identifier
- States []string
- The current state of the Enterprise Manager bridge.
- enterprise
Manager List<GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection> - The list of enterprise_manager_bridge_collection.
- compartment
Id String - Compartment identifier of the Enterprise Manager bridge
- compartment
Id BooleanIn Subtree - display
Name String - User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- filters
List<Get
Enterprise Manager Bridges Filter> - id String
- Enterprise Manager bridge identifier
- states List<String>
- The current state of the Enterprise Manager bridge.
- enterprise
Manager GetBridge Collections Enterprise Manager Bridges Enterprise Manager Bridge Collection[] - The list of enterprise_manager_bridge_collection.
- compartment
Id string - Compartment identifier of the Enterprise Manager bridge
- compartment
Id booleanIn Subtree - display
Name string - User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- filters
Get
Enterprise 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.
- enterprise
Manager List<Property Map>Bridge Collections - The list of enterprise_manager_bridge_collection.
- compartment
Id String - Compartment identifier of the Enterprise Manager bridge
- compartment
Id BooleanIn Subtree - display
Name 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
- Compartment
Id 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
- Display
Name 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
- Lifecycle
Details 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.
- Object
Storage stringBucket Name - Object Storage Bucket Name
- Object
Storage 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.
- Object
Storage 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"}
- Time
Created string - The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- Compartment
Id 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
- Display
Name 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
- Lifecycle
Details 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.
- Object
Storage stringBucket Name - Object Storage Bucket Name
- Object
Storage 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.
- Object
Storage 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"}
- Time
Created string - The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- Time
Updated string - The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartment
Id 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
- display
Name 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
- lifecycle
Details 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.
- object
Storage StringBucket Name - Object Storage Bucket Name
- object
Storage 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.
- object
Storage 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"}
- time
Created String - The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- time
Updated String - The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- compartment
Id 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
- display
Name 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
- lifecycle
Details 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.
- object
Storage stringBucket Name - Object Storage Bucket Name
- object
Storage 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.
- object
Storage 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"}
- time
Created string - The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- time
Updated 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
- compartment
Id 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
- display
Name 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
- lifecycle
Details 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.
- object
Storage StringBucket Name - Object Storage Bucket Name
- object
Storage 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.
- object
Storage 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"}
- time
Created String - The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- time
Updated 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
oci
Terraform Provider.