Class: Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::SQL::Mgmt::V2014_04_01::Models::DataMaskingPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb
Overview
Represents a database data masking policy.
Instance Attribute Summary collapse
-
#application_principals ⇒ String
legacy parameter and is no longer used.
-
#data_masking_state ⇒ DataMaskingState
Possible values include: ‘Disabled’, ‘Enabled’.
-
#exempt_principals ⇒ String
semicolon-separated list of database users for which the data masking policy does not apply.
-
#kind ⇒ String
Azure portal.
-
#location ⇒ String
The location of the data masking policy.
-
#masking_level ⇒ String
no longer used.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataMaskingPolicy class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#application_principals ⇒ String
legacy parameter and is no longer used.
27 28 29 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 27 def application_principals @application_principals end |
#data_masking_state ⇒ DataMaskingState
Possible values include: ‘Disabled’, ‘Enabled’
17 18 19 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 17 def data_masking_state @data_masking_state end |
#exempt_principals ⇒ String
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.
23 24 25 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 23 def exempt_principals @exempt_principals end |
#kind ⇒ String
Azure portal.
38 39 40 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 38 def kind @kind end |
#location ⇒ String
Returns The location of the data masking policy.
34 35 36 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 34 def location @location end |
#masking_level ⇒ String
no longer used.
31 32 33 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/data_masking_policy.rb', line 31 def masking_level @masking_level end |
Class Method Details
.mapper ⇒ Object
Mapper for DataMaskingPolicy class as Ruby Hash. This will be used for serialization/deserialization.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# 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 |