1. Packages
  2. Dome9 Provider
  3. API Docs
  4. getCloudaccountOci
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

dome9.getCloudaccountOci

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_dome9 as dome9

test = dome9.get_cloudaccount_oci(id="CLOUD_ACCOUNT_ID")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  test:
    fn::invoke:
      function: dome9:getCloudaccountOci
      arguments:
        id: CLOUD_ACCOUNT_ID
Copy

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>
Copy
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]
Copy
func LookupCloudaccountOci(ctx *Context, args *LookupCloudaccountOciArgs, opts ...InvokeOption) (*LookupCloudaccountOciResult, error)
func LookupCloudaccountOciOutput(ctx *Context, args *LookupCloudaccountOciOutputArgs, opts ...InvokeOption) LookupCloudaccountOciResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCloudaccountOciResult> getCloudaccountOci(GetCloudaccountOciArgs args, InvokeOptions options)
public static Output<GetCloudaccountOciResult> getCloudaccountOci(GetCloudaccountOciArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: dome9:index/getCloudaccountOci:getCloudaccountOci
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The Dome9 id for the OCI account.
Id This property is required. string
The Dome9 id for the OCI account.
id This property is required. String
The Dome9 id for the OCI account.
id This property is required. string
The Dome9 id for the OCI account.
id This property is required. str
The Dome9 id for the OCI account.
id This property is required. String
The Dome9 id for the OCI account.

getCloudaccountOci Result

The following output properties are available:

CreationDate string
Date the account was onboarded to Dome9
Credentials Dictionary<string, string>
Has the following arguments:
HomeRegion string
The home region.
Id string
OCI account id (in Dome9).
Name string
The name of the OCI account in Dome9
OrganizationalUnitId string
Organizational unit id.
OrganizationalUnitName string
Organizational unit name
OrganizationalUnitPath string
Organizational unit path
TenancyId string
The tenancy id.
Vendor string
The cloud provider ("oci")
CreationDate string
Date the account was onboarded to Dome9
Credentials map[string]string
Has the following arguments:
HomeRegion string
The home region.
Id string
OCI account id (in Dome9).
Name string
The name of the OCI account in Dome9
OrganizationalUnitId string
Organizational unit id.
OrganizationalUnitName string
Organizational unit name
OrganizationalUnitPath string
Organizational unit path
TenancyId string
The tenancy id.
Vendor string
The cloud provider ("oci")
creationDate String
Date the account was onboarded to Dome9
credentials Map<String,String>
Has the following arguments:
homeRegion String
The home region.
id String
OCI account id (in Dome9).
name String
The name of the OCI account in Dome9
organizationalUnitId String
Organizational unit id.
organizationalUnitName String
Organizational unit name
organizationalUnitPath String
Organizational unit path
tenancyId String
The tenancy id.
vendor String
The cloud provider ("oci")
creationDate string
Date the account was onboarded to Dome9
credentials {[key: string]: string}
Has the following arguments:
homeRegion string
The home region.
id string
OCI account id (in Dome9).
name string
The name of the OCI account in Dome9
organizationalUnitId string
Organizational unit id.
organizationalUnitName string
Organizational unit name
organizationalUnitPath string
Organizational unit path
tenancyId 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_id str
Organizational unit id.
organizational_unit_name str
Organizational unit name
organizational_unit_path str
Organizational unit path
tenancy_id str
The tenancy id.
vendor str
The cloud provider ("oci")
creationDate String
Date the account was onboarded to Dome9
credentials Map<String>
Has the following arguments:
homeRegion String
The home region.
id String
OCI account id (in Dome9).
name String
The name of the OCI account in Dome9
organizationalUnitId String
Organizational unit id.
organizationalUnitName String
Organizational unit name
organizationalUnitPath String
Organizational unit path
tenancyId 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 dome9 Terraform Provider.