ArmDevTestLabsModelFactory.DevTestLabPolicyData Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance 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
Paramètres
ID.
- name
- String
Nom.
- resourceType
- ResourceType
ResourceType.
- systemData
- SystemData
SystemData.
- tags
- IDictionary<String,String>
Balises.
- location
- AzureLocation
Emplacement.
- description
- String
Description de la stratégie.
- status
- Nullable<DevTestLabPolicyStatus>
Status de la stratégie.
- factName
- Nullable<DevTestLabPolicyFactName>
Nom du fait de la stratégie (par exemple, LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc.
- factData
- String
Données de faits de la stratégie.
- threshold
- String
Seuil de la stratégie (c’est-à-dire un nombre pour MaxValuePolicy et un tableau JSON de valeurs pour AllowedValuesPolicy).
- evaluatorType
- Nullable<DevTestLabPolicyEvaluatorType>
Type d’évaluateur de la stratégie (par exemple, AllowedValuesPolicy, MaxValuePolicy).
- createdOn
- Nullable<DateTimeOffset>
Date de création de la stratégie.
- provisioningState
- String
Status d’approvisionnement de la ressource.
Retours
Une nouvelle DevTestLabPolicyData instance pour se moquer.
S’applique à
Azure SDK for .NET