oci.FusionApps.FusionEnvironmentDataMaskingActivity
Explore with Pulumi AI
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("test_fusion_environment_data_masking_activity", {
fusionEnvironmentId: testFusionEnvironment.id,
isResumeDataMasking: fusionEnvironmentDataMaskingActivityIsResumeDataMasking,
});
import pulumi
import pulumi_oci as oci
test_fusion_environment_data_masking_activity = oci.fusion_apps.FusionEnvironmentDataMaskingActivity("test_fusion_environment_data_masking_activity",
fusion_environment_id=test_fusion_environment["id"],
is_resume_data_masking=fusion_environment_data_masking_activity_is_resume_data_masking)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FusionApps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := FusionApps.NewFusionEnvironmentDataMaskingActivity(ctx, "test_fusion_environment_data_masking_activity", &FusionApps.FusionEnvironmentDataMaskingActivityArgs{
FusionEnvironmentId: pulumi.Any(testFusionEnvironment.Id),
IsResumeDataMasking: pulumi.Any(fusionEnvironmentDataMaskingActivityIsResumeDataMasking),
})
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("test_fusion_environment_data_masking_activity", new()
{
FusionEnvironmentId = testFusionEnvironment.Id,
IsResumeDataMasking = fusionEnvironmentDataMaskingActivityIsResumeDataMasking,
});
});
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(testFusionEnvironment.id())
.isResumeDataMasking(fusionEnvironmentDataMaskingActivityIsResumeDataMasking)
.build());
}
}
resources:
testFusionEnvironmentDataMaskingActivity:
type: oci:FusionApps:FusionEnvironmentDataMaskingActivity
name: test_fusion_environment_data_masking_activity
properties:
fusionEnvironmentId: ${testFusionEnvironment.id}
isResumeDataMasking: ${fusionEnvironmentDataMaskingActivityIsResumeDataMasking}
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.
Constructor 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:
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Is
Resume boolData Masking 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 stringId - unique FusionEnvironment identifier
- Is
Resume boolData Masking 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 StringId - unique FusionEnvironment identifier
- is
Resume BooleanData Masking 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 stringId - unique FusionEnvironment identifier
- is
Resume booleanData Masking 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_ strid - unique FusionEnvironment identifier
- is_
resume_ booldata_ masking 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 StringId - unique FusionEnvironment identifier
- is
Resume BooleanData Masking 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.
- Time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- Time
Masking stringStart - 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.
- Time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- Time
Masking stringStart - 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.
- time
Masking StringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking StringStart - 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.
- time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking stringStart - 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_ strfinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time_
masking_ strstart - 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.
- time
Masking StringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking StringStart - 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.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Is
Resume boolData Masking 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.
- Time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- Time
Masking stringStart - The time the data masking activity started. An RFC3339 formatted datetime string.
- Fusion
Environment stringId - unique FusionEnvironment identifier
- Is
Resume boolData Masking 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.
- Time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- Time
Masking stringStart - The time the data masking activity started. An RFC3339 formatted datetime string.
- fusion
Environment StringId - unique FusionEnvironment identifier
- is
Resume BooleanData Masking 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.
- time
Masking StringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking StringStart - The time the data masking activity started. An RFC3339 formatted datetime string.
- fusion
Environment stringId - unique FusionEnvironment identifier
- is
Resume booleanData Masking 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.
- time
Masking stringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking stringStart - The time the data masking activity started. An RFC3339 formatted datetime string.
- fusion_
environment_ strid - unique FusionEnvironment identifier
- is_
resume_ booldata_ masking 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_ strfinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time_
masking_ strstart - The time the data masking activity started. An RFC3339 formatted datetime string.
- fusion
Environment StringId - unique FusionEnvironment identifier
- is
Resume BooleanData Masking 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.
- time
Masking StringFinish - The time the data masking activity ended. An RFC3339 formatted datetime string.
- time
Masking StringStart - 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.