Cloud Run Admin v2 API - Enum Instance.Types.RestartPolicy (2.21.0)

public enum Instance.Types.RestartPolicy

Reference documentation and code samples for the Cloud Run Admin v2 API enum Instance.Types.RestartPolicy.

Restart policy options for the instance. If not provided, the default is ON_FAILURE.

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Fields

Name Description
Always

Always restart the instance.

Never

Never restart the instance.

OnFailure

Restart if the instance terminates with non-zero exit code.

Unspecified

Unspecified restart policy.