共用方式為


ContainerGroupsOperationsExtensions.BeginRestart Method

Definition

Restarts all containers in a container group.

public static void BeginRestart (this Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations operations, string resourceGroupName, string containerGroupName);
static member BeginRestart : Microsoft.Azure.Management.ContainerInstance.IContainerGroupsOperations * string * string -> unit
<Extension()>
Public Sub BeginRestart (operations As IContainerGroupsOperations, resourceGroupName As String, containerGroupName As String)

Parameters

operations
IContainerGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerGroupName
String

The name of the container group.

Remarks

Restarts all containers in a container group in place. If container image has updates, new image will be downloaded.

Applies to