Class: Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb

Overview

A server table auditing policy.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#audit_logs_table_nameString

Returns The audit logs table name.

Returns:

  • (String)

    The audit logs table name.



25
26
27
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 25

def audit_logs_table_name
  @audit_logs_table_name
end

#auditing_stateString

Returns The state of the policy.

Returns:

  • (String)

    The state of the policy.



22
23
24
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 22

def auditing_state
  @auditing_state
end

#event_types_to_auditString

Returns Comma-separated list of event types to audit.

Returns:

  • (String)

    Comma-separated list of event types to audit.



28
29
30
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 28

def event_types_to_audit
  @event_types_to_audit
end

#full_audit_logs_table_nameString

Returns The full audit logs table name.

Returns:

  • (String)

    The full audit logs table name.



31
32
33
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 31

def full_audit_logs_table_name
  @full_audit_logs_table_name
end

#kindString

Returns Resource kind.

Returns:

  • (String)

    Resource kind.



16
17
18
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 16

def kind
  @kind
end

#locationString

Returns Resource location.

Returns:

  • (String)

    Resource location.



19
20
21
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 19

def location
  @location
end

#retention_daysString

Returns The number of days to keep in the audit logs.

Returns:

  • (String)

    The number of days to keep in the audit logs.



34
35
36
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 34

def retention_days
  @retention_days
end

#storage_account_keyString

Returns The key of the auditing storage account.

Returns:

  • (String)

    The key of the auditing storage account.



37
38
39
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 37

def 
  @storage_account_key
end

#storage_account_nameString

Returns The table storage account name.

Returns:

  • (String)

    The table storage account name



40
41
42
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 40

def 
  @storage_account_name
end

#storage_account_resource_group_nameString

Returns The table storage account resource group name.

Returns:

  • (String)

    The table storage account resource group name



43
44
45
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 43

def 
  @storage_account_resource_group_name
end

#storage_account_secondary_keyString

Returns The secondary key of the auditing storage account.

Returns:

  • (String)

    The secondary key of the auditing storage account.



46
47
48
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 46

def 
  @storage_account_secondary_key
end

#storage_account_subscription_idObject

Returns The table storage subscription Id.

Returns:

  • The table storage subscription Id.



49
50
51
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 49

def 
  @storage_account_subscription_id
end

#storage_table_endpointString

Returns The storage table endpoint.

Returns:

  • (String)

    The storage table endpoint.



52
53
54
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 52

def storage_table_endpoint
  @storage_table_endpoint
end

Class Method Details

.mapperObject

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



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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/server_table_auditing_policy.rb', line 59

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServerTableAuditingPolicy',
    type: {
      name: 'Composite',
      class_name: 'ServerTableAuditingPolicy',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        auditing_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.auditingState',
          type: {
            name: 'String'
          }
        },
        audit_logs_table_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.auditLogsTableName',
          type: {
            name: 'String'
          }
        },
        event_types_to_audit: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.eventTypesToAudit',
          type: {
            name: 'String'
          }
        },
        full_audit_logs_table_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fullAuditLogsTableName',
          type: {
            name: 'String'
          }
        },
        retention_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.retentionDays',
          type: {
            name: 'String'
          }
        },
        storage_account_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountKey',
          type: {
            name: 'String'
          }
        },
        storage_account_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountName',
          type: {
            name: 'String'
          }
        },
        storage_account_resource_group_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountResourceGroupName',
          type: {
            name: 'String'
          }
        },
        storage_account_secondary_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountSecondaryKey',
          type: {
            name: 'String'
          }
        },
        storage_account_subscription_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageAccountSubscriptionId',
          type: {
            name: 'String'
          }
        },
        storage_table_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageTableEndpoint',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end