次の方法で共有


ArmDevTestLabsModelFactory.DevTestLabPolicyViolation(String, String) メソッド

定義

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

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation DevTestLabPolicyViolation (string code = default, string message = default);
static member DevTestLabPolicyViolation : string * string -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation
Public Shared Function DevTestLabPolicyViolation (Optional code As String = Nothing, Optional message As String = Nothing) As DevTestLabPolicyViolation

パラメーター

code
String

ポリシー違反のコード。

message
String

ポリシー違反のメッセージ。

戻り値

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

適用対象