ApplicationProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ApplicationProfile

Implements

public final class ApplicationProfile
implements JsonSerializable<ApplicationProfile>

Contains the list of gallery applications that should be made available to the VM/VMSS.

Constructor Summary

Constructor Description
ApplicationProfile()

Creates an instance of ApplicationProfile class.

Method Summary

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

Reads an instance of ApplicationProfile from the JsonReader.

List<VMGalleryApplication> galleryApplications()

Get the galleryApplications property: Specifies the gallery applications that should be made available to the VM/VMSS.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationProfile withGalleryApplications(List<VMGalleryApplication> galleryApplications)

Set the galleryApplications property: Specifies the gallery applications that should be made available to the VM/VMSS.

Methods inherited from java.lang.Object

Constructor Details

ApplicationProfile

public ApplicationProfile()

Creates an instance of ApplicationProfile class.

Method Details

fromJson

public static ApplicationProfile fromJson(JsonReader jsonReader)

Reads an instance of ApplicationProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

galleryApplications

public List galleryApplications()

Get the galleryApplications property: Specifies the gallery applications that should be made available to the VM/VMSS.

Returns:

the galleryApplications value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withGalleryApplications

public ApplicationProfile withGalleryApplications(List galleryApplications)

Set the galleryApplications property: Specifies the gallery applications that should be made available to the VM/VMSS.

Parameters:

galleryApplications - the galleryApplications value to set.

Returns:

the ApplicationProfile object itself.

Applies to