Class DataMaskingPolicy
Represents a database data masking policy.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class DataMaskingPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
DataMaskingPolicy()
Initializes a new instance of the DataMaskingPolicy class.
Declaration
public DataMaskingPolicy ();
DataMaskingPolicy(DataMaskingState, String, String, String, String, String, String, String, String)
Initializes a new instance of the DataMaskingPolicy class.
Declaration
public DataMaskingPolicy (Microsoft.Azure.Management.Sql.Models.DataMaskingState dataMaskingState, string id = null, string name = null, string type = null, string exemptPrincipals = null, string applicationPrincipals = null, string maskingLevel = null, string location = null, string kind = null);
Parameters
DataMaskingState
dataMaskingState
The state of the data masking policy. Possible values include: 'Disabled', 'Enabled' |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
exemptPrincipals
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. |
String
applicationPrincipals
The list of the application principals. This is a legacy parameter and is no longer used. |
String
maskingLevel
The masking level. This is a legacy parameter and is no longer used. |
String
location
The location of the data masking policy. |
String
kind
The kind of data masking policy. Metadata, used for Azure portal. |
Properties
ApplicationPrincipals
Gets the list of the application principals. This is a legacy parameter and is no longer used.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.applicationPrincipals")]
public string ApplicationPrincipals { get; }
Property Value
String
|
DataMaskingState
Gets or sets the state of the data masking policy. Possible values include: 'Disabled', 'Enabled'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.dataMaskingState")]
public Microsoft.Azure.Management.Sql.Models.DataMaskingState DataMaskingState { get; set; }
Property Value
DataMaskingState
|
ExemptPrincipals
Gets or sets 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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.exemptPrincipals")]
public string ExemptPrincipals { get; set; }
Property Value
String
|
Kind
Gets the kind of data masking policy. Metadata, used for Azure portal.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="kind")]
public string Kind { get; }
Property Value
String
|
Location
Gets the location of the data masking policy.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="location")]
public string Location { get; }
Property Value
String
|
MaskingLevel
Gets the masking level. This is a legacy parameter and is no longer used.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.maskingLevel")]
public string MaskingLevel { get; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |