1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSensitiveDataModelSensitiveTypes
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.getSensitiveDataModelSensitiveTypes

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This data source provides the list of Sensitive Data Model Sensitive Types in Oracle Cloud Infrastructure Data Safe service.

    Gets a list of sensitive type Ids present in the specified sensitive data model.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSensitiveDataModelSensitiveTypes = oci.DataSafe.getSensitiveDataModelSensitiveTypes({
        sensitiveDataModelId: testSensitiveDataModel.id,
        sensitiveTypeId: testSensitiveType.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sensitive_data_model_sensitive_types = oci.DataSafe.get_sensitive_data_model_sensitive_types(sensitive_data_model_id=test_sensitive_data_model["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.GetSensitiveDataModelSensitiveTypes(ctx, &datasafe.GetSensitiveDataModelSensitiveTypesArgs{
    			SensitiveDataModelId: testSensitiveDataModel.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 testSensitiveDataModelSensitiveTypes = Oci.DataSafe.GetSensitiveDataModelSensitiveTypes.Invoke(new()
        {
            SensitiveDataModelId = testSensitiveDataModel.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.GetSensitiveDataModelSensitiveTypesArgs;
    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 testSensitiveDataModelSensitiveTypes = DataSafeFunctions.getSensitiveDataModelSensitiveTypes(GetSensitiveDataModelSensitiveTypesArgs.builder()
                .sensitiveDataModelId(testSensitiveDataModel.id())
                .sensitiveTypeId(testSensitiveType.id())
                .build());
    
        }
    }
    
    variables:
      testSensitiveDataModelSensitiveTypes:
        fn::invoke:
          Function: oci:DataSafe:getSensitiveDataModelSensitiveTypes
          Arguments:
            sensitiveDataModelId: ${testSensitiveDataModel.id}
            sensitiveTypeId: ${testSensitiveType.id}
    

    Using getSensitiveDataModelSensitiveTypes

    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 getSensitiveDataModelSensitiveTypes(args: GetSensitiveDataModelSensitiveTypesArgs, opts?: InvokeOptions): Promise<GetSensitiveDataModelSensitiveTypesResult>
    function getSensitiveDataModelSensitiveTypesOutput(args: GetSensitiveDataModelSensitiveTypesOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataModelSensitiveTypesResult>
    def get_sensitive_data_model_sensitive_types(filters: Optional[Sequence[_datasafe.GetSensitiveDataModelSensitiveTypesFilter]] = None,
                                                 sensitive_data_model_id: Optional[str] = None,
                                                 sensitive_type_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetSensitiveDataModelSensitiveTypesResult
    def get_sensitive_data_model_sensitive_types_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSensitiveDataModelSensitiveTypesFilterArgs]]]] = None,
                                                 sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
                                                 sensitive_type_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveDataModelSensitiveTypesResult]
    func GetSensitiveDataModelSensitiveTypes(ctx *Context, args *GetSensitiveDataModelSensitiveTypesArgs, opts ...InvokeOption) (*GetSensitiveDataModelSensitiveTypesResult, error)
    func GetSensitiveDataModelSensitiveTypesOutput(ctx *Context, args *GetSensitiveDataModelSensitiveTypesOutputArgs, opts ...InvokeOption) GetSensitiveDataModelSensitiveTypesResultOutput

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

    public static class GetSensitiveDataModelSensitiveTypes 
    {
        public static Task<GetSensitiveDataModelSensitiveTypesResult> InvokeAsync(GetSensitiveDataModelSensitiveTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetSensitiveDataModelSensitiveTypesResult> Invoke(GetSensitiveDataModelSensitiveTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSensitiveDataModelSensitiveTypesResult> getSensitiveDataModelSensitiveTypes(GetSensitiveDataModelSensitiveTypesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSensitiveDataModelSensitiveTypes:getSensitiveDataModelSensitiveTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SensitiveDataModelId string
    The OCID of the sensitive data model.
    Filters List<GetSensitiveDataModelSensitiveTypesFilter>
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    SensitiveDataModelId string
    The OCID of the sensitive data model.
    Filters []GetSensitiveDataModelSensitiveTypesFilter
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelId String
    The OCID of the sensitive data model.
    filters List<GetSensitiveDataModelSensitiveTypesFilter>
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelId string
    The OCID of the sensitive data model.
    filters GetSensitiveDataModelSensitiveTypesFilter[]
    sensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    sensitive_data_model_id str
    The OCID of the sensitive data model.
    filters Sequence[datasafe.GetSensitiveDataModelSensitiveTypesFilter]
    sensitive_type_id str
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelId String
    The OCID of the sensitive data model.
    filters List<Property Map>
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.

    getSensitiveDataModelSensitiveTypes Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelId string
    SensitiveDataModelSensitiveTypeCollections List<GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection>
    The list of sensitive_data_model_sensitive_type_collection.
    Filters List<GetSensitiveDataModelSensitiveTypesFilter>
    SensitiveTypeId string
    The OCID of the sensitive type.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelId string
    SensitiveDataModelSensitiveTypeCollections []GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection
    The list of sensitive_data_model_sensitive_type_collection.
    Filters []GetSensitiveDataModelSensitiveTypesFilter
    SensitiveTypeId string
    The OCID of the sensitive type.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId String
    sensitiveDataModelSensitiveTypeCollections List<GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection>
    The list of sensitive_data_model_sensitive_type_collection.
    filters List<GetSensitiveDataModelSensitiveTypesFilter>
    sensitiveTypeId String
    The OCID of the sensitive type.
    id string
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId string
    sensitiveDataModelSensitiveTypeCollections GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection[]
    The list of sensitive_data_model_sensitive_type_collection.
    filters GetSensitiveDataModelSensitiveTypesFilter[]
    sensitiveTypeId string
    The OCID of the sensitive type.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId String
    sensitiveDataModelSensitiveTypeCollections List<Property Map>
    The list of sensitive_data_model_sensitive_type_collection.
    filters List<Property Map>
    sensitiveTypeId String
    The OCID of the sensitive type.

    Supporting Types

    GetSensitiveDataModelSensitiveTypesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection

    Items List<GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem>
    An array of sensitive types summary objects present in a sensitive data model.
    Items []GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem
    An array of sensitive types summary objects present in a sensitive data model.
    items List<GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem>
    An array of sensitive types summary objects present in a sensitive data model.
    items GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem[]
    An array of sensitive types summary objects present in a sensitive data model.
    items Sequence[datasafe.GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem]
    An array of sensitive types summary objects present in a sensitive data model.
    items List<Property Map>
    An array of sensitive types summary objects present in a sensitive data model.

    GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollectionItem

    SensitiveDataModelSensitiveTypeCount string
    The total number of sensitive columns linked to this specific sensitive type .
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    SensitiveDataModelSensitiveTypeCount string
    The total number of sensitive columns linked to this specific sensitive type .
    SensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelSensitiveTypeCount String
    The total number of sensitive columns linked to this specific sensitive type .
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelSensitiveTypeCount string
    The total number of sensitive columns linked to this specific sensitive type .
    sensitiveTypeId string
    A filter to return only items related to a specific sensitive type OCID.
    sensitive_data_model_sensitive_type_count str
    The total number of sensitive columns linked to this specific sensitive type .
    sensitive_type_id str
    A filter to return only items related to a specific sensitive type OCID.
    sensitiveDataModelSensitiveTypeCount String
    The total number of sensitive columns linked to this specific sensitive type .
    sensitiveTypeId String
    A filter to return only items related to a specific sensitive type OCID.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi