Compartilhar via


ArmDevTestLabsModelFactory.DevTestLabPolicyData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

description
String

A descrição da política.

status
Nullable<DevTestLabPolicyStatus>

O status da política.

factName
Nullable<DevTestLabPolicyFactName>

O nome do fato da política (por exemplo, LabVmCount, LabVmSize, MaxVmsAllowedPerLab etc.

factData
String

Os dados de fato da política.

threshold
String

O limite da política (ou seja, um número para MaxValuePolicy e uma matriz JSON de valores para AllowedValuesPolicy).

evaluatorType
Nullable<DevTestLabPolicyEvaluatorType>

O tipo de avaliador da política (ou seja, AllowedValuesPolicy, MaxValuePolicy).

createdOn
Nullable<DateTimeOffset>

A data de criação da política.

provisioningState
String

O status de provisionamento do recurso.

uniqueIdentifier
Nullable<Guid>

O identificador imutável exclusivo de um recurso (Guid).

Retornos

Uma nova DevTestLabPolicyData instância para simulação.

Aplica-se a