class Azure::Synapse::Mgmt::V2019_06_01_preview::Models::SqlPoolOperation

A Sql pool operation.

Attributes

database_name[RW]

@return [String] The name of the Sql pool the operation is being performed on.

description[RW]

@return [String] The operation description.

error_code[RW]

@return [Integer] The operation error code.

error_description[RW]

@return [String] The operation error description.

error_severity[RW]

@return [Integer] The operation error severity.

estimated_completion_time[RW]

@return [DateTime] The estimated completion time of the operation.

is_cancellable[RW]

@return [Boolean] Whether the operation can be cancelled.

is_user_error[RW]

@return [Boolean] Whether or not the error is a user error.

operation[RW]

@return [String] The name of operation.

operation_friendly_name[RW]

@return [String] The friendly name of operation.

percent_complete[RW]

@return [Integer] The percentage of the operation completed.

server_name[RW]

@return [String] The name of the server.

start_time[RW]

@return [DateTime] The operation start time.

state[RW]

@return [ManagementOperationState] The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/sql_pool_operation.rb, line 65
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SqlPoolOperation',
    type: {
      name: 'Composite',
      class_name: 'SqlPoolOperation',
      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'
          }
        },
        database_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.databaseName',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operation',
          type: {
            name: 'String'
          }
        },
        operation_friendly_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.operationFriendlyName',
          type: {
            name: 'String'
          }
        },
        percent_complete: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.percentComplete',
          type: {
            name: 'Number'
          }
        },
        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'
          }
        },
        error_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorCode',
          type: {
            name: 'Number'
          }
        },
        error_description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorDescription',
          type: {
            name: 'String'
          }
        },
        error_severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.errorSeverity',
          type: {
            name: 'Number'
          }
        },
        is_user_error: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.isUserError',
          type: {
            name: 'Boolean'
          }
        },
        estimated_completion_time: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.estimatedCompletionTime',
          type: {
            name: 'DateTime'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        is_cancellable: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.isCancellable',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end