class Azure::SQL::Mgmt::V2014_04_01::Models::ServerTableAuditingPolicy

A server 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.

kind[RW]

@return [String] Resource kind.

location[RW]

@return [String] Resource location.

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 ServerTableAuditingPolicy class as Ruby Hash. This will be used for serialization/deserialization.

# 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