ArmEnergyServicesModelFactory.EnergyServiceNameAvailabilityResult Method
Definition
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.
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
Parameters
The reason why the given name is not available.
- message
- String
Detailed reason why the given name is available.
Returns
A new EnergyServiceNameAvailabilityResult instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET