/// <summary>
 /// Gets information about a configuration of server.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group. The name is case insensitive.
 /// </param>
 /// <param name='serverName'>
 /// The name of the server.
 /// </param>
 /// <param name='configurationName'>
 /// The name of the server configuration.
 /// </param>
 public static Configuration Get(this IConfigurationsOperations operations, string resourceGroupName, string serverName, string configurationName)
 {
     return(operations.GetAsync(resourceGroupName, serverName, configurationName).GetAwaiter().GetResult());
 }
Exemplo n.º 2
0
 /// <summary>
 /// The configuration object for the specified cluster. This API is not
 /// recommended and might be removed in the future. Please consider using List
 /// configurations API instead.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the cluster.
 /// </param>
 /// <param name='configurationName'>
 /// The name of the cluster configuration.
 /// </param>
 public static IDictionary <string, string> Get(this IConfigurationsOperations operations, string resourceGroupName, string clusterName, string configurationName)
 {
     return(operations.GetAsync(resourceGroupName, clusterName, configurationName).GetAwaiter().GetResult());
 }