class Azure::SQL::Mgmt::V2014_04_01::Models::TableAuditingPolicyProperties

Properties of a table auditing policy.

Attributes

audit_logs_table_name[RW]

@return [String] The audit logs table name.

auditing_state[RW]

@return [String] The state of the policy.

event_types_to_audit[RW]

@return [String] Comma-separated list of event types to audit.

full_audit_logs_table_name[RW]

@return [String] The full audit logs table name.

retention_days[RW]

@return [String] The number of days to keep in the audit logs.

storage_account_key[RW]

@return [String] The key of the auditing storage account.

storage_account_name[RW]

@return [String] The table storage account name

storage_account_resource_group_name[RW]

@return [String] The table storage account resource group name

storage_account_secondary_key[RW]

@return [String] The secondary key of the auditing storage account.

storage_account_subscription_id[RW]

@return The table storage subscription Id.

storage_table_endpoint[RW]

@return [String] The storage table endpoint.

Private Class Methods

mapper() click to toggle source

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

# 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