Interface ContainerGroup.DefinitionStages.WithRestartPolicy
- All Known Subinterfaces:
ContainerGroup.Definition
,ContainerGroup.DefinitionStages.DnsConfigFork
,ContainerGroup.DefinitionStages.WithCreate
,ContainerGroup.DefinitionStages.WithNextContainerInstance
,ContainerGroup.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- Enclosing interface:
- ContainerGroup.DefinitionStages
public static interface ContainerGroup.DefinitionStages.WithRestartPolicy
The stage of the container group definition allowing to specify the container group restart policy.
-
Method Summary
Modifier and TypeMethodDescriptionwithRestartPolicy
(ContainerGroupRestartPolicy restartPolicy) Specifies the restart policy for all the container instances within the container group.
-
Method Details
-
withRestartPolicy
@Beta(V1_5_0) ContainerGroup.DefinitionStages.WithCreate withRestartPolicy(ContainerGroupRestartPolicy restartPolicy) Specifies the restart policy for all the container instances within the container group.- Parameters:
restartPolicy
- the restart policy for all the container instances within the container group- Returns:
- the next stage of the definition
-