These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.sql.getDataMaskingPolicy
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets a database data masking policy. API Version: 2014-04-01.
Using getDataMaskingPolicy
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 getDataMaskingPolicy(args: GetDataMaskingPolicyArgs, opts?: InvokeOptions): Promise<GetDataMaskingPolicyResult>
function getDataMaskingPolicyOutput(args: GetDataMaskingPolicyOutputArgs, opts?: InvokeOptions): Output<GetDataMaskingPolicyResult>def get_data_masking_policy(data_masking_policy_name: Optional[str] = None,
                            database_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            server_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetDataMaskingPolicyResult
def get_data_masking_policy_output(data_masking_policy_name: Optional[pulumi.Input[str]] = None,
                            database_name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            server_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetDataMaskingPolicyResult]func LookupDataMaskingPolicy(ctx *Context, args *LookupDataMaskingPolicyArgs, opts ...InvokeOption) (*LookupDataMaskingPolicyResult, error)
func LookupDataMaskingPolicyOutput(ctx *Context, args *LookupDataMaskingPolicyOutputArgs, opts ...InvokeOption) LookupDataMaskingPolicyResultOutput> Note: This function is named LookupDataMaskingPolicy in the Go SDK.
public static class GetDataMaskingPolicy 
{
    public static Task<GetDataMaskingPolicyResult> InvokeAsync(GetDataMaskingPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetDataMaskingPolicyResult> Invoke(GetDataMaskingPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataMaskingPolicyResult> getDataMaskingPolicy(GetDataMaskingPolicyArgs args, InvokeOptions options)
public static Output<GetDataMaskingPolicyResult> getDataMaskingPolicy(GetDataMaskingPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:sql:getDataMaskingPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DataMasking stringPolicy Name 
- The name of the database for which the data masking rule applies.
- DatabaseName string
- The name of the database.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServerName string
- The name of the server.
- DataMasking stringPolicy Name 
- The name of the database for which the data masking rule applies.
- DatabaseName string
- The name of the database.
- ResourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- ServerName string
- The name of the server.
- dataMasking StringPolicy Name 
- The name of the database for which the data masking rule applies.
- databaseName String
- The name of the database.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName String
- The name of the server.
- dataMasking stringPolicy Name 
- The name of the database for which the data masking rule applies.
- databaseName string
- The name of the database.
- resourceGroup stringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName string
- The name of the server.
- data_masking_ strpolicy_ name 
- The name of the database for which the data masking rule applies.
- database_name str
- The name of the database.
- resource_group_ strname 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_name str
- The name of the server.
- dataMasking StringPolicy Name 
- The name of the database for which the data masking rule applies.
- databaseName String
- The name of the database.
- resourceGroup StringName 
- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- serverName String
- The name of the server.
getDataMaskingPolicy Result
The following output properties are available:
- ApplicationPrincipals string
- The list of the application principals. This is a legacy parameter and is no longer used.
- DataMasking stringState 
- The state of the data masking policy.
- Id string
- Resource ID.
- Kind string
- The kind of data masking policy. Metadata, used for Azure portal.
- Location string
- The location of the data masking policy.
- MaskingLevel string
- The masking level. This is a legacy parameter and is no longer used.
- Name string
- Resource name.
- Type string
- Resource type.
- ExemptPrincipals string
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
- ApplicationPrincipals string
- The list of the application principals. This is a legacy parameter and is no longer used.
- DataMasking stringState 
- The state of the data masking policy.
- Id string
- Resource ID.
- Kind string
- The kind of data masking policy. Metadata, used for Azure portal.
- Location string
- The location of the data masking policy.
- MaskingLevel string
- The masking level. This is a legacy parameter and is no longer used.
- Name string
- Resource name.
- Type string
- Resource type.
- ExemptPrincipals string
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
- applicationPrincipals String
- The list of the application principals. This is a legacy parameter and is no longer used.
- dataMasking StringState 
- The state of the data masking policy.
- id String
- Resource ID.
- kind String
- The kind of data masking policy. Metadata, used for Azure portal.
- location String
- The location of the data masking policy.
- maskingLevel String
- The masking level. This is a legacy parameter and is no longer used.
- name String
- Resource name.
- type String
- Resource type.
- exemptPrincipals String
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
- applicationPrincipals string
- The list of the application principals. This is a legacy parameter and is no longer used.
- dataMasking stringState 
- The state of the data masking policy.
- id string
- Resource ID.
- kind string
- The kind of data masking policy. Metadata, used for Azure portal.
- location string
- The location of the data masking policy.
- maskingLevel string
- The masking level. This is a legacy parameter and is no longer used.
- name string
- Resource name.
- type string
- Resource type.
- exemptPrincipals string
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
- application_principals str
- The list of the application principals. This is a legacy parameter and is no longer used.
- data_masking_ strstate 
- The state of the data masking policy.
- id str
- Resource ID.
- kind str
- The kind of data masking policy. Metadata, used for Azure portal.
- location str
- The location of the data masking policy.
- masking_level str
- The masking level. This is a legacy parameter and is no longer used.
- name str
- Resource name.
- type str
- Resource type.
- exempt_principals str
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
- applicationPrincipals String
- The list of the application principals. This is a legacy parameter and is no longer used.
- dataMasking StringState 
- The state of the data masking policy.
- id String
- Resource ID.
- kind String
- The kind of data masking policy. Metadata, used for Azure portal.
- location String
- The location of the data masking policy.
- maskingLevel String
- The masking level. This is a legacy parameter and is no longer used.
- name String
- Resource name.
- type String
- Resource type.
- exemptPrincipals String
- The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi