Class DatabaseOperation
A database operation.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class DatabaseOperation : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
DatabaseOperation()
Initializes a new instance of the DatabaseOperation class.
Declaration
public DatabaseOperation ();
DatabaseOperation(String, String, String, String, String, String, Nullable<Int32>, String, Nullable<DateTime>, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<Boolean>)
Initializes a new instance of the DatabaseOperation class.
Declaration
public DatabaseOperation (string id = null, string name = null, string type = null, string databaseName = null, string operation = null, string operationFriendlyName = null, Nullable<int> percentComplete = null, string serverName = null, Nullable<DateTime> startTime = null, string state = null, Nullable<int> errorCode = null, string errorDescription = null, Nullable<int> errorSeverity = null, Nullable<bool> isUserError = null, Nullable<DateTime> estimatedCompletionTime = null, string description = null, Nullable<bool> isCancellable = null);
Parameters
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
databaseName
The name of the database the operation is being performed on. |
String
operation
The name of operation. |
String
operationFriendlyName
The friendly name of operation. |
Nullable<Int32>
percentComplete
The percentage of the operation completed. |
String
serverName
The name of the server. |
Nullable<DateTime>
startTime
The operation start time. |
String
state
The operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled' |
Nullable<Int32>
errorCode
The operation error code. |
String
errorDescription
The operation error description. |
Nullable<Int32>
errorSeverity
The operation error severity. |
Nullable<Boolean>
isUserError
Whether or not the error is a user error. |
Nullable<DateTime>
estimatedCompletionTime
The estimated completion time of the operation. |
String
description
The operation description. |
Nullable<Boolean>
isCancellable
Whether the operation can be cancelled. |
Properties
DatabaseName
Gets the name of the database the operation is being performed on.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseName")]
public string DatabaseName { get; }
Property Value
String
|
Description
Gets the operation description.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.description")]
public string Description { get; }
Property Value
String
|
ErrorCode
Gets the operation error code.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.errorCode")]
public Nullable<int> ErrorCode { get; }
Property Value
Nullable<Int32>
|
ErrorDescription
Gets the operation error description.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.errorDescription")]
public string ErrorDescription { get; }
Property Value
String
|
ErrorSeverity
Gets the operation error severity.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.errorSeverity")]
public Nullable<int> ErrorSeverity { get; }
Property Value
Nullable<Int32>
|
EstimatedCompletionTime
Gets the estimated completion time of the operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.estimatedCompletionTime")]
public Nullable<DateTime> EstimatedCompletionTime { get; }
Property Value
Nullable<DateTime>
|
IsCancellable
Gets whether the operation can be cancelled.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.isCancellable")]
public Nullable<bool> IsCancellable { get; }
Property Value
Nullable<Boolean>
|
IsUserError
Gets whether or not the error is a user error.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.isUserError")]
public Nullable<bool> IsUserError { get; }
Property Value
Nullable<Boolean>
|
Operation
Gets the name of operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.operation")]
public string Operation { get; }
Property Value
String
|
OperationFriendlyName
Gets the friendly name of operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.operationFriendlyName")]
public string OperationFriendlyName { get; }
Property Value
String
|
PercentComplete
Gets the percentage of the operation completed.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.percentComplete")]
public Nullable<int> PercentComplete { get; }
Property Value
Nullable<Int32>
|
ServerName
Gets the name of the server.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.serverName")]
public string ServerName { get; }
Property Value
String
|
StartTime
Gets the operation start time.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.startTime")]
public Nullable<DateTime> StartTime { get; }
Property Value
Nullable<DateTime>
|
State
Gets the operation state. Possible values include: 'Pending', 'InProgress', 'Succeeded', 'Failed', 'CancelInProgress', 'Cancelled'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.state")]
public string State { get; }
Property Value
String
|