oci.Opsi.AwrHubSource
Explore with Pulumi AI
This resource provides the Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
Register Awr Hub source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAwrHubSource = new oci.opsi.AwrHubSource("test_awr_hub_source", {
awrHubId: testAwrHub.id,
compartmentId: compartmentId,
name: awrHubSourceName,
type: awrHubSourceType,
associatedOpsiId: testAssociatedOpsi.id,
associatedResourceId: testResource.id,
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
});
import pulumi
import pulumi_oci as oci
test_awr_hub_source = oci.opsi.AwrHubSource("test_awr_hub_source",
awr_hub_id=test_awr_hub["id"],
compartment_id=compartment_id,
name=awr_hub_source_name,
type=awr_hub_source_type,
associated_opsi_id=test_associated_opsi["id"],
associated_resource_id=test_resource["id"],
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
})
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.NewAwrHubSource(ctx, "test_awr_hub_source", &Opsi.AwrHubSourceArgs{
AwrHubId: pulumi.Any(testAwrHub.Id),
CompartmentId: pulumi.Any(compartmentId),
Name: pulumi.Any(awrHubSourceName),
Type: pulumi.Any(awrHubSourceType),
AssociatedOpsiId: pulumi.Any(testAssociatedOpsi.Id),
AssociatedResourceId: pulumi.Any(testResource.Id),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
})
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 = new Oci.Opsi.AwrHubSource("test_awr_hub_source", new()
{
AwrHubId = testAwrHub.Id,
CompartmentId = compartmentId,
Name = awrHubSourceName,
Type = awrHubSourceType,
AssociatedOpsiId = testAssociatedOpsi.Id,
AssociatedResourceId = testResource.Id,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.AwrHubSource;
import com.pulumi.oci.Opsi.AwrHubSourceArgs;
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) {
var testAwrHubSource = new AwrHubSource("testAwrHubSource", AwrHubSourceArgs.builder()
.awrHubId(testAwrHub.id())
.compartmentId(compartmentId)
.name(awrHubSourceName)
.type(awrHubSourceType)
.associatedOpsiId(testAssociatedOpsi.id())
.associatedResourceId(testResource.id())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.build());
}
}
resources:
testAwrHubSource:
type: oci:Opsi:AwrHubSource
name: test_awr_hub_source
properties:
awrHubId: ${testAwrHub.id}
compartmentId: ${compartmentId}
name: ${awrHubSourceName}
type: ${awrHubSourceType}
associatedOpsiId: ${testAssociatedOpsi.id}
associatedResourceId: ${testResource.id}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
Create AwrHubSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AwrHubSource(name: string, args: AwrHubSourceArgs, opts?: CustomResourceOptions);
@overload
def AwrHubSource(resource_name: str,
args: AwrHubSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AwrHubSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
awr_hub_id: Optional[str] = None,
compartment_id: Optional[str] = None,
type: Optional[str] = None,
associated_opsi_id: Optional[str] = None,
associated_resource_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)
func NewAwrHubSource(ctx *Context, name string, args AwrHubSourceArgs, opts ...ResourceOption) (*AwrHubSource, error)
public AwrHubSource(string name, AwrHubSourceArgs args, CustomResourceOptions? opts = null)
public AwrHubSource(String name, AwrHubSourceArgs args)
public AwrHubSource(String name, AwrHubSourceArgs args, CustomResourceOptions options)
type: oci:Opsi:AwrHubSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AwrHubSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AwrHubSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AwrHubSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwrHubSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwrHubSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awrHubSourceResource = new Oci.Opsi.AwrHubSource("awrHubSourceResource", new()
{
AwrHubId = "string",
CompartmentId = "string",
Type = "string",
AssociatedOpsiId = "string",
AssociatedResourceId = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Name = "string",
});
example, err := Opsi.NewAwrHubSource(ctx, "awrHubSourceResource", &Opsi.AwrHubSourceArgs{
AwrHubId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
Type: pulumi.String("string"),
AssociatedOpsiId: pulumi.String("string"),
AssociatedResourceId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var awrHubSourceResource = new AwrHubSource("awrHubSourceResource", AwrHubSourceArgs.builder()
.awrHubId("string")
.compartmentId("string")
.type("string")
.associatedOpsiId("string")
.associatedResourceId("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.name("string")
.build());
awr_hub_source_resource = oci.opsi.AwrHubSource("awrHubSourceResource",
awr_hub_id="string",
compartment_id="string",
type="string",
associated_opsi_id="string",
associated_resource_id="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
name="string")
const awrHubSourceResource = new oci.opsi.AwrHubSource("awrHubSourceResource", {
awrHubId: "string",
compartmentId: "string",
type: "string",
associatedOpsiId: "string",
associatedResourceId: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
name: "string",
});
type: oci:Opsi:AwrHubSource
properties:
associatedOpsiId: string
associatedResourceId: string
awrHubId: string
compartmentId: string
definedTags:
string: string
freeformTags:
string: string
name: string
type: string
AwrHubSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AwrHubSource resource accepts the following input properties:
- Awr
Hub stringId - AWR Hub OCID
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Type string
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Associated
Opsi stringId - The OCID of the database id.
- Associated
Resource stringId - The OCID of the database id.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- The name of the Awr Hub source database.
- Awr
Hub stringId - AWR Hub OCID
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Type string
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Associated
Opsi stringId - The OCID of the database id.
- Associated
Resource stringId - The OCID of the database id.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Name string
- The name of the Awr Hub source database.
- awr
Hub StringId - AWR Hub OCID
- compartment
Id String - (Updatable) The OCID of the compartment.
- type String
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Opsi StringId - The OCID of the database id.
- associated
Resource StringId - The OCID of the database id.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- The name of the Awr Hub source database.
- awr
Hub stringId - AWR Hub OCID
- compartment
Id string - (Updatable) The OCID of the compartment.
- type string
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Opsi stringId - The OCID of the database id.
- associated
Resource stringId - The OCID of the database id.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name string
- The name of the Awr Hub source database.
- awr_
hub_ strid - AWR Hub OCID
- compartment_
id str - (Updatable) The OCID of the compartment.
- type str
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated_
opsi_ strid - The OCID of the database id.
- associated_
resource_ strid - The OCID of the database id.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name str
- The name of the Awr Hub source database.
- awr
Hub StringId - AWR Hub OCID
- compartment
Id String - (Updatable) The OCID of the compartment.
- type String
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- associated
Opsi StringId - The OCID of the database id.
- associated
Resource StringId - The OCID of the database id.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- name String
- The name of the Awr Hub source database.
Outputs
All input properties are implicitly available as output properties. Additionally, the AwrHubSource resource produces the following output properties:
- Awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- Awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Hours
Since doubleLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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, 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 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
- Awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- Awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Hours
Since float64Last Import - Number of hours since last AWR snapshots import happened from the Source database.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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]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 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
- awr
Hub StringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- hours
Since DoubleLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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,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 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
- awr
Hub stringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- hours
Since numberLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- 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]: 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 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
- awr_
hub_ stropsi_ source_ id - The shorted string of the Awr Hub source database identifier.
- awr_
source_ strdatabase_ id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- hours_
since_ floatlast_ import - Number of hours since last AWR snapshots import happened from the Source database.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- 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, 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 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
- awr
Hub StringOpsi Source Id - The shorted string of the Awr Hub source database identifier.
- awr
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- hours
Since NumberLast Import - Number of hours since last AWR snapshots import happened from the Source database.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- 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>
- 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
Look up Existing AwrHubSource Resource
Get an existing AwrHubSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AwrHubSourceState, opts?: CustomResourceOptions): AwrHubSource
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associated_opsi_id: Optional[str] = None,
associated_resource_id: Optional[str] = None,
awr_hub_id: Optional[str] = None,
awr_hub_opsi_source_id: Optional[str] = None,
awr_source_database_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
hours_since_last_import: Optional[float] = None,
is_registered_with_awr_hub: Optional[bool] = None,
max_snapshot_identifier: Optional[float] = None,
min_snapshot_identifier: Optional[float] = None,
name: Optional[str] = None,
source_mail_box_url: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_first_snapshot_generated: Optional[str] = None,
time_last_snapshot_generated: Optional[str] = None,
time_updated: Optional[str] = None,
type: Optional[str] = None) -> AwrHubSource
func GetAwrHubSource(ctx *Context, name string, id IDInput, state *AwrHubSourceState, opts ...ResourceOption) (*AwrHubSource, error)
public static AwrHubSource Get(string name, Input<string> id, AwrHubSourceState? state, CustomResourceOptions? opts = null)
public static AwrHubSource get(String name, Output<String> id, AwrHubSourceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (Updatable) 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.
- 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, 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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- (Updatable) 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.
- 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]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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- (Updatable) 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.
- 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,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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
Source stringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id string - (Updatable) The OCID of the compartment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (Updatable) 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.
- 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]: 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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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_
source_ strdatabase_ id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment_
id str - (Updatable) The OCID of the compartment.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (Updatable) 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.
- 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, 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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
Source StringDatabase Id - DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- compartment
Id String - (Updatable) The OCID of the compartment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- (Updatable) 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.
- 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<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 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
(Updatable) source type of the database
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
AwrHubSources can be imported using the id
, e.g.
$ pulumi import oci:Opsi/awrHubSource:AwrHubSource test_awr_hub_source "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.