Condividi tramite


DeploymentExtensionDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.DeploymentExtensionDefinition

Implements

public final class DeploymentExtensionDefinition
implements JsonSerializable<DeploymentExtensionDefinition>

The DeploymentExtensionDefinition model.

Constructor Summary

Constructor Description
DeploymentExtensionDefinition()

Creates an instance of DeploymentExtensionDefinition class.

Method Summary

Modifier and Type Method and Description
String alias()

Get the alias property: The alias of the extension as defined in the deployment template.

Map<String,DeploymentExtensionConfigItem> config()

Get the config property: The extension configuration.

String configId()

Get the configId property: The extension configuration ID.

static DeploymentExtensionDefinition fromJson(JsonReader jsonReader)

Reads an instance of DeploymentExtensionDefinition from the JsonReader.

String name()

Get the name property: The extension name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The extension version.

Methods inherited from java.lang.Object

Constructor Details

DeploymentExtensionDefinition

public DeploymentExtensionDefinition()

Creates an instance of DeploymentExtensionDefinition class.

Method Details

alias

public String alias()

Get the alias property: The alias of the extension as defined in the deployment template.

Returns:

the alias value.

config

public Map<String,DeploymentExtensionConfigItem> config()

Get the config property: The extension configuration.

Returns:

the config value.

configId

public String configId()

Get the configId property: The extension configuration ID. It uniquely identifies a deployment control plane within an extension.

Returns:

the configId value.

fromJson

public static DeploymentExtensionDefinition fromJson(JsonReader jsonReader)

Reads an instance of DeploymentExtensionDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The extension name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The extension version.

Returns:

the version value.

Applies to