Class: Azure::Synapse::Mgmt::V2019_06_01_preview::Models::DataMaskingPolicy

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb

Overview

Model object.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#application_principalsString

legacy parameter and is no longer used.

Returns:

  • (String)

    The list of the application principals. This is a



28
29
30
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 28

def application_principals
  @application_principals
end

#data_masking_stateDataMaskingState

Possible values include: ‘Disabled’, ‘Enabled’

Returns:



18
19
20
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 18

def data_masking_state
  @data_masking_state
end

#exempt_principalsString

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.

Returns:

  • (String)

    The list of the exempt principals. Specifies the



24
25
26
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 24

def exempt_principals
  @exempt_principals
end

#kindString

Azure portal.

Returns:

  • (String)

    The kind of data masking policy. Metadata, used for



39
40
41
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 39

def kind
  @kind
end

#locationString

Returns The location of the data masking policy.

Returns:

  • (String)

    The location of the data masking policy.



35
36
37
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 35

def location
  @location
end

#managed_byString

Returns Fully qualified resource ID of the sql pool.

Returns:

  • (String)

    Fully qualified resource ID of the sql pool



42
43
44
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 42

def managed_by
  @managed_by
end

#masking_levelString

no longer used.

Returns:

  • (String)

    The masking level. This is a legacy parameter and is



32
33
34
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 32

def masking_level
  @masking_level
end

Class Method Details

.mapperObject

Mapper for DataMaskingPolicy class as Ruby Hash. This will be used for serialization/deserialization.



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
138
139
140
141
142
143
144
145
146
147
148
149
150
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/data_masking_policy.rb', line 49

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'
          }
        },
        managed_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'managedBy',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end