1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. IotIotDomainConfigureDataAccess
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 testIotDomainConfigureDataAccess = new oci.oci.IotIotDomainConfigureDataAccess("test_iot_domain_configure_data_access", {
        iotDomainId: testIotDomain.id,
        type: iotDomainConfigureDataAccessType,
        dbAllowListedIdentityGroupNames: iotDomainConfigureDataAccessDbAllowListedIdentityGroupNames,
        dbAllowedIdentityDomainHost: iotDomainConfigureDataAccessDbAllowedIdentityDomainHost,
        dbWorkspaceAdminInitialPassword: iotDomainConfigureDataAccessDbWorkspaceAdminInitialPassword,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_iot_domain_configure_data_access = oci.oci.IotIotDomainConfigureDataAccess("test_iot_domain_configure_data_access",
        iot_domain_id=test_iot_domain["id"],
        type=iot_domain_configure_data_access_type,
        db_allow_listed_identity_group_names=iot_domain_configure_data_access_db_allow_listed_identity_group_names,
        db_allowed_identity_domain_host=iot_domain_configure_data_access_db_allowed_identity_domain_host,
        db_workspace_admin_initial_password=iot_domain_configure_data_access_db_workspace_admin_initial_password)
    
    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.NewIotIotDomainConfigureDataAccess(ctx, "test_iot_domain_configure_data_access", &oci.IotIotDomainConfigureDataAccessArgs{
    			IotDomainId:                     pulumi.Any(testIotDomain.Id),
    			Type:                            pulumi.Any(iotDomainConfigureDataAccessType),
    			DbAllowListedIdentityGroupNames: pulumi.Any(iotDomainConfigureDataAccessDbAllowListedIdentityGroupNames),
    			DbAllowedIdentityDomainHost:     pulumi.Any(iotDomainConfigureDataAccessDbAllowedIdentityDomainHost),
    			DbWorkspaceAdminInitialPassword: pulumi.Any(iotDomainConfigureDataAccessDbWorkspaceAdminInitialPassword),
    		})
    		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 testIotDomainConfigureDataAccess = new Oci.Oci.IotIotDomainConfigureDataAccess("test_iot_domain_configure_data_access", new()
        {
            IotDomainId = testIotDomain.Id,
            Type = iotDomainConfigureDataAccessType,
            DbAllowListedIdentityGroupNames = iotDomainConfigureDataAccessDbAllowListedIdentityGroupNames,
            DbAllowedIdentityDomainHost = iotDomainConfigureDataAccessDbAllowedIdentityDomainHost,
            DbWorkspaceAdminInitialPassword = iotDomainConfigureDataAccessDbWorkspaceAdminInitialPassword,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.IotIotDomainConfigureDataAccess;
    import com.pulumi.oci.oci.IotIotDomainConfigureDataAccessArgs;
    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 testIotDomainConfigureDataAccess = new IotIotDomainConfigureDataAccess("testIotDomainConfigureDataAccess", IotIotDomainConfigureDataAccessArgs.builder()
                .iotDomainId(testIotDomain.id())
                .type(iotDomainConfigureDataAccessType)
                .dbAllowListedIdentityGroupNames(iotDomainConfigureDataAccessDbAllowListedIdentityGroupNames)
                .dbAllowedIdentityDomainHost(iotDomainConfigureDataAccessDbAllowedIdentityDomainHost)
                .dbWorkspaceAdminInitialPassword(iotDomainConfigureDataAccessDbWorkspaceAdminInitialPassword)
                .build());
    
        }
    }
    
    resources:
      testIotDomainConfigureDataAccess:
        type: oci:oci:IotIotDomainConfigureDataAccess
        name: test_iot_domain_configure_data_access
        properties:
          iotDomainId: ${testIotDomain.id}
          type: ${iotDomainConfigureDataAccessType}
          dbAllowListedIdentityGroupNames: ${iotDomainConfigureDataAccessDbAllowListedIdentityGroupNames}
          dbAllowedIdentityDomainHost: ${iotDomainConfigureDataAccessDbAllowedIdentityDomainHost}
          dbWorkspaceAdminInitialPassword: ${iotDomainConfigureDataAccessDbWorkspaceAdminInitialPassword}
    

    Create IotIotDomainConfigureDataAccess Resource

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

    Constructor syntax

    new IotIotDomainConfigureDataAccess(name: string, args: IotIotDomainConfigureDataAccessArgs, opts?: CustomResourceOptions);
    @overload
    def IotIotDomainConfigureDataAccess(resource_name: str,
                                        args: IotIotDomainConfigureDataAccessArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def IotIotDomainConfigureDataAccess(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        iot_domain_id: Optional[str] = None,
                                        type: Optional[str] = None,
                                        db_allow_listed_identity_group_names: Optional[Sequence[str]] = None,
                                        db_allowed_identity_domain_host: Optional[str] = None,
                                        db_workspace_admin_initial_password: Optional[str] = None)
    func NewIotIotDomainConfigureDataAccess(ctx *Context, name string, args IotIotDomainConfigureDataAccessArgs, opts ...ResourceOption) (*IotIotDomainConfigureDataAccess, error)
    public IotIotDomainConfigureDataAccess(string name, IotIotDomainConfigureDataAccessArgs args, CustomResourceOptions? opts = null)
    public IotIotDomainConfigureDataAccess(String name, IotIotDomainConfigureDataAccessArgs args)
    public IotIotDomainConfigureDataAccess(String name, IotIotDomainConfigureDataAccessArgs args, CustomResourceOptions options)
    
    type: oci:oci:IotIotDomainConfigureDataAccess
    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 IotIotDomainConfigureDataAccessArgs
    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 IotIotDomainConfigureDataAccessArgs
    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 IotIotDomainConfigureDataAccessArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IotIotDomainConfigureDataAccessArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IotIotDomainConfigureDataAccessArgs
    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 iotIotDomainConfigureDataAccessResource = new Oci.Oci.IotIotDomainConfigureDataAccess("iotIotDomainConfigureDataAccessResource", new()
    {
        IotDomainId = "string",
        Type = "string",
        DbAllowListedIdentityGroupNames = new[]
        {
            "string",
        },
        DbAllowedIdentityDomainHost = "string",
        DbWorkspaceAdminInitialPassword = "string",
    });
    
    example, err := oci.NewIotIotDomainConfigureDataAccess(ctx, "iotIotDomainConfigureDataAccessResource", &oci.IotIotDomainConfigureDataAccessArgs{
    	IotDomainId: pulumi.String("string"),
    	Type:        pulumi.String("string"),
    	DbAllowListedIdentityGroupNames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DbAllowedIdentityDomainHost:     pulumi.String("string"),
    	DbWorkspaceAdminInitialPassword: pulumi.String("string"),
    })
    
    var iotIotDomainConfigureDataAccessResource = new IotIotDomainConfigureDataAccess("iotIotDomainConfigureDataAccessResource", IotIotDomainConfigureDataAccessArgs.builder()
        .iotDomainId("string")
        .type("string")
        .dbAllowListedIdentityGroupNames("string")
        .dbAllowedIdentityDomainHost("string")
        .dbWorkspaceAdminInitialPassword("string")
        .build());
    
    iot_iot_domain_configure_data_access_resource = oci.oci.IotIotDomainConfigureDataAccess("iotIotDomainConfigureDataAccessResource",
        iot_domain_id="string",
        type="string",
        db_allow_listed_identity_group_names=["string"],
        db_allowed_identity_domain_host="string",
        db_workspace_admin_initial_password="string")
    
    const iotIotDomainConfigureDataAccessResource = new oci.oci.IotIotDomainConfigureDataAccess("iotIotDomainConfigureDataAccessResource", {
        iotDomainId: "string",
        type: "string",
        dbAllowListedIdentityGroupNames: ["string"],
        dbAllowedIdentityDomainHost: "string",
        dbWorkspaceAdminInitialPassword: "string",
    });
    
    type: oci:oci:IotIotDomainConfigureDataAccess
    properties:
        dbAllowListedIdentityGroupNames:
            - string
        dbAllowedIdentityDomainHost: string
        dbWorkspaceAdminInitialPassword: string
        iotDomainId: string
        type: string
    

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

    IotDomainId string
    The OCID of the IoT domain.
    Type string

    configuration type

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

    DbAllowListedIdentityGroupNames List<string>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    IotDomainId string
    The OCID of the IoT domain.
    Type string

    configuration type

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

    DbAllowListedIdentityGroupNames []string
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.
    type String

    configuration type

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

    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword String
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId string
    The OCID of the IoT domain.
    type string

    configuration type

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

    dbAllowListedIdentityGroupNames string[]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    iot_domain_id str
    The OCID of the IoT domain.
    type str

    configuration type

    ** 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_identity_group_names Sequence[str]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    db_allowed_identity_domain_host str
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    db_workspace_admin_initial_password str
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.
    type String

    configuration type

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

    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword String
    Initial admin password for APEX workspace associated with the IoT domain.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IotIotDomainConfigureDataAccess 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 IotIotDomainConfigureDataAccess Resource

    Get an existing IotIotDomainConfigureDataAccess 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?: IotIotDomainConfigureDataAccessState, opts?: CustomResourceOptions): IotIotDomainConfigureDataAccess
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            db_allow_listed_identity_group_names: Optional[Sequence[str]] = None,
            db_allowed_identity_domain_host: Optional[str] = None,
            db_workspace_admin_initial_password: Optional[str] = None,
            iot_domain_id: Optional[str] = None,
            type: Optional[str] = None) -> IotIotDomainConfigureDataAccess
    func GetIotIotDomainConfigureDataAccess(ctx *Context, name string, id IDInput, state *IotIotDomainConfigureDataAccessState, opts ...ResourceOption) (*IotIotDomainConfigureDataAccess, error)
    public static IotIotDomainConfigureDataAccess Get(string name, Input<string> id, IotIotDomainConfigureDataAccessState? state, CustomResourceOptions? opts = null)
    public static IotIotDomainConfigureDataAccess get(String name, Output<String> id, IotIotDomainConfigureDataAccessState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:IotIotDomainConfigureDataAccess    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:
    DbAllowListedIdentityGroupNames List<string>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    IotDomainId string
    The OCID of the IoT domain.
    Type string

    configuration type

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

    DbAllowListedIdentityGroupNames []string
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    IotDomainId string
    The OCID of the IoT domain.
    Type string

    configuration type

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

    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword String
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.
    type String

    configuration type

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

    dbAllowListedIdentityGroupNames string[]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword string
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId string
    The OCID of the IoT domain.
    type string

    configuration type

    ** 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_identity_group_names Sequence[str]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    db_allowed_identity_domain_host str
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    db_workspace_admin_initial_password str
    Initial admin password for APEX workspace associated with the IoT domain.
    iot_domain_id str
    The OCID of the IoT domain.
    type str

    configuration type

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

    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    dbWorkspaceAdminInitialPassword String
    Initial admin password for APEX workspace associated with the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.
    type String

    configuration type

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