Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DataSafe.getSensitiveDataModelSensitiveSchemas
Explore with Pulumi AI
This data source provides the list of Sensitive Data Model Sensitive Schemas in Oracle Cloud Infrastructure Data Safe service.
Gets a list of sensitive schemas 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 testSensitiveDataModelSensitiveSchemas = oci.DataSafe.getSensitiveDataModelSensitiveSchemas({
sensitiveDataModelId: testSensitiveDataModel.id,
schemaNames: sensitiveDataModelSensitiveSchemaSchemaName,
});
import pulumi
import pulumi_oci as oci
test_sensitive_data_model_sensitive_schemas = oci.DataSafe.get_sensitive_data_model_sensitive_schemas(sensitive_data_model_id=test_sensitive_data_model["id"],
schema_names=sensitive_data_model_sensitive_schema_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.GetSensitiveDataModelSensitiveSchemas(ctx, &datasafe.GetSensitiveDataModelSensitiveSchemasArgs{
SensitiveDataModelId: testSensitiveDataModel.Id,
SchemaNames: sensitiveDataModelSensitiveSchemaSchemaName,
}, 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 testSensitiveDataModelSensitiveSchemas = Oci.DataSafe.GetSensitiveDataModelSensitiveSchemas.Invoke(new()
{
SensitiveDataModelId = testSensitiveDataModel.Id,
SchemaNames = sensitiveDataModelSensitiveSchemaSchemaName,
});
});
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.GetSensitiveDataModelSensitiveSchemasArgs;
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 testSensitiveDataModelSensitiveSchemas = DataSafeFunctions.getSensitiveDataModelSensitiveSchemas(GetSensitiveDataModelSensitiveSchemasArgs.builder()
.sensitiveDataModelId(testSensitiveDataModel.id())
.schemaNames(sensitiveDataModelSensitiveSchemaSchemaName)
.build());
}
}
variables:
testSensitiveDataModelSensitiveSchemas:
fn::invoke:
Function: oci:DataSafe:getSensitiveDataModelSensitiveSchemas
Arguments:
sensitiveDataModelId: ${testSensitiveDataModel.id}
schemaNames: ${sensitiveDataModelSensitiveSchemaSchemaName}
Using getSensitiveDataModelSensitiveSchemas
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 getSensitiveDataModelSensitiveSchemas(args: GetSensitiveDataModelSensitiveSchemasArgs, opts?: InvokeOptions): Promise<GetSensitiveDataModelSensitiveSchemasResult>
function getSensitiveDataModelSensitiveSchemasOutput(args: GetSensitiveDataModelSensitiveSchemasOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataModelSensitiveSchemasResult>
def get_sensitive_data_model_sensitive_schemas(filters: Optional[Sequence[_datasafe.GetSensitiveDataModelSensitiveSchemasFilter]] = None,
schema_names: Optional[Sequence[str]] = None,
sensitive_data_model_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitiveDataModelSensitiveSchemasResult
def get_sensitive_data_model_sensitive_schemas_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSensitiveDataModelSensitiveSchemasFilterArgs]]]] = 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[GetSensitiveDataModelSensitiveSchemasResult]
func GetSensitiveDataModelSensitiveSchemas(ctx *Context, args *GetSensitiveDataModelSensitiveSchemasArgs, opts ...InvokeOption) (*GetSensitiveDataModelSensitiveSchemasResult, error)
func GetSensitiveDataModelSensitiveSchemasOutput(ctx *Context, args *GetSensitiveDataModelSensitiveSchemasOutputArgs, opts ...InvokeOption) GetSensitiveDataModelSensitiveSchemasResultOutput
> Note: This function is named GetSensitiveDataModelSensitiveSchemas
in the Go SDK.
public static class GetSensitiveDataModelSensitiveSchemas
{
public static Task<GetSensitiveDataModelSensitiveSchemasResult> InvokeAsync(GetSensitiveDataModelSensitiveSchemasArgs args, InvokeOptions? opts = null)
public static Output<GetSensitiveDataModelSensitiveSchemasResult> Invoke(GetSensitiveDataModelSensitiveSchemasInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensitiveDataModelSensitiveSchemasResult> getSensitiveDataModelSensitiveSchemas(GetSensitiveDataModelSensitiveSchemasArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getSensitiveDataModelSensitiveSchemas:getSensitiveDataModelSensitiveSchemas
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 Schemas Filter> - 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 Schemas Filter - 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 Schemas Filter> - 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 Schemas Filter[] - 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 Schemas Filter] - 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>
- schema
Names List<String> - A filter to return only items related to specific schema name.
getSensitiveDataModelSensitiveSchemas Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sensitive
Data stringModel Id - Sensitive
Schema List<GetCollections Sensitive Data Model Sensitive Schemas Sensitive Schema Collection> - The list of sensitive_schema_collection.
- Filters
List<Get
Sensitive Data Model Sensitive Schemas Filter> - 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
Schema []GetCollections Sensitive Data Model Sensitive Schemas Sensitive Schema Collection - The list of sensitive_schema_collection.
- Filters
[]Get
Sensitive Data Model Sensitive Schemas Filter - 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
Schema List<GetCollections Sensitive Data Model Sensitive Schemas Sensitive Schema Collection> - The list of sensitive_schema_collection.
- filters
List<Get
Sensitive Data Model Sensitive Schemas Filter> - 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
Schema GetCollections Sensitive Data Model Sensitive Schemas Sensitive Schema Collection[] - The list of sensitive_schema_collection.
- filters
Get
Sensitive Data Model Sensitive Schemas Filter[] - 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_
schema_ Sequence[datasafe.collections Get Sensitive Data Model Sensitive Schemas Sensitive Schema Collection] - The list of sensitive_schema_collection.
- filters
Sequence[datasafe.
Get Sensitive Data Model Sensitive Schemas Filter] - 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
Schema List<Property Map>Collections - The list of sensitive_schema_collection.
- filters List<Property Map>
- schema
Names List<String> - The database schema that contains the sensitive column.
Supporting Types
GetSensitiveDataModelSensitiveSchemasFilter
GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollection
- Items
List<Get
Sensitive Data Model Sensitive Schemas Sensitive Schema Collection Item> - An array of sensitive schema summary objects.
- Items
[]Get
Sensitive Data Model Sensitive Schemas Sensitive Schema Collection Item - An array of sensitive schema summary objects.
- items
List<Get
Sensitive Data Model Sensitive Schemas Sensitive Schema Collection Item> - An array of sensitive schema summary objects.
- items
Get
Sensitive Data Model Sensitive Schemas Sensitive Schema Collection Item[] - An array of sensitive schema summary objects.
- items
Sequence[datasafe.
Get Sensitive Data Model Sensitive Schemas Sensitive Schema Collection Item] - An array of sensitive schema summary objects.
- items List<Property Map>
- An array of sensitive schema summary objects.
GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollectionItem
- Schema
Name string - A filter to return only items related to specific schema name.
- Schema
Name string - A filter to return only items related to specific schema name.
- schema
Name String - A filter to return only items related to specific schema name.
- schema
Name string - A filter to return only items related to specific schema name.
- schema_
name str - A filter to return only items related to specific schema name.
- 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.