/// <summary>
 /// Returns the properties of the specified file server name.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name.
 /// </param>
 /// <param name='fileServerName'>
 /// The file server name.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name
 /// </param>
 /// <param name='managerName'>
 /// The manager name
 /// </param>
 public static FileServer Get(this IFileServersOperations operations, string deviceName, string fileServerName, string resourceGroupName, string managerName)
 {
     return(operations.GetAsync(deviceName, fileServerName, resourceGroupName, managerName).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets information about a File Server.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace. Workspace names can only contain a combination
 /// of alphanumeric characters along with dash (-) and underscore (_). The name
 /// must be from 1 through 64 characters long.
 /// </param>
 /// <param name='fileServerName'>
 /// The name of the file server within the specified resource group. File
 /// server names can only contain a combination of alphanumeric characters
 /// along with dash (-) and underscore (_). The name must be from 1 through 64
 /// characters long.
 /// </param>
 public static FileServer Get(this IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName)
 {
     return(operations.GetAsync(resourceGroupName, workspaceName, fileServerName).GetAwaiter().GetResult());
 }