1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentDataMaskingActivity
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.Functions.getFusionEnvironmentDataMaskingActivity

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This data source provides details about a specific Fusion Environment Data Masking Activity resource in Oracle Cloud Infrastructure Fusion Apps service.

    Gets a DataMaskingActivity by identifier

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testFusionEnvironmentDataMaskingActivity = Oci.Functions.GetFusionEnvironmentDataMaskingActivity.Invoke(new()
        {
            DataMaskingActivityId = oci_fusion_apps_data_masking_activity.Test_data_masking_activity.Id,
            FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/Functions"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Functions.GetFusionEnvironmentDataMaskingActivity(ctx, &functions.GetFusionEnvironmentDataMaskingActivityArgs{
    			DataMaskingActivityId: oci_fusion_apps_data_masking_activity.Test_data_masking_activity.Id,
    			FusionEnvironmentId:   oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Functions.FunctionsFunctions;
    import com.pulumi.oci.Functions.inputs.GetFusionEnvironmentDataMaskingActivityArgs;
    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 testFusionEnvironmentDataMaskingActivity = FunctionsFunctions.getFusionEnvironmentDataMaskingActivity(GetFusionEnvironmentDataMaskingActivityArgs.builder()
                .dataMaskingActivityId(oci_fusion_apps_data_masking_activity.test_data_masking_activity().id())
                .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_data_masking_activity = oci.Functions.get_fusion_environment_data_masking_activity(data_masking_activity_id=oci_fusion_apps_data_masking_activity["test_data_masking_activity"]["id"],
        fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentDataMaskingActivity = oci.Functions.getFusionEnvironmentDataMaskingActivity({
        dataMaskingActivityId: oci_fusion_apps_data_masking_activity.test_data_masking_activity.id,
        fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
    });
    
    variables:
      testFusionEnvironmentDataMaskingActivity:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentDataMaskingActivity
          Arguments:
            dataMaskingActivityId: ${oci_fusion_apps_data_masking_activity.test_data_masking_activity.id}
            fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
    

    Using getFusionEnvironmentDataMaskingActivity

    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 getFusionEnvironmentDataMaskingActivity(args: GetFusionEnvironmentDataMaskingActivityArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentDataMaskingActivityResult>
    function getFusionEnvironmentDataMaskingActivityOutput(args: GetFusionEnvironmentDataMaskingActivityOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentDataMaskingActivityResult>
    def get_fusion_environment_data_masking_activity(data_masking_activity_id: Optional[str] = None,
                                                     fusion_environment_id: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentDataMaskingActivityResult
    def get_fusion_environment_data_masking_activity_output(data_masking_activity_id: Optional[pulumi.Input[str]] = None,
                                                     fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentDataMaskingActivityResult]
    func GetFusionEnvironmentDataMaskingActivity(ctx *Context, args *GetFusionEnvironmentDataMaskingActivityArgs, opts ...InvokeOption) (*GetFusionEnvironmentDataMaskingActivityResult, error)
    func GetFusionEnvironmentDataMaskingActivityOutput(ctx *Context, args *GetFusionEnvironmentDataMaskingActivityOutputArgs, opts ...InvokeOption) GetFusionEnvironmentDataMaskingActivityResultOutput

    > Note: This function is named GetFusionEnvironmentDataMaskingActivity in the Go SDK.

    public static class GetFusionEnvironmentDataMaskingActivity 
    {
        public static Task<GetFusionEnvironmentDataMaskingActivityResult> InvokeAsync(GetFusionEnvironmentDataMaskingActivityArgs args, InvokeOptions? opts = null)
        public static Output<GetFusionEnvironmentDataMaskingActivityResult> Invoke(GetFusionEnvironmentDataMaskingActivityInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFusionEnvironmentDataMaskingActivityResult> getFusionEnvironmentDataMaskingActivity(GetFusionEnvironmentDataMaskingActivityArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:Functions/getFusionEnvironmentDataMaskingActivity:getFusionEnvironmentDataMaskingActivity
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataMaskingActivityId string
    Unique DataMasking run identifier.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    DataMaskingActivityId string
    Unique DataMasking run identifier.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    dataMaskingActivityId String
    Unique DataMasking run identifier.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    dataMaskingActivityId string
    Unique DataMasking run identifier.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    data_masking_activity_id str
    Unique DataMasking run identifier.
    fusion_environment_id str
    unique FusionEnvironment identifier
    dataMaskingActivityId String
    Unique DataMasking run identifier.
    fusionEnvironmentId String
    unique FusionEnvironment identifier

    getFusionEnvironmentDataMaskingActivity Result

    The following output properties are available:

    DataMaskingActivityId string
    FusionEnvironmentId string
    Fusion Environment Identifier.
    Id string
    Unique identifier that is immutable on creation.
    IsResumeDataMasking bool
    State string
    The current state of the DataMaskingActivity.
    TimeMaskingFinish string
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    TimeMaskingStart string
    The time the data masking activity started. An RFC3339 formatted datetime string.
    DataMaskingActivityId string
    FusionEnvironmentId string
    Fusion Environment Identifier.
    Id string
    Unique identifier that is immutable on creation.
    IsResumeDataMasking bool
    State string
    The current state of the DataMaskingActivity.
    TimeMaskingFinish string
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    TimeMaskingStart string
    The time the data masking activity started. An RFC3339 formatted datetime string.
    dataMaskingActivityId String
    fusionEnvironmentId String
    Fusion Environment Identifier.
    id String
    Unique identifier that is immutable on creation.
    isResumeDataMasking Boolean
    state String
    The current state of the DataMaskingActivity.
    timeMaskingFinish String
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    timeMaskingStart String
    The time the data masking activity started. An RFC3339 formatted datetime string.
    dataMaskingActivityId string
    fusionEnvironmentId string
    Fusion Environment Identifier.
    id string
    Unique identifier that is immutable on creation.
    isResumeDataMasking boolean
    state string
    The current state of the DataMaskingActivity.
    timeMaskingFinish string
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    timeMaskingStart string
    The time the data masking activity started. An RFC3339 formatted datetime string.
    data_masking_activity_id str
    fusion_environment_id str
    Fusion Environment Identifier.
    id str
    Unique identifier that is immutable on creation.
    is_resume_data_masking bool
    state str
    The current state of the DataMaskingActivity.
    time_masking_finish str
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    time_masking_start str
    The time the data masking activity started. An RFC3339 formatted datetime string.
    dataMaskingActivityId String
    fusionEnvironmentId String
    Fusion Environment Identifier.
    id String
    Unique identifier that is immutable on creation.
    isResumeDataMasking Boolean
    state String
    The current state of the DataMaskingActivity.
    timeMaskingFinish String
    The time the data masking activity ended. An RFC3339 formatted datetime string.
    timeMaskingStart String
    The time the data masking activity started. An RFC3339 formatted datetime string.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi