Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataSafe.getSensitiveType
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Sensitive Type resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified sensitive type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSensitiveType = oci.DataSafe.getSensitiveType({
sensitiveTypeId: testSensitiveTypeOciDataSafeSensitiveType.id,
});
import pulumi
import pulumi_oci as oci
test_sensitive_type = oci.DataSafe.get_sensitive_type(sensitive_type_id=test_sensitive_type_oci_data_safe_sensitive_type["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetSensitiveType(ctx, &datasafe.GetSensitiveTypeArgs{
SensitiveTypeId: testSensitiveTypeOciDataSafeSensitiveType.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 testSensitiveType = Oci.DataSafe.GetSensitiveType.Invoke(new()
{
SensitiveTypeId = testSensitiveTypeOciDataSafeSensitiveType.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.GetSensitiveTypeArgs;
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 testSensitiveType = DataSafeFunctions.getSensitiveType(GetSensitiveTypeArgs.builder()
.sensitiveTypeId(testSensitiveTypeOciDataSafeSensitiveType.id())
.build());
}
}
variables:
testSensitiveType:
fn::invoke:
Function: oci:DataSafe:getSensitiveType
Arguments:
sensitiveTypeId: ${testSensitiveTypeOciDataSafeSensitiveType.id}
Using getSensitiveType
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 getSensitiveType(args: GetSensitiveTypeArgs, opts?: InvokeOptions): Promise<GetSensitiveTypeResult>
function getSensitiveTypeOutput(args: GetSensitiveTypeOutputArgs, opts?: InvokeOptions): Output<GetSensitiveTypeResult>
def get_sensitive_type(sensitive_type_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitiveTypeResult
def get_sensitive_type_output(sensitive_type_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveTypeResult]
func GetSensitiveType(ctx *Context, args *GetSensitiveTypeArgs, opts ...InvokeOption) (*GetSensitiveTypeResult, error)
func GetSensitiveTypeOutput(ctx *Context, args *GetSensitiveTypeOutputArgs, opts ...InvokeOption) GetSensitiveTypeResultOutput
> Note: This function is named GetSensitiveType
in the Go SDK.
public static class GetSensitiveType
{
public static Task<GetSensitiveTypeResult> InvokeAsync(GetSensitiveTypeArgs args, InvokeOptions? opts = null)
public static Output<GetSensitiveTypeResult> Invoke(GetSensitiveTypeInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensitiveTypeResult> getSensitiveType(GetSensitiveTypeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getSensitiveType:getSensitiveType
arguments:
# arguments dictionary
The following arguments are supported:
- Sensitive
Type stringId - The OCID of the sensitive type.
- Sensitive
Type stringId - The OCID of the sensitive type.
- sensitive
Type StringId - The OCID of the sensitive type.
- sensitive
Type stringId - The OCID of the sensitive type.
- sensitive_
type_ strid - The OCID of the sensitive type.
- sensitive
Type StringId - The OCID of the sensitive type.
getSensitiveType Result
The following output properties are available:
- Comment
Pattern string - A regular expression to be used by data discovery for matching column comments.
- Compartment
Id string - The OCID of the compartment that contains the sensitive type.
- Data
Pattern string - A regular expression to be used by data discovery for matching column data values.
- Default
Masking stringFormat Id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the sensitive type.
- Display
Name string - The display name of the sensitive type.
- Entity
Type string - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- Dictionary<string, object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the sensitive type.
- Is
Common bool - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- Name
Pattern string - A regular expression to be used by data discovery for matching column names.
- Parent
Category stringId - The OCID of the parent sensitive category.
- Search
Type string - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- Sensitive
Type stringId - Short
Name string - The short name of the sensitive type.
- Source string
- Specifies whether the sensitive type is user-defined or predefined.
- State string
- The current state of the sensitive type.
- Dictionary<string, object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the sensitive type was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the sensitive type was last updated, in the format defined by RFC3339.
- Comment
Pattern string - A regular expression to be used by data discovery for matching column comments.
- Compartment
Id string - The OCID of the compartment that contains the sensitive type.
- Data
Pattern string - A regular expression to be used by data discovery for matching column data values.
- Default
Masking stringFormat Id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the sensitive type.
- Display
Name string - The display name of the sensitive type.
- Entity
Type string - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- map[string]interface{}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the sensitive type.
- Is
Common bool - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- Name
Pattern string - A regular expression to be used by data discovery for matching column names.
- Parent
Category stringId - The OCID of the parent sensitive category.
- Search
Type string - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- Sensitive
Type stringId - Short
Name string - The short name of the sensitive type.
- Source string
- Specifies whether the sensitive type is user-defined or predefined.
- State string
- The current state of the sensitive type.
- map[string]interface{}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The date and time the sensitive type was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the sensitive type was last updated, in the format defined by RFC3339.
- comment
Pattern String - A regular expression to be used by data discovery for matching column comments.
- compartment
Id String - The OCID of the compartment that contains the sensitive type.
- data
Pattern String - A regular expression to be used by data discovery for matching column data values.
- default
Masking StringFormat Id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the sensitive type.
- display
Name String - The display name of the sensitive type.
- entity
Type String - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- Map<String,Object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the sensitive type.
- is
Common Boolean - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- name
Pattern String - A regular expression to be used by data discovery for matching column names.
- parent
Category StringId - The OCID of the parent sensitive category.
- search
Type String - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- sensitive
Type StringId - short
Name String - The short name of the sensitive type.
- source String
- Specifies whether the sensitive type is user-defined or predefined.
- state String
- The current state of the sensitive type.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the sensitive type was created, in the format defined by RFC3339.
- time
Updated String - The date and time the sensitive type was last updated, in the format defined by RFC3339.
- comment
Pattern string - A regular expression to be used by data discovery for matching column comments.
- compartment
Id string - The OCID of the compartment that contains the sensitive type.
- data
Pattern string - A regular expression to be used by data discovery for matching column data values.
- default
Masking stringFormat Id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- The description of the sensitive type.
- display
Name string - The display name of the sensitive type.
- entity
Type string - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- {[key: string]: any}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the sensitive type.
- is
Common boolean - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- name
Pattern string - A regular expression to be used by data discovery for matching column names.
- parent
Category stringId - The OCID of the parent sensitive category.
- search
Type string - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- sensitive
Type stringId - short
Name string - The short name of the sensitive type.
- source string
- Specifies whether the sensitive type is user-defined or predefined.
- state string
- The current state of the sensitive type.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The date and time the sensitive type was created, in the format defined by RFC3339.
- time
Updated string - The date and time the sensitive type was last updated, in the format defined by RFC3339.
- comment_
pattern str - A regular expression to be used by data discovery for matching column comments.
- compartment_
id str - The OCID of the compartment that contains the sensitive type.
- data_
pattern str - A regular expression to be used by data discovery for matching column data values.
- default_
masking_ strformat_ id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- The description of the sensitive type.
- display_
name str - The display name of the sensitive type.
- entity_
type str - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- Mapping[str, Any]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the sensitive type.
- is_
common bool - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- name_
pattern str - A regular expression to be used by data discovery for matching column names.
- parent_
category_ strid - The OCID of the parent sensitive category.
- search_
type str - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- sensitive_
type_ strid - short_
name str - The short name of the sensitive type.
- source str
- Specifies whether the sensitive type is user-defined or predefined.
- state str
- The current state of the sensitive type.
- Mapping[str, Any]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the sensitive type was created, in the format defined by RFC3339.
- time_
updated str - The date and time the sensitive type was last updated, in the format defined by RFC3339.
- comment
Pattern String - A regular expression to be used by data discovery for matching column comments.
- compartment
Id String - The OCID of the compartment that contains the sensitive type.
- data
Pattern String - A regular expression to be used by data discovery for matching column data values.
- default
Masking StringFormat Id - The OCID of the library masking format that should be used to mask the sensitive columns associated with the sensitive type.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the sensitive type.
- display
Name String - The display name of the sensitive type.
- entity
Type String - The entity type. It can be either a sensitive type with regular expressions or a sensitive category used for grouping similar sensitive types.
- Map<Any>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the sensitive type.
- is
Common Boolean - Specifies whether the sensitive type is common. Common sensitive types belong to library sensitive types which are frequently used to perform sensitive data discovery.
- name
Pattern String - A regular expression to be used by data discovery for matching column names.
- parent
Category StringId - The OCID of the parent sensitive category.
- search
Type String - The search type indicating how the column name, comment and data patterns should be used by data discovery. Learn more.
- sensitive
Type StringId - short
Name String - The short name of the sensitive type.
- source String
- Specifies whether the sensitive type is user-defined or predefined.
- state String
- The current state of the sensitive type.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The date and time the sensitive type was created, in the format defined by RFC3339.
- time
Updated String - The date and time the sensitive type was last updated, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi