你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageVersionSecurityProfile Class

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

Implements

public final class ImageVersionSecurityProfile
implements JsonSerializable<ImageVersionSecurityProfile>

The security profile of a gallery image version.

Constructor Summary

Constructor Description
ImageVersionSecurityProfile()

Creates an instance of ImageVersionSecurityProfile class.

Method Summary

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

Reads an instance of ImageVersionSecurityProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
GalleryImageVersionUefiSettings uefiSettings()

Get the uefiSettings property: Contains UEFI settings for the image version.

void validate()

Validates the instance.

ImageVersionSecurityProfile withUefiSettings(GalleryImageVersionUefiSettings uefiSettings)

Set the uefiSettings property: Contains UEFI settings for the image version.

Methods inherited from java.lang.Object

Constructor Details

ImageVersionSecurityProfile

public ImageVersionSecurityProfile()

Creates an instance of ImageVersionSecurityProfile class.

Method Details

fromJson

public static ImageVersionSecurityProfile fromJson(JsonReader jsonReader)

Reads an instance of ImageVersionSecurityProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uefiSettings

public GalleryImageVersionUefiSettings uefiSettings()

Get the uefiSettings property: Contains UEFI settings for the image version.

Returns:

the uefiSettings value.

validate

public void validate()

Validates the instance.

withUefiSettings

public ImageVersionSecurityProfile withUefiSettings(GalleryImageVersionUefiSettings uefiSettings)

Set the uefiSettings property: Contains UEFI settings for the image version.

Parameters:

uefiSettings - the uefiSettings value to set.

Returns:

the ImageVersionSecurityProfile object itself.

Applies to