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.

C#
public static Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameAvailabilityResult EnergyServiceNameAvailabilityResult(bool? nameAvailable = default, Azure.ResourceManager.EnergyServices.Models.EnergyServiceNameUnavailableReason? reason = default, string message = default);

Parameters

nameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<EnergyServiceNameUnavailableReason>

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

Toode Versioonid
Azure SDK for .NET Preview