Viewing docs for sumologic 3.2.10
published on Thursday, Jul 23, 2026 by sumologic
published on Thursday, Jul 23, 2026 by sumologic
Viewing docs for sumologic 3.2.10
published on Thursday, Jul 23, 2026 by sumologic
published on Thursday, Jul 23, 2026 by sumologic
Provides a way to retrieve all Sumologic Data Mask Rules.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const all = sumologic.getDataMaskRules({});
import pulumi
import pulumi_sumologic as sumologic
all = sumologic.get_data_mask_rules()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sumologic/v3/sumologic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sumologic.GetDataMaskRules(ctx, &sumologic.GetDataMaskRulesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sumologic = Pulumi.Sumologic;
return await Deployment.RunAsync(() =>
{
var all = Sumologic.GetDataMaskRules.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.SumologicFunctions;
import com.pulumi.sumologic.inputs.GetDataMaskRulesArgs;
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 all = SumologicFunctions.getDataMaskRules(GetDataMaskRulesArgs.builder()
.build());
}
}
variables:
all:
fn::invoke:
function: sumologic:getDataMaskRules
arguments: {}
Example coming soon!
Using getDataMaskRules
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 getDataMaskRules(args: GetDataMaskRulesArgs, opts?: InvokeOptions): Promise<GetDataMaskRulesResult>
function getDataMaskRulesOutput(args: GetDataMaskRulesOutputArgs, opts?: InvokeOptions): Output<GetDataMaskRulesResult>def get_data_mask_rules(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataMaskRulesResult
def get_data_mask_rules_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataMaskRulesResult]func GetDataMaskRules(ctx *Context, args *GetDataMaskRulesArgs, opts ...InvokeOption) (*GetDataMaskRulesResult, error)
func GetDataMaskRulesOutput(ctx *Context, args *GetDataMaskRulesOutputArgs, opts ...InvokeOption) GetDataMaskRulesResultOutput> Note: This function is named GetDataMaskRules in the Go SDK.
public static class GetDataMaskRules
{
public static Task<GetDataMaskRulesResult> InvokeAsync(GetDataMaskRulesArgs args, InvokeOptions? opts = null)
public static Output<GetDataMaskRulesResult> Invoke(GetDataMaskRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataMaskRulesResult> getDataMaskRules(GetDataMaskRulesArgs args, InvokeOptions options)
public static Output<GetDataMaskRulesResult> getDataMaskRules(GetDataMaskRulesArgs args, InvokeOptions options)
fn::invoke:
function: sumologic:index/getDataMaskRules:getDataMaskRules
arguments:
# arguments dictionarydata "sumologic_get_data_mask_rules" "name" {
# arguments
}The following arguments are supported:
- Id string
- The unique identifier of the rule.
- Id string
- The unique identifier of the rule.
- id string
- The unique identifier of the rule.
- id String
- The unique identifier of the rule.
- id string
- The unique identifier of the rule.
- id str
- The unique identifier of the rule.
- id String
- The unique identifier of the rule.
getDataMaskRules Result
The following output properties are available:
- Id string
- The unique identifier of the rule.
- Rules
List<Get
Data Mask Rules Rule> - A list of data mask rules. Each rule has the following attributes:
- Id string
- The unique identifier of the rule.
- Rules
[]Get
Data Mask Rules Rule - A list of data mask rules. Each rule has the following attributes:
- id string
- The unique identifier of the rule.
- rules list(object)
- A list of data mask rules. Each rule has the following attributes:
- id String
- The unique identifier of the rule.
- rules
List<Get
Data Mask Rules Rule> - A list of data mask rules. Each rule has the following attributes:
- id string
- The unique identifier of the rule.
- rules
Get
Data Mask Rules Rule[] - A list of data mask rules. Each rule has the following attributes:
- id str
- The unique identifier of the rule.
- rules
Sequence[Get
Data Mask Rules Rule] - A list of data mask rules. Each rule has the following attributes:
- id String
- The unique identifier of the rule.
- rules List<Property Map>
- A list of data mask rules. Each rule has the following attributes:
Supporting Types
GetDataMaskRulesRule
- Description string
- The description of the rule.
- Enabled bool
- Whether the rule is enabled.
- Id string
- The unique identifier of the rule.
- Mask
String string - The replacement string used when masking.
- Name string
- The name of the rule.
- Regex
Pattern string - The regular expression pattern used to match sensitive data.
- Description string
- The description of the rule.
- Enabled bool
- Whether the rule is enabled.
- Id string
- The unique identifier of the rule.
- Mask
String string - The replacement string used when masking.
- Name string
- The name of the rule.
- Regex
Pattern string - The regular expression pattern used to match sensitive data.
- description string
- The description of the rule.
- enabled bool
- Whether the rule is enabled.
- id string
- The unique identifier of the rule.
- mask_
string string - The replacement string used when masking.
- name string
- The name of the rule.
- regex_
pattern string - The regular expression pattern used to match sensitive data.
- description String
- The description of the rule.
- enabled Boolean
- Whether the rule is enabled.
- id String
- The unique identifier of the rule.
- mask
String String - The replacement string used when masking.
- name String
- The name of the rule.
- regex
Pattern String - The regular expression pattern used to match sensitive data.
- description string
- The description of the rule.
- enabled boolean
- Whether the rule is enabled.
- id string
- The unique identifier of the rule.
- mask
String string - The replacement string used when masking.
- name string
- The name of the rule.
- regex
Pattern string - The regular expression pattern used to match sensitive data.
- description str
- The description of the rule.
- enabled bool
- Whether the rule is enabled.
- id str
- The unique identifier of the rule.
- mask_
string str - The replacement string used when masking.
- name str
- The name of the rule.
- regex_
pattern str - The regular expression pattern used to match sensitive data.
- description String
- The description of the rule.
- enabled Boolean
- Whether the rule is enabled.
- id String
- The unique identifier of the rule.
- mask
String String - The replacement string used when masking.
- name String
- The name of the rule.
- regex
Pattern String - The regular expression pattern used to match sensitive data.
Package Details
- Repository
- Sumo Logic sumologic/terraform-provider-sumologic
- License
- Notes
- This Pulumi package is based on the
sumologicTerraform Provider.
Viewing docs for sumologic 3.2.10
published on Thursday, Jul 23, 2026 by sumologic
published on Thursday, Jul 23, 2026 by sumologic