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:
- Iot
Domain stringId - 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 List<string>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- Db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- Iot
Domain stringId - 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 []stringListed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- Db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain StringId - 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 List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace StringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain stringId - 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 string[]Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot_
domain_ strid - 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_ Sequence[str]listed_ identity_ group_ names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db_
allowed_ stridentity_ domain_ host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db_
workspace_ stradmin_ initial_ password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain StringId - 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 List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace StringAdmin Initial Password - 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) -> IotIotDomainConfigureDataAccessfunc 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.
- Db
Allow List<string>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- Db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- Iot
Domain stringId - 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 []stringListed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- Db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- Iot
Domain stringId - 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 List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace StringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain StringId - 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 string[]Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace stringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain stringId - 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_ Sequence[str]listed_ identity_ group_ names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db_
allowed_ stridentity_ domain_ host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db_
workspace_ stradmin_ initial_ password - Initial admin password for APEX workspace associated with the IoT domain.
- iot_
domain_ strid - 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 List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- db
Workspace StringAdmin Initial Password - Initial admin password for APEX workspace associated with the IoT domain.
- iot
Domain StringId - 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
ociTerraform Provider.
