This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.sql.getDataMaskingPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets the database data masking policy. Azure REST API version: 2021-11-01.
Other available API versions: 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getDataMaskingPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Data
Masking stringPolicy Name - The name of the database for which the data masking policy applies.
- Database
Name string - The name of the database.
- Resource
Group 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.
- Server
Name string - The name of the server.
- Data
Masking stringPolicy Name - The name of the database for which the data masking policy applies.
- Database
Name string - The name of the database.
- Resource
Group 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.
- Server
Name string - The name of the server.
- data
Masking StringPolicy Name - The name of the database for which the data masking policy applies.
- database
Name String - The name of the database.
- resource
Group 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.
- server
Name String - The name of the server.
- data
Masking stringPolicy Name - The name of the database for which the data masking policy applies.
- database
Name string - The name of the database.
- resource
Group 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.
- server
Name string - The name of the server.
- data_
masking_ strpolicy_ name - The name of the database for which the data masking policy 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.
- data
Masking StringPolicy Name - The name of the database for which the data masking policy applies.
- database
Name String - The name of the database.
- resource
Group 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.
- server
Name String - The name of the server.
getDataMaskingPolicy Result
The following output properties are available:
- Application
Principals string - The list of the application principals. This is a legacy parameter and is no longer used.
- Data
Masking 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.
- Masking
Level string - The masking level. This is a legacy parameter and is no longer used.
- Name string
- Resource name.
- Type string
- Resource type.
- Exempt
Principals 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 string - The list of the application principals. This is a legacy parameter and is no longer used.
- Data
Masking 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.
- Masking
Level string - The masking level. This is a legacy parameter and is no longer used.
- Name string
- Resource name.
- Type string
- Resource type.
- Exempt
Principals 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 String - The list of the application principals. This is a legacy parameter and is no longer used.
- data
Masking 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.
- masking
Level String - The masking level. This is a legacy parameter and is no longer used.
- name String
- Resource name.
- type String
- Resource type.
- exempt
Principals 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 string - The list of the application principals. This is a legacy parameter and is no longer used.
- data
Masking 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.
- masking
Level string - The masking level. This is a legacy parameter and is no longer used.
- name string
- Resource name.
- type string
- Resource type.
- exempt
Principals 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.
- application
Principals String - The list of the application principals. This is a legacy parameter and is no longer used.
- data
Masking 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.
- masking
Level String - The masking level. This is a legacy parameter and is no longer used.
- name String
- Resource name.
- type String
- Resource type.
- exempt
Principals 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 pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi