Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataSafe.getSensitiveTypesExport
Explore with Pulumi AI
This data source provides details about a specific Sensitive Types Export resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified sensitive types export by identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSensitiveTypesExport = oci.DataSafe.getSensitiveTypesExport({
    sensitiveTypesExportId: testSensitiveTypesExportOciDataSafeSensitiveTypesExport.id,
});
import pulumi
import pulumi_oci as oci
test_sensitive_types_export = oci.DataSafe.get_sensitive_types_export(sensitive_types_export_id=test_sensitive_types_export_oci_data_safe_sensitive_types_export["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.GetSensitiveTypesExport(ctx, &datasafe.GetSensitiveTypesExportArgs{
			SensitiveTypesExportId: testSensitiveTypesExportOciDataSafeSensitiveTypesExport.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 testSensitiveTypesExport = Oci.DataSafe.GetSensitiveTypesExport.Invoke(new()
    {
        SensitiveTypesExportId = testSensitiveTypesExportOciDataSafeSensitiveTypesExport.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.GetSensitiveTypesExportArgs;
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 testSensitiveTypesExport = DataSafeFunctions.getSensitiveTypesExport(GetSensitiveTypesExportArgs.builder()
            .sensitiveTypesExportId(testSensitiveTypesExportOciDataSafeSensitiveTypesExport.id())
            .build());
    }
}
variables:
  testSensitiveTypesExport:
    fn::invoke:
      function: oci:DataSafe:getSensitiveTypesExport
      arguments:
        sensitiveTypesExportId: ${testSensitiveTypesExportOciDataSafeSensitiveTypesExport.id}
Using getSensitiveTypesExport
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 getSensitiveTypesExport(args: GetSensitiveTypesExportArgs, opts?: InvokeOptions): Promise<GetSensitiveTypesExportResult>
function getSensitiveTypesExportOutput(args: GetSensitiveTypesExportOutputArgs, opts?: InvokeOptions): Output<GetSensitiveTypesExportResult>def get_sensitive_types_export(sensitive_types_export_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetSensitiveTypesExportResult
def get_sensitive_types_export_output(sensitive_types_export_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveTypesExportResult]func LookupSensitiveTypesExport(ctx *Context, args *LookupSensitiveTypesExportArgs, opts ...InvokeOption) (*LookupSensitiveTypesExportResult, error)
func LookupSensitiveTypesExportOutput(ctx *Context, args *LookupSensitiveTypesExportOutputArgs, opts ...InvokeOption) LookupSensitiveTypesExportResultOutput> Note: This function is named LookupSensitiveTypesExport in the Go SDK.
public static class GetSensitiveTypesExport 
{
    public static Task<GetSensitiveTypesExportResult> InvokeAsync(GetSensitiveTypesExportArgs args, InvokeOptions? opts = null)
    public static Output<GetSensitiveTypesExportResult> Invoke(GetSensitiveTypesExportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSensitiveTypesExportResult> getSensitiveTypesExport(GetSensitiveTypesExportArgs args, InvokeOptions options)
public static Output<GetSensitiveTypesExportResult> getSensitiveTypesExport(GetSensitiveTypesExportArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getSensitiveTypesExport:getSensitiveTypesExport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SensitiveTypes stringExport Id 
- The OCID of the sensitive types export.
- SensitiveTypes stringExport Id 
- The OCID of the sensitive types export.
- sensitiveTypes StringExport Id 
- The OCID of the sensitive types export.
- sensitiveTypes stringExport Id 
- The OCID of the sensitive types export.
- sensitive_types_ strexport_ id 
- The OCID of the sensitive types export.
- sensitiveTypes StringExport Id 
- The OCID of the sensitive types export.
getSensitiveTypesExport Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment that contains the sensitive types export.
- Dictionary<string, string>
- 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 types export.
- DisplayName string
- The display name of the sensitive types export.
- Dictionary<string, string>
- 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 types export.
- IsInclude boolAll Sensitive Types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- SensitiveType List<string>Ids For Exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- SensitiveTypes stringExport Id 
- State string
- The current state of the sensitive types export.
- Dictionary<string, string>
- 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"}
- TimeCreated string
- The date and time the sensitive types export was created, in the format defined by RFC3339.
- TimeUpdated string
- The date and time the sensitive types export was last updated, in the format defined by RFC3339.
- CompartmentId string
- The OCID of the compartment that contains the sensitive types export.
- map[string]string
- 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 types export.
- DisplayName string
- The display name of the sensitive types export.
- map[string]string
- 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 types export.
- IsInclude boolAll Sensitive Types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- SensitiveType []stringIds For Exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- SensitiveTypes stringExport Id 
- State string
- The current state of the sensitive types export.
- map[string]string
- 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"}
- TimeCreated string
- The date and time the sensitive types export was created, in the format defined by RFC3339.
- TimeUpdated string
- The date and time the sensitive types export was last updated, in the format defined by RFC3339.
- compartmentId String
- The OCID of the compartment that contains the sensitive types export.
- Map<String,String>
- 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 types export.
- displayName String
- The display name of the sensitive types export.
- Map<String,String>
- 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 types export.
- isInclude BooleanAll Sensitive Types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- sensitiveType List<String>Ids For Exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- sensitiveTypes StringExport Id 
- state String
- The current state of the sensitive types export.
- Map<String,String>
- 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"}
- timeCreated String
- The date and time the sensitive types export was created, in the format defined by RFC3339.
- timeUpdated String
- The date and time the sensitive types export was last updated, in the format defined by RFC3339.
- compartmentId string
- The OCID of the compartment that contains the sensitive types export.
- {[key: string]: string}
- 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 types export.
- displayName string
- The display name of the sensitive types export.
- {[key: string]: string}
- 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 types export.
- isInclude booleanAll Sensitive Types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- sensitiveType string[]Ids For Exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- sensitiveTypes stringExport Id 
- state string
- The current state of the sensitive types export.
- {[key: string]: string}
- 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"}
- timeCreated string
- The date and time the sensitive types export was created, in the format defined by RFC3339.
- timeUpdated string
- The date and time the sensitive types export was last updated, in the format defined by RFC3339.
- compartment_id str
- The OCID of the compartment that contains the sensitive types export.
- Mapping[str, str]
- 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 types export.
- display_name str
- The display name of the sensitive types export.
- Mapping[str, str]
- 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 types export.
- is_include_ boolall_ sensitive_ types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- sensitive_type_ Sequence[str]ids_ for_ exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- sensitive_types_ strexport_ id 
- state str
- The current state of the sensitive types export.
- Mapping[str, str]
- 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 types export was created, in the format defined by RFC3339.
- time_updated str
- The date and time the sensitive types export was last updated, in the format defined by RFC3339.
- compartmentId String
- The OCID of the compartment that contains the sensitive types export.
- Map<String>
- 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 types export.
- displayName String
- The display name of the sensitive types export.
- Map<String>
- 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 types export.
- isInclude BooleanAll Sensitive Types 
- Indicates if all the existing user-defined sensitive types are used for export. If it's set to true, the sensitiveTypeIdsForExport attribute is ignored and all user-defined sensitive types are exported.
- sensitiveType List<String>Ids For Exports 
- The OCIDs of the sensitive types used to create sensitive types export.
- sensitiveTypes StringExport Id 
- state String
- The current state of the sensitive types export.
- Map<String>
- 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"}
- timeCreated String
- The date and time the sensitive types export was created, in the format defined by RFC3339.
- timeUpdated String
- The date and time the sensitive types export 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 ociTerraform Provider.