DeploymentExtensionConfigItem Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.DeploymentExtensionConfigItem

Implements

public final class DeploymentExtensionConfigItem
implements JsonSerializable<DeploymentExtensionConfigItem>

Represents the value for an extension config property.

Constructor Summary

Constructor Description
DeploymentExtensionConfigItem()

Creates an instance of DeploymentExtensionConfigItem class.

Method Summary

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

Reads an instance of DeploymentExtensionConfigItem from the JsonReader.

KeyVaultParameterReference keyVaultReference()

Get the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.

JsonWriter toJson(JsonWriter jsonWriter)
BinaryData value()

Get the value property: The value of the extension config property.

DeploymentExtensionConfigItem withKeyVaultReference(KeyVaultParameterReference keyVaultReference)

Set the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.

DeploymentExtensionConfigItem withValue(BinaryData value)

Set the value property: The value of the extension config property.

Methods inherited from java.lang.Object

Constructor Details

DeploymentExtensionConfigItem

public DeploymentExtensionConfigItem()

Creates an instance of DeploymentExtensionConfigItem class.

Method Details

fromJson

public static DeploymentExtensionConfigItem fromJson(JsonReader jsonReader)

Reads an instance of DeploymentExtensionConfigItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

keyVaultReference

public KeyVaultParameterReference keyVaultReference()

Get the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.

Returns:

the keyVaultReference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

value

public BinaryData value()

Get the value property: The value of the extension config property.

Returns:

the value value.

withKeyVaultReference

public DeploymentExtensionConfigItem withKeyVaultReference(KeyVaultParameterReference keyVaultReference)

Set the keyVaultReference property: The Azure Key Vault reference used to retrieve the secret value of the extension config property.

Parameters:

keyVaultReference - the keyVaultReference value to set.

Returns:

the DeploymentExtensionConfigItem object itself.

withValue

public DeploymentExtensionConfigItem withValue(BinaryData value)

Set the value property: The value of the extension config property.

Parameters:

value - the value value to set.

Returns:

the DeploymentExtensionConfigItem object itself.

Applies to