1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Opsi
  5. AwrHub
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Opsi.AwrHub

Explore with Pulumi AI

This resource provides the Awr Hub resource in Oracle Cloud Infrastructure Opsi service.

Create a AWR hub resource for the tenant in Operations Insights. This resource will be created in root compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAwrHub = new oci.opsi.AwrHub("test_awr_hub", {
    compartmentId: compartmentId,
    displayName: awrHubDisplayName,
    operationsInsightsWarehouseId: testOperationsInsightsWarehouse.id,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    freeformTags: {
        "bar-key": "value",
    },
    objectStorageBucketName: testBucket.name,
});
Copy
import pulumi
import pulumi_oci as oci

test_awr_hub = oci.opsi.AwrHub("test_awr_hub",
    compartment_id=compartment_id,
    display_name=awr_hub_display_name,
    operations_insights_warehouse_id=test_operations_insights_warehouse["id"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    freeform_tags={
        "bar-key": "value",
    },
    object_storage_bucket_name=test_bucket["name"])
Copy
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.NewAwrHub(ctx, "test_awr_hub", &opsi.AwrHubArgs{
			CompartmentId:                 pulumi.Any(compartmentId),
			DisplayName:                   pulumi.Any(awrHubDisplayName),
			OperationsInsightsWarehouseId: pulumi.Any(testOperationsInsightsWarehouse.Id),
			DefinedTags: pulumi.StringMap{
				"foo-namespace.bar-key": pulumi.String("value"),
			},
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			ObjectStorageBucketName: pulumi.Any(testBucket.Name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAwrHub = new Oci.Opsi.AwrHub("test_awr_hub", new()
    {
        CompartmentId = compartmentId,
        DisplayName = awrHubDisplayName,
        OperationsInsightsWarehouseId = testOperationsInsightsWarehouse.Id,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        ObjectStorageBucketName = testBucket.Name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Opsi.AwrHub;
import com.pulumi.oci.Opsi.AwrHubArgs;
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 testAwrHub = new AwrHub("testAwrHub", AwrHubArgs.builder()
            .compartmentId(compartmentId)
            .displayName(awrHubDisplayName)
            .operationsInsightsWarehouseId(testOperationsInsightsWarehouse.id())
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .freeformTags(Map.of("bar-key", "value"))
            .objectStorageBucketName(testBucket.name())
            .build());

    }
}
Copy
resources:
  testAwrHub:
    type: oci:Opsi:AwrHub
    name: test_awr_hub
    properties:
      compartmentId: ${compartmentId}
      displayName: ${awrHubDisplayName}
      operationsInsightsWarehouseId: ${testOperationsInsightsWarehouse.id}
      definedTags:
        foo-namespace.bar-key: value
      freeformTags:
        bar-key: value
      objectStorageBucketName: ${testBucket.name}
Copy

Create AwrHub Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AwrHub(name: string, args: AwrHubArgs, opts?: CustomResourceOptions);
@overload
def AwrHub(resource_name: str,
           args: AwrHubArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def AwrHub(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           compartment_id: Optional[str] = None,
           display_name: Optional[str] = None,
           operations_insights_warehouse_id: Optional[str] = None,
           defined_tags: Optional[Mapping[str, str]] = None,
           freeform_tags: Optional[Mapping[str, str]] = None,
           object_storage_bucket_name: Optional[str] = None)
func NewAwrHub(ctx *Context, name string, args AwrHubArgs, opts ...ResourceOption) (*AwrHub, error)
public AwrHub(string name, AwrHubArgs args, CustomResourceOptions? opts = null)
public AwrHub(String name, AwrHubArgs args)
public AwrHub(String name, AwrHubArgs args, CustomResourceOptions options)
type: oci:Opsi:AwrHub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AwrHubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AwrHubArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AwrHubArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AwrHubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AwrHubArgs
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 awrHubResource = new Oci.Opsi.AwrHub("awrHubResource", new()
{
    CompartmentId = "string",
    DisplayName = "string",
    OperationsInsightsWarehouseId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    ObjectStorageBucketName = "string",
});
Copy
example, err := Opsi.NewAwrHub(ctx, "awrHubResource", &Opsi.AwrHubArgs{
	CompartmentId:                 pulumi.String("string"),
	DisplayName:                   pulumi.String("string"),
	OperationsInsightsWarehouseId: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ObjectStorageBucketName: pulumi.String("string"),
})
Copy
var awrHubResource = new AwrHub("awrHubResource", AwrHubArgs.builder()
    .compartmentId("string")
    .displayName("string")
    .operationsInsightsWarehouseId("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .objectStorageBucketName("string")
    .build());
Copy
awr_hub_resource = oci.opsi.AwrHub("awrHubResource",
    compartment_id="string",
    display_name="string",
    operations_insights_warehouse_id="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    object_storage_bucket_name="string")
Copy
const awrHubResource = new oci.opsi.AwrHub("awrHubResource", {
    compartmentId: "string",
    displayName: "string",
    operationsInsightsWarehouseId: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    objectStorageBucketName: "string",
});
Copy
type: oci:Opsi:AwrHub
properties:
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
    objectStorageBucketName: string
    operationsInsightsWarehouseId: string
Copy

AwrHub 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 AwrHub resource accepts the following input properties:

CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the compartment.
DisplayName This property is required. string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
OperationsInsightsWarehouseId
This property is required.
Changes to this property will trigger replacement.
string

OPSI Warehouse OCID

** 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

DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
FreeformTags 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"}
ObjectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
CompartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the compartment.
DisplayName This property is required. string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
OperationsInsightsWarehouseId
This property is required.
Changes to this property will trigger replacement.
string

OPSI Warehouse OCID

** 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

DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
FreeformTags 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"}
ObjectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
compartmentId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the compartment.
displayName This property is required. String
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
operationsInsightsWarehouseId
This property is required.
Changes to this property will trigger replacement.
String

OPSI Warehouse OCID

** 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

definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
freeformTags 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"}
objectStorageBucketName Changes to this property will trigger replacement. String
Object Storage Bucket Name
compartmentId
This property is required.
Changes to this property will trigger replacement.
string
The OCID of the compartment.
displayName This property is required. string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
operationsInsightsWarehouseId
This property is required.
Changes to this property will trigger replacement.
string

OPSI Warehouse OCID

** 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

definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
freeformTags {[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"}
objectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
compartment_id
This property is required.
Changes to this property will trigger replacement.
str
The OCID of the compartment.
display_name This property is required. str
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
operations_insights_warehouse_id
This property is required.
Changes to this property will trigger replacement.
str

OPSI Warehouse OCID

** 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

defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
freeform_tags 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"}
object_storage_bucket_name Changes to this property will trigger replacement. str
Object Storage Bucket Name
compartmentId
This property is required.
Changes to this property will trigger replacement.
String
The OCID of the compartment.
displayName This property is required. String
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
operationsInsightsWarehouseId
This property is required.
Changes to this property will trigger replacement.
String

OPSI Warehouse OCID

** 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

definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
freeformTags 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"}
objectStorageBucketName Changes to this property will trigger replacement. String
Object Storage Bucket Name

Outputs

All input properties are implicitly available as output properties. Additionally, the AwrHub resource produces the following output properties:

AwrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
HubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
State string
Possible lifecycle states
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
AwrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
HubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
Id string
The provider-assigned unique ID for this managed resource.
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
State string
Possible lifecycle states
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl String
Mailbox URL required for AWR hub and AWR source setup.
hubDstTimezoneVersion String
Dst Time Zone Version of the AWR Hub
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state String
Possible lifecycle states
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
hubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
id string
The provider-assigned unique ID for this managed resource.
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state string
Possible lifecycle states
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
awr_mailbox_url str
Mailbox URL required for AWR hub and AWR source setup.
hub_dst_timezone_version str
Dst Time Zone Version of the AWR Hub
id str
The provider-assigned unique ID for this managed resource.
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.
state str
Possible lifecycle states
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The time at which the resource was first created. An RFC3339 formatted datetime string
time_updated str
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl String
Mailbox URL required for AWR hub and AWR source setup.
hubDstTimezoneVersion String
Dst Time Zone Version of the AWR Hub
id String
The provider-assigned unique ID for this managed resource.
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
state String
Possible lifecycle states
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string

Look up Existing AwrHub Resource

Get an existing AwrHub 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?: AwrHubState, opts?: CustomResourceOptions): AwrHub
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        awr_mailbox_url: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        hub_dst_timezone_version: Optional[str] = None,
        lifecycle_details: Optional[str] = None,
        object_storage_bucket_name: Optional[str] = None,
        operations_insights_warehouse_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> AwrHub
func GetAwrHub(ctx *Context, name string, id IDInput, state *AwrHubState, opts ...ResourceOption) (*AwrHub, error)
public static AwrHub Get(string name, Input<string> id, AwrHubState? state, CustomResourceOptions? opts = null)
public static AwrHub get(String name, Output<String> id, AwrHubState state, CustomResourceOptions options)
resources:  _:    type: oci:Opsi:AwrHub    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AwrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
CompartmentId Changes to this property will trigger replacement. string
The OCID of the compartment.
DefinedTags Dictionary<string, string>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
FreeformTags 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"}
HubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
ObjectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
OperationsInsightsWarehouseId Changes to this property will trigger replacement. string

OPSI Warehouse OCID

** 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

State string
Possible lifecycle states
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
AwrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
CompartmentId Changes to this property will trigger replacement. string
The OCID of the compartment.
DefinedTags map[string]string
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
DisplayName string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
FreeformTags 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"}
HubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
LifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
ObjectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
OperationsInsightsWarehouseId Changes to this property will trigger replacement. string

OPSI Warehouse OCID

** 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

State string
Possible lifecycle states
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
TimeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl String
Mailbox URL required for AWR hub and AWR source setup.
compartmentId Changes to this property will trigger replacement. String
The OCID of the compartment.
definedTags Map<String,String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName String
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
freeformTags 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"}
hubDstTimezoneVersion String
Dst Time Zone Version of the AWR Hub
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName Changes to this property will trigger replacement. String
Object Storage Bucket Name
operationsInsightsWarehouseId Changes to this property will trigger replacement. String

OPSI Warehouse OCID

** 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

state String
Possible lifecycle states
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl string
Mailbox URL required for AWR hub and AWR source setup.
compartmentId Changes to this property will trigger replacement. string
The OCID of the compartment.
definedTags {[key: string]: string}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName string
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
freeformTags {[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"}
hubDstTimezoneVersion string
Dst Time Zone Version of the AWR Hub
lifecycleDetails string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName Changes to this property will trigger replacement. string
Object Storage Bucket Name
operationsInsightsWarehouseId Changes to this property will trigger replacement. string

OPSI Warehouse OCID

** 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

state string
Possible lifecycle states
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated string
The time at which the resource was last updated. An RFC3339 formatted datetime string
awr_mailbox_url str
Mailbox URL required for AWR hub and AWR source setup.
compartment_id Changes to this property will trigger replacement. str
The OCID of the compartment.
defined_tags Mapping[str, str]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
display_name str
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
freeform_tags 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"}
hub_dst_timezone_version str
Dst Time Zone Version of the AWR Hub
lifecycle_details str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
object_storage_bucket_name Changes to this property will trigger replacement. str
Object Storage Bucket Name
operations_insights_warehouse_id Changes to this property will trigger replacement. str

OPSI Warehouse OCID

** 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

state str
Possible lifecycle states
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The time at which the resource was first created. An RFC3339 formatted datetime string
time_updated str
The time at which the resource was last updated. An RFC3339 formatted datetime string
awrMailboxUrl String
Mailbox URL required for AWR hub and AWR source setup.
compartmentId Changes to this property will trigger replacement. String
The OCID of the compartment.
definedTags Map<String>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
displayName String
(Updatable) User-friedly name of AWR Hub that does not have to be unique.
freeformTags 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"}
hubDstTimezoneVersion String
Dst Time Zone Version of the AWR Hub
lifecycleDetails String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
objectStorageBucketName Changes to this property will trigger replacement. String
Object Storage Bucket Name
operationsInsightsWarehouseId Changes to this property will trigger replacement. String

OPSI Warehouse OCID

** 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

state String
Possible lifecycle states
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The time at which the resource was first created. An RFC3339 formatted datetime string
timeUpdated String
The time at which the resource was last updated. An RFC3339 formatted datetime string

Import

AwrHubs can be imported using the id, e.g.

$ pulumi import oci:Opsi/awrHub:AwrHub test_awr_hub "id"
Copy

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.