ArmDevTestLabsModelFactory.DevTestLabPolicyData Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue instance von 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
Parameter
Die ID.
- name
- String
Der Name.
- resourceType
- ResourceType
Der resourceType.
- systemData
- SystemData
SystemData.
- tags
- IDictionary<String,String>
Die Tags.
- location
- AzureLocation
Der Speicherort.
- description
- String
Die Beschreibung der Richtlinie.
- status
- Nullable<DevTestLabPolicyStatus>
Die status der Richtlinie.
- factName
- Nullable<DevTestLabPolicyFactName>
Der Faktenname der Richtlinie (z. B. LabVmCount, LabVmSize, MaxVmsAllowedPerLab usw.).
- factData
- String
Die Faktendaten der Richtlinie.
- threshold
- String
Der Schwellenwert der Richtlinie (d. h. eine Zahl für MaxValuePolicy und ein JSON-Array von Werten für AllowedValuesPolicy).
- evaluatorType
- Nullable<DevTestLabPolicyEvaluatorType>
Der Evaluatortyp der Richtlinie (d. h. AllowedValuesPolicy, MaxValuePolicy).
- createdOn
- Nullable<DateTimeOffset>
Das Erstellungsdatum der Richtlinie.
- provisioningState
- String
Der bereitstellungs-status der Ressource.
Gibt zurück
Eine neue DevTestLabPolicyData instance zum Simulieren.
Gilt für:
Azure SDK for .NET