ArmWebPubSubModelFactory.WebPubSubNameAvailability Method

Definition

Initializes a new instance of WebPubSubNameAvailability.

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

Parameters

nameAvailable
Nullable<Boolean>

Indicates whether the name is available or not.

reason
String

The reason of the availability. Required if name is not available.

message
String

The message of the operation.

Returns

A new WebPubSubNameAvailability instance for mocking.

Applies to