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.WithRestartPolicyThe stage of the container group definition allowing to specify the container group restart policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerGroup.DefinitionStages.WithCreatewithRestartPolicy(ContainerGroupRestartPolicy restartPolicy)Specifies the restart policy for all the container instances within the container group.
-
-
-
Method Detail
-
withRestartPolicy
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
-
-