Udostępnij za pośrednictwem


ArmMediaModelFactory.MediaServicesNameAvailabilityResult Method

Definition

Initializes a new instance of MediaServicesNameAvailabilityResult.

public static Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult MediaServicesNameAvailabilityResult (bool isNameAvailable = false, string reason = default, string message = default);
static member MediaServicesNameAvailabilityResult : bool * string * string -> Azure.ResourceManager.Media.Models.MediaServicesNameAvailabilityResult
Public Shared Function MediaServicesNameAvailabilityResult (Optional isNameAvailable As Boolean = false, Optional reason As String = Nothing, Optional message As String = Nothing) As MediaServicesNameAvailabilityResult

Parameters

isNameAvailable
Boolean

Specifies if the name is available.

reason
String

Specifies the reason if the name is not available.

message
String

Specifies the detailed reason if the name is not available.

Returns

A new MediaServicesNameAvailabilityResult instance for mocking.

Applies to