Class DeploymentSettings
java.lang.Object
com.azure.resourcemanager.appplatform.models.DeploymentSettings
Deployment settings payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the addonConfigs property: Collection of addons.Get the environmentVariables property: Collection of environment variables.Get the resourceRequests property: The requested resource quantity for required CPU and Memory.voidvalidate()Validates the instance.Set the addonConfigs property: Collection of addons.withEnvironmentVariables(Map<String, String> environmentVariables) Set the environmentVariables property: Collection of environment variables.withResourceRequests(ResourceRequests resourceRequests) Set the resourceRequests property: The requested resource quantity for required CPU and Memory.
-
Constructor Details
-
DeploymentSettings
public DeploymentSettings()
-
-
Method Details
-
resourceRequests
Get the resourceRequests property: The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.- Returns:
- the resourceRequests value.
-
withResourceRequests
Set the resourceRequests property: The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.- Parameters:
resourceRequests- the resourceRequests value to set.- Returns:
- the DeploymentSettings object itself.
-
environmentVariables
Get the environmentVariables property: Collection of environment variables.- Returns:
- the environmentVariables value.
-
withEnvironmentVariables
Set the environmentVariables property: Collection of environment variables.- Parameters:
environmentVariables- the environmentVariables value to set.- Returns:
- the DeploymentSettings object itself.
-
addonConfigs
Get the addonConfigs property: Collection of addons.- Returns:
- the addonConfigs value.
-
withAddonConfigs
Set the addonConfigs property: Collection of addons.- Parameters:
addonConfigs- the addonConfigs value to set.- Returns:
- the DeploymentSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-