你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedInstanceOperation 构造函数

定义

重载

ManagedInstanceOperation()

初始化 ManagedInstanceOperation 类的新实例。

ManagedInstanceOperation(String, String, String, String, String, String, Nullable<Int32>, Nullable<DateTime>, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<Boolean>, ManagedInstanceOperationParametersPair, ManagedInstanceOperationSteps)

初始化 ManagedInstanceOperation 类的新实例。

ManagedInstanceOperation()

初始化 ManagedInstanceOperation 类的新实例。

public ManagedInstanceOperation ();
Public Sub New ()

适用于

ManagedInstanceOperation(String, String, String, String, String, String, Nullable<Int32>, Nullable<DateTime>, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<Boolean>, ManagedInstanceOperationParametersPair, ManagedInstanceOperationSteps)

初始化 ManagedInstanceOperation 类的新实例。

public ManagedInstanceOperation (string id = default, string name = default, string type = default, string managedInstanceName = default, string operation = default, string operationFriendlyName = default, int? percentComplete = default, DateTime? startTime = default, string state = default, int? errorCode = default, string errorDescription = default, int? errorSeverity = default, bool? isUserError = default, DateTime? estimatedCompletionTime = default, string description = default, bool? isCancellable = default, Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperationParametersPair operationParameters = default, Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperationSteps operationSteps = default);
new Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperation : string * string * string * string * string * string * Nullable<int> * Nullable<DateTime> * string * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<DateTime> * string * Nullable<bool> * Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperationParametersPair * Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperationSteps -> Microsoft.Azure.Management.Sql.Models.ManagedInstanceOperation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional managedInstanceName As String = Nothing, Optional operation As String = Nothing, Optional operationFriendlyName As String = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional state As String = Nothing, Optional errorCode As Nullable(Of Integer) = Nothing, Optional errorDescription As String = Nothing, Optional errorSeverity As Nullable(Of Integer) = Nothing, Optional isUserError As Nullable(Of Boolean) = Nothing, Optional estimatedCompletionTime As Nullable(Of DateTime) = Nothing, Optional description As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional operationParameters As ManagedInstanceOperationParametersPair = Nothing, Optional operationSteps As ManagedInstanceOperationSteps = Nothing)

参数

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

managedInstanceName
String

正在其上执行操作的托管实例的名称。

operation
String

操作的名称。

operationFriendlyName
String

操作的友好名称。

percentComplete
Nullable<Int32>

操作已完成的百分比。

startTime
Nullable<DateTime>

操作开始时间。

state
String

操作状态。 可能的值包括:“Pending”、“InProgress”、“Succeeded”、“Failed”、“CancelInProgress”、“Canceled”

errorCode
Nullable<Int32>

操作错误代码。

errorDescription
String

操作错误说明。

errorSeverity
Nullable<Int32>

操作错误严重性。

isUserError
Nullable<Boolean>

错误是否为用户错误。

estimatedCompletionTime
Nullable<DateTime>

操作的估计完成时间。

description
String

操作说明。

isCancellable
Nullable<Boolean>

是否可以取消操作。

operationParameters
ManagedInstanceOperationParametersPair

操作参数。

operationSteps
ManagedInstanceOperationSteps

操作步骤。

适用于