Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new server, or will overwrite an existing server.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group that contains the resource. You can obtain
 /// this value from the Azure Resource Manager API or the portal.
 /// </param>
 /// <param name='serverName'>
 /// The name of the server.
 /// </param>
 /// <param name='parameters'>
 /// The required parameters for creating or updating a server.
 /// </param>
 public static Server BeginCreate(this IServersOperations operations, string resourceGroupName, string serverName, ServerForCreate parameters)
 {
     return(operations.BeginCreateAsync(resourceGroupName, serverName, parameters).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Provisions the specified Analysis Services server based on the
 /// configuration specified in the request.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the Azure Resource group of which a given Analysis Services
 /// server is part. This name must be at least 1 character in length, and no
 /// more than 90.
 /// </param>
 /// <param name='serverName'>
 /// The name of the Analysis Services server. It must be a minimum of 3
 /// characters, and a maximum of 63.
 /// </param>
 /// <param name='serverParameters'>
 /// Contains the information used to provision the Analysis Services server.
 /// </param>
 public static AnalysisServicesServer BeginCreate(this IServersOperations operations, string resourceGroupName, string serverName, AnalysisServicesServer serverParameters)
 {
     return(operations.BeginCreateAsync(resourceGroupName, serverName, serverParameters).GetAwaiter().GetResult());
 }