SecretsProvisioningSettings Class

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

Implements

public final class SecretsProvisioningSettings
implements JsonSerializable<SecretsProvisioningSettings>

Describes the secrets provisioning settings for a gallery image version.

Constructor Summary

Constructor Description
SecretsProvisioningSettings()

Creates an instance of SecretsProvisioningSettings class.

Method Summary

Modifier and Type Method and Description
List<SecretsProvisioningComponent> components()

Get the components property: The list of component versions involved in secrets provisioning.

static SecretsProvisioningSettings fromJson(JsonReader jsonReader)

Reads an instance of SecretsProvisioningSettings from the JsonReader.

Boolean isSupported()

Get the isSupported property: Specifies whether the image version supports secrets provisioning.

String osName()

Get the osName property: The name of the operating system (e.g., "mariner").

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecretsProvisioningSettings withComponents(List<SecretsProvisioningComponent> components)

Set the components property: The list of component versions involved in secrets provisioning.

SecretsProvisioningSettings withIsSupported(Boolean isSupported)

Set the isSupported property: Specifies whether the image version supports secrets provisioning.

SecretsProvisioningSettings withOsName(String osName)

Set the osName property: The name of the operating system (e.g., "mariner").

Methods inherited from java.lang.Object

Constructor Details

SecretsProvisioningSettings

public SecretsProvisioningSettings()

Creates an instance of SecretsProvisioningSettings class.

Method Details

components

public List<SecretsProvisioningComponent> components()

Get the components property: The list of component versions involved in secrets provisioning.

Returns:

the components value.

fromJson

public static SecretsProvisioningSettings fromJson(JsonReader jsonReader)

Reads an instance of SecretsProvisioningSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isSupported

public Boolean isSupported()

Get the isSupported property: Specifies whether the image version supports secrets provisioning.

Returns:

the isSupported value.

osName

public String osName()

Get the osName property: The name of the operating system (e.g., "mariner").

Returns:

the osName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withComponents

public SecretsProvisioningSettings withComponents(List<SecretsProvisioningComponent> components)

Set the components property: The list of component versions involved in secrets provisioning.

Parameters:

components - the components value to set.

Returns:

the SecretsProvisioningSettings object itself.

withIsSupported

public SecretsProvisioningSettings withIsSupported(Boolean isSupported)

Set the isSupported property: Specifies whether the image version supports secrets provisioning.

Parameters:

isSupported - the isSupported value to set.

Returns:

the SecretsProvisioningSettings object itself.

withOsName

public SecretsProvisioningSettings withOsName(String osName)

Set the osName property: The name of the operating system (e.g., "mariner").

Parameters:

osName - the osName value to set.

Returns:

the SecretsProvisioningSettings object itself.

Applies to