ContainerRegistryCredentials Class

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

Implements

public class ContainerRegistryCredentials
implements JsonSerializable<ContainerRegistryCredentials>

The credential for the container registry resource.

Constructor Summary

Constructor Description
ContainerRegistryCredentials()

Creates an instance of ContainerRegistryCredentials class.

Method Summary

Modifier and Type Method and Description
static ContainerRegistryCredentials fromJson(JsonReader jsonReader)

Reads an instance of ContainerRegistryCredentials from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The credential type of the container registry credentials.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ContainerRegistryCredentials

public ContainerRegistryCredentials()

Creates an instance of ContainerRegistryCredentials class.

Method Details

fromJson

public static ContainerRegistryCredentials fromJson(JsonReader jsonReader)

Reads an instance of ContainerRegistryCredentials from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ContainerRegistryCredentials.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The credential type of the container registry credentials.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to