Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DataSafe.getSensitiveDataModelSensitiveTypes
Explore with Pulumi AI
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:
- Sensitive
Data stringModel Id - The OCID of the sensitive data model.
- Filters
List<Get
Sensitive Data Model Sensitive Types Filter> - Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- Sensitive
Data stringModel Id - The OCID of the sensitive data model.
- Filters
[]Get
Sensitive Data Model Sensitive Types Filter - Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
- filters
List<Get
Sensitive Data Model Sensitive Types Filter> - sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data stringModel Id - The OCID of the sensitive data model.
- filters
Get
Sensitive Data Model Sensitive Types Filter[] - sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive_
data_ strmodel_ id - The OCID of the sensitive data model.
- filters
Sequence[datasafe.
Get Sensitive Data Model Sensitive Types Filter] - sensitive_
type_ strid - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
- filters List<Property Map>
- sensitive
Type StringId - 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.
- Sensitive
Data stringModel Id - Sensitive
Data List<GetModel Sensitive Type Collections Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection> - The list of sensitive_data_model_sensitive_type_collection.
- Filters
List<Get
Sensitive Data Model Sensitive Types Filter> - Sensitive
Type stringId - The OCID of the sensitive type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data stringModel Id - Sensitive
Data []GetModel Sensitive Type Collections Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection - The list of sensitive_data_model_sensitive_type_collection.
- Filters
[]Get
Sensitive Data Model Sensitive Types Filter - Sensitive
Type stringId - The OCID of the sensitive type.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data StringModel Id - sensitive
Data List<GetModel Sensitive Type Collections Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection> - The list of sensitive_data_model_sensitive_type_collection.
- filters
List<Get
Sensitive Data Model Sensitive Types Filter> - sensitive
Type StringId - The OCID of the sensitive type.
- id string
- The provider-assigned unique ID for this managed resource.
- sensitive
Data stringModel Id - sensitive
Data GetModel Sensitive Type Collections Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection[] - The list of sensitive_data_model_sensitive_type_collection.
- filters
Get
Sensitive Data Model Sensitive Types Filter[] - sensitive
Type stringId - The OCID of the sensitive type.
- id str
- The provider-assigned unique ID for this managed resource.
- sensitive_
data_ strmodel_ id - sensitive_
data_ Sequence[datasafe.model_ sensitive_ type_ collections Get Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection] - The list of sensitive_data_model_sensitive_type_collection.
- filters
Sequence[datasafe.
Get Sensitive Data Model Sensitive Types Filter] - sensitive_
type_ strid - The OCID of the sensitive type.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data StringModel Id - sensitive
Data List<Property Map>Model Sensitive Type Collections - The list of sensitive_data_model_sensitive_type_collection.
- filters List<Property Map>
- sensitive
Type StringId - The OCID of the sensitive type.
Supporting Types
GetSensitiveDataModelSensitiveTypesFilter
GetSensitiveDataModelSensitiveTypesSensitiveDataModelSensitiveTypeCollection
- Items
List<Get
Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection Item> - An array of sensitive types summary objects present in a sensitive data model.
- Items
[]Get
Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection Item - An array of sensitive types summary objects present in a sensitive data model.
- items
List<Get
Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection Item> - An array of sensitive types summary objects present in a sensitive data model.
- items
Get
Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection Item[] - An array of sensitive types summary objects present in a sensitive data model.
- items
Sequence[datasafe.
Get Sensitive Data Model Sensitive Types Sensitive Data Model Sensitive Type Collection Item] - 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
- Sensitive
Data stringModel Sensitive Type Count - The total number of sensitive columns linked to this specific sensitive type .
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- Sensitive
Data stringModel Sensitive Type Count - The total number of sensitive columns linked to this specific sensitive type .
- Sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data StringModel Sensitive Type Count - The total number of sensitive columns linked to this specific sensitive type .
- sensitive
Type StringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data stringModel Sensitive Type Count - The total number of sensitive columns linked to this specific sensitive type .
- sensitive
Type stringId - A filter to return only items related to a specific sensitive type OCID.
- sensitive_
data_ strmodel_ sensitive_ type_ count - The total number of sensitive columns linked to this specific sensitive type .
- sensitive_
type_ strid - A filter to return only items related to a specific sensitive type OCID.
- sensitive
Data StringModel Sensitive Type Count - The total number of sensitive columns linked to this specific sensitive type .
- sensitive
Type StringId - 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.