Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions eng/mgmt/mgmtmetadata/sql_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=.
2019-09-16 14:19:04 UTC
cmd.exe /c autorest.cmd https://github.com/misosic-msft/azure-rest-api-specs/blob/sqlManagedDatabases/specification/sql/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\azure-sdk-for-net\sdk
2019-09-20 14:01:21 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: e0d9ceb1ca85e76a31b8496201499a7312824c09
GitHub fork: misosic-msft
Branch: sqlManagedDatabases
Commit: 65fd128060b3b1db7aceb7a684f5e2bf9b647626
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// <auto-generated>
Comment thread
misosic-msft marked this conversation as resolved.
// 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.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

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

/// <summary>
/// ManagedDatabaseRestoreDetailsOperations operations.
/// </summary>
public partial interface IManagedDatabaseRestoreDetailsOperations
{
/// <summary>
/// Gets managed database restore details.
/// </summary>
/// <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='managedInstanceName'>
/// The name of the managed instance.
/// </param>
/// <param name='databaseName'>
/// The name of the database.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ManagedDatabaseRestoreDetailsResult>> GetWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,6 @@ namespace Microsoft.Azure.Management.Sql
/// </summary>
public partial interface IManagedDatabasesOperations
{
/// <summary>
/// Completes the restore operation on a managed database.
/// </summary>
/// <param name='locationName'>
/// The name of the region where the resource is located.
/// </param>
/// <param name='operationId'>
/// Management operation id that this request tries to complete.
/// </param>
/// <param name='parameters'>
/// The definition for completing the restore of this managed database.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> CompleteRestoreWithHttpMessagesAsync(string locationName, System.Guid operationId, CompleteDatabaseRestoreDefinition parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets a list of managed databases.
/// </summary>
Expand Down Expand Up @@ -201,11 +176,16 @@ public partial interface IManagedDatabasesOperations
/// <summary>
/// Completes the restore operation on a managed database.
/// </summary>
/// <param name='locationName'>
/// The name of the region where the resource is located.
/// <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='operationId'>
/// Management operation id that this request tries to complete.
/// <param name='managedInstanceName'>
/// The name of the managed instance.
/// </param>
/// <param name='databaseName'>
/// The name of the database.
/// </param>
/// <param name='parameters'>
/// The definition for completing the restore of this managed database.
Expand All @@ -222,7 +202,7 @@ public partial interface IManagedDatabasesOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> BeginCompleteRestoreWithHttpMessagesAsync(string locationName, System.Guid operationId, CompleteDatabaseRestoreDefinition parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse> CompleteRestoreWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, CompleteDatabaseRestoreDefinition parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Creates a new database or updates an existing database.
/// </summary>
Expand Down Expand Up @@ -317,6 +297,36 @@ public partial interface IManagedDatabasesOperations
/// </exception>
Task<AzureOperationResponse<ManagedDatabase>> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, ManagedDatabaseUpdate parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Completes the restore operation on a managed database.
/// </summary>
/// <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='managedInstanceName'>
/// The name of the managed instance.
/// </param>
/// <param name='databaseName'>
/// The name of the database.
/// </param>
/// <param name='parameters'>
/// The definition for completing the restore of this managed database.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse> BeginCompleteRestoreWithHttpMessagesAsync(string resourceGroupName, string managedInstanceName, string databaseName, CompleteDatabaseRestoreDefinition parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets a list of managed databases.
/// </summary>
/// <param name='nextPageLink'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,6 @@ public partial interface ISqlManagementClient : System.IDisposable
/// </summary>
IManagedBackupShortTermRetentionPoliciesOperations ManagedBackupShortTermRetentionPolicies { get; }

/// <summary>
/// Gets the IManagedDatabasesOperations.
/// </summary>
IManagedDatabasesOperations ManagedDatabases { get; }

/// <summary>
/// Gets the IManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesOperations.
/// </summary>
Expand Down Expand Up @@ -482,6 +477,16 @@ public partial interface ISqlManagementClient : System.IDisposable
/// </summary>
IManagedInstancesOperations ManagedInstances { get; }

/// <summary>
/// Gets the IManagedDatabaseRestoreDetailsOperations.
/// </summary>
IManagedDatabaseRestoreDetailsOperations ManagedDatabaseRestoreDetails { get; }

/// <summary>
/// Gets the IManagedDatabasesOperations.
/// </summary>
IManagedDatabasesOperations ManagedDatabases { get; }

/// <summary>
/// Gets the IPrivateEndpointConnectionsOperations.
/// </summary>
Expand Down
Loading