/// <summary> /// Assign My Workspace to a capacity /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='requestParameters'> /// Assign to capacity parameters /// </param> public static object AssignMyWorkspaceToCapacity(this IGroups operations, AssignToCapacityRequest requestParameters) { return(operations.AssignMyWorkspaceToCapacityAsync(requestParameters).GetAwaiter().GetResult()); }