RegistryNameCheckRequest Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. RegistryNameCheckRequest
- com.
Implements
public final class RegistryNameCheckRequest
implements JsonSerializable<RegistryNameCheckRequest>
A request to check whether a container registry name is available.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistryNameCheckRequest() |
Creates an instance of Registry |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Registry |
fromJson(JsonReader jsonReader)
Reads an instance of Registry |
| String |
name()
Get the name property: The name of the container registry. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The resource type of the container registry. |
| void |
validate()
Validates the instance. |
|
Registry |
withName(String name)
Set the name property: The name of the container registry. |
Methods inherited from java.lang.Object
Constructor Details
RegistryNameCheckRequest
public RegistryNameCheckRequest()
Creates an instance of RegistryNameCheckRequest class.
Method Details
fromJson
public static RegistryNameCheckRequest fromJson(JsonReader jsonReader)
Reads an instance of RegistryNameCheckRequest from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the container registry.
Returns:
toJson
type
public String type()
Get the type property: The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.
Returns:
validate
public void validate()
Validates the instance.
withName
public RegistryNameCheckRequest withName(String name)
Set the name property: The name of the container registry.
Parameters:
Returns: