Freigeben über


ArmEnergyServicesModelFactory.EnergyServiceData Methode

Definition

Initialisiert eine neue instance von EnergyServiceData.

public static Azure.ResourceManager.EnergyServices.EnergyServiceData EnergyServiceData (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, Azure.ResourceManager.EnergyServices.Models.EnergyServiceProperties properties = default);
static member EnergyServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.EnergyServices.Models.EnergyServiceProperties -> Azure.ResourceManager.EnergyServices.EnergyServiceData
Public Shared Function EnergyServiceData (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 properties As EnergyServiceProperties = Nothing) As EnergyServiceData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

Gibt zurück

Eine neue EnergyServiceData instance zum Mocking.

Gilt für: