Aracılığıyla paylaş


ContainerGroup.DefinitionStages.WithRestartPolicy Interface

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 Type Method and Description
abstract WithCreate withRestartPolicy(ContainerGroupRestartPolicy restartPolicy)

Specifies the restart policy for all the container instances within the container group.

Method Details

withRestartPolicy

public abstract 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

Applies to