次の方法で共有


ArmDevTestLabsModelFactory.DevTestLabPolicyData メソッド

定義

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

public static Azure.ResourceManager.DevTestLabs.DevTestLabPolicyData DevTestLabPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string description = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyStatus? status = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyFactName? factName = default, string factData = default, string threshold = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyEvaluatorType? evaluatorType = default, DateTimeOffset? createdOn = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyStatus> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyFactName> * string * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyEvaluatorType> * Nullable<DateTimeOffset> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabPolicyData
Public Shared Function DevTestLabPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional description As String = Nothing, Optional status As Nullable(Of DevTestLabPolicyStatus) = Nothing, Optional factName As Nullable(Of DevTestLabPolicyFactName) = Nothing, Optional factData As String = Nothing, Optional threshold As String = Nothing, Optional evaluatorType As Nullable(Of DevTestLabPolicyEvaluatorType) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabPolicyData

パラメーター

name
String

名前。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

タグ。

location
AzureLocation

場所。

description
String

ポリシーの説明。

status
Nullable<DevTestLabPolicyStatus>

ポリシーの状態。

factName
Nullable<DevTestLabPolicyFactName>

ポリシーのファクト名 (LabVmCount、LabVmSize、MaxVmsAllowedPerLab など)。

factData
String

ポリシーのファクト データ。

threshold
String

ポリシーのしきい値 (つまり、MaxValuePolicy の数値、AllowedValuesPolicy の値の JSON 配列)。

evaluatorType
Nullable<DevTestLabPolicyEvaluatorType>

ポリシーのエバリュエーターの種類 (AllowedValuesPolicy、MaxValuePolicy など)。

createdOn
Nullable<DateTimeOffset>

ポリシーの作成日。

provisioningState
String

リソースのプロビジョニング状態。

uniqueIdentifier
Nullable<Guid>

リソースの一意の不変識別子 (Guid)。

戻り値

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

適用対象