DeploymentExtensionSpec Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.DeploymentExtensionSpec

public final class DeploymentExtensionSpec

Extension sidecars to be added to the deployment.

Constructor Summary

Constructor Description
DeploymentExtensionSpec()

Creates an instance of DeploymentExtensionSpec class.

Method Summary

Modifier and Type Method and Description
String extensionType()

Get the extensionType property: Type of extension to be added.

String name()

Get the name property: Name of the extension.

Object protectedSettings()

Get the protectedSettings property: Protected settings for the extension.

Object settings()

Get the settings property: Settings for the extension.

void validate()

Validates the instance.

String version()

Get the version property: Version of the extension being used.

DeploymentExtensionSpec withExtensionType(String extensionType)

Set the extensionType property: Type of extension to be added.

DeploymentExtensionSpec withName(String name)

Set the name property: Name of the extension.

DeploymentExtensionSpec withProtectedSettings(Object protectedSettings)

Set the protectedSettings property: Protected settings for the extension.

DeploymentExtensionSpec withSettings(Object settings)

Set the settings property: Settings for the extension.

DeploymentExtensionSpec withVersion(String version)

Set the version property: Version of the extension being used.

Methods inherited from java.lang.Object

Constructor Details

DeploymentExtensionSpec

public DeploymentExtensionSpec()

Creates an instance of DeploymentExtensionSpec class.

Method Details

extensionType

public String extensionType()

Get the extensionType property: Type of extension to be added.

Returns:

the extensionType value.

name

public String name()

Get the name property: Name of the extension.

Returns:

the name value.

protectedSettings

public Object protectedSettings()

Get the protectedSettings property: Protected settings for the extension.

Returns:

the protectedSettings value.

settings

public Object settings()

Get the settings property: Settings for the extension.

Returns:

the settings value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Version of the extension being used.

Returns:

the version value.

withExtensionType

public DeploymentExtensionSpec withExtensionType(String extensionType)

Set the extensionType property: Type of extension to be added.

Parameters:

extensionType - the extensionType value to set.

Returns:

the DeploymentExtensionSpec object itself.

withName

public DeploymentExtensionSpec withName(String name)

Set the name property: Name of the extension.

Parameters:

name - the name value to set.

Returns:

the DeploymentExtensionSpec object itself.

withProtectedSettings

public DeploymentExtensionSpec withProtectedSettings(Object protectedSettings)

Set the protectedSettings property: Protected settings for the extension.

Parameters:

protectedSettings - the protectedSettings value to set.

Returns:

the DeploymentExtensionSpec object itself.

withSettings

public DeploymentExtensionSpec withSettings(Object settings)

Set the settings property: Settings for the extension.

Parameters:

settings - the settings value to set.

Returns:

the DeploymentExtensionSpec object itself.

withVersion

public DeploymentExtensionSpec withVersion(String version)

Set the version property: Version of the extension being used.

Parameters:

version - the version value to set.

Returns:

the DeploymentExtensionSpec object itself.

Applies to