Ejemplo n.º 1
0
 /// <summary>
 /// Creates a File Server in the given workspace.
 /// </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>
 /// <param name='parameters'>
 /// The parameters to provide for File Server creation.
 /// </param>
 public static FileServer Create(this IFileServersOperations operations, string resourceGroupName, string workspaceName, string fileServerName, FileServerCreateParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, workspaceName, fileServerName, parameters).GetAwaiter().GetResult());
 }