共用方式為


ArmEnergyServicesModelFactory.EnergyServiceProperties Method

Definition

Initializes a new instance of EnergyServiceProperties.

public static Azure.ResourceManager.EnergyServices.Models.EnergyServiceProperties EnergyServiceProperties (string dnsName = default, Azure.ResourceManager.EnergyServices.Models.ProvisioningState? provisioningState = default, string authAppId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EnergyServices.Models.DataPartitionName> dataPartitionNames = default);
static member EnergyServiceProperties : string * Nullable<Azure.ResourceManager.EnergyServices.Models.ProvisioningState> * string * seq<Azure.ResourceManager.EnergyServices.Models.DataPartitionName> -> Azure.ResourceManager.EnergyServices.Models.EnergyServiceProperties
Public Shared Function EnergyServiceProperties (Optional dnsName As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional authAppId As String = Nothing, Optional dataPartitionNames As IEnumerable(Of DataPartitionName) = Nothing) As EnergyServiceProperties

Parameters

dnsName
String
provisioningState
Nullable<ProvisioningState>
authAppId
String
dataPartitionNames
IEnumerable<DataPartitionName>

Returns

A new EnergyServiceProperties instance for mocking.

Applies to