1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FusionApps
  5. FusionEnvironmentDataMaskingActivity
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.FusionApps.FusionEnvironmentDataMaskingActivity

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Fusion Environment Data Masking Activity resource in Oracle Cloud Infrastructure Fusion Apps service.

    Creates a new DataMaskingActivity.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFusionEnvironmentDataMaskingActivity = new oci.fusionapps.FusionEnvironmentDataMaskingActivity("testFusionEnvironmentDataMaskingActivity", {
        fusionEnvironmentId: oci_fusion_apps_fusion_environment.test_fusion_environment.id,
        isResumeDataMasking: _var.fusion_environment_data_masking_activity_is_resume_data_masking,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fusion_environment_data_masking_activity = oci.fusion_apps.FusionEnvironmentDataMaskingActivity("testFusionEnvironmentDataMaskingActivity",
        fusion_environment_id=oci_fusion_apps_fusion_environment["test_fusion_environment"]["id"],
        is_resume_data_masking=var["fusion_environment_data_masking_activity_is_resume_data_masking"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/FusionApps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := FusionApps.NewFusionEnvironmentDataMaskingActivity(ctx, "testFusionEnvironmentDataMaskingActivity", &FusionApps.FusionEnvironmentDataMaskingActivityArgs{
    			FusionEnvironmentId: pulumi.Any(oci_fusion_apps_fusion_environment.Test_fusion_environment.Id),
    			IsResumeDataMasking: pulumi.Any(_var.Fusion_environment_data_masking_activity_is_resume_data_masking),
    		})
    		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 testFusionEnvironmentDataMaskingActivity = new Oci.FusionApps.FusionEnvironmentDataMaskingActivity("testFusionEnvironmentDataMaskingActivity", new()
        {
            FusionEnvironmentId = oci_fusion_apps_fusion_environment.Test_fusion_environment.Id,
            IsResumeDataMasking = @var.Fusion_environment_data_masking_activity_is_resume_data_masking,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FusionApps.FusionEnvironmentDataMaskingActivity;
    import com.pulumi.oci.FusionApps.FusionEnvironmentDataMaskingActivityArgs;
    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) {
            var testFusionEnvironmentDataMaskingActivity = new FusionEnvironmentDataMaskingActivity("testFusionEnvironmentDataMaskingActivity", FusionEnvironmentDataMaskingActivityArgs.builder()        
                .fusionEnvironmentId(oci_fusion_apps_fusion_environment.test_fusion_environment().id())
                .isResumeDataMasking(var_.fusion_environment_data_masking_activity_is_resume_data_masking())
                .build());
    
        }
    }
    
    resources:
      testFusionEnvironmentDataMaskingActivity:
        type: oci:FusionApps:FusionEnvironmentDataMaskingActivity
        properties:
          #Required
          fusionEnvironmentId: ${oci_fusion_apps_fusion_environment.test_fusion_environment.id}
          #Optional
          isResumeDataMasking: ${var.fusion_environment_data_masking_activity_is_resume_data_masking}
    

    Create FusionEnvironmentDataMaskingActivity Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new FusionEnvironmentDataMaskingActivity(name: string, args: FusionEnvironmentDataMaskingActivityArgs, opts?: CustomResourceOptions);
    @overload
    def FusionEnvironmentDataMaskingActivity(resource_name: str,
                                             args: FusionEnvironmentDataMaskingActivityArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def FusionEnvironmentDataMaskingActivity(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             fusion_environment_id: Optional[str] = None,
                                             is_resume_data_masking: Optional[bool] = None)
    func NewFusionEnvironmentDataMaskingActivity(ctx *Context, name string, args FusionEnvironmentDataMaskingActivityArgs, opts ...ResourceOption) (*FusionEnvironmentDataMaskingActivity, error)
    public FusionEnvironmentDataMaskingActivity(string name, FusionEnvironmentDataMaskingActivityArgs args, CustomResourceOptions? opts = null)
    public FusionEnvironmentDataMaskingActivity(String name, FusionEnvironmentDataMaskingActivityArgs args)
    public FusionEnvironmentDataMaskingActivity(String name, FusionEnvironmentDataMaskingActivityArgs args, CustomResourceOptions options)
    
    type: oci:FusionApps:FusionEnvironmentDataMaskingActivity
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args FusionEnvironmentDataMaskingActivityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args FusionEnvironmentDataMaskingActivityArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args FusionEnvironmentDataMaskingActivityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FusionEnvironmentDataMaskingActivityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FusionEnvironmentDataMaskingActivityArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var fusionEnvironmentDataMaskingActivityResource = new Oci.FusionApps.FusionEnvironmentDataMaskingActivity("fusionEnvironmentDataMaskingActivityResource", new()
    {
        FusionEnvironmentId = "string",
        IsResumeDataMasking = false,
    });
    
    example, err := FusionApps.NewFusionEnvironmentDataMaskingActivity(ctx, "fusionEnvironmentDataMaskingActivityResource", &FusionApps.FusionEnvironmentDataMaskingActivityArgs{
    	FusionEnvironmentId: pulumi.String("string"),
    	IsResumeDataMasking: pulumi.Bool(false),
    })
    
    var fusionEnvironmentDataMaskingActivityResource = new FusionEnvironmentDataMaskingActivity("fusionEnvironmentDataMaskingActivityResource", FusionEnvironmentDataMaskingActivityArgs.builder()        
        .fusionEnvironmentId("string")
        .isResumeDataMasking(false)
        .build());
    
    fusion_environment_data_masking_activity_resource = oci.fusion_apps.FusionEnvironmentDataMaskingActivity("fusionEnvironmentDataMaskingActivityResource",
        fusion_environment_id="string",
        is_resume_data_masking=False)
    
    const fusionEnvironmentDataMaskingActivityResource = new oci.fusionapps.FusionEnvironmentDataMaskingActivity("fusionEnvironmentDataMaskingActivityResource", {
        fusionEnvironmentId: "string",
        isResumeDataMasking: false,
    });
    
    type: oci:FusionApps:FusionEnvironmentDataMaskingActivity
    properties:
        fusionEnvironmentId: string
        isResumeDataMasking: false
    

    FusionEnvironmentDataMaskingActivity Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The FusionEnvironmentDataMaskingActivity resource accepts the following input properties:

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    IsResumeDataMasking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    FusionEnvironmentId string
    unique FusionEnvironment identifier
    IsResumeDataMasking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    fusionEnvironmentId String
    unique FusionEnvironment identifier
    isResumeDataMasking Boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    fusionEnvironmentId string
    unique FusionEnvironment identifier
    isResumeDataMasking boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    fusion_environment_id str
    unique FusionEnvironment identifier
    is_resume_data_masking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    fusionEnvironmentId String
    unique FusionEnvironment identifier
    isResumeDataMasking Boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FusionEnvironmentDataMaskingActivity resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    Look up Existing FusionEnvironmentDataMaskingActivity Resource

    Get an existing FusionEnvironmentDataMaskingActivity resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: FusionEnvironmentDataMaskingActivityState, opts?: CustomResourceOptions): FusionEnvironmentDataMaskingActivity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            fusion_environment_id: Optional[str] = None,
            is_resume_data_masking: Optional[bool] = None,
            state: Optional[str] = None,
            time_masking_finish: Optional[str] = None,
            time_masking_start: Optional[str] = None) -> FusionEnvironmentDataMaskingActivity
    func GetFusionEnvironmentDataMaskingActivity(ctx *Context, name string, id IDInput, state *FusionEnvironmentDataMaskingActivityState, opts ...ResourceOption) (*FusionEnvironmentDataMaskingActivity, error)
    public static FusionEnvironmentDataMaskingActivity Get(string name, Input<string> id, FusionEnvironmentDataMaskingActivityState? state, CustomResourceOptions? opts = null)
    public static FusionEnvironmentDataMaskingActivity get(String name, Output<String> id, FusionEnvironmentDataMaskingActivityState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    IsResumeDataMasking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    FusionEnvironmentId string
    unique FusionEnvironment identifier
    IsResumeDataMasking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    isResumeDataMasking Boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    fusionEnvironmentId string
    unique FusionEnvironment identifier
    isResumeDataMasking boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    fusion_environment_id str
    unique FusionEnvironment identifier
    is_resume_data_masking bool

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.
    fusionEnvironmentId String
    unique FusionEnvironment identifier
    isResumeDataMasking Boolean

    This allows the Data Safe service to resume the previously failed data masking activity.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    Import

    FusionEnvironmentDataMaskingActivities can be imported using the id, e.g.

    $ pulumi import oci:FusionApps/fusionEnvironmentDataMaskingActivity:FusionEnvironmentDataMaskingActivity test_fusion_environment_data_masking_activity "fusionEnvironments/{fusionEnvironmentId}/dataMaskingActivities/{dataMaskingActivityId}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.32.0 published on Thursday, Apr 18, 2024 by Pulumi