1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. getAwrHubSources
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Opsi.getAwrHubSources

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Awr Hub Sources in Oracle Cloud Infrastructure Opsi service.

    Gets a list of Awr Hub source objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAwrHubSources = oci.Opsi.getAwrHubSources({
        awrHubId: testAwrHub.id,
        awrHubSourceId: testAwrHubSource.id,
        compartmentId: compartmentId,
        name: awrHubSourceName,
        sourceTypes: awrHubSourceSourceType,
        states: awrHubSourceState,
        statuses: awrHubSourceStatus,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_awr_hub_sources = oci.Opsi.get_awr_hub_sources(awr_hub_id=test_awr_hub["id"],
        awr_hub_source_id=test_awr_hub_source["id"],
        compartment_id=compartment_id,
        name=awr_hub_source_name,
        source_types=awr_hub_source_source_type,
        states=awr_hub_source_state,
        statuses=awr_hub_source_status)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Opsi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Opsi.GetAwrHubSources(ctx, &opsi.GetAwrHubSourcesArgs{
    			AwrHubId:       testAwrHub.Id,
    			AwrHubSourceId: pulumi.StringRef(testAwrHubSource.Id),
    			CompartmentId:  pulumi.StringRef(compartmentId),
    			Name:           pulumi.StringRef(awrHubSourceName),
    			SourceTypes:    awrHubSourceSourceType,
    			States:         awrHubSourceState,
    			Statuses:       awrHubSourceStatus,
    		}, 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 testAwrHubSources = Oci.Opsi.GetAwrHubSources.Invoke(new()
        {
            AwrHubId = testAwrHub.Id,
            AwrHubSourceId = testAwrHubSource.Id,
            CompartmentId = compartmentId,
            Name = awrHubSourceName,
            SourceTypes = awrHubSourceSourceType,
            States = awrHubSourceState,
            Statuses = awrHubSourceStatus,
        });
    
    });
    
    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.GetAwrHubSourcesArgs;
    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 testAwrHubSources = OpsiFunctions.getAwrHubSources(GetAwrHubSourcesArgs.builder()
                .awrHubId(testAwrHub.id())
                .awrHubSourceId(testAwrHubSource.id())
                .compartmentId(compartmentId)
                .name(awrHubSourceName)
                .sourceTypes(awrHubSourceSourceType)
                .states(awrHubSourceState)
                .statuses(awrHubSourceStatus)
                .build());
    
        }
    }
    
    variables:
      testAwrHubSources:
        fn::invoke:
          Function: oci:Opsi:getAwrHubSources
          Arguments:
            awrHubId: ${testAwrHub.id}
            awrHubSourceId: ${testAwrHubSource.id}
            compartmentId: ${compartmentId}
            name: ${awrHubSourceName}
            sourceTypes: ${awrHubSourceSourceType}
            states: ${awrHubSourceState}
            statuses: ${awrHubSourceStatus}
    

    Using getAwrHubSources

    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 getAwrHubSources(args: GetAwrHubSourcesArgs, opts?: InvokeOptions): Promise<GetAwrHubSourcesResult>
    function getAwrHubSourcesOutput(args: GetAwrHubSourcesOutputArgs, opts?: InvokeOptions): Output<GetAwrHubSourcesResult>
    def get_awr_hub_sources(awr_hub_id: Optional[str] = None,
                            awr_hub_source_id: Optional[str] = None,
                            compartment_id: Optional[str] = None,
                            filters: Optional[Sequence[_opsi.GetAwrHubSourcesFilter]] = None,
                            name: Optional[str] = None,
                            source_types: Optional[Sequence[str]] = None,
                            states: Optional[Sequence[str]] = None,
                            statuses: Optional[Sequence[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAwrHubSourcesResult
    def get_awr_hub_sources_output(awr_hub_id: Optional[pulumi.Input[str]] = None,
                            awr_hub_source_id: Optional[pulumi.Input[str]] = None,
                            compartment_id: Optional[pulumi.Input[str]] = None,
                            filters: Optional[pulumi.Input[Sequence[pulumi.Input[_opsi.GetAwrHubSourcesFilterArgs]]]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            source_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAwrHubSourcesResult]
    func GetAwrHubSources(ctx *Context, args *GetAwrHubSourcesArgs, opts ...InvokeOption) (*GetAwrHubSourcesResult, error)
    func GetAwrHubSourcesOutput(ctx *Context, args *GetAwrHubSourcesOutputArgs, opts ...InvokeOption) GetAwrHubSourcesResultOutput

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

    public static class GetAwrHubSources 
    {
        public static Task<GetAwrHubSourcesResult> InvokeAsync(GetAwrHubSourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetAwrHubSourcesResult> Invoke(GetAwrHubSourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAwrHubSourcesResult> getAwrHubSources(GetAwrHubSourcesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Opsi/getAwrHubSources:getAwrHubSources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AwrHubId string
    Unique Awr Hub identifier
    AwrHubSourceId string
    Awr Hub source identifier
    CompartmentId string
    The OCID of the compartment.
    Filters List<GetAwrHubSourcesFilter>
    Name string
    Awr Hub source database name
    SourceTypes List<string>
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    States List<string>
    Lifecycle states
    Statuses List<string>
    Resource Status
    AwrHubId string
    Unique Awr Hub identifier
    AwrHubSourceId string
    Awr Hub source identifier
    CompartmentId string
    The OCID of the compartment.
    Filters []GetAwrHubSourcesFilter
    Name string
    Awr Hub source database name
    SourceTypes []string
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    States []string
    Lifecycle states
    Statuses []string
    Resource Status
    awrHubId String
    Unique Awr Hub identifier
    awrHubSourceId String
    Awr Hub source identifier
    compartmentId String
    The OCID of the compartment.
    filters List<GetAwrHubSourcesFilter>
    name String
    Awr Hub source database name
    sourceTypes List<String>
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    states List<String>
    Lifecycle states
    statuses List<String>
    Resource Status
    awrHubId string
    Unique Awr Hub identifier
    awrHubSourceId string
    Awr Hub source identifier
    compartmentId string
    The OCID of the compartment.
    filters GetAwrHubSourcesFilter[]
    name string
    Awr Hub source database name
    sourceTypes string[]
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    states string[]
    Lifecycle states
    statuses string[]
    Resource Status
    awr_hub_id str
    Unique Awr Hub identifier
    awr_hub_source_id str
    Awr Hub source identifier
    compartment_id str
    The OCID of the compartment.
    filters Sequence[opsi.GetAwrHubSourcesFilter]
    name str
    Awr Hub source database name
    source_types Sequence[str]
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    states Sequence[str]
    Lifecycle states
    statuses Sequence[str]
    Resource Status
    awrHubId String
    Unique Awr Hub identifier
    awrHubSourceId String
    Awr Hub source identifier
    compartmentId String
    The OCID of the compartment.
    filters List<Property Map>
    name String
    Awr Hub source database name
    sourceTypes List<String>
    Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
    states List<String>
    Lifecycle states
    statuses List<String>
    Resource Status

    getAwrHubSources Result

    The following output properties are available:

    AwrHubId string
    AWR Hub OCID
    AwrHubSourceSummaryCollections List<GetAwrHubSourcesAwrHubSourceSummaryCollection>
    The list of awr_hub_source_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AwrHubSourceId string
    CompartmentId string
    The OCID of the compartment.
    Filters List<GetAwrHubSourcesFilter>
    Name string
    The name of the Awr Hub source database.
    SourceTypes List<string>
    States List<string>
    the current state of the source database
    Statuses List<string>
    Indicates the status of a source database in Operations Insights
    AwrHubId string
    AWR Hub OCID
    AwrHubSourceSummaryCollections []GetAwrHubSourcesAwrHubSourceSummaryCollection
    The list of awr_hub_source_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AwrHubSourceId string
    CompartmentId string
    The OCID of the compartment.
    Filters []GetAwrHubSourcesFilter
    Name string
    The name of the Awr Hub source database.
    SourceTypes []string
    States []string
    the current state of the source database
    Statuses []string
    Indicates the status of a source database in Operations Insights
    awrHubId String
    AWR Hub OCID
    awrHubSourceSummaryCollections List<GetAwrHubSourcesAwrHubSourceSummaryCollection>
    The list of awr_hub_source_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    awrHubSourceId String
    compartmentId String
    The OCID of the compartment.
    filters List<GetAwrHubSourcesFilter>
    name String
    The name of the Awr Hub source database.
    sourceTypes List<String>
    states List<String>
    the current state of the source database
    statuses List<String>
    Indicates the status of a source database in Operations Insights
    awrHubId string
    AWR Hub OCID
    awrHubSourceSummaryCollections GetAwrHubSourcesAwrHubSourceSummaryCollection[]
    The list of awr_hub_source_summary_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    awrHubSourceId string
    compartmentId string
    The OCID of the compartment.
    filters GetAwrHubSourcesFilter[]
    name string
    The name of the Awr Hub source database.
    sourceTypes string[]
    states string[]
    the current state of the source database
    statuses string[]
    Indicates the status of a source database in Operations Insights
    awr_hub_id str
    AWR Hub OCID
    awr_hub_source_summary_collections Sequence[opsi.GetAwrHubSourcesAwrHubSourceSummaryCollection]
    The list of awr_hub_source_summary_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    awr_hub_source_id str
    compartment_id str
    The OCID of the compartment.
    filters Sequence[opsi.GetAwrHubSourcesFilter]
    name str
    The name of the Awr Hub source database.
    source_types Sequence[str]
    states Sequence[str]
    the current state of the source database
    statuses Sequence[str]
    Indicates the status of a source database in Operations Insights
    awrHubId String
    AWR Hub OCID
    awrHubSourceSummaryCollections List<Property Map>
    The list of awr_hub_source_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    awrHubSourceId String
    compartmentId String
    The OCID of the compartment.
    filters List<Property Map>
    name String
    The name of the Awr Hub source database.
    sourceTypes List<String>
    states List<String>
    the current state of the source database
    statuses List<String>
    Indicates the status of a source database in Operations Insights

    Supporting Types

    GetAwrHubSourcesAwrHubSourceSummaryCollection

    GetAwrHubSourcesAwrHubSourceSummaryCollectionItem

    AssociatedOpsiId string
    The OCID of the database id.
    AssociatedResourceId string
    The OCID of the database id.
    AwrHubId string
    Unique Awr Hub identifier
    AwrHubOpsiSourceId string
    The shorted string of the Awr Hub source database identifier.
    AwrSourceDatabaseId string
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HoursSinceLastImport double
    Number of hours since last AWR snapshots import happened from the Source database.
    Id string
    The OCID of the Awr Hub source database.
    IsRegisteredWithAwrHub bool
    This is true if the source databse is registered with a Awr Hub, otherwise false
    MaxSnapshotIdentifier double
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    MinSnapshotIdentifier double
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    Name string
    Awr Hub source database name
    SourceMailBoxUrl string
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    State string
    Lifecycle states
    Status string
    Resource Status
    SystemTags Dictionary<string, object>
    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 at which the resource was first created. An RFC3339 formatted datetime string
    TimeFirstSnapshotGenerated string
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    TimeLastSnapshotGenerated string
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    TimeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    Type string
    source type of the database
    AssociatedOpsiId string
    The OCID of the database id.
    AssociatedResourceId string
    The OCID of the database id.
    AwrHubId string
    Unique Awr Hub identifier
    AwrHubOpsiSourceId string
    The shorted string of the Awr Hub source database identifier.
    AwrSourceDatabaseId string
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HoursSinceLastImport float64
    Number of hours since last AWR snapshots import happened from the Source database.
    Id string
    The OCID of the Awr Hub source database.
    IsRegisteredWithAwrHub bool
    This is true if the source databse is registered with a Awr Hub, otherwise false
    MaxSnapshotIdentifier float64
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    MinSnapshotIdentifier float64
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    Name string
    Awr Hub source database name
    SourceMailBoxUrl string
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    State string
    Lifecycle states
    Status string
    Resource Status
    SystemTags map[string]interface{}
    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 at which the resource was first created. An RFC3339 formatted datetime string
    TimeFirstSnapshotGenerated string
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    TimeLastSnapshotGenerated string
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    TimeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    Type string
    source type of the database
    associatedOpsiId String
    The OCID of the database id.
    associatedResourceId String
    The OCID of the database id.
    awrHubId String
    Unique Awr Hub identifier
    awrHubOpsiSourceId String
    The shorted string of the Awr Hub source database identifier.
    awrSourceDatabaseId String
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hoursSinceLastImport Double
    Number of hours since last AWR snapshots import happened from the Source database.
    id String
    The OCID of the Awr Hub source database.
    isRegisteredWithAwrHub Boolean
    This is true if the source databse is registered with a Awr Hub, otherwise false
    maxSnapshotIdentifier Double
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    minSnapshotIdentifier Double
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    name String
    Awr Hub source database name
    sourceMailBoxUrl String
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    state String
    Lifecycle states
    status String
    Resource Status
    systemTags Map<String,Object>
    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 at which the resource was first created. An RFC3339 formatted datetime string
    timeFirstSnapshotGenerated String
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeLastSnapshotGenerated String
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeUpdated String
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    type String
    source type of the database
    associatedOpsiId string
    The OCID of the database id.
    associatedResourceId string
    The OCID of the database id.
    awrHubId string
    Unique Awr Hub identifier
    awrHubOpsiSourceId string
    The shorted string of the Awr Hub source database identifier.
    awrSourceDatabaseId string
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hoursSinceLastImport number
    Number of hours since last AWR snapshots import happened from the Source database.
    id string
    The OCID of the Awr Hub source database.
    isRegisteredWithAwrHub boolean
    This is true if the source databse is registered with a Awr Hub, otherwise false
    maxSnapshotIdentifier number
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    minSnapshotIdentifier number
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    name string
    Awr Hub source database name
    sourceMailBoxUrl string
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    state string
    Lifecycle states
    status string
    Resource Status
    systemTags {[key: string]: any}
    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 at which the resource was first created. An RFC3339 formatted datetime string
    timeFirstSnapshotGenerated string
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeLastSnapshotGenerated string
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeUpdated string
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    type string
    source type of the database
    associated_opsi_id str
    The OCID of the database id.
    associated_resource_id str
    The OCID of the database id.
    awr_hub_id str
    Unique Awr Hub identifier
    awr_hub_opsi_source_id str
    The shorted string of the Awr Hub source database identifier.
    awr_source_database_id str
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hours_since_last_import float
    Number of hours since last AWR snapshots import happened from the Source database.
    id str
    The OCID of the Awr Hub source database.
    is_registered_with_awr_hub bool
    This is true if the source databse is registered with a Awr Hub, otherwise false
    max_snapshot_identifier float
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    min_snapshot_identifier float
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    name str
    Awr Hub source database name
    source_mail_box_url str
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    state str
    Lifecycle states
    status str
    Resource Status
    system_tags Mapping[str, Any]
    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 at which the resource was first created. An RFC3339 formatted datetime string
    time_first_snapshot_generated str
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    time_last_snapshot_generated str
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    time_updated str
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    type str
    source type of the database
    associatedOpsiId String
    The OCID of the database id.
    associatedResourceId String
    The OCID of the database id.
    awrHubId String
    Unique Awr Hub identifier
    awrHubOpsiSourceId String
    The shorted string of the Awr Hub source database identifier.
    awrSourceDatabaseId String
    DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hoursSinceLastImport Number
    Number of hours since last AWR snapshots import happened from the Source database.
    id String
    The OCID of the Awr Hub source database.
    isRegisteredWithAwrHub Boolean
    This is true if the source databse is registered with a Awr Hub, otherwise false
    maxSnapshotIdentifier Number
    The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    minSnapshotIdentifier Number
    The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
    name String
    Awr Hub source database name
    sourceMailBoxUrl String
    Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
    state String
    Lifecycle states
    status String
    Resource Status
    systemTags Map<Any>
    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 at which the resource was first created. An RFC3339 formatted datetime string
    timeFirstSnapshotGenerated String
    The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeLastSnapshotGenerated String
    The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
    timeUpdated String
    The time at which the resource was last updated. An RFC3339 formatted datetime string
    type String
    source type of the database

    GetAwrHubSourcesFilter

    Name string
    Awr Hub source database name
    Values List<string>
    Regex bool
    Name string
    Awr Hub source database name
    Values []string
    Regex bool
    name String
    Awr Hub source database name
    values List<String>
    regex Boolean
    name string
    Awr Hub source database name
    values string[]
    regex boolean
    name str
    Awr Hub source database name
    values Sequence[str]
    regex bool
    name String
    Awr Hub source database name
    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 v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi