Class: Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties
- Inherits:
-
Object
- Object
- Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb
Overview
Properties of a table auditing policy.
Instance Attribute Summary collapse
-
#audit_logs_table_name ⇒ String
The audit logs table name.
-
#auditing_state ⇒ String
The state of the policy.
-
#event_types_to_audit ⇒ String
Comma-separated list of event types to audit.
-
#full_audit_logs_table_name ⇒ String
The full audit logs table name.
-
#retention_days ⇒ String
The number of days to keep in the audit logs.
-
#storage_account_key ⇒ String
The key of the auditing storage account.
-
#storage_account_name ⇒ String
The table storage account name.
-
#storage_account_resource_group_name ⇒ String
The table storage account resource group name.
-
#storage_account_secondary_key ⇒ String
The secondary key of the auditing storage account.
-
#storage_account_subscription_id ⇒ Object
The table storage subscription Id.
-
#storage_table_endpoint ⇒ String
The storage table endpoint.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TableAuditingPolicyProperties class as Ruby Hash.
Instance Attribute Details
#audit_logs_table_name ⇒ String
Returns The audit logs table name.
19 20 21 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 19 def audit_logs_table_name @audit_logs_table_name end |
#auditing_state ⇒ String
Returns The state of the policy.
16 17 18 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 16 def auditing_state @auditing_state end |
#event_types_to_audit ⇒ String
Returns Comma-separated list of event types to audit.
22 23 24 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 22 def event_types_to_audit @event_types_to_audit end |
#full_audit_logs_table_name ⇒ String
Returns The full audit logs table name.
25 26 27 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 25 def full_audit_logs_table_name @full_audit_logs_table_name end |
#retention_days ⇒ String
Returns The number of days to keep in the audit logs.
28 29 30 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 28 def retention_days @retention_days end |
#storage_account_key ⇒ String
Returns The key of the auditing storage account.
31 32 33 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 31 def storage_account_key @storage_account_key end |
#storage_account_name ⇒ String
Returns The table storage account name.
34 35 36 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 34 def storage_account_name @storage_account_name end |
#storage_account_resource_group_name ⇒ String
Returns The table storage account resource group name.
37 38 39 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 37 def storage_account_resource_group_name @storage_account_resource_group_name end |
#storage_account_secondary_key ⇒ String
Returns The secondary key of the auditing storage account.
40 41 42 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 40 def storage_account_secondary_key @storage_account_secondary_key end |
#storage_account_subscription_id ⇒ Object
Returns The table storage subscription Id.
43 44 45 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 43 def storage_account_subscription_id @storage_account_subscription_id end |
#storage_table_endpoint ⇒ String
Returns The storage table endpoint.
46 47 48 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 46 def storage_table_endpoint @storage_table_endpoint end |
Class Method Details
.mapper ⇒ Object
Mapper for TableAuditingPolicyProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 151 152 153 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/table_auditing_policy_properties.rb', line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TableAuditingPolicyProperties', type: { name: 'Composite', class_name: 'TableAuditingPolicyProperties', model_properties: { auditing_state: { client_side_validation: true, required: false, serialized_name: 'auditingState', type: { name: 'String' } }, audit_logs_table_name: { client_side_validation: true, required: false, serialized_name: 'auditLogsTableName', type: { name: 'String' } }, event_types_to_audit: { client_side_validation: true, required: false, serialized_name: 'eventTypesToAudit', type: { name: 'String' } }, full_audit_logs_table_name: { client_side_validation: true, required: false, serialized_name: 'fullAuditLogsTableName', type: { name: 'String' } }, retention_days: { client_side_validation: true, required: false, serialized_name: 'retentionDays', type: { name: 'String' } }, storage_account_key: { client_side_validation: true, required: false, serialized_name: 'storageAccountKey', type: { name: 'String' } }, storage_account_name: { client_side_validation: true, required: false, serialized_name: 'storageAccountName', type: { name: 'String' } }, storage_account_resource_group_name: { client_side_validation: true, required: false, serialized_name: 'storageAccountResourceGroupName', type: { name: 'String' } }, storage_account_secondary_key: { client_side_validation: true, required: false, serialized_name: 'storageAccountSecondaryKey', type: { name: 'String' } }, storage_account_subscription_id: { client_side_validation: true, required: false, serialized_name: 'storageAccountSubscriptionId', type: { name: 'String' } }, storage_table_endpoint: { client_side_validation: true, required: false, serialized_name: 'storageTableEndpoint', type: { name: 'String' } } } } } end |