1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. ResourceAnalyticsResourceAnalyticsInstanceOacManagement
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi

    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

    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,
            },
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_resource_analytics_instance_oac_management = oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("test_resource_analytics_instance_oac_management",
        attachment_type=resource_analytics_instance_oac_management_attachment_type,
        resource_analytics_instance_id=test_resource_analytics_instance["id"],
        enable_oac=enable_oac == "true",
        attachment_details={
            "idcs_domain_id": test_domain["id"],
            "capacity_type": resource_analytics_instance_oac_management_attachment_details_capacity_type,
            "capacity_value": int(resource_analytics_instance_oac_management_attachment_details_capacity_value),
            "license_model": resource_analytics_instance_oac_management_attachment_details_license_model,
            "network_details": {
                "subnet_id": test_subnet["id"],
                "nsg_ids": resource_analytics_instance_oac_management_attachment_details_network_details_nsg_ids,
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewResourceAnalyticsResourceAnalyticsInstanceOacManagement(ctx, "test_resource_analytics_instance_oac_management", &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs{
    			AttachmentType:              pulumi.Any(resourceAnalyticsInstanceOacManagementAttachmentType),
    			ResourceAnalyticsInstanceId: pulumi.Any(testResourceAnalyticsInstance.Id),
    			EnableOac:                   pulumi.Any(enableOac),
    			AttachmentDetails: &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs{
    				IdcsDomainId:  pulumi.Any(testDomain.Id),
    				CapacityType:  pulumi.Any(resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType),
    				CapacityValue: pulumi.Any(resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue),
    				LicenseModel:  pulumi.Any(resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel),
    				NetworkDetails: &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs{
    					SubnetId: pulumi.Any(testSubnet.Id),
    					NsgIds:   pulumi.Any(resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds),
    				},
    			},
    		})
    		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 testResourceAnalyticsInstanceOacManagement = new Oci.Oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("test_resource_analytics_instance_oac_management", new()
        {
            AttachmentType = resourceAnalyticsInstanceOacManagementAttachmentType,
            ResourceAnalyticsInstanceId = testResourceAnalyticsInstance.Id,
            EnableOac = enableOac,
            AttachmentDetails = new Oci.Oci.Inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
            {
                IdcsDomainId = testDomain.Id,
                CapacityType = resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType,
                CapacityValue = resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue,
                LicenseModel = resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel,
                NetworkDetails = new Oci.Oci.Inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs
                {
                    SubnetId = testSubnet.Id,
                    NsgIds = resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement;
    import com.pulumi.oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs;
    import com.pulumi.oci.oci.inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs;
    import com.pulumi.oci.oci.inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testResourceAnalyticsInstanceOacManagement = new ResourceAnalyticsResourceAnalyticsInstanceOacManagement("testResourceAnalyticsInstanceOacManagement", ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs.builder()
                .attachmentType(resourceAnalyticsInstanceOacManagementAttachmentType)
                .resourceAnalyticsInstanceId(testResourceAnalyticsInstance.id())
                .enableOac(enableOac)
                .attachmentDetails(ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs.builder()
                    .idcsDomainId(testDomain.id())
                    .capacityType(resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType)
                    .capacityValue(resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue)
                    .licenseModel(resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel)
                    .networkDetails(ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs.builder()
                        .subnetId(testSubnet.id())
                        .nsgIds(resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testResourceAnalyticsInstanceOacManagement:
        type: oci:oci:ResourceAnalyticsResourceAnalyticsInstanceOacManagement
        name: test_resource_analytics_instance_oac_management
        properties:
          attachmentType: ${resourceAnalyticsInstanceOacManagementAttachmentType}
          resourceAnalyticsInstanceId: ${testResourceAnalyticsInstance.id}
          enableOac: ${enableOac}
          attachmentDetails:
            idcsDomainId: ${testDomain.id}
            capacityType: ${resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType}
            capacityValue: ${resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue}
            licenseModel: ${resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel}
            networkDetails:
              subnetId: ${testSubnet.id}
              nsgIds: ${resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_resourceanalyticsresourceanalyticsinstanceoacmanagement" "test_resource_analytics_instance_oac_management" {
      attachment_type                = resourceAnalyticsInstanceOacManagementAttachmentType
      resource_analytics_instance_id = testResourceAnalyticsInstance.id
      enable_oac                     = enableOac
      attachment_details = {
        idcs_domain_id = testDomain.id
        capacity_type  = resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityType
        capacity_value = resourceAnalyticsInstanceOacManagementAttachmentDetailsCapacityValue
        license_model  = resourceAnalyticsInstanceOacManagementAttachmentDetailsLicenseModel
        network_details = {
          subnet_id = testSubnet.id
          nsg_ids   = resourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsNsgIds
        }
      }
    }
    

    Create ResourceAnalyticsResourceAnalyticsInstanceOacManagement Resource

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

    Constructor syntax

    new ResourceAnalyticsResourceAnalyticsInstanceOacManagement(name: string, args: ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceAnalyticsResourceAnalyticsInstanceOacManagement(resource_name: str,
                                                                args: ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs,
                                                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceAnalyticsResourceAnalyticsInstanceOacManagement(resource_name: str,
                                                                opts: Optional[ResourceOptions] = None,
                                                                enable_oac: Optional[bool] = None,
                                                                resource_analytics_instance_id: Optional[str] = None,
                                                                attachment_details: Optional[ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs] = None,
                                                                attachment_type: Optional[str] = None)
    func NewResourceAnalyticsResourceAnalyticsInstanceOacManagement(ctx *Context, name string, args ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs, opts ...ResourceOption) (*ResourceAnalyticsResourceAnalyticsInstanceOacManagement, error)
    public ResourceAnalyticsResourceAnalyticsInstanceOacManagement(string name, ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs args, CustomResourceOptions? opts = null)
    public ResourceAnalyticsResourceAnalyticsInstanceOacManagement(String name, ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs args)
    public ResourceAnalyticsResourceAnalyticsInstanceOacManagement(String name, ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs args, CustomResourceOptions options)
    
    type: oci:oci:ResourceAnalyticsResourceAnalyticsInstanceOacManagement
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_resourceanalyticsresourceanalyticsinstanceoacmanagement" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs
    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 ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs
    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 ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs
    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 resourceAnalyticsResourceAnalyticsInstanceOacManagementResource = new Oci.Oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("resourceAnalyticsResourceAnalyticsInstanceOacManagementResource", new()
    {
        EnableOac = false,
        ResourceAnalyticsInstanceId = "string",
        AttachmentDetails = new Oci.Oci.Inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
        {
            CapacityType = "string",
            CapacityValue = 0,
            IdcsDomainId = "string",
            LicenseModel = "string",
            NetworkDetails = new Oci.Oci.Inputs.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs
            {
                NsgIds = new[]
                {
                    "string",
                },
                SubnetId = "string",
            },
            NsgIds = new[]
            {
                "string",
            },
            SubnetId = "string",
        },
        AttachmentType = "string",
    });
    
    example, err := oci.NewResourceAnalyticsResourceAnalyticsInstanceOacManagement(ctx, "resourceAnalyticsResourceAnalyticsInstanceOacManagementResource", &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs{
    	EnableOac:                   pulumi.Bool(false),
    	ResourceAnalyticsInstanceId: pulumi.String("string"),
    	AttachmentDetails: &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs{
    		CapacityType:  pulumi.String("string"),
    		CapacityValue: pulumi.Int(0),
    		IdcsDomainId:  pulumi.String("string"),
    		LicenseModel:  pulumi.String("string"),
    		NetworkDetails: &oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs{
    			NsgIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SubnetId: pulumi.String("string"),
    		},
    		NsgIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SubnetId: pulumi.String("string"),
    	},
    	AttachmentType: pulumi.String("string"),
    })
    
    resource "oci_oci_resourceanalyticsresourceanalyticsinstanceoacmanagement" "resourceAnalyticsResourceAnalyticsInstanceOacManagementResource" {
      enable_oac                     = false
      resource_analytics_instance_id = "string"
      attachment_details = {
        capacity_type  = "string"
        capacity_value = 0
        idcs_domain_id = "string"
        license_model  = "string"
        network_details = {
          nsg_ids   = ["string"]
          subnet_id = "string"
        }
        nsg_ids   = ["string"]
        subnet_id = "string"
      }
      attachment_type = "string"
    }
    
    var resourceAnalyticsResourceAnalyticsInstanceOacManagementResource = new ResourceAnalyticsResourceAnalyticsInstanceOacManagement("resourceAnalyticsResourceAnalyticsInstanceOacManagementResource", ResourceAnalyticsResourceAnalyticsInstanceOacManagementArgs.builder()
        .enableOac(false)
        .resourceAnalyticsInstanceId("string")
        .attachmentDetails(ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs.builder()
            .capacityType("string")
            .capacityValue(0)
            .idcsDomainId("string")
            .licenseModel("string")
            .networkDetails(ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs.builder()
                .nsgIds("string")
                .subnetId("string")
                .build())
            .nsgIds("string")
            .subnetId("string")
            .build())
        .attachmentType("string")
        .build());
    
    resource_analytics_resource_analytics_instance_oac_management_resource = oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("resourceAnalyticsResourceAnalyticsInstanceOacManagementResource",
        enable_oac=False,
        resource_analytics_instance_id="string",
        attachment_details={
            "capacity_type": "string",
            "capacity_value": 0,
            "idcs_domain_id": "string",
            "license_model": "string",
            "network_details": {
                "nsg_ids": ["string"],
                "subnet_id": "string",
            },
            "nsg_ids": ["string"],
            "subnet_id": "string",
        },
        attachment_type="string")
    
    const resourceAnalyticsResourceAnalyticsInstanceOacManagementResource = new oci.oci.ResourceAnalyticsResourceAnalyticsInstanceOacManagement("resourceAnalyticsResourceAnalyticsInstanceOacManagementResource", {
        enableOac: false,
        resourceAnalyticsInstanceId: "string",
        attachmentDetails: {
            capacityType: "string",
            capacityValue: 0,
            idcsDomainId: "string",
            licenseModel: "string",
            networkDetails: {
                nsgIds: ["string"],
                subnetId: "string",
            },
            nsgIds: ["string"],
            subnetId: "string",
        },
        attachmentType: "string",
    });
    
    type: oci:oci:ResourceAnalyticsResourceAnalyticsInstanceOacManagement
    properties:
        attachmentDetails:
            capacityType: string
            capacityValue: 0
            idcsDomainId: string
            licenseModel: string
            networkDetails:
                nsgIds:
                    - string
                subnetId: string
            nsgIds:
                - string
            subnetId: string
        attachmentType: string
        enableOac: false
        resourceAnalyticsInstanceId: string
    

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

    EnableOac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    AttachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    AttachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    EnableOac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    AttachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    AttachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    enable_oac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resource_analytics_instance_id string
    The OCID of the ResourceAnalyticsInstance.
    attachment_details object
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachment_type string
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac Boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.
    attachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType String
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    attachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    enable_oac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resource_analytics_instance_id str
    The OCID of the ResourceAnalyticsInstance.
    attachment_details ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachment_type str
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac Boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.
    attachmentDetails Property Map
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType String
    The type of attachment the OAC instance is using. Example: MANAGED

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the ResourceAnalyticsInstance.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the ResourceAnalyticsInstance.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the ResourceAnalyticsInstance.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the ResourceAnalyticsInstance.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the ResourceAnalyticsInstance.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the ResourceAnalyticsInstance.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the ResourceAnalyticsInstance.

    Look up Existing ResourceAnalyticsResourceAnalyticsInstanceOacManagement Resource

    Get an existing ResourceAnalyticsResourceAnalyticsInstanceOacManagement 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?: ResourceAnalyticsResourceAnalyticsInstanceOacManagementState, opts?: CustomResourceOptions): ResourceAnalyticsResourceAnalyticsInstanceOacManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attachment_details: Optional[ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs] = None,
            attachment_type: Optional[str] = None,
            enable_oac: Optional[bool] = None,
            resource_analytics_instance_id: Optional[str] = None,
            state: Optional[str] = None) -> ResourceAnalyticsResourceAnalyticsInstanceOacManagement
    func GetResourceAnalyticsResourceAnalyticsInstanceOacManagement(ctx *Context, name string, id IDInput, state *ResourceAnalyticsResourceAnalyticsInstanceOacManagementState, opts ...ResourceOption) (*ResourceAnalyticsResourceAnalyticsInstanceOacManagement, error)
    public static ResourceAnalyticsResourceAnalyticsInstanceOacManagement Get(string name, Input<string> id, ResourceAnalyticsResourceAnalyticsInstanceOacManagementState? state, CustomResourceOptions? opts = null)
    public static ResourceAnalyticsResourceAnalyticsInstanceOacManagement get(String name, Output<String> id, ResourceAnalyticsResourceAnalyticsInstanceOacManagementState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:ResourceAnalyticsResourceAnalyticsInstanceOacManagement    get:      id: ${id}
    import {
      to = oci_oci_resourceanalyticsresourceanalyticsinstanceoacmanagement.example
      id = "${id}"
    }
    
    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.
    The following state arguments are supported:
    AttachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    AttachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    EnableOac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    State string
    The current state of the ResourceAnalyticsInstance.
    AttachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    AttachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    EnableOac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    ResourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    State string
    The current state of the ResourceAnalyticsInstance.
    attachment_details object
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachment_type string
    The type of attachment the OAC instance is using. Example: MANAGED
    enable_oac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resource_analytics_instance_id string
    The OCID of the ResourceAnalyticsInstance.
    state string
    The current state of the ResourceAnalyticsInstance.
    attachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType String
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac Boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.
    state String
    The current state of the ResourceAnalyticsInstance.
    attachmentDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType string
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId string
    The OCID of the ResourceAnalyticsInstance.
    state string
    The current state of the ResourceAnalyticsInstance.
    attachment_details ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachment_type str
    The type of attachment the OAC instance is using. Example: MANAGED
    enable_oac bool
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resource_analytics_instance_id str
    The OCID of the ResourceAnalyticsInstance.
    state str
    The current state of the ResourceAnalyticsInstance.
    attachmentDetails Property Map
    Additional details needed when attaching the OAC instance. Example: {"idcsDomainId":"ocid...","networkDetails":{...}, ...}
    attachmentType String
    The type of attachment the OAC instance is using. Example: MANAGED
    enableOac Boolean
    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.
    resourceAnalyticsInstanceId String
    The OCID of the ResourceAnalyticsInstance.
    state String
    The current state of the ResourceAnalyticsInstance.

    Supporting Types

    ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetails, ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsArgs

    CapacityType string
    The capacity model to use for the Analytics Instance.
    CapacityValue int
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    IdcsDomainId string
    IDCS domain OCID identifying a stripe and service administrator user.
    LicenseModel string
    The Oracle license model that applies to the OAC instance.
    NetworkDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    NsgIds List<string>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    SubnetId string

    The OCID of the subnet for the private network details.

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

    CapacityType string
    The capacity model to use for the Analytics Instance.
    CapacityValue int
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    IdcsDomainId string
    IDCS domain OCID identifying a stripe and service administrator user.
    LicenseModel string
    The Oracle license model that applies to the OAC instance.
    NetworkDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    NsgIds []string
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    SubnetId string

    The OCID of the subnet for the private network details.

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

    capacity_type string
    The capacity model to use for the Analytics Instance.
    capacity_value number
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    idcs_domain_id string
    IDCS domain OCID identifying a stripe and service administrator user.
    license_model string
    The Oracle license model that applies to the OAC instance.
    network_details object
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    nsg_ids list(string)
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnet_id string

    The OCID of the subnet for the private network details.

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

    capacityType String
    The capacity model to use for the Analytics Instance.
    capacityValue Integer
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    idcsDomainId String
    IDCS domain OCID identifying a stripe and service administrator user.
    licenseModel String
    The Oracle license model that applies to the OAC instance.
    networkDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    nsgIds List<String>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId String

    The OCID of the subnet for the private network details.

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

    capacityType string
    The capacity model to use for the Analytics Instance.
    capacityValue number
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    idcsDomainId string
    IDCS domain OCID identifying a stripe and service administrator user.
    licenseModel string
    The Oracle license model that applies to the OAC instance.
    networkDetails ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    nsgIds string[]
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId string

    The OCID of the subnet for the private network details.

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

    capacity_type str
    The capacity model to use for the Analytics Instance.
    capacity_value int
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    idcs_domain_id str
    IDCS domain OCID identifying a stripe and service administrator user.
    license_model str
    The Oracle license model that applies to the OAC instance.
    network_details ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    nsg_ids Sequence[str]
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnet_id str

    The OCID of the subnet for the private network details.

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

    capacityType String
    The capacity model to use for the Analytics Instance.
    capacityValue Number
    The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT). This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics Instance.
    idcsDomainId String
    IDCS domain OCID identifying a stripe and service administrator user.
    licenseModel String
    The Oracle license model that applies to the OAC instance.
    networkDetails Property Map
    Details required when provisioning OAC on a private network. Example: {"subnetId":"ocid...", ...}
    nsgIds List<String>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId String

    The OCID of the subnet for the private network details.

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

    ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetails, ResourceAnalyticsResourceAnalyticsInstanceOacManagementAttachmentDetailsNetworkDetailsArgs

    NsgIds List<string>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    SubnetId string

    The OCID of the subnet for the private network details.

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

    NsgIds []string
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    SubnetId string

    The OCID of the subnet for the private network details.

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

    nsg_ids list(string)
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnet_id string

    The OCID of the subnet for the private network details.

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

    nsgIds List<String>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId String

    The OCID of the subnet for the private network details.

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

    nsgIds string[]
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId string

    The OCID of the subnet for the private network details.

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

    nsg_ids Sequence[str]
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnet_id str

    The OCID of the subnet for the private network details.

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

    nsgIds List<String>
    List of Network Security Group OCID's for the private network details. Example: ["ocid...", "ocid..."]
    subnetId String

    The OCID of the subnet for the private network details.

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial