class Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy
Represents a database data masking policy.
Attributes
@return [String] The list of the application principals. This is a legacy parameter and is no longer used.
@return [DataMaskingState] The state of the data masking policy. Possible values include: 'Disabled', 'Enabled'
@return [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.
@return [String] The kind of data masking policy. Metadata, used for Azure
portal.
@return [String] The location of the data masking policy.
@return [String] The masking level. This is a legacy parameter and is no longer used.
Private Class Methods
Mapper for DataMaskingPolicy
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb, line 45 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DataMaskingPolicy', type: { name: 'Composite', class_name: 'DataMaskingPolicy', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, data_masking_state: { client_side_validation: true, required: true, serialized_name: 'properties.dataMaskingState', type: { name: 'Enum', module: 'DataMaskingState' } }, exempt_principals: { client_side_validation: true, required: false, serialized_name: 'properties.exemptPrincipals', type: { name: 'String' } }, application_principals: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.applicationPrincipals', type: { name: 'String' } }, masking_level: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maskingLevel', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } } } } } end