import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Resource Analytics Instance Oac Management resource in Oracle Cloud Infrastructure Resource Analytics service. * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * Attaches an OAC instance to a ResourceAnalyticsInstance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testResourceAnalyticsInstanceOacManagement = new oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("test_resource_analytics_instance_oac_management", { * attachmentType: resourceAnalyticsInstanceOacManagementAttachmentType, * resourceAnalyticsInstanceId: testResourceAnalyticsInstance.id, * enableOac: enableOac === "true", * attachmentDetails: { * idcsDomainId: testDomain.id, * capacityType: resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType, * capacityValue: Number(resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue), * licenseModel: resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel, * networkDetails: { * subnetId: testSubnet.id, * nsgIds: resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds, * }, * }, * }); * ``` */ export declare class ResourceAnalyticsResourceAnalyticsInstanceOacManagement extends pulumi.CustomResource { /** * Get an existing ResourceAnalyticsResourceAnalyticsInstanceOacManagement resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ResourceAnalyticsResourceAnalyticsInstanceOacManagementState, opts?: pulumi.CustomResourceOptions): ResourceAnalyticsResourceAnalyticsInstanceOacManagement; /** * Returns true if the given object is an instance of ResourceAnalyticsResourceAnalyticsInstanceOacManagement. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ResourceAnalyticsResourceAnalyticsInstanceOacManagement; /** * Additional details needed when attaching the OAC instance. Example: `{"idcsDomainId":"ocid...","networkDetails":{...}, ...}` */ readonly attachmentDetails: pulumi.Output; /** * The type of attachment the OAC instance is using. Example: `MANAGED` */ readonly attachmentType: pulumi.Output; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ readonly enableOac: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. */ readonly resourceAnalyticsInstanceId: pulumi.Output; /** * The current state of the ResourceAnalyticsInstance. */ readonly state: pulumi.Output; /** * Create a ResourceAnalyticsResourceAnalyticsInstanceOacManagement resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourceAnalyticsResourceAnalyticsInstanceOacManagement resources. */ export interface ResourceAnalyticsResourceAnalyticsInstanceOacManagementState { /** * Additional details needed when attaching the OAC instance. Example: `{"idcsDomainId":"ocid...","networkDetails":{...}, ...}` */ attachmentDetails?: pulumi.Input; /** * The type of attachment the OAC instance is using. Example: `MANAGED` */ attachmentType?: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ enableOac?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. */ resourceAnalyticsInstanceId?: pulumi.Input; /** * The current state of the ResourceAnalyticsInstance. */ state?: pulumi.Input; } /** * The set of arguments for constructing a ResourceAnalyticsResourceAnalyticsInstanceOacManagement resource. */ export interface ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs { /** * Additional details needed when attaching the OAC instance. Example: `{"idcsDomainId":"ocid...","networkDetails":{...}, ...}` */ attachmentDetails?: pulumi.Input; /** * The type of attachment the OAC instance is using. Example: `MANAGED` */ attachmentType?: pulumi.Input; /** * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. */ enableOac: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. */ resourceAnalyticsInstanceId: pulumi.Input; } //# sourceMappingURL=resourceAnalyticsResourceAnalyticsInstanceOacManagement.d.ts.map