Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DataSafe.getSensitiveDataModelSensitiveObjects
Explore with Pulumi AI
This data source provides the list of Sensitive Data Model Sensitive Objects in Oracle Cloud Infrastructure Data Safe service.
Gets a list of sensitive objects present in the specified sensitive data model based on the specified query parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSensitiveDataModelSensitiveObjects = oci.DataSafe.getSensitiveDataModelSensitiveObjects({
sensitiveDataModelId: testSensitiveDataModel.id,
objects: sensitiveDataModelSensitiveObjectObject,
objectTypes: sensitiveDataModelSensitiveObjectObjectType,
schemaNames: sensitiveDataModelSensitiveObjectSchemaName,
});
import pulumi
import pulumi_oci as oci
test_sensitive_data_model_sensitive_objects = oci.DataSafe.get_sensitive_data_model_sensitive_objects(sensitive_data_model_id=test_sensitive_data_model["id"],
objects=sensitive_data_model_sensitive_object_object,
object_types=sensitive_data_model_sensitive_object_object_type,
schema_names=sensitive_data_model_sensitive_object_schema_name)
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.GetSensitiveDataModelSensitiveObjects(ctx, &datasafe.GetSensitiveDataModelSensitiveObjectsArgs{
SensitiveDataModelId: testSensitiveDataModel.Id,
Objects: sensitiveDataModelSensitiveObjectObject,
ObjectTypes: sensitiveDataModelSensitiveObjectObjectType,
SchemaNames: sensitiveDataModelSensitiveObjectSchemaName,
}, 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 testSensitiveDataModelSensitiveObjects = Oci.DataSafe.GetSensitiveDataModelSensitiveObjects.Invoke(new()
{
SensitiveDataModelId = testSensitiveDataModel.Id,
Objects = sensitiveDataModelSensitiveObjectObject,
ObjectTypes = sensitiveDataModelSensitiveObjectObjectType,
SchemaNames = sensitiveDataModelSensitiveObjectSchemaName,
});
});
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.GetSensitiveDataModelSensitiveObjectsArgs;
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 testSensitiveDataModelSensitiveObjects = DataSafeFunctions.getSensitiveDataModelSensitiveObjects(GetSensitiveDataModelSensitiveObjectsArgs.builder()
.sensitiveDataModelId(testSensitiveDataModel.id())
.objects(sensitiveDataModelSensitiveObjectObject)
.objectTypes(sensitiveDataModelSensitiveObjectObjectType)
.schemaNames(sensitiveDataModelSensitiveObjectSchemaName)
.build());
}
}
variables:
testSensitiveDataModelSensitiveObjects:
fn::invoke:
Function: oci:DataSafe:getSensitiveDataModelSensitiveObjects
Arguments:
sensitiveDataModelId: ${testSensitiveDataModel.id}
objects: ${sensitiveDataModelSensitiveObjectObject}
objectTypes: ${sensitiveDataModelSensitiveObjectObjectType}
schemaNames: ${sensitiveDataModelSensitiveObjectSchemaName}
Using getSensitiveDataModelSensitiveObjects
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 getSensitiveDataModelSensitiveObjects(args: GetSensitiveDataModelSensitiveObjectsArgs, opts?: InvokeOptions): Promise<GetSensitiveDataModelSensitiveObjectsResult>
function getSensitiveDataModelSensitiveObjectsOutput(args: GetSensitiveDataModelSensitiveObjectsOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataModelSensitiveObjectsResult>
def get_sensitive_data_model_sensitive_objects(filters: Optional[Sequence[_datasafe.GetSensitiveDataModelSensitiveObjectsFilter]] = None,
object_types: Optional[Sequence[str]] = None,
objects: Optional[Sequence[str]] = None,
schema_names: Optional[Sequence[str]] = None,
sensitive_data_model_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitiveDataModelSensitiveObjectsResult
def get_sensitive_data_model_sensitive_objects_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSensitiveDataModelSensitiveObjectsFilterArgs]]]] = None,
object_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
objects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
schema_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveDataModelSensitiveObjectsResult]
func GetSensitiveDataModelSensitiveObjects(ctx *Context, args *GetSensitiveDataModelSensitiveObjectsArgs, opts ...InvokeOption) (*GetSensitiveDataModelSensitiveObjectsResult, error)
func GetSensitiveDataModelSensitiveObjectsOutput(ctx *Context, args *GetSensitiveDataModelSensitiveObjectsOutputArgs, opts ...InvokeOption) GetSensitiveDataModelSensitiveObjectsResultOutput
> Note: This function is named GetSensitiveDataModelSensitiveObjects
in the Go SDK.
public static class GetSensitiveDataModelSensitiveObjects
{
public static Task<GetSensitiveDataModelSensitiveObjectsResult> InvokeAsync(GetSensitiveDataModelSensitiveObjectsArgs args, InvokeOptions? opts = null)
public static Output<GetSensitiveDataModelSensitiveObjectsResult> Invoke(GetSensitiveDataModelSensitiveObjectsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensitiveDataModelSensitiveObjectsResult> getSensitiveDataModelSensitiveObjects(GetSensitiveDataModelSensitiveObjectsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getSensitiveDataModelSensitiveObjects:getSensitiveDataModelSensitiveObjects
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 Objects Filter> - Object
Types List<string> - A filter to return only items related to a specific object type.
- Objects List<string>
- A filter to return only items related to a specific object name.
- Schema
Names List<string> - A filter to return only items related to specific schema name.
- Sensitive
Data stringModel Id - The OCID of the sensitive data model.
- Filters
[]Get
Sensitive Data Model Sensitive Objects Filter - Object
Types []string - A filter to return only items related to a specific object type.
- Objects []string
- A filter to return only items related to a specific object name.
- Schema
Names []string - A filter to return only items related to specific schema name.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
- filters
List<Get
Sensitive Data Model Sensitive Objects Filter> - object
Types List<String> - A filter to return only items related to a specific object type.
- objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
- sensitive
Data stringModel Id - The OCID of the sensitive data model.
- filters
Get
Sensitive Data Model Sensitive Objects Filter[] - object
Types string[] - A filter to return only items related to a specific object type.
- objects string[]
- A filter to return only items related to a specific object name.
- schema
Names string[] - A filter to return only items related to specific schema name.
- sensitive_
data_ strmodel_ id - The OCID of the sensitive data model.
- filters
Sequence[datasafe.
Get Sensitive Data Model Sensitive Objects Filter] - object_
types Sequence[str] - A filter to return only items related to a specific object type.
- objects Sequence[str]
- A filter to return only items related to a specific object name.
- schema_
names Sequence[str] - A filter to return only items related to specific schema name.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
- filters List<Property Map>
- object
Types List<String> - A filter to return only items related to a specific object type.
- objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
getSensitiveDataModelSensitiveObjects Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data stringModel Id - Sensitive
Object List<GetCollections Sensitive Data Model Sensitive Objects Sensitive Object Collection> - The list of sensitive_object_collection.
- Filters
List<Get
Sensitive Data Model Sensitive Objects Filter> - Object
Types List<string> - The type of the database object that contains the sensitive column.
- Objects List<string>
- The database object that contains the sensitive column.
- Schema
Names List<string> - The database schema that contains the sensitive column.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data stringModel Id - Sensitive
Object []GetCollections Sensitive Data Model Sensitive Objects Sensitive Object Collection - The list of sensitive_object_collection.
- Filters
[]Get
Sensitive Data Model Sensitive Objects Filter - Object
Types []string - The type of the database object that contains the sensitive column.
- Objects []string
- The database object that contains the sensitive column.
- Schema
Names []string - The database schema that contains the sensitive column.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data StringModel Id - sensitive
Object List<GetCollections Sensitive Data Model Sensitive Objects Sensitive Object Collection> - The list of sensitive_object_collection.
- filters
List<Get
Sensitive Data Model Sensitive Objects Filter> - object
Types List<String> - The type of the database object that contains the sensitive column.
- objects List<String>
- The database object that contains the sensitive column.
- schema
Names List<String> - The database schema that contains the sensitive column.
- id string
- The provider-assigned unique ID for this managed resource.
- sensitive
Data stringModel Id - sensitive
Object GetCollections Sensitive Data Model Sensitive Objects Sensitive Object Collection[] - The list of sensitive_object_collection.
- filters
Get
Sensitive Data Model Sensitive Objects Filter[] - object
Types string[] - The type of the database object that contains the sensitive column.
- objects string[]
- The database object that contains the sensitive column.
- schema
Names string[] - The database schema that contains the sensitive column.
- id str
- The provider-assigned unique ID for this managed resource.
- sensitive_
data_ strmodel_ id - sensitive_
object_ Sequence[datasafe.collections Get Sensitive Data Model Sensitive Objects Sensitive Object Collection] - The list of sensitive_object_collection.
- filters
Sequence[datasafe.
Get Sensitive Data Model Sensitive Objects Filter] - object_
types Sequence[str] - The type of the database object that contains the sensitive column.
- objects Sequence[str]
- The database object that contains the sensitive column.
- schema_
names Sequence[str] - The database schema that contains the sensitive column.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data StringModel Id - sensitive
Object List<Property Map>Collections - The list of sensitive_object_collection.
- filters List<Property Map>
- object
Types List<String> - The type of the database object that contains the sensitive column.
- objects List<String>
- The database object that contains the sensitive column.
- schema
Names List<String> - The database schema that contains the sensitive column.
Supporting Types
GetSensitiveDataModelSensitiveObjectsFilter
GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollection
- Items
List<Get
Sensitive Data Model Sensitive Objects Sensitive Object Collection Item> - An array of sensitive object summary objects.
- Items
[]Get
Sensitive Data Model Sensitive Objects Sensitive Object Collection Item - An array of sensitive object summary objects.
- items
List<Get
Sensitive Data Model Sensitive Objects Sensitive Object Collection Item> - An array of sensitive object summary objects.
- items
Get
Sensitive Data Model Sensitive Objects Sensitive Object Collection Item[] - An array of sensitive object summary objects.
- items
Sequence[datasafe.
Get Sensitive Data Model Sensitive Objects Sensitive Object Collection Item] - An array of sensitive object summary objects.
- items List<Property Map>
- An array of sensitive object summary objects.
GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollectionItem
- Object string
- A filter to return only items related to a specific object name.
- Object
Type string - A filter to return only items related to a specific object type.
- Schema
Name string - A filter to return only items related to specific schema name.
- Object string
- A filter to return only items related to a specific object name.
- Object
Type string - A filter to return only items related to a specific object type.
- Schema
Name string - A filter to return only items related to specific schema name.
- object String
- A filter to return only items related to a specific object name.
- object
Type String - A filter to return only items related to a specific object type.
- schema
Name String - A filter to return only items related to specific schema name.
- object string
- A filter to return only items related to a specific object name.
- object
Type string - A filter to return only items related to a specific object type.
- schema
Name string - A filter to return only items related to specific schema name.
- object str
- A filter to return only items related to a specific object name.
- object_
type str - A filter to return only items related to a specific object type.
- schema_
name str - A filter to return only items related to specific schema name.
- object String
- A filter to return only items related to a specific object name.
- object
Type String - A filter to return only items related to a specific object type.
- schema
Name String - A filter to return only items related to specific schema name.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.