Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
92ab945
Initial commit of client testing around Server crud, database crud, e…
nathannfan Oct 23, 2016
36f9879
Updated tests to match updated specs
nathannfan Oct 23, 2016
f4493b1
Update tests to reflect name changes in swagger spec
nathannfan Oct 26, 2016
a3484ca
Responded to comments, added GeoDR functionality
nathannfan Oct 28, 2016
63bd3db
Responded to comments, added GeoDR functionality
nathannfan Oct 28, 2016
136d7f1
Updated test records
nathannfan Nov 4, 2016
5a32898
Additional test and recording fixes
nathannfan Nov 4, 2016
ec0d325
Merge remote-tracking branch 'upstream/AutoRest' into AutoRest
nathannfan Feb 9, 2017
f2756be
Update TestFramework version, re-do Test Recordings
nathannfan Feb 10, 2017
656ec25
Responded to comments: updated comments, referenced constant classes …
nathannfan Feb 17, 2017
7c1c45e
Merge remote-tracking branch 'upstream/AutoRest' into AutoRest
nathannfan Feb 17, 2017
6645568
Re-generate code after Swagger examples update and fixes, re-do recor…
nathannfan Feb 22, 2017
f7de0fe
Merge remote-tracking branch 'upstream/AutoRest' into AutoRest
nathannfan Feb 22, 2017
2c6c703
Regen from Swagger. DB now has RestorePointInTime
jaredmoo Feb 23, 2017
9fc86c3
Added point in time restore test
jaredmoo Feb 23, 2017
1dfb310
Regen from swagger
jaredmoo Feb 23, 2017
9efd1e4
Added SampleName param to DB create max test case
jaredmoo Feb 23, 2017
323cf27
Added Copy and move db between pools scenarios
nathannfan Feb 24, 2017
dbcc7b7
Merge remote-tracking branch 'origin' into AutoRest
nathannfan Feb 24, 2017
627bdf2
Update client to remove unused parameters/definitions, add Operations…
nathannfan Feb 24, 2017
6d9709c
Add test case for removing database from elastic pool
nathannfan Feb 25, 2017
b67c487
Regen with doc updates
jaredmoo Feb 27, 2017
071fd65
Added test for list database filter
jaredmoo Feb 27, 2017
1b479a6
Update AutoRest to 1.0.0-Nightly20161212 and regen
jaredmoo Feb 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,32 +1,41 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.Sql
{
using Microsoft.Rest.Azure;
using Azure;
using Management;
using Rest;
using Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// RecommendedElasticPoolsOperations operations.
/// </summary>
public partial interface IRecommendedElasticPoolsOperations
{
/// <summary>
/// Returns information about an Azure SQL Recommended Elastic Pool.
/// Gets a recommented elastic pool.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the Resource Group to which the resource belongs.
/// 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 Azure SQL Server
/// The name of the server.
/// </param>
/// <param name='recommendedElasticPoolName'>
/// The name of the Azure SQL Recommended Elastic Pool to be retrieved.
/// The name of the recommended elastic pool to be retrieved.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -43,22 +52,23 @@ public partial interface IRecommendedElasticPoolsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<RecommendedElasticPool>> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
Task<AzureOperationResponse<RecommendedElasticPool>> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns information about an Azure SQL Database inside of an Azure
/// SQL Recommended Elastic Pool.
/// Gets a database inside of a recommented elastic pool.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the Resource Group to which the resource belongs.
/// 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 Azure SQL Server
/// The name of the server.
/// </param>
/// <param name='recommendedElasticPoolName'>
/// The name of the Azure SQL Elastic Pool to be retrieved.
/// The name of the elastic pool to be retrieved.
/// </param>
/// <param name='databaseName'>
/// The name of the Azure SQL Database to be retrieved.
/// The name of the database to be retrieved.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -75,15 +85,17 @@ public partial interface IRecommendedElasticPoolsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Database>> GetDatabasesWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, string databaseName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
Task<AzureOperationResponse<Database>> GetDatabasesWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, string databaseName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns information about Azure SQL Recommended Elastic Pools.
/// Returns recommended elastic pools.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the Resource Group to which the resource belongs.
/// 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 Azure SQL Server
/// The name of the server.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -100,19 +112,20 @@ public partial interface IRecommendedElasticPoolsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<RecommendedElasticPool>>> ListWithHttpMessagesAsync(string resourceGroupName, string serverName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
Task<AzureOperationResponse<IEnumerable<RecommendedElasticPool>>> ListWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns information about an Azure SQL Database inside of an Azure
/// SQL Recommended Elastic Pool.
/// Returns a database inside of a recommented elastic pool.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the Resource Group to which the resource belongs.
/// 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 Azure SQL Server
/// The name of the server.
/// </param>
/// <param name='recommendedElasticPoolName'>
/// The name of the Azure SQL Recommended Elastic Pool to be retrieved.
/// The name of the recommended elastic pool to be retrieved.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -129,18 +142,20 @@ public partial interface IRecommendedElasticPoolsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Database>>> ListDatabasesWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
Task<AzureOperationResponse<IEnumerable<Database>>> ListDatabasesWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Returns information about an recommended elastic pool metrics.
/// Returns a recommented elastic pool metrics.
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the Resource Group to which the resource belongs.
/// 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 Azure SQL Server
/// The name of the server.
/// </param>
/// <param name='recommendedElasticPoolName'>
/// The name of the Azure SQL Recommended Elastic Pool to be retrieved.
/// The name of the recommended elastic pool to be retrieved.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -157,6 +172,7 @@ public partial interface IRecommendedElasticPoolsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<RecommendedElasticPoolMetric>>> ListMetricsWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
Task<AzureOperationResponse<IEnumerable<RecommendedElasticPoolMetric>>> ListMetricsWithHttpMessagesAsync(string resourceGroupName, string serverName, string recommendedElasticPoolName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}

Loading