PreparedImageSpecificationProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.PreparedImageSpecificationProfile

Implements

public final class PreparedImageSpecificationProfile
implements JsonSerializable<PreparedImageSpecificationProfile>

Settings to determine the prepared image specification used to provision nodes in a pool.

Constructor Summary

Constructor Description
PreparedImageSpecificationProfile()

Creates an instance of PreparedImageSpecificationProfile class.

Method Summary

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

Reads an instance of PreparedImageSpecificationProfile from the JsonReader.

String preparedImageSpecificationId()

Get the preparedImageSpecificationId property: The resource ID of the prepared image specification resource to use.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PreparedImageSpecificationProfile withPreparedImageSpecificationId(String preparedImageSpecificationId)

Set the preparedImageSpecificationId property: The resource ID of the prepared image specification resource to use.

Methods inherited from java.lang.Object

Constructor Details

PreparedImageSpecificationProfile

public PreparedImageSpecificationProfile()

Creates an instance of PreparedImageSpecificationProfile class.

Method Details

fromJson

public static PreparedImageSpecificationProfile fromJson(JsonReader jsonReader)

Reads an instance of PreparedImageSpecificationProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PreparedImageSpecificationProfile 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 PreparedImageSpecificationProfile.

preparedImageSpecificationId

public String preparedImageSpecificationId()

Get the preparedImageSpecificationId property: The resource ID of the prepared image specification resource to use. This can include a version. Omitting the version will use the latest version of the prepared image specification.

Returns:

the preparedImageSpecificationId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPreparedImageSpecificationId

public PreparedImageSpecificationProfile withPreparedImageSpecificationId(String preparedImageSpecificationId)

Set the preparedImageSpecificationId property: The resource ID of the prepared image specification resource to use. This can include a version. Omitting the version will use the latest version of the prepared image specification.

Parameters:

preparedImageSpecificationId - the preparedImageSpecificationId value to set.

Returns:

the PreparedImageSpecificationProfile object itself.

Applies to