次の方法で共有


ArmSqlModelFactory.ServerOperationData メソッド

定義

ServerOperationData の新しいインスタンスを初期化します。

public static Azure.ResourceManager.Sql.Models.ServerOperationData ServerOperationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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 ServerOperationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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.ServerOperationData
Public Shared Function ServerOperationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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 ServerOperationData

パラメーター

name
String

名前。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

operation
String

操作の名前。

operationFriendlyName
String

操作のフレンドリ名。

percentComplete
Nullable<Int32>

操作が完了した割合。

serverName
String

サーバーの名前。

startOn
Nullable<DateTimeOffset>

操作の開始時刻。

state
Nullable<ManagementOperationState>

操作の状態。

errorCode
Nullable<Int32>

操作エラー コード。

errorDescription
String

操作エラーの説明。

errorSeverity
Nullable<Int32>

操作エラーの重大度。

isUserError
Nullable<Boolean>

エラーがユーザー エラーかどうか。

estimatedCompleteOn
Nullable<DateTimeOffset>

操作の推定完了時間。

description
String

操作の説明。

isCancellable
Nullable<Boolean>

操作を取り消すことができるかどうか。

戻り値

モック作成用の新しい ServerOperationData インスタンス。

適用対象