1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSensitiveTypeGroup
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

oci.DataSafe.getSensitiveTypeGroup

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi

This data source provides details about a specific Sensitive Type Group resource in Oracle Cloud Infrastructure Data Safe service.

Gets the details of the specified sensitive type group.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSensitiveTypeGroup = oci.DataSafe.getSensitiveTypeGroup({
    sensitiveTypeGroupId: testSensitiveTypeGroupOciDataSafeSensitiveTypeGroup.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_sensitive_type_group = oci.DataSafe.get_sensitive_type_group(sensitive_type_group_id=test_sensitive_type_group_oci_data_safe_sensitive_type_group["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datasafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasafe.GetSensitiveTypeGroup(ctx, &datasafe.GetSensitiveTypeGroupArgs{
			SensitiveTypeGroupId: testSensitiveTypeGroupOciDataSafeSensitiveTypeGroup.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSensitiveTypeGroup = Oci.DataSafe.GetSensitiveTypeGroup.Invoke(new()
    {
        SensitiveTypeGroupId = testSensitiveTypeGroupOciDataSafeSensitiveTypeGroup.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetSensitiveTypeGroupArgs;
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 testSensitiveTypeGroup = DataSafeFunctions.getSensitiveTypeGroup(GetSensitiveTypeGroupArgs.builder()
            .sensitiveTypeGroupId(testSensitiveTypeGroupOciDataSafeSensitiveTypeGroup.id())
            .build());

    }
}
Copy
variables:
  testSensitiveTypeGroup:
    fn::invoke:
      function: oci:DataSafe:getSensitiveTypeGroup
      arguments:
        sensitiveTypeGroupId: ${testSensitiveTypeGroupOciDataSafeSensitiveTypeGroup.id}
Copy

Using getSensitiveTypeGroup

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 getSensitiveTypeGroup(args: GetSensitiveTypeGroupArgs, opts?: InvokeOptions): Promise<GetSensitiveTypeGroupResult>
function getSensitiveTypeGroupOutput(args: GetSensitiveTypeGroupOutputArgs, opts?: InvokeOptions): Output<GetSensitiveTypeGroupResult>
Copy
def get_sensitive_type_group(sensitive_type_group_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSensitiveTypeGroupResult
def get_sensitive_type_group_output(sensitive_type_group_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveTypeGroupResult]
Copy
func GetSensitiveTypeGroup(ctx *Context, args *GetSensitiveTypeGroupArgs, opts ...InvokeOption) (*GetSensitiveTypeGroupResult, error)
func GetSensitiveTypeGroupOutput(ctx *Context, args *GetSensitiveTypeGroupOutputArgs, opts ...InvokeOption) GetSensitiveTypeGroupResultOutput
Copy

> Note: This function is named GetSensitiveTypeGroup in the Go SDK.

public static class GetSensitiveTypeGroup 
{
    public static Task<GetSensitiveTypeGroupResult> InvokeAsync(GetSensitiveTypeGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetSensitiveTypeGroupResult> Invoke(GetSensitiveTypeGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSensitiveTypeGroupResult> getSensitiveTypeGroup(GetSensitiveTypeGroupArgs args, InvokeOptions options)
public static Output<GetSensitiveTypeGroupResult> getSensitiveTypeGroup(GetSensitiveTypeGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getSensitiveTypeGroup:getSensitiveTypeGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SensitiveTypeGroupId This property is required. string
The OCID of the sensitive type group.
SensitiveTypeGroupId This property is required. string
The OCID of the sensitive type group.
sensitiveTypeGroupId This property is required. String
The OCID of the sensitive type group.
sensitiveTypeGroupId This property is required. string
The OCID of the sensitive type group.
sensitive_type_group_id This property is required. str
The OCID of the sensitive type group.
sensitiveTypeGroupId This property is required. String
The OCID of the sensitive type group.

getSensitiveTypeGroup Result

The following output properties are available:

CompartmentId string
The OCID of the compartment that contains the sensitive type group.
DefinedTags Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
Description string
The description of the sensitive type group.
DisplayName string
The display name of the sensitive type group.
FreeformTags Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
Id string
The OCID of the sensitive type group.
SensitiveTypeCount int
The number of sensitive types in the specified sensitive type group.
SensitiveTypeGroupId string
State string
The current state of the sensitive type group.
SystemTags Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the sensitive type group was created, in the format defined by RFC3339.
TimeUpdated string
The date and time the sensitive type group was last updated, in the format defined by RFC3339.
CompartmentId string
The OCID of the compartment that contains the sensitive type group.
DefinedTags map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
Description string
The description of the sensitive type group.
DisplayName string
The display name of the sensitive type group.
FreeformTags map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
Id string
The OCID of the sensitive type group.
SensitiveTypeCount int
The number of sensitive types in the specified sensitive type group.
SensitiveTypeGroupId string
State string
The current state of the sensitive type group.
SystemTags map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated string
The date and time the sensitive type group was created, in the format defined by RFC3339.
TimeUpdated string
The date and time the sensitive type group was last updated, in the format defined by RFC3339.
compartmentId String
The OCID of the compartment that contains the sensitive type group.
definedTags Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description String
The description of the sensitive type group.
displayName String
The display name of the sensitive type group.
freeformTags Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id String
The OCID of the sensitive type group.
sensitiveTypeCount Integer
The number of sensitive types in the specified sensitive type group.
sensitiveTypeGroupId String
state String
The current state of the sensitive type group.
systemTags Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the sensitive type group was created, in the format defined by RFC3339.
timeUpdated String
The date and time the sensitive type group was last updated, in the format defined by RFC3339.
compartmentId string
The OCID of the compartment that contains the sensitive type group.
definedTags {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description string
The description of the sensitive type group.
displayName string
The display name of the sensitive type group.
freeformTags {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id string
The OCID of the sensitive type group.
sensitiveTypeCount number
The number of sensitive types in the specified sensitive type group.
sensitiveTypeGroupId string
state string
The current state of the sensitive type group.
systemTags {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated string
The date and time the sensitive type group was created, in the format defined by RFC3339.
timeUpdated string
The date and time the sensitive type group was last updated, in the format defined by RFC3339.
compartment_id str
The OCID of the compartment that contains the sensitive type group.
defined_tags Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description str
The description of the sensitive type group.
display_name str
The display name of the sensitive type group.
freeform_tags Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id str
The OCID of the sensitive type group.
sensitive_type_count int
The number of sensitive types in the specified sensitive type group.
sensitive_type_group_id str
state str
The current state of the sensitive type group.
system_tags Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created str
The date and time the sensitive type group was created, in the format defined by RFC3339.
time_updated str
The date and time the sensitive type group was last updated, in the format defined by RFC3339.
compartmentId String
The OCID of the compartment that contains the sensitive type group.
definedTags Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description String
The description of the sensitive type group.
displayName String
The display name of the sensitive type group.
freeformTags Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id String
The OCID of the sensitive type group.
sensitiveTypeCount Number
The number of sensitive types in the specified sensitive type group.
sensitiveTypeGroupId String
state String
The current state of the sensitive type group.
systemTags Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated String
The date and time the sensitive type group was created, in the format defined by RFC3339.
timeUpdated String
The date and time the sensitive type group was last updated, in the format defined by RFC3339.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi