ArmContainerRegistryModelFactory.ContainerRegistryNameAvailabilityContent Method

Definition

Initializes a new instance of ContainerRegistryNameAvailabilityContent.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNameAvailabilityContent ContainerRegistryNameAvailabilityContent (string name = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceType resourceType = default);
static member ContainerRegistryNameAvailabilityContent : string * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryResourceType -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryNameAvailabilityContent
Public Shared Function ContainerRegistryNameAvailabilityContent (Optional name As String = Nothing, Optional resourceType As ContainerRegistryResourceType = Nothing) As ContainerRegistryNameAvailabilityContent

Parameters

name
String

The name of the container registry.

resourceType
ContainerRegistryResourceType

The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.

Returns

A new ContainerRegistryNameAvailabilityContent instance for mocking.

Applies to