共用方式為


ArmAppContainersModelFactory.ContainerAppNameAvailabilityResult Method

Definition

Initializes a new instance of ContainerAppNameAvailabilityResult.

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

Parameters

isNameAvailable
Nullable<Boolean>

Indicates if the resource name is available.

reason
Nullable<ContainerAppNameUnavailableReason>

The reason why the given name is not available.

message
String

Detailed reason why the given name is available.

Returns

A new ContainerAppNameAvailabilityResult instance for mocking.

Applies to