ContainerRegistryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ContainerRegistryProperties

Implements

public final class ContainerRegistryProperties
implements JsonSerializable<ContainerRegistryProperties>

Container registry resource payload.

Constructor Summary

Constructor Description
ContainerRegistryProperties()

Creates an instance of ContainerRegistryProperties class.

Method Summary

Modifier and Type Method and Description
ContainerRegistryCredentials credentials()

Get the credentials property: The credentials of the container registry resource.

static ContainerRegistryProperties fromJson(JsonReader jsonReader)

Reads an instance of ContainerRegistryProperties from the JsonReader.

ContainerRegistryProvisioningState provisioningState()

Get the provisioningState property: State of the Container Registry.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerRegistryProperties withCredentials(ContainerRegistryCredentials credentials)

Set the credentials property: The credentials of the container registry resource.

Methods inherited from java.lang.Object

Constructor Details

ContainerRegistryProperties

public ContainerRegistryProperties()

Creates an instance of ContainerRegistryProperties class.

Method Details

credentials

public ContainerRegistryCredentials credentials()

Get the credentials property: The credentials of the container registry resource.

Returns:

the credentials value.

fromJson

public static ContainerRegistryProperties fromJson(JsonReader jsonReader)

Reads an instance of ContainerRegistryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ContainerRegistryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

provisioningState

public ContainerRegistryProvisioningState provisioningState()

Get the provisioningState property: State of the Container Registry.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCredentials

public ContainerRegistryProperties withCredentials(ContainerRegistryCredentials credentials)

Set the credentials property: The credentials of the container registry resource.

Parameters:

credentials - the credentials value to set.

Returns:

the ContainerRegistryProperties object itself.

Applies to