Class Template
java.lang.Object
com.azure.resourcemanager.appservice.models.Template
Container App versioned application definition. Defines the desired state of an immutable revision. Any changes to
this section Will result in a new revision being created.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the containers property: List of container definitions for the Container App.dapr()
Get the dapr property: Dapr configuration for the Container App.Get the revisionSuffix property: User friendly suffix that is appended to the revision name.scale()
Get the scale property: Scaling properties for the Container App.void
validate()
Validates the instance.withContainers
(List<Container> containers) Set the containers property: List of container definitions for the Container App.Set the dapr property: Dapr configuration for the Container App.withRevisionSuffix
(String revisionSuffix) Set the revisionSuffix property: User friendly suffix that is appended to the revision name.Set the scale property: Scaling properties for the Container App.
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
revisionSuffix
Get the revisionSuffix property: User friendly suffix that is appended to the revision name.- Returns:
- the revisionSuffix value.
-
withRevisionSuffix
Set the revisionSuffix property: User friendly suffix that is appended to the revision name.- Parameters:
revisionSuffix
- the revisionSuffix value to set.- Returns:
- the Template object itself.
-
containers
Get the containers property: List of container definitions for the Container App.- Returns:
- the containers value.
-
withContainers
Set the containers property: List of container definitions for the Container App.- Parameters:
containers
- the containers value to set.- Returns:
- the Template object itself.
-
scale
Get the scale property: Scaling properties for the Container App.- Returns:
- the scale value.
-
withScale
Set the scale property: Scaling properties for the Container App.- Parameters:
scale
- the scale value to set.- Returns:
- the Template object itself.
-
dapr
Get the dapr property: Dapr configuration for the Container App.- Returns:
- the dapr value.
-
withDapr
Set the dapr property: Dapr configuration for the Container App.- Parameters:
dapr
- the dapr value to set.- Returns:
- the Template object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-