共用方式為


CloudServicesOperationsExtensions.Rebuild Method

Definition

Rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances.

public static void Rebuild (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, System.Collections.Generic.IList<string> roleInstancesProperty);
static member Rebuild : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * System.Collections.Generic.IList<string> -> unit
<Extension()>
Public Sub Rebuild (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, roleInstancesProperty As IList(Of String))

Parameters

operations
ICloudServicesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group.

cloudServiceName
String

Name of the cloud service.

roleInstancesProperty
IList<String>

List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.

Applies to