Freigeben über


ArmEnergyServicesModelFactory.EnergyServiceNameAvailabilityResult Methode

Definition

Initialisiert eine neue instance von EnergyServiceNameAvailabilityResult.

public static Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameAvailabilityResult EnergyServiceNameAvailabilityResult (bool? nameAvailable = default, Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameUnavailableReason? reason = default, string message = default);
static member EnergyServiceNameAvailabilityResult : Nullable<bool> * Nullable<Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameUnavailableReason> * string -> Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameAvailabilityResult
Public Shared Function EnergyServiceNameAvailabilityResult (Optional nameAvailable As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of EnergyServiceNameUnavailableReason) = Nothing, Optional message As String = Nothing) As EnergyServiceNameAvailabilityResult

Parameter

nameAvailable
Nullable<Boolean>

Gibt an, ob der Ressourcenname verfügbar ist.

reason
Nullable<EnergyServiceNameUnavailableReason>

Der Grund, warum der angegebene Name nicht verfügbar ist.

message
String

Detaillierter Grund, warum der angegebene Name verfügbar ist.

Gibt zurück

Eine neue EnergyServiceNameAvailabilityResult instance zum Mocking.

Gilt für: