1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Functions
  5. getFusionEnvironmentDataMaskingActivities
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

oci.Functions.getFusionEnvironmentDataMaskingActivities

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.23.0 published on Thursday, Feb 15, 2024 by Pulumi

    This data source provides the list of Fusion Environment Data Masking Activities in Oracle Cloud Infrastructure Fusion Apps service.

    Returns a list of DataMaskingActivities.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testFusionEnvironmentDataMaskingActivities = Oci.Functions.GetFusionEnvironmentDataMaskingActivities.Invoke(new()
        {
            FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            State = @var.Fusion_environment_data_masking_activity_state,
        });
    
    });
    
    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.GetFusionEnvironmentDataMaskingActivities(ctx, &functions.GetFusionEnvironmentDataMaskingActivitiesArgs{
    			FusionEnvironmentId: oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
    			State:               pulumi.StringRef(_var.Fusion_environment_data_masking_activity_state),
    		}, 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.GetFusionEnvironmentDataMaskingActivitiesArgs;
    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 testFusionEnvironmentDataMaskingActivities = FunctionsFunctions.getFusionEnvironmentDataMaskingActivities(GetFusionEnvironmentDataMaskingActivitiesArgs.builder()
                .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .state(var_.fusion_environment_data_masking_activity_state())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_data_masking_activities = oci.Functions.get_fusion_environment_data_masking_activities(fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        state=var["fusion_environment_data_masking_activity_state"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentDataMaskingActivities = oci.Functions.getFusionEnvironmentDataMaskingActivities({
        fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        state: _var.fusion_environment_data_masking_activity_state,
    });
    
    variables:
      testFusionEnvironmentDataMaskingActivities:
        fn::invoke:
          Function: oci:Functions:getFusionEnvironmentDataMaskingActivities
          Arguments:
            fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
            state: ${var.fusion_environment_data_masking_activity_state}
    

    Using getFusionEnvironmentDataMaskingActivities

    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 getFusionEnvironmentDataMaskingActivities(args: GetFusionEnvironmentDataMaskingActivitiesArgs, opts?: InvokeOptions): Promise<GetFusionEnvironmentDataMaskingActivitiesResult>
    function getFusionEnvironmentDataMaskingActivitiesOutput(args: GetFusionEnvironmentDataMaskingActivitiesOutputArgs, opts?: InvokeOptions): Output<GetFusionEnvironmentDataMaskingActivitiesResult>
    def get_fusion_environment_data_masking_activities(filters: Optional[Sequence[_functions.GetFusionEnvironmentDataMaskingActivitiesFilter]] = None,
                                                       fusion_environment_id: Optional[str] = None,
                                                       state: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetFusionEnvironmentDataMaskingActivitiesResult
    def get_fusion_environment_data_masking_activities_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_functions.GetFusionEnvironmentDataMaskingActivitiesFilterArgs]]]] = None,
                                                       fusion_environment_id: Optional[pulumi.Input[str]] = None,
                                                       state: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetFusionEnvironmentDataMaskingActivitiesResult]
    func GetFusionEnvironmentDataMaskingActivities(ctx *Context, args *GetFusionEnvironmentDataMaskingActivitiesArgs, opts ...InvokeOption) (*GetFusionEnvironmentDataMaskingActivitiesResult, error)
    func GetFusionEnvironmentDataMaskingActivitiesOutput(ctx *Context, args *GetFusionEnvironmentDataMaskingActivitiesOutputArgs, opts ...InvokeOption) GetFusionEnvironmentDataMaskingActivitiesResultOutput

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

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

    The following arguments are supported:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Filters List<GetFusionEnvironmentDataMaskingActivitiesFilter>
    State string
    A filter that returns all resources that match the specified status
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Filters []GetFusionEnvironmentDataMaskingActivitiesFilter
    State string
    A filter that returns all resources that match the specified status
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    filters List<GetFusionEnvironmentDataMaskingActivitiesFilter>
    state String
    A filter that returns all resources that match the specified status
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    filters GetFusionEnvironmentDataMaskingActivitiesFilter[]
    state string
    A filter that returns all resources that match the specified status
    fusion_environment_id str
    unique FusionEnvironment identifier
    filters GetFusionEnvironmentDataMaskingActivitiesFilter]
    state str
    A filter that returns all resources that match the specified status
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    filters List<Property Map>
    state String
    A filter that returns all resources that match the specified status

    getFusionEnvironmentDataMaskingActivities Result

    The following output properties are available:

    DataMaskingActivityCollections List<GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection>
    The list of data_masking_activity_collection.
    FusionEnvironmentId string
    Fusion Environment Identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetFusionEnvironmentDataMaskingActivitiesFilter>
    State string
    The current state of the DataMaskingActivity.
    DataMaskingActivityCollections []GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection
    The list of data_masking_activity_collection.
    FusionEnvironmentId string
    Fusion Environment Identifier.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetFusionEnvironmentDataMaskingActivitiesFilter
    State string
    The current state of the DataMaskingActivity.
    dataMaskingActivityCollections List<GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection>
    The list of data_masking_activity_collection.
    fusionEnvironmentId String
    Fusion Environment Identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetFusionEnvironmentDataMaskingActivitiesFilter>
    state String
    The current state of the DataMaskingActivity.
    dataMaskingActivityCollections GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection[]
    The list of data_masking_activity_collection.
    fusionEnvironmentId string
    Fusion Environment Identifier.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetFusionEnvironmentDataMaskingActivitiesFilter[]
    state string
    The current state of the DataMaskingActivity.
    data_masking_activity_collections GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection]
    The list of data_masking_activity_collection.
    fusion_environment_id str
    Fusion Environment Identifier.
    id str
    The provider-assigned unique ID for this managed resource.
    filters GetFusionEnvironmentDataMaskingActivitiesFilter]
    state str
    The current state of the DataMaskingActivity.
    dataMaskingActivityCollections List<Property Map>
    The list of data_masking_activity_collection.
    fusionEnvironmentId String
    Fusion Environment Identifier.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    state String
    The current state of the DataMaskingActivity.

    Supporting Types

    GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollection

    GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionItem

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    Unique identifier that is immutable on creation.
    IsResumeDataMasking bool
    State string
    A filter that returns all resources that match the specified status
    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.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    Id string
    Unique identifier that is immutable on creation.
    IsResumeDataMasking bool
    State string
    A filter that returns all resources that match the specified status
    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    Unique identifier that is immutable on creation.
    isResumeDataMasking Boolean
    state String
    A filter that returns all resources that match the specified status
    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.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    id string
    Unique identifier that is immutable on creation.
    isResumeDataMasking boolean
    state string
    A filter that returns all resources that match the specified status
    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.
    fusion_environment_id str
    unique FusionEnvironment identifier
    id str
    Unique identifier that is immutable on creation.
    is_resume_data_masking bool
    state str
    A filter that returns all resources that match the specified status
    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    id String
    Unique identifier that is immutable on creation.
    isResumeDataMasking Boolean
    state String
    A filter that returns all resources that match the specified status
    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.

    GetFusionEnvironmentDataMaskingActivitiesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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.23.0 published on Thursday, Feb 15, 2024 by Pulumi