Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataSafe.getSensitiveTypeGroupGroupedSensitiveTypes
Explore with Pulumi AI
This data source provides the list of Sensitive Type Group Grouped Sensitive Types in Oracle Cloud Infrastructure Data Safe service.
Gets the list of sensitive type Ids present in the specified sensitive type group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSensitiveTypeGroupGroupedSensitiveTypes = oci.DataSafe.getSensitiveTypeGroupGroupedSensitiveTypes({
    sensitiveTypeGroupId: testSensitiveTypeGroup.id,
    sensitiveTypeId: testSensitiveType.id,
});
import pulumi
import pulumi_oci as oci
test_sensitive_type_group_grouped_sensitive_types = oci.DataSafe.get_sensitive_type_group_grouped_sensitive_types(sensitive_type_group_id=test_sensitive_type_group["id"],
    sensitive_type_id=test_sensitive_type["id"])
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.GetSensitiveTypeGroupGroupedSensitiveTypes(ctx, &datasafe.GetSensitiveTypeGroupGroupedSensitiveTypesArgs{
			SensitiveTypeGroupId: testSensitiveTypeGroup.Id,
			SensitiveTypeId:      pulumi.StringRef(testSensitiveType.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testSensitiveTypeGroupGroupedSensitiveTypes = Oci.DataSafe.GetSensitiveTypeGroupGroupedSensitiveTypes.Invoke(new()
    {
        SensitiveTypeGroupId = testSensitiveTypeGroup.Id,
        SensitiveTypeId = testSensitiveType.Id,
    });
});
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.GetSensitiveTypeGroupGroupedSensitiveTypesArgs;
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 testSensitiveTypeGroupGroupedSensitiveTypes = DataSafeFunctions.getSensitiveTypeGroupGroupedSensitiveTypes(GetSensitiveTypeGroupGroupedSensitiveTypesArgs.builder()
            .sensitiveTypeGroupId(testSensitiveTypeGroup.id())
            .sensitiveTypeId(testSensitiveType.id())
            .build());
    }
}
variables:
  testSensitiveTypeGroupGroupedSensitiveTypes:
    fn::invoke:
      function: oci:DataSafe:getSensitiveTypeGroupGroupedSensitiveTypes
      arguments:
        sensitiveTypeGroupId: ${testSensitiveTypeGroup.id}
        sensitiveTypeId: ${testSensitiveType.id}
Using getSensitiveTypeGroupGroupedSensitiveTypes
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 getSensitiveTypeGroupGroupedSensitiveTypes(args: GetSensitiveTypeGroupGroupedSensitiveTypesArgs, opts?: InvokeOptions): Promise<GetSensitiveTypeGroupGroupedSensitiveTypesResult>
function getSensitiveTypeGroupGroupedSensitiveTypesOutput(args: GetSensitiveTypeGroupGroupedSensitiveTypesOutputArgs, opts?: InvokeOptions): Output<GetSensitiveTypeGroupGroupedSensitiveTypesResult>def get_sensitive_type_group_grouped_sensitive_types(filters: Optional[Sequence[GetSensitiveTypeGroupGroupedSensitiveTypesFilter]] = None,
                                                     sensitive_type_group_id: Optional[str] = None,
                                                     sensitive_type_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetSensitiveTypeGroupGroupedSensitiveTypesResult
def get_sensitive_type_group_grouped_sensitive_types_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSensitiveTypeGroupGroupedSensitiveTypesFilterArgs]]]] = None,
                                                     sensitive_type_group_id: Optional[pulumi.Input[str]] = None,
                                                     sensitive_type_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveTypeGroupGroupedSensitiveTypesResult]func GetSensitiveTypeGroupGroupedSensitiveTypes(ctx *Context, args *GetSensitiveTypeGroupGroupedSensitiveTypesArgs, opts ...InvokeOption) (*GetSensitiveTypeGroupGroupedSensitiveTypesResult, error)
func GetSensitiveTypeGroupGroupedSensitiveTypesOutput(ctx *Context, args *GetSensitiveTypeGroupGroupedSensitiveTypesOutputArgs, opts ...InvokeOption) GetSensitiveTypeGroupGroupedSensitiveTypesResultOutput> Note: This function is named GetSensitiveTypeGroupGroupedSensitiveTypes in the Go SDK.
public static class GetSensitiveTypeGroupGroupedSensitiveTypes 
{
    public static Task<GetSensitiveTypeGroupGroupedSensitiveTypesResult> InvokeAsync(GetSensitiveTypeGroupGroupedSensitiveTypesArgs args, InvokeOptions? opts = null)
    public static Output<GetSensitiveTypeGroupGroupedSensitiveTypesResult> Invoke(GetSensitiveTypeGroupGroupedSensitiveTypesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSensitiveTypeGroupGroupedSensitiveTypesResult> getSensitiveTypeGroupGroupedSensitiveTypes(GetSensitiveTypeGroupGroupedSensitiveTypesArgs args, InvokeOptions options)
public static Output<GetSensitiveTypeGroupGroupedSensitiveTypesResult> getSensitiveTypeGroupGroupedSensitiveTypes(GetSensitiveTypeGroupGroupedSensitiveTypesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getSensitiveTypeGroupGroupedSensitiveTypes:getSensitiveTypeGroupGroupedSensitiveTypes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- Filters
List<GetSensitive Type Group Grouped Sensitive Types Filter> 
- SensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- SensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- Filters
[]GetSensitive Type Group Grouped Sensitive Types Filter 
- SensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType StringGroup Id 
- The OCID of the sensitive type group.
- filters
List<GetSensitive Type Group Grouped Sensitive Types Filter> 
- sensitiveType StringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- filters
GetSensitive Type Group Grouped Sensitive Types Filter[] 
- sensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitive_type_ strgroup_ id 
- The OCID of the sensitive type group.
- filters
Sequence[GetSensitive Type Group Grouped Sensitive Types Filter] 
- sensitive_type_ strid 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType StringGroup Id 
- The OCID of the sensitive type group.
- filters List<Property Map>
- sensitiveType StringId 
- A filter to return only items related to a specific sensitive type OCID.
getSensitiveTypeGroupGroupedSensitiveTypes Result
The following output properties are available:
- GroupedSensitive List<GetType Collections Sensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection> 
- The list of grouped_sensitive_type_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- SensitiveType stringGroup Id 
- Filters
List<GetSensitive Type Group Grouped Sensitive Types Filter> 
- SensitiveType stringId 
- The OCID of the sensitive type.
- GroupedSensitive []GetType Collections Sensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection 
- The list of grouped_sensitive_type_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- SensitiveType stringGroup Id 
- Filters
[]GetSensitive Type Group Grouped Sensitive Types Filter 
- SensitiveType stringId 
- The OCID of the sensitive type.
- groupedSensitive List<GetType Collections Sensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection> 
- The list of grouped_sensitive_type_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitiveType StringGroup Id 
- filters
List<GetSensitive Type Group Grouped Sensitive Types Filter> 
- sensitiveType StringId 
- The OCID of the sensitive type.
- groupedSensitive GetType Collections Sensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection[] 
- The list of grouped_sensitive_type_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- sensitiveType stringGroup Id 
- filters
GetSensitive Type Group Grouped Sensitive Types Filter[] 
- sensitiveType stringId 
- The OCID of the sensitive type.
- grouped_sensitive_ Sequence[Gettype_ collections Sensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection] 
- The list of grouped_sensitive_type_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- sensitive_type_ strgroup_ id 
- filters
Sequence[GetSensitive Type Group Grouped Sensitive Types Filter] 
- sensitive_type_ strid 
- The OCID of the sensitive type.
- groupedSensitive List<Property Map>Type Collections 
- The list of grouped_sensitive_type_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitiveType StringGroup Id 
- filters List<Property Map>
- sensitiveType StringId 
- The OCID of the sensitive type.
Supporting Types
GetSensitiveTypeGroupGroupedSensitiveTypesFilter       
GetSensitiveTypeGroupGroupedSensitiveTypesGroupedSensitiveTypeCollection          
- Items
List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item> 
- List of sensitive type id summary objects present in the sensitive type group.
- Items
[]GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item 
- List of sensitive type id summary objects present in the sensitive type group.
- items
List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item> 
- List of sensitive type id summary objects present in the sensitive type group.
- items
GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item[] 
- List of sensitive type id summary objects present in the sensitive type group.
- items
Sequence[GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item] 
- List of sensitive type id summary objects present in the sensitive type group.
- items List<Property Map>
- List of sensitive type id summary objects present in the sensitive type group.
GetSensitiveTypeGroupGroupedSensitiveTypesGroupedSensitiveTypeCollectionItem           
- Items
List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Item> 
- List of sensitive type id summary objects present in the sensitive type group.
- SensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- PatchOperations List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Patch Operation> 
- Items
[]GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Item 
- List of sensitive type id summary objects present in the sensitive type group.
- SensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- PatchOperations []GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Patch Operation 
- items
List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Item> 
- List of sensitive type id summary objects present in the sensitive type group.
- sensitiveType StringGroup Id 
- The OCID of the sensitive type group.
- patchOperations List<GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Patch Operation> 
- items
GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Item[] 
- List of sensitive type id summary objects present in the sensitive type group.
- sensitiveType stringGroup Id 
- The OCID of the sensitive type group.
- patchOperations GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Patch Operation[] 
- items
Sequence[GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Item] 
- List of sensitive type id summary objects present in the sensitive type group.
- sensitive_type_ strgroup_ id 
- The OCID of the sensitive type group.
- patch_operations Sequence[GetSensitive Type Group Grouped Sensitive Types Grouped Sensitive Type Collection Item Patch Operation] 
- items List<Property Map>
- List of sensitive type id summary objects present in the sensitive type group.
- sensitiveType StringGroup Id 
- The OCID of the sensitive type group.
- patchOperations List<Property Map>
GetSensitiveTypeGroupGroupedSensitiveTypesGroupedSensitiveTypeCollectionItemItem            
- SensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- SensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType StringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType stringId 
- A filter to return only items related to a specific sensitive type OCID.
- sensitive_type_ strid 
- A filter to return only items related to a specific sensitive type OCID.
- sensitiveType StringId 
- A filter to return only items related to a specific sensitive type OCID.
GetSensitiveTypeGroupGroupedSensitiveTypesGroupedSensitiveTypeCollectionItemPatchOperation             
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.