/// <summary>
 /// Changes the power state of the controller.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name
 /// </param>
 /// <param name='hardwareComponentGroupName'>
 /// The hardware component group name.
 /// </param>
 /// <param name='parameters'>
 /// The controller power state change request.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 public static void ChangeControllerPowerState(this IHardwareComponentGroupsOperations operations, string deviceName, string hardwareComponentGroupName, ControllerPowerStateChangeRequest parameters, string resourceGroupName, string managerName)
 {
     operations.ChangeControllerPowerStateAsync(deviceName, hardwareComponentGroupName, parameters, resourceGroupName, managerName).GetAwaiter().GetResult();
 }