共用方式為


ArmSqlModelFactory.DatabaseOperationData Method

Definition

Overloads

DatabaseOperationData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<Int32>, String, Nullable<DateTimeOffset>, Nullable<ManagementOperationState>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>, String, Nullable<Boolean>)

Initializes a new instance of DatabaseOperationData.

DatabaseOperationData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<Int32>, String, Nullable<DateTimeOffset>, Nullable<ManagementOperationState>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>, String, Nullable<Boolean>, DatabaseOperationPhaseDetails)

Initializes a new instance of DatabaseOperationData.

DatabaseOperationData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<Int32>, String, Nullable<DateTimeOffset>, Nullable<ManagementOperationState>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>, String, Nullable<Boolean>)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of DatabaseOperationData.

public static Azure.ResourceManager.Sql.Models.DatabaseOperationData DatabaseOperationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string databaseName = default, string operation = default, string operationFriendlyName = default, int? percentComplete = default, string serverName = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Sql.Models.ManagementOperationState? state = default, int? errorCode = default, string errorDescription = default, int? errorSeverity = default, bool? isUserError = default, DateTimeOffset? estimatedCompleteOn = default, string description = default, bool? isCancellable = default);
static member DatabaseOperationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<int> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.ManagementOperationState> * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * string * Nullable<bool> -> Azure.ResourceManager.Sql.Models.DatabaseOperationData
Public Shared Function DatabaseOperationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional databaseName As String = Nothing, Optional operation As String = Nothing, Optional operationFriendlyName As String = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional serverName As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of ManagementOperationState) = 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 estimatedCompleteOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing) As DatabaseOperationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

databaseName
String

The name of the database the operation is being performed on.

operation
String

The name of operation.

operationFriendlyName
String

The friendly name of operation.

percentComplete
Nullable<Int32>

The percentage of the operation completed.

serverName
String

The name of the server.

startOn
Nullable<DateTimeOffset>

The operation start time.

state
Nullable<ManagementOperationState>

The operation state.

errorCode
Nullable<Int32>

The operation error code.

errorDescription
String

The operation error description.

errorSeverity
Nullable<Int32>

The operation error severity.

isUserError
Nullable<Boolean>

Whether or not the error is a user error.

estimatedCompleteOn
Nullable<DateTimeOffset>

The estimated completion time of the operation.

description
String

The operation description.

isCancellable
Nullable<Boolean>

Whether the operation can be cancelled.

Returns

A new DatabaseOperationData instance for mocking.

Applies to

DatabaseOperationData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<Int32>, String, Nullable<DateTimeOffset>, Nullable<ManagementOperationState>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTimeOffset>, String, Nullable<Boolean>, DatabaseOperationPhaseDetails)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of DatabaseOperationData.

public static Azure.ResourceManager.Sql.Models.DatabaseOperationData DatabaseOperationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string databaseName = default, string operation = default, string operationFriendlyName = default, int? percentComplete = default, string serverName = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Sql.Models.ManagementOperationState? state = default, int? errorCode = default, string errorDescription = default, int? errorSeverity = default, bool? isUserError = default, DateTimeOffset? estimatedCompleteOn = default, string description = default, bool? isCancellable = default, Azure.ResourceManager.Sql.Models.DatabaseOperationPhaseDetails operationPhaseDetails = default);
static member DatabaseOperationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<int> * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.ManagementOperationState> * Nullable<int> * string * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * string * Nullable<bool> * Azure.ResourceManager.Sql.Models.DatabaseOperationPhaseDetails -> Azure.ResourceManager.Sql.Models.DatabaseOperationData
Public Shared Function DatabaseOperationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional databaseName As String = Nothing, Optional operation As String = Nothing, Optional operationFriendlyName As String = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional serverName As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of ManagementOperationState) = 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 estimatedCompleteOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional operationPhaseDetails As DatabaseOperationPhaseDetails = Nothing) As DatabaseOperationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

databaseName
String

The name of the database the operation is being performed on.

operation
String

The name of operation.

operationFriendlyName
String

The friendly name of operation.

percentComplete
Nullable<Int32>

The percentage of the operation completed.

serverName
String

The name of the server.

startOn
Nullable<DateTimeOffset>

The operation start time.

state
Nullable<ManagementOperationState>

The operation state.

errorCode
Nullable<Int32>

The operation error code.

errorDescription
String

The operation error description.

errorSeverity
Nullable<Int32>

The operation error severity.

isUserError
Nullable<Boolean>

Whether or not the error is a user error.

estimatedCompleteOn
Nullable<DateTimeOffset>

The estimated completion time of the operation.

description
String

The operation description.

isCancellable
Nullable<Boolean>

Whether the operation can be cancelled.

operationPhaseDetails
DatabaseOperationPhaseDetails

The operation phase details.

Returns

A new DatabaseOperationData instance for mocking.

Applies to