dome9 1.40.4 published on Thursday, Oct 30, 2025 by dome9
dome9.getCloudaccountOci
Use this data source to get information about an oci cloud account onboarded to Dome9.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dome9 from "@pulumi/dome9";
const test = dome9.getCloudaccountOci({
id: "CLOUD_ACCOUNT_ID",
});
import pulumi
import pulumi_dome9 as dome9
test = dome9.get_cloudaccount_oci(id="CLOUD_ACCOUNT_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.LookupCloudaccountOci(ctx, &dome9.LookupCloudaccountOciArgs{
Id: "CLOUD_ACCOUNT_ID",
}, nil)
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 = Dome9.GetCloudaccountOci.Invoke(new()
{
Id = "CLOUD_ACCOUNT_ID",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dome9.Dome9Functions;
import com.pulumi.dome9.inputs.GetCloudaccountOciArgs;
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) {
final var test = Dome9Functions.getCloudaccountOci(GetCloudaccountOciArgs.builder()
.id("CLOUD_ACCOUNT_ID")
.build());
}
}
variables:
test:
fn::invoke:
function: dome9:getCloudaccountOci
arguments:
id: CLOUD_ACCOUNT_ID
Using getCloudaccountOci
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCloudaccountOci(args: GetCloudaccountOciArgs, opts?: InvokeOptions): Promise<GetCloudaccountOciResult>
function getCloudaccountOciOutput(args: GetCloudaccountOciOutputArgs, opts?: InvokeOptions): Output<GetCloudaccountOciResult>def get_cloudaccount_oci(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudaccountOciResult
def get_cloudaccount_oci_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudaccountOciResult]func LookupCloudaccountOci(ctx *Context, args *LookupCloudaccountOciArgs, opts ...InvokeOption) (*LookupCloudaccountOciResult, error)
func LookupCloudaccountOciOutput(ctx *Context, args *LookupCloudaccountOciOutputArgs, opts ...InvokeOption) LookupCloudaccountOciResultOutput> Note: This function is named LookupCloudaccountOci in the Go SDK.
public static class GetCloudaccountOci
{
public static Task<GetCloudaccountOciResult> InvokeAsync(GetCloudaccountOciArgs args, InvokeOptions? opts = null)
public static Output<GetCloudaccountOciResult> Invoke(GetCloudaccountOciInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudaccountOciResult> getCloudaccountOci(GetCloudaccountOciArgs args, InvokeOptions options)
public static Output<GetCloudaccountOciResult> getCloudaccountOci(GetCloudaccountOciArgs args, InvokeOptions options)
fn::invoke:
function: dome9:index/getCloudaccountOci:getCloudaccountOci
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The Dome9 id for the OCI account.
- Id string
- The Dome9 id for the OCI account.
- id String
- The Dome9 id for the OCI account.
- id string
- The Dome9 id for the OCI account.
- id str
- The Dome9 id for the OCI account.
- id String
- The Dome9 id for the OCI account.
getCloudaccountOci Result
The following output properties are available:
- Creation
Date string - Date the account was onboarded to Dome9
- Credentials Dictionary<string, string>
- Has the following arguments:
- Home
Region string - The home region.
- Id string
- OCI account id (in Dome9).
- 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 tenancy id.
- Vendor string
- The cloud provider ("oci")
- Creation
Date string - Date the account was onboarded to Dome9
- Credentials map[string]string
- Has the following arguments:
- Home
Region string - The home region.
- Id string
- OCI account id (in Dome9).
- 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 tenancy id.
- Vendor string
- The cloud provider ("oci")
- creation
Date String - Date the account was onboarded to Dome9
- credentials Map<String,String>
- Has the following arguments:
- home
Region String - The home region.
- id String
- OCI account id (in Dome9).
- 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 tenancy id.
- vendor String
- The cloud provider ("oci")
- creation
Date string - Date the account was onboarded to Dome9
- credentials {[key: string]: string}
- Has the following arguments:
- home
Region string - The home region.
- id string
- OCI account id (in Dome9).
- 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 tenancy id.
- vendor string
- The cloud provider ("oci")
- creation_
date str - Date the account was onboarded to Dome9
- credentials Mapping[str, str]
- Has the following arguments:
- home_
region str - The home region.
- id str
- OCI account id (in Dome9).
- 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 tenancy id.
- vendor str
- The cloud provider ("oci")
- creation
Date String - Date the account was onboarded to Dome9
- credentials Map<String>
- Has the following arguments:
- home
Region String - The home region.
- id String
- OCI account id (in Dome9).
- 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 tenancy id.
- 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.
