共用方式為


HardwareComponentGroupsOperationsExtensions.ChangeControllerPowerStateAsync Method

Definition

Changes the power state of the controller.

public static System.Threading.Tasks.Task ChangeControllerPowerStateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IHardwareComponentGroupsOperations operations, string deviceName, string hardwareComponentGroupName, Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ChangeControllerPowerStateAsync : Microsoft.Azure.Management.StorSimple8000Series.IHardwareComponentGroupsOperations * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.ControllerPowerStateChangeRequest * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ChangeControllerPowerStateAsync (operations As IHardwareComponentGroupsOperations, deviceName As String, hardwareComponentGroupName As String, parameters As ControllerPowerStateChangeRequest, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IHardwareComponentGroupsOperations

The operations group for this extension method.

deviceName
String

The device name

hardwareComponentGroupName
String

The hardware component group name.

parameters
ControllerPowerStateChangeRequest

The controller power state change request.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to