Aracılığıyla paylaş


ArmAppServiceModelFactory.DomainAvailabilityCheckResult Method

Definition

Initializes a new instance of DomainAvailabilityCheckResult.

public static Azure.ResourceManager.AppService.Models.DomainAvailabilityCheckResult DomainAvailabilityCheckResult (string name = default, bool? isAvailable = default, Azure.ResourceManager.AppService.Models.AppServiceDomainType? domainType = default);
static member DomainAvailabilityCheckResult : string * Nullable<bool> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceDomainType> -> Azure.ResourceManager.AppService.Models.DomainAvailabilityCheckResult
Public Shared Function DomainAvailabilityCheckResult (Optional name As String = Nothing, Optional isAvailable As Nullable(Of Boolean) = Nothing, Optional domainType As Nullable(Of AppServiceDomainType) = Nothing) As DomainAvailabilityCheckResult

Parameters

name
String

Name of the domain.

isAvailable
Nullable<Boolean>

<code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.

domainType
Nullable<AppServiceDomainType>

Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything.

Returns

A new DomainAvailabilityCheckResult instance for mocking.

Applies to