Class DeploymentExtensionSpec
java.lang.Object
com.azure.resourcemanager.containerinstance.models.DeploymentExtensionSpec
Extension sidecars to be added to the deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeploymentExtensionSpec class. -
Method Summary
Modifier and TypeMethodDescriptionGet the extensionType property: Type of extension to be added.name()Get the name property: Name of the extension.Get the protectedSettings property: Protected settings for the extension.settings()Get the settings property: Settings for the extension.voidvalidate()Validates the instance.version()Get the version property: Version of the extension being used.withExtensionType(String extensionType) Set the extensionType property: Type of extension to be added.Set the name property: Name of the extension.withProtectedSettings(Object protectedSettings) Set the protectedSettings property: Protected settings for the extension.withSettings(Object settings) Set the settings property: Settings for the extension.withVersion(String version) Set the version property: Version of the extension being used.
-
Constructor Details
-
DeploymentExtensionSpec
public DeploymentExtensionSpec()Creates an instance of DeploymentExtensionSpec class.
-
-
Method Details
-
name
Get the name property: Name of the extension.- Returns:
- the name value.
-
withName
Set the name property: Name of the extension.- Parameters:
name- the name value to set.- Returns:
- the DeploymentExtensionSpec object itself.
-
extensionType
Get the extensionType property: Type of extension to be added.- Returns:
- the extensionType value.
-
withExtensionType
Set the extensionType property: Type of extension to be added.- Parameters:
extensionType- the extensionType value to set.- Returns:
- the DeploymentExtensionSpec object itself.
-
version
Get the version property: Version of the extension being used.- Returns:
- the version value.
-
withVersion
Set the version property: Version of the extension being used.- Parameters:
version- the version value to set.- Returns:
- the DeploymentExtensionSpec object itself.
-
settings
Get the settings property: Settings for the extension.- Returns:
- the settings value.
-
withSettings
Set the settings property: Settings for the extension.- Parameters:
settings- the settings value to set.- Returns:
- the DeploymentExtensionSpec object itself.
-
protectedSettings
Get the protectedSettings property: Protected settings for the extension.- Returns:
- the protectedSettings value.
-
withProtectedSettings
Set the protectedSettings property: Protected settings for the extension.- Parameters:
protectedSettings- the protectedSettings value to set.- Returns:
- the DeploymentExtensionSpec object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-