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.

SecretsProvisioningSettings secretsProvisioningSettings()

Get the secretsProvisioningSettings property: Specifies the secrets provisioning settings for the gallery image version.

JsonWriter toJson(JsonWriter jsonWriter)
GalleryImageVersionUefiSettings uefiSettings()

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

void validate()

Validates the instance.

ImageVersionSecurityProfile withSecretsProvisioningSettings(SecretsProvisioningSettings secretsProvisioningSettings)

Set the secretsProvisioningSettings property: Specifies the secrets provisioning settings for the gallery image version.

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.

secretsProvisioningSettings

public SecretsProvisioningSettings secretsProvisioningSettings()

Get the secretsProvisioningSettings property: Specifies the secrets provisioning settings for the gallery image version. Used on create or update to configure secrets provisioning.

Returns:

the secretsProvisioningSettings value.

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.

withSecretsProvisioningSettings

public ImageVersionSecurityProfile withSecretsProvisioningSettings(SecretsProvisioningSettings secretsProvisioningSettings)

Set the secretsProvisioningSettings property: Specifies the secrets provisioning settings for the gallery image version. Used on create or update to configure secrets provisioning.

Parameters:

secretsProvisioningSettings - the secretsProvisioningSettings value to set.

Returns:

the ImageVersionSecurityProfile object itself.

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