ArmWebPubSubModelFactory.WebPubSubNameAvailability 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 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
- 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.