ArmEnergyServicesModelFactory.EnergyServiceNameAvailabilityResult Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of EnergyServiceNameAvailabilityResult.
C#
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
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is available.
A new EnergyServiceNameAvailabilityResult instance for mocking.
Toode | Versioonid |
---|---|
Azure SDK for .NET | Preview |
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.
Toote „Azure SDK for .NET“ tagasiside
Azure SDK for .NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: