/// <summary> /// Returns a list of workspaces in a subscription /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IPage <Workspace> List(this IWorkspacesOperations operations) { return(operations.ListAsync().GetAwaiter().GetResult()); }
/// <summary> /// Gets a list of Workspaces associated with the given subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='workspacesListOptions'> /// Additional parameters for the operation /// </param> public static IPage <Workspace> List(this IWorkspacesOperations operations, WorkspacesListOptions workspacesListOptions = default(WorkspacesListOptions)) { return(operations.ListAsync(workspacesListOptions).GetAwaiter().GetResult()); }