class Azure::SQL::Mgmt::V2014_04_01::Models::ElasticPoolDatabaseActivity

Represents the activity on an elastic pool.

Attributes

current_elastic_pool_name[RW]

@return [String] The name of the current elastic pool the database is in if available.

current_service_objective[RW]

@return [String] The name of the current service objective if available.

database_name[RW]

@return [String] The database name.

end_time[RW]

@return [DateTime] The time the operation finished (ISO8601 format).

error_code[RW]

@return [Integer] The error code if available.

error_message[RW]

@return [String] The error message if available.

error_severity[RW]

@return [Integer] The error severity if available.

location[RW]

@return [String] The geo-location where the resource lives

operation[RW]

@return [String] The operation name.

operation_id[RW]

@return The unique operation ID.

percent_complete[RW]

@return [Integer] The percentage complete if available.

requested_elastic_pool_name[RW]

@return [String] The name for the elastic pool the database is moving into if available.

requested_service_objective[RW]

@return [String] The name of the requested service objective if available.

server_name[RW]

@return [String] The name of the server the elastic pool is in.

start_time[RW]

@return [DateTime] The time the operation started (ISO8601 format).

state[RW]

@return [String] The current state of the operation.

Private Class Methods

mapper() click to toggle source

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

# File lib/2014-04-01/generated/azure_mgmt_sql/models/elastic_pool_database_activity.rb, line 72
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ElasticPoolDatabaseActivity',
    type: {
      name: 'Composite',
      class_name: 'ElasticPoolDatabaseActivity',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.databaseName',
          type: {
            name: 'String'
          }
        },
        end_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.endTime',
          type: {
            name: 'DateTime'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorCode',
          type: {
            name: 'Number'
          }
        },
        error_message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorMessage',
          type: {
            name: 'String'
          }
        },
        error_severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorSeverity',
          type: {
            name: 'Number'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operation',
          type: {
            name: 'String'
          }
        },
        operation_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operationId',
          type: {
            name: 'String'
          }
        },
        percent_complete: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentComplete',
          type: {
            name: 'Number'
          }
        },
        requested_elastic_pool_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.requestedElasticPoolName',
          type: {
            name: 'String'
          }
        },
        current_elastic_pool_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.currentElasticPoolName',
          type: {
            name: 'String'
          }
        },
        current_service_objective: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.currentServiceObjective',
          type: {
            name: 'String'
          }
        },
        requested_service_objective: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.requestedServiceObjective',
          type: {
            name: 'String'
          }
        },
        server_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.serverName',
          type: {
            name: 'String'
          }
        },
        start_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.startTime',
          type: {
            name: 'DateTime'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end