예제 #1
0
 /// <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());
 }
예제 #2
0
 /// <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());
 }