1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. IotIotDomainGroupConfigureDataAccess
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testIotDomainGroupConfigureDataAccess = new oci.oci.IotIotDomainGroupConfigureDataAccess("test_iot_domain_group_configure_data_access", {
        dbAllowListedVcnIds: iotDomainGroupConfigureDataAccessDbAllowListedVcnIds,
        iotDomainGroupId: testIotDomainGroup.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_iot_domain_group_configure_data_access = oci.oci.IotIotDomainGroupConfigureDataAccess("test_iot_domain_group_configure_data_access",
        db_allow_listed_vcn_ids=iot_domain_group_configure_data_access_db_allow_listed_vcn_ids,
        iot_domain_group_id=test_iot_domain_group["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewIotIotDomainGroupConfigureDataAccess(ctx, "test_iot_domain_group_configure_data_access", &oci.IotIotDomainGroupConfigureDataAccessArgs{
    			DbAllowListedVcnIds: pulumi.Any(iotDomainGroupConfigureDataAccessDbAllowListedVcnIds),
    			IotDomainGroupId:    pulumi.Any(testIotDomainGroup.Id),
    		})
    		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 testIotDomainGroupConfigureDataAccess = new Oci.Oci.IotIotDomainGroupConfigureDataAccess("test_iot_domain_group_configure_data_access", new()
        {
            DbAllowListedVcnIds = iotDomainGroupConfigureDataAccessDbAllowListedVcnIds,
            IotDomainGroupId = testIotDomainGroup.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.IotIotDomainGroupConfigureDataAccess;
    import com.pulumi.oci.oci.IotIotDomainGroupConfigureDataAccessArgs;
    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 testIotDomainGroupConfigureDataAccess = new IotIotDomainGroupConfigureDataAccess("testIotDomainGroupConfigureDataAccess", IotIotDomainGroupConfigureDataAccessArgs.builder()
                .dbAllowListedVcnIds(iotDomainGroupConfigureDataAccessDbAllowListedVcnIds)
                .iotDomainGroupId(testIotDomainGroup.id())
                .build());
    
        }
    }
    
    resources:
      testIotDomainGroupConfigureDataAccess:
        type: oci:oci:IotIotDomainGroupConfigureDataAccess
        name: test_iot_domain_group_configure_data_access
        properties:
          dbAllowListedVcnIds: ${iotDomainGroupConfigureDataAccessDbAllowListedVcnIds}
          iotDomainGroupId: ${testIotDomainGroup.id}
    

    Create IotIotDomainGroupConfigureDataAccess Resource

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

    Constructor syntax

    new IotIotDomainGroupConfigureDataAccess(name: string, args: IotIotDomainGroupConfigureDataAccessArgs, opts?: CustomResourceOptions);
    @overload
    def IotIotDomainGroupConfigureDataAccess(resource_name: str,
                                             args: IotIotDomainGroupConfigureDataAccessArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def IotIotDomainGroupConfigureDataAccess(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             db_allow_listed_vcn_ids: Optional[Sequence[str]] = None,
                                             iot_domain_group_id: Optional[str] = None)
    func NewIotIotDomainGroupConfigureDataAccess(ctx *Context, name string, args IotIotDomainGroupConfigureDataAccessArgs, opts ...ResourceOption) (*IotIotDomainGroupConfigureDataAccess, error)
    public IotIotDomainGroupConfigureDataAccess(string name, IotIotDomainGroupConfigureDataAccessArgs args, CustomResourceOptions? opts = null)
    public IotIotDomainGroupConfigureDataAccess(String name, IotIotDomainGroupConfigureDataAccessArgs args)
    public IotIotDomainGroupConfigureDataAccess(String name, IotIotDomainGroupConfigureDataAccessArgs args, CustomResourceOptions options)
    
    type: oci:oci:IotIotDomainGroupConfigureDataAccess
    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 IotIotDomainGroupConfigureDataAccessArgs
    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 IotIotDomainGroupConfigureDataAccessArgs
    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 IotIotDomainGroupConfigureDataAccessArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IotIotDomainGroupConfigureDataAccessArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IotIotDomainGroupConfigureDataAccessArgs
    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 iotIotDomainGroupConfigureDataAccessResource = new Oci.Oci.IotIotDomainGroupConfigureDataAccess("iotIotDomainGroupConfigureDataAccessResource", new()
    {
        DbAllowListedVcnIds = new[]
        {
            "string",
        },
        IotDomainGroupId = "string",
    });
    
    example, err := oci.NewIotIotDomainGroupConfigureDataAccess(ctx, "iotIotDomainGroupConfigureDataAccessResource", &oci.IotIotDomainGroupConfigureDataAccessArgs{
    	DbAllowListedVcnIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IotDomainGroupId: pulumi.String("string"),
    })
    
    var iotIotDomainGroupConfigureDataAccessResource = new IotIotDomainGroupConfigureDataAccess("iotIotDomainGroupConfigureDataAccessResource", IotIotDomainGroupConfigureDataAccessArgs.builder()
        .dbAllowListedVcnIds("string")
        .iotDomainGroupId("string")
        .build());
    
    iot_iot_domain_group_configure_data_access_resource = oci.oci.IotIotDomainGroupConfigureDataAccess("iotIotDomainGroupConfigureDataAccessResource",
        db_allow_listed_vcn_ids=["string"],
        iot_domain_group_id="string")
    
    const iotIotDomainGroupConfigureDataAccessResource = new oci.oci.IotIotDomainGroupConfigureDataAccess("iotIotDomainGroupConfigureDataAccessResource", {
        dbAllowListedVcnIds: ["string"],
        iotDomainGroupId: "string",
    });
    
    type: oci:oci:IotIotDomainGroupConfigureDataAccess
    properties:
        dbAllowListedVcnIds:
            - string
        iotDomainGroupId: string
    

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

    DbAllowListedVcnIds List<string>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    IotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    DbAllowListedVcnIds []string
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    IotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds List<String>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId String

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds string[]
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    db_allow_listed_vcn_ids Sequence[str]
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iot_domain_group_id str

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds List<String>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId String

    The OCID of an IoT Domain Group.

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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IotIotDomainGroupConfigureDataAccess Resource

    Get an existing IotIotDomainGroupConfigureDataAccess 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?: IotIotDomainGroupConfigureDataAccessState, opts?: CustomResourceOptions): IotIotDomainGroupConfigureDataAccess
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            db_allow_listed_vcn_ids: Optional[Sequence[str]] = None,
            iot_domain_group_id: Optional[str] = None) -> IotIotDomainGroupConfigureDataAccess
    func GetIotIotDomainGroupConfigureDataAccess(ctx *Context, name string, id IDInput, state *IotIotDomainGroupConfigureDataAccessState, opts ...ResourceOption) (*IotIotDomainGroupConfigureDataAccess, error)
    public static IotIotDomainGroupConfigureDataAccess Get(string name, Input<string> id, IotIotDomainGroupConfigureDataAccessState? state, CustomResourceOptions? opts = null)
    public static IotIotDomainGroupConfigureDataAccess get(String name, Output<String> id, IotIotDomainGroupConfigureDataAccessState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:IotIotDomainGroupConfigureDataAccess    get:      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:
    DbAllowListedVcnIds List<string>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    IotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    DbAllowListedVcnIds []string
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    IotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds List<String>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId String

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds string[]
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId string

    The OCID of an IoT Domain Group.

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

    db_allow_listed_vcn_ids Sequence[str]
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iot_domain_group_id str

    The OCID of an IoT Domain Group.

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

    dbAllowListedVcnIds List<String>
    This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
    iotDomainGroupId String

    The OCID of an IoT Domain Group.

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

    Import is not supported for this resource.

    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.
    oci logo
    Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate