ArmWebPubSubModelFactory.WebPubSubNameAvailabilityContent 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.
Data POST-ed to the nameAvailability action.
public static Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent WebPubSubNameAvailabilityContent(string resourceType = default, string name = default);
static member WebPubSubNameAvailabilityContent : string * string -> Azure.ResourceManager.WebPubSub.Models.WebPubSubNameAvailabilityContent
Public Shared Function WebPubSubNameAvailabilityContent (Optional resourceType As String = Nothing, Optional name As String = Nothing) As WebPubSubNameAvailabilityContent
Parameters
- resourceType
- String
The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas".
- name
- String
The resource name to validate. e.g."my-resource-name".
Returns
A new WebPubSubNameAvailabilityContent instance for mocking.