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:
- Home
Region string - The home region (from OCI).
- Tenancy
Id string - The root tenancy id (root compartment from OCI).
- Tenant
Administrator stringEmail Address - Cloudaccount
Oci stringTemp Data Id - OCI account id.
- Name string
- The name of the OCI account in Dome9
- Home
Region string - The home region (from OCI).
- Tenancy
Id string - The root tenancy id (root compartment from OCI).
- Tenant
Administrator stringEmail Address - Cloudaccount
Oci stringTemp Data Id - OCI account id.
- Name string
- The name of the OCI account in Dome9
- home
Region String - The home region (from OCI).
- tenancy
Id String - The root tenancy id (root compartment from OCI).
- tenant
Administrator StringEmail Address - cloudaccount
Oci StringTemp Data Id - OCI account id.
- name String
- The name of the OCI account in Dome9
- home
Region string - The home region (from OCI).
- tenancy
Id string - The root tenancy id (root compartment from OCI).
- tenant
Administrator stringEmail Address - cloudaccount
Oci 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
- home
Region String - The home region (from OCI).
- tenancy
Id String - The root tenancy id (root compartment from OCI).
- tenant
Administrator StringEmail Address - cloudaccount
Oci 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:
- Creation
Date 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.
- Organizational
Unit stringId - Organizational unit id.
- Organizational
Unit stringName - Organizational unit name
- Organizational
Unit stringPath - Organizational unit path
- Vendor string
- The cloud provider ("oci")
- Creation
Date 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.
- Organizational
Unit stringId - Organizational unit id.
- Organizational
Unit stringName - Organizational unit name
- Organizational
Unit stringPath - Organizational unit path
- Vendor string
- The cloud provider ("oci")
- creation
Date 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.
- organizational
Unit StringId - Organizational unit id.
- organizational
Unit StringName - Organizational unit name
- organizational
Unit StringPath - Organizational unit path
- vendor String
- The cloud provider ("oci")
- creation
Date 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.
- organizational
Unit stringId - Organizational unit id.
- organizational
Unit stringName - Organizational unit name
- organizational
Unit 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")
- creation
Date 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.
- organizational
Unit StringId - Organizational unit id.
- organizational
Unit StringName - Organizational unit name
- organizational
Unit 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) -> CloudaccountOciTempData
func 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.
- Cloudaccount
Oci stringTemp Data Id - OCI account id.
- Creation
Date string - Date the account was onboarded to Dome9
- Credentials Dictionary<string, string>
- Has the following arguments:
- Home
Region string - The home region (from OCI).
- Name string
- The name of the OCI account in Dome9
- Organizational
Unit stringId - Organizational unit id.
- Organizational
Unit stringName - Organizational unit name
- Organizational
Unit stringPath - Organizational unit path
- Tenancy
Id string - The root tenancy id (root compartment from OCI).
- Tenant
Administrator stringEmail Address - Vendor string
- The cloud provider ("oci")
- Cloudaccount
Oci stringTemp Data Id - OCI account id.
- Creation
Date string - Date the account was onboarded to Dome9
- Credentials map[string]string
- Has the following arguments:
- Home
Region string - The home region (from OCI).
- Name string
- The name of the OCI account in Dome9
- Organizational
Unit stringId - Organizational unit id.
- Organizational
Unit stringName - Organizational unit name
- Organizational
Unit stringPath - Organizational unit path
- Tenancy
Id string - The root tenancy id (root compartment from OCI).
- Tenant
Administrator stringEmail Address - Vendor string
- The cloud provider ("oci")
- cloudaccount
Oci StringTemp Data Id - OCI account id.
- creation
Date String - Date the account was onboarded to Dome9
- credentials Map<String,String>
- Has the following arguments:
- home
Region String - The home region (from OCI).
- name String
- The name of the OCI account in Dome9
- organizational
Unit StringId - Organizational unit id.
- organizational
Unit StringName - Organizational unit name
- organizational
Unit StringPath - Organizational unit path
- tenancy
Id String - The root tenancy id (root compartment from OCI).
- tenant
Administrator StringEmail Address - vendor String
- The cloud provider ("oci")
- cloudaccount
Oci stringTemp Data Id - OCI account id.
- creation
Date string - Date the account was onboarded to Dome9
- credentials {[key: string]: string}
- Has the following arguments:
- home
Region string - The home region (from OCI).
- name string
- The name of the OCI account in Dome9
- organizational
Unit stringId - Organizational unit id.
- organizational
Unit stringName - Organizational unit name
- organizational
Unit stringPath - Organizational unit path
- tenancy
Id string - The root tenancy id (root compartment from OCI).
- tenant
Administrator 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")
- cloudaccount
Oci StringTemp Data Id - OCI account id.
- creation
Date String - Date the account was onboarded to Dome9
- credentials Map<String>
- Has the following arguments:
- home
Region String - The home region (from OCI).
- name String
- The name of the OCI account in Dome9
- organizational
Unit StringId - Organizational unit id.
- organizational
Unit StringName - Organizational unit name
- organizational
Unit StringPath - Organizational unit path
- tenancy
Id String - The root tenancy id (root compartment from OCI).
- tenant
Administrator 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
dome9
Terraform Provider.