dome9.CloudaccountOciTempData
Explore with Pulumi AI
This resource is used (alongside to ‘dome9_cloudaccount_oci’ resource) to onboard oci cloud accounts to Dome9. This is the first and pre-requisite step in order to apply Dome9 features, such as compliance testing, on the account.
The resource can be used only with ‘dome9_cloudaccount_oci’ resource.
Example Usage
Basic usage:
import * as pulumi from "@pulumi/pulumi";
import * as dome9 from "@pulumi/dome9";
const test = new dome9.CloudaccountOciTempData("test", {
    homeRegion: "HOME_REGION",
    tenancyId: "TENANCY_ID",
});
import pulumi
import pulumi_dome9 as dome9
test = dome9.CloudaccountOciTempData("test",
    home_region="HOME_REGION",
    tenancy_id="TENANCY_ID")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/dome9/dome9"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dome9.NewCloudaccountOciTempData(ctx, "test", &dome9.CloudaccountOciTempDataArgs{
			HomeRegion: pulumi.String("HOME_REGION"),
			TenancyId:  pulumi.String("TENANCY_ID"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dome9 = Pulumi.Dome9;
return await Deployment.RunAsync(() => 
{
    var test = new Dome9.CloudaccountOciTempData("test", new()
    {
        HomeRegion = "HOME_REGION",
        TenancyId = "TENANCY_ID",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dome9.CloudaccountOciTempData;
import com.pulumi.dome9.CloudaccountOciTempDataArgs;
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 test = new CloudaccountOciTempData("test", CloudaccountOciTempDataArgs.builder()
            .homeRegion("HOME_REGION")
            .tenancyId("TENANCY_ID")
            .build());
    }
}
resources:
  test:
    type: dome9:CloudaccountOciTempData
    properties:
      homeRegion: HOME_REGION
      tenancyId: TENANCY_ID
Create CloudaccountOciTempData Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudaccountOciTempData(name: string, args: CloudaccountOciTempDataArgs, opts?: CustomResourceOptions);@overload
def CloudaccountOciTempData(resource_name: str,
                            args: CloudaccountOciTempDataArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def CloudaccountOciTempData(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            home_region: Optional[str] = None,
                            tenancy_id: Optional[str] = None,
                            tenant_administrator_email_address: Optional[str] = None,
                            cloudaccount_oci_temp_data_id: Optional[str] = None,
                            name: Optional[str] = None)func NewCloudaccountOciTempData(ctx *Context, name string, args CloudaccountOciTempDataArgs, opts ...ResourceOption) (*CloudaccountOciTempData, error)public CloudaccountOciTempData(string name, CloudaccountOciTempDataArgs args, CustomResourceOptions? opts = null)
public CloudaccountOciTempData(String name, CloudaccountOciTempDataArgs args)
public CloudaccountOciTempData(String name, CloudaccountOciTempDataArgs args, CustomResourceOptions options)
type: dome9:CloudaccountOciTempData
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 CloudaccountOciTempDataArgs
- 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 CloudaccountOciTempDataArgs
- 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 CloudaccountOciTempDataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudaccountOciTempDataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudaccountOciTempDataArgs
- 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 cloudaccountOciTempDataResource = new Dome9.CloudaccountOciTempData("cloudaccountOciTempDataResource", new()
{
    HomeRegion = "string",
    TenancyId = "string",
    TenantAdministratorEmailAddress = "string",
    CloudaccountOciTempDataId = "string",
    Name = "string",
});
example, err := dome9.NewCloudaccountOciTempData(ctx, "cloudaccountOciTempDataResource", &dome9.CloudaccountOciTempDataArgs{
HomeRegion: pulumi.String("string"),
TenancyId: pulumi.String("string"),
TenantAdministratorEmailAddress: pulumi.String("string"),
CloudaccountOciTempDataId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cloudaccountOciTempDataResource = new CloudaccountOciTempData("cloudaccountOciTempDataResource", CloudaccountOciTempDataArgs.builder()
    .homeRegion("string")
    .tenancyId("string")
    .tenantAdministratorEmailAddress("string")
    .cloudaccountOciTempDataId("string")
    .name("string")
    .build());
cloudaccount_oci_temp_data_resource = dome9.CloudaccountOciTempData("cloudaccountOciTempDataResource",
    home_region="string",
    tenancy_id="string",
    tenant_administrator_email_address="string",
    cloudaccount_oci_temp_data_id="string",
    name="string")
const cloudaccountOciTempDataResource = new dome9.CloudaccountOciTempData("cloudaccountOciTempDataResource", {
    homeRegion: "string",
    tenancyId: "string",
    tenantAdministratorEmailAddress: "string",
    cloudaccountOciTempDataId: "string",
    name: "string",
});
type: dome9:CloudaccountOciTempData
properties:
    cloudaccountOciTempDataId: string
    homeRegion: string
    name: string
    tenancyId: string
    tenantAdministratorEmailAddress: string
CloudaccountOciTempData 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 CloudaccountOciTempData resource accepts the following input properties:
- HomeRegion string
- The home region (from OCI).
- TenancyId string
- The root tenancy id (root compartment from OCI).
- TenantAdministrator stringEmail Address 
- CloudaccountOci stringTemp Data Id 
- OCI account id.
- Name string
- The name of the OCI account in Dome9
- HomeRegion string
- The home region (from OCI).
- TenancyId string
- The root tenancy id (root compartment from OCI).
- TenantAdministrator stringEmail Address 
- CloudaccountOci stringTemp Data Id 
- OCI account id.
- Name string
- The name of the OCI account in Dome9
- homeRegion String
- The home region (from OCI).
- tenancyId String
- The root tenancy id (root compartment from OCI).
- tenantAdministrator StringEmail Address 
- cloudaccountOci StringTemp Data Id 
- OCI account id.
- name String
- The name of the OCI account in Dome9
- homeRegion string
- The home region (from OCI).
- tenancyId string
- The root tenancy id (root compartment from OCI).
- tenantAdministrator stringEmail Address 
- cloudaccountOci stringTemp Data Id 
- OCI account id.
- name string
- The name of the OCI account in Dome9
- home_region str
- The home region (from OCI).
- tenancy_id str
- The root tenancy id (root compartment from OCI).
- tenant_administrator_ stremail_ address 
- cloudaccount_oci_ strtemp_ data_ id 
- OCI account id.
- name str
- The name of the OCI account in Dome9
- homeRegion String
- The home region (from OCI).
- tenancyId String
- The root tenancy id (root compartment from OCI).
- tenantAdministrator StringEmail Address 
- cloudaccountOci StringTemp Data Id 
- OCI account id.
- name String
- The name of the OCI account in Dome9
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudaccountOciTempData resource produces the following output properties:
- CreationDate string
- Date the account was onboarded to Dome9
- Credentials Dictionary<string, string>
- Has the following arguments:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrganizationalUnit stringId 
- Organizational unit id.
- OrganizationalUnit stringName 
- Organizational unit name
- OrganizationalUnit stringPath 
- Organizational unit path
- Vendor string
- The cloud provider ("oci")
- CreationDate string
- Date the account was onboarded to Dome9
- Credentials map[string]string
- Has the following arguments:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrganizationalUnit stringId 
- Organizational unit id.
- OrganizationalUnit stringName 
- Organizational unit name
- OrganizationalUnit stringPath 
- Organizational unit path
- Vendor string
- The cloud provider ("oci")
- creationDate String
- Date the account was onboarded to Dome9
- credentials Map<String,String>
- Has the following arguments:
- id String
- The provider-assigned unique ID for this managed resource.
- organizationalUnit StringId 
- Organizational unit id.
- organizationalUnit StringName 
- Organizational unit name
- organizationalUnit StringPath 
- Organizational unit path
- vendor String
- The cloud provider ("oci")
- creationDate string
- Date the account was onboarded to Dome9
- credentials {[key: string]: string}
- Has the following arguments:
- id string
- The provider-assigned unique ID for this managed resource.
- organizationalUnit stringId 
- Organizational unit id.
- organizationalUnit stringName 
- Organizational unit name
- organizationalUnit stringPath 
- Organizational unit path
- vendor string
- The cloud provider ("oci")
- creation_date str
- Date the account was onboarded to Dome9
- credentials Mapping[str, str]
- Has the following arguments:
- id str
- The provider-assigned unique ID for this managed resource.
- organizational_unit_ strid 
- Organizational unit id.
- organizational_unit_ strname 
- Organizational unit name
- organizational_unit_ strpath 
- Organizational unit path
- vendor str
- The cloud provider ("oci")
- creationDate String
- Date the account was onboarded to Dome9
- credentials Map<String>
- Has the following arguments:
- id String
- The provider-assigned unique ID for this managed resource.
- organizationalUnit StringId 
- Organizational unit id.
- organizationalUnit StringName 
- Organizational unit name
- organizationalUnit StringPath 
- Organizational unit path
- vendor String
- The cloud provider ("oci")
Look up Existing CloudaccountOciTempData Resource
Get an existing CloudaccountOciTempData 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?: CloudaccountOciTempDataState, opts?: CustomResourceOptions): CloudaccountOciTempData@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cloudaccount_oci_temp_data_id: Optional[str] = None,
        creation_date: Optional[str] = None,
        credentials: Optional[Mapping[str, str]] = None,
        home_region: Optional[str] = None,
        name: Optional[str] = None,
        organizational_unit_id: Optional[str] = None,
        organizational_unit_name: Optional[str] = None,
        organizational_unit_path: Optional[str] = None,
        tenancy_id: Optional[str] = None,
        tenant_administrator_email_address: Optional[str] = None,
        vendor: Optional[str] = None) -> CloudaccountOciTempDatafunc GetCloudaccountOciTempData(ctx *Context, name string, id IDInput, state *CloudaccountOciTempDataState, opts ...ResourceOption) (*CloudaccountOciTempData, error)public static CloudaccountOciTempData Get(string name, Input<string> id, CloudaccountOciTempDataState? state, CustomResourceOptions? opts = null)public static CloudaccountOciTempData get(String name, Output<String> id, CloudaccountOciTempDataState state, CustomResourceOptions options)resources:  _:    type: dome9:CloudaccountOciTempData    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.
- CloudaccountOci stringTemp Data Id 
- OCI account id.
- CreationDate string
- Date the account was onboarded to Dome9
- Credentials Dictionary<string, string>
- Has the following arguments:
- HomeRegion string
- The home region (from OCI).
- Name string
- The name of the OCI account in Dome9
- OrganizationalUnit stringId 
- Organizational unit id.
- OrganizationalUnit stringName 
- Organizational unit name
- OrganizationalUnit stringPath 
- Organizational unit path
- TenancyId string
- The root tenancy id (root compartment from OCI).
- TenantAdministrator stringEmail Address 
- Vendor string
- The cloud provider ("oci")
- CloudaccountOci stringTemp Data Id 
- OCI account id.
- CreationDate string
- Date the account was onboarded to Dome9
- Credentials map[string]string
- Has the following arguments:
- HomeRegion string
- The home region (from OCI).
- Name string
- The name of the OCI account in Dome9
- OrganizationalUnit stringId 
- Organizational unit id.
- OrganizationalUnit stringName 
- Organizational unit name
- OrganizationalUnit stringPath 
- Organizational unit path
- TenancyId string
- The root tenancy id (root compartment from OCI).
- TenantAdministrator stringEmail Address 
- Vendor string
- The cloud provider ("oci")
- cloudaccountOci StringTemp Data Id 
- OCI account id.
- creationDate String
- Date the account was onboarded to Dome9
- credentials Map<String,String>
- Has the following arguments:
- homeRegion String
- The home region (from OCI).
- name String
- The name of the OCI account in Dome9
- organizationalUnit StringId 
- Organizational unit id.
- organizationalUnit StringName 
- Organizational unit name
- organizationalUnit StringPath 
- Organizational unit path
- tenancyId String
- The root tenancy id (root compartment from OCI).
- tenantAdministrator StringEmail Address 
- vendor String
- The cloud provider ("oci")
- cloudaccountOci stringTemp Data Id 
- OCI account id.
- creationDate string
- Date the account was onboarded to Dome9
- credentials {[key: string]: string}
- Has the following arguments:
- homeRegion string
- The home region (from OCI).
- name string
- The name of the OCI account in Dome9
- organizationalUnit stringId 
- Organizational unit id.
- organizationalUnit stringName 
- Organizational unit name
- organizationalUnit stringPath 
- Organizational unit path
- tenancyId string
- The root tenancy id (root compartment from OCI).
- tenantAdministrator stringEmail Address 
- vendor string
- The cloud provider ("oci")
- cloudaccount_oci_ strtemp_ data_ id 
- OCI account id.
- creation_date str
- Date the account was onboarded to Dome9
- credentials Mapping[str, str]
- Has the following arguments:
- home_region str
- The home region (from OCI).
- name str
- The name of the OCI account in Dome9
- organizational_unit_ strid 
- Organizational unit id.
- organizational_unit_ strname 
- Organizational unit name
- organizational_unit_ strpath 
- Organizational unit path
- tenancy_id str
- The root tenancy id (root compartment from OCI).
- tenant_administrator_ stremail_ address 
- vendor str
- The cloud provider ("oci")
- cloudaccountOci StringTemp Data Id 
- OCI account id.
- creationDate String
- Date the account was onboarded to Dome9
- credentials Map<String>
- Has the following arguments:
- homeRegion String
- The home region (from OCI).
- name String
- The name of the OCI account in Dome9
- organizationalUnit StringId 
- Organizational unit id.
- organizationalUnit StringName 
- Organizational unit name
- organizationalUnit StringPath 
- Organizational unit path
- tenancyId String
- The root tenancy id (root compartment from OCI).
- tenantAdministrator StringEmail Address 
- vendor String
- The cloud provider ("oci")
Package Details
- Repository
- dome9 dome9/terraform-provider-dome9
- License
- Notes
- This Pulumi package is based on the dome9Terraform Provider.