CollectionOperationsExtensions.RestartVm 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 VM associated with a collection.
public static Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId RestartVm (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.RestartVmCommandParameter details);
static member RestartVm : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string * Microsoft.WindowsAzure.Management.RemoteApp.Models.RestartVmCommandParameter -> Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId
<Extension()>
Public Function RestartVm (operations As ICollectionOperations, collectionName As String, details As RestartVmCommandParameter) As OperationResultWithTrackingId
Parameters
- operations
- ICollectionOperations
Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations.
- collectionName
- String
Required. The RemoteApp collection name containing the VM to be restarted.
- details
- RestartVmCommandParameter
Required. The details of VM to be restarted.
Returns
The response containing the operation tracking id.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET