CloudServicesOperationsExtensions.BeginRestartAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restarts one or more role instances in a cloud service.
public static System.Threading.Tasks.Task BeginRestartAsync (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, System.Collections.Generic.IList<string> roleInstancesProperty, System.Threading.CancellationToken cancellationToken = default);
static member BeginRestartAsync : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginRestartAsync (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, roleInstancesProperty As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- ICloudServicesOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of the resource group.
- cloudServiceName
- String
Name of the cloud service.
List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET