Compartir a través de


ArmDevTestLabsModelFactory.DevTestLabPolicyData Método

Definición

Inicializa una nueva instancia 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

id
ResourceIdentifier

El identificador.

name
String

Nombre.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Las etiquetas.

location
AzureLocation

Ubicación.

description
String

Descripción de la directiva.

status
Nullable<DevTestLabPolicyStatus>

Estado de la directiva.

factName
Nullable<DevTestLabPolicyFactName>

Nombre de hecho de la directiva (por ejemplo, LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.

factData
String

Datos de hechos de la directiva.

threshold
String

Umbral de la directiva (es decir, un número para MaxValuePolicy y una matriz JSON de valores para AllowedValuesPolicy).

evaluatorType
Nullable<DevTestLabPolicyEvaluatorType>

Tipo de evaluador de la directiva (es decir, AllowedValuesPolicy, MaxValuePolicy).

createdOn
Nullable<DateTimeOffset>

Fecha de creación de la directiva.

provisioningState
String

Estado de aprovisionamiento del recurso.

uniqueIdentifier
Nullable<Guid>

Identificador inmutable único de un recurso (Guid).

Devoluciones

DevTestLabPolicyData Nueva instancia para simular.

Se aplica a