Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.Opsi.getAwrHubSource
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
Gets the Awr Hub source object.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAwrHubSource = oci.Opsi.getAwrHubSource({
awrHubSourceId: testAwrHubSourceOciOpsiAwrHubSource.id,
});
import pulumi
import pulumi_oci as oci
test_awr_hub_source = oci.Opsi.get_awr_hub_source(awr_hub_source_id=test_awr_hub_source_oci_opsi_awr_hub_source["id"])
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.GetAwrHubSource(ctx, &opsi.GetAwrHubSourceArgs{
AwrHubSourceId: testAwrHubSourceOciOpsiAwrHubSource.Id,
}, 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 testAwrHubSource = Oci.Opsi.GetAwrHubSource.Invoke(new()
{
AwrHubSourceId = testAwrHubSourceOciOpsiAwrHubSource.Id,
});
});
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.GetAwrHubSourceArgs;
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 testAwrHubSource = OpsiFunctions.getAwrHubSource(GetAwrHubSourceArgs.builder()
.awrHubSourceId(testAwrHubSourceOciOpsiAwrHubSource.id())
.build());
}
}
variables:
testAwrHubSource:
fn::invoke:
Function: oci:Opsi:getAwrHubSource
Arguments:
awrHubSourceId: ${testAwrHubSourceOciOpsiAwrHubSource.id}
Using getAwrHubSource
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 getAwrHubSource(args: GetAwrHubSourceArgs, opts?: InvokeOptions): Promise<GetAwrHubSourceResult>
function getAwrHubSourceOutput(args: GetAwrHubSourceOutputArgs, opts?: InvokeOptions): Output<GetAwrHubSourceResult>
def get_awr_hub_source(awr_hub_source_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwrHubSourceResult
def get_awr_hub_source_output(awr_hub_source_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAwrHubSourceResult]
func GetAwrHubSource(ctx *Context, args *GetAwrHubSourceArgs, opts ...InvokeOption) (*GetAwrHubSourceResult, error)
func GetAwrHubSourceOutput(ctx *Context, args *GetAwrHubSourceOutputArgs, opts ...InvokeOption) GetAwrHubSourceResultOutput
> Note: This function is named GetAwrHubSource
in the Go SDK.
public static class GetAwrHubSource
{
public static Task<GetAwrHubSourceResult> InvokeAsync(GetAwrHubSourceArgs args, InvokeOptions? opts = null)
public static Output<GetAwrHubSourceResult> Invoke(GetAwrHubSourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAwrHubSourceResult> getAwrHubSource(GetAwrHubSourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Opsi/getAwrHubSource:getAwrHubSource
arguments:
# arguments dictionary
The following arguments are supported:
- Awr
Hub stringSource Id - Unique Awr Hub Source identifier
- Awr
Hub stringSource Id - Unique Awr Hub Source identifier
- awr
Hub StringSource Id - Unique Awr Hub Source identifier
- awr
Hub stringSource Id - Unique Awr Hub Source identifier
- awr_
hub_ strsource_ id - Unique Awr Hub Source identifier
- awr
Hub StringSource Id - Unique Awr Hub Source identifier
getAwrHubSource Result
The following output properties are available:
- Associated
Opsi stringId - The OCID of the database id.
- Associated
Resource stringId - The OCID of the database id.
- Awr
Hub stringId - AWR Hub OCID
- Awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- Awr
Hub stringSource Id - Awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- Hours
Since doubleLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- Id string
- The OCID of the Awr Hub source database.
- Is
Registered boolWith Awr Hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- Max
Snapshot doubleIdentifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Min
Snapshot doubleIdentifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Name string
- The name of the Awr Hub source database.
- Source
Mail stringBox Url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- State string
- the current state of the source database
- Status string
- Indicates the status of a source database in Operations Insights
- Dictionary<string, object>
- 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 at which the resource was first created. An RFC3339 formatted datetime string
- Time
First stringSnapshot Generated - 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 stringSnapshot Generated - 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 string - The time at which the resource was last updated. An RFC3339 formatted datetime string
- Type string
- source type of the database
- Associated
Opsi stringId - The OCID of the database id.
- Associated
Resource stringId - The OCID of the database id.
- Awr
Hub stringId - AWR Hub OCID
- Awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- Awr
Hub stringSource Id - Awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Compartment
Id string - The OCID of the compartment.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- Hours
Since float64Last Import - Number of hours since last AWR snapshots import happened from the Source database.
- Id string
- The OCID of the Awr Hub source database.
- Is
Registered boolWith Awr Hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- Max
Snapshot float64Identifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Min
Snapshot float64Identifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Name string
- The name of the Awr Hub source database.
- Source
Mail stringBox Url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- State string
- the current state of the source database
- Status string
- Indicates the status of a source database in Operations Insights
- map[string]interface{}
- 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 at which the resource was first created. An RFC3339 formatted datetime string
- Time
First stringSnapshot Generated - 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 stringSnapshot Generated - 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 string - The time at which the resource was last updated. An RFC3339 formatted datetime string
- Type string
- source type of the database
- associated
Opsi StringId - The OCID of the database id.
- associated
Resource StringId - The OCID of the database id.
- awr
Hub StringId - AWR Hub OCID
- awr
Hub StringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Hub StringSource Id - awr
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id String - The OCID of the compartment.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- hours
Since DoubleLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id String
- The OCID of the Awr Hub source database.
- is
Registered BooleanWith Awr Hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- max
Snapshot DoubleIdentifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- min
Snapshot DoubleIdentifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- name String
- The name of the Awr Hub source database.
- source
Mail StringBox Url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- state String
- the current state of the source database
- status String
- Indicates the status of a source database in Operations Insights
- Map<String,Object>
- 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 at which the resource was first created. An RFC3339 formatted datetime string
- time
First StringSnapshot Generated - 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 StringSnapshot Generated - 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 String - The time at which the resource was last updated. An RFC3339 formatted datetime string
- type String
- source type of the database
- associated
Opsi stringId - The OCID of the database id.
- associated
Resource stringId - The OCID of the database id.
- awr
Hub stringId - AWR Hub OCID
- awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Hub stringSource Id - awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[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"}
- hours
Since numberLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id string
- The OCID of the Awr Hub source database.
- is
Registered booleanWith Awr Hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- max
Snapshot numberIdentifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- min
Snapshot numberIdentifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- name string
- The name of the Awr Hub source database.
- source
Mail stringBox Url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- state string
- the current state of the source database
- status string
- Indicates the status of a source database in Operations Insights
- {[key: string]: any}
- 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 at which the resource was first created. An RFC3339 formatted datetime string
- time
First stringSnapshot Generated - 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 stringSnapshot Generated - 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 string - The time at which the resource was last updated. An RFC3339 formatted datetime string
- type string
- source type of the database
- associated_
opsi_ strid - The OCID of the database id.
- associated_
resource_ strid - The OCID of the database id.
- awr_
hub_ strid - AWR Hub OCID
- awr_
hub_ stropsi_ source_ id - The shorted string of the Awr Hub source database identifier.
- awr_
hub_ strsource_ id - awr_
source_ strdatabase_ id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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_ floatlast_ import - 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_ boolwith_ awr_ hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- max_
snapshot_ floatidentifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- min_
snapshot_ floatidentifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- name str
- The name of the Awr Hub source database.
- source_
mail_ strbox_ url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- state str
- the current state of the source database
- status str
- Indicates the status of a source database in Operations Insights
- 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_ strsnapshot_ generated - 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_ strsnapshot_ generated - 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
- associated
Opsi StringId - The OCID of the database id.
- associated
Resource StringId - The OCID of the database id.
- awr
Hub StringId - AWR Hub OCID
- awr
Hub StringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Hub StringSource Id - awr
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id String - The OCID of the compartment.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- 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"}
- hours
Since NumberLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id String
- The OCID of the Awr Hub source database.
- is
Registered BooleanWith Awr Hub - This is
true
if the source databse is registered with a Awr Hub, otherwisefalse
- max
Snapshot NumberIdentifier - The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- min
Snapshot NumberIdentifier - The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- name String
- The name of the Awr Hub source database.
- source
Mail StringBox Url - Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- state String
- the current state of the source database
- status String
- Indicates the status of a source database in Operations Insights
- Map<Any>
- 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 at which the resource was first created. An RFC3339 formatted datetime string
- time
First StringSnapshot Generated - 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 StringSnapshot Generated - 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 String - The time at which the resource was last updated. An RFC3339 formatted datetime string
- type String
- source type of the database
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi