Adding .NET SDK changes for Server DNS Aliasing#3803
Merged
shahabhijeet merged 7 commits intoAzure:psSdkJson6from Oct 20, 2017
Merged
Adding .NET SDK changes for Server DNS Aliasing#3803shahabhijeet merged 7 commits intoAzure:psSdkJson6from
shahabhijeet merged 7 commits intoAzure:psSdkJson6from
Conversation
…ins removing unused declarations from bunch of files. Everything generated automatically
Contributor
Author
|
@jaredmoo I will greatly appreciate comments on those changes |
jaredmoo
suggested changes
Oct 19, 2017
Contributor
jaredmoo
left a comment
There was a problem hiding this comment.
Overall looks good, minor comments.
| [assembly: AssemblyDescription("Provides management functionality for Microsoft Azure SQL.")] | ||
| [assembly: AssemblyVersion("1.0.0.0")] | ||
| [assembly: AssemblyFileVersion("1.8.0.0")] | ||
| [assembly: AssemblyFileVersion("1.9.0.0")] |
Contributor
There was a problem hiding this comment.
please revert, 1.8.0 has not yet been published ( see https://www.nuget.org/packages/Microsoft.Azure.Management.Sql )
| <Description>Azure SQL Management SDK library</Description> | ||
| <AssemblyName>Microsoft.Azure.Management.Sql</AssemblyName> | ||
| <VersionPrefix>1.8.0-preview</VersionPrefix> | ||
| <VersionPrefix>1.9.0-preview</VersionPrefix> |
| <VersionPrefix>1.9.0-preview</VersionPrefix> | ||
| <PackageTags>Microsoft Azure SQL Management;SQL;SQL Management</PackageTags> | ||
| </PropertyGroup> | ||
| <PropertyGroup> |
Contributor
There was a problem hiding this comment.
please add a release note in <PackageReleaseNotes> below, e.g. 'Added support for server dns aliases'.
|
|
||
| // Update server to which alias is pointing | ||
| // | ||
| var serverDnsAliasAcquisitonParams = new ServerDnsAliasAcquisition(String.Format("/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Sql/servers/{2}/dnsAliases/{3}", sqlClient.SubscriptionId, resourceGroup.Name, sourceServer.Name, serverDnsAliasName)); |
Contributor
There was a problem hiding this comment.
nit: long line, can you split over multiple lines
var serverDnsAliasAcquisitonParams = new ServerDnsAliasAcquisition(
string.Format(
"/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Sql/servers/{2}/dnsAliases/{3}",
sqlClient.SubscriptionId,
resourceGroup.Name,
sourceServer.Name,
serverDnsAliasName));
| public class ServerDnsAliasCrudScenarioTests | ||
| { | ||
| [Fact] | ||
| public void TestCrudServerDnsAlias() |
| } | ||
|
|
||
| internal static Task<Database[]> CreateDatabasesAsync( | ||
| internal static Task<Database[]> CreateDatabasesAsync( |
| Assert.Equal(expected.VirtualNetworkSubnetId, actual.VirtualNetworkSubnetId); | ||
| } | ||
|
|
||
| public static void ValidateServerDnsAlias(ServerDnsAlias actual, string name) |
Contributor
There was a problem hiding this comment.
I understand you're following the pattern here, but I think it would be better in your DNS alias test class
This reverts commit 5a5e426.
…g small change requests from Jared in pull request
jaredmoo
approved these changes
Oct 19, 2017
shahabhijeet
added a commit
that referenced
this pull request
Nov 2, 2017
* Regenerate SDK for new added api key management swagger spec (#3767) * Generate .NET SDK for application insights * update assembly version * address code review feedback * address code review feedback * regenerate sdk for adding management api keys functions * remove local used LaunchSettings.json file * generate from the pulic swagger * increase version in csproj file * Update Batch changelog to have a clearer format (#3775) * Removing build tools outside of branches (#3780) * Moving old files which are not used anymore to legacy directory * Separate build tools from branch. Moving forward build tools will be downloaded from a central location, this helps in propogating build changes to any branch dynamically. After this change build process on a new machine or fresh install will be a two step process. First download the build tools by executing msbuild build.proj and once it finishes, then execute whatever target you need to do e.g. msbuild build.proj /t:RunTests /p:Scope=SDKs\Compute. After downloading all build related assets will be downloaded under <root>\tools\SdkBuildTools. Moving bunch of legacy code to legacy directory. Removing build tasks out of this branch, currently being moved to legacy directory * Update README.md Updating readme to document recent build changes that were done to extract build tools out of main branch. * Adding data factory CRUD scenario test (#3774) * This is the first batch of scenario tests for the ADF V2 SDK. * Partially addresses #3726; more tests need to be added * Update Batch supporting assemblies (#3794) * [ADLA] - Update changelog for version 3.0.2 (#3792) * Merge from private Networking (#3771) * Regenerated Networking SDK on 2017-09-01, private * Expose new operation for VpnDeviceConfiguration for Vpn Gateways * Adding AzureReachabilityReport and AvailableProvidersList APIs + tests * Updating version of Network SDK * Disabling tests for AzureReachabilityReport and AvailableProvidersList APIs * Updated version * Caa record support in Azure DNS (#3785) * upgrade .net.test.sk project to stable version * support for CAA records * changing assembly file version to reflect nuget version * update swagger from public repo * addressing code review comments * bumping up assembly verson to 2.0.0.0 * [ADLA - ADLS] - [HOTFIX] - Update changelog (#3802) * [ADLA] - Update changelog for version 3.0.2 * [ADLA] - Update changelog * [ADLS] - Update changelog * Update changelog * 3.0.1 for ADLA was never published to nuget * 2.2.1 for ADLS was never published to nuget * Adding .NET SDK changes for Server DNS Aliasing (#3803) * Auto generated files for .NET SDK for Server DNS Aliasing. Also contains removing unused declarations from bunch of files. Everything generated automatically * Adding tests for server dns aliasing and their recording * Fixing sql_resource_manager.txt * Updating new version of SDK in AssemblyInfo.cs and csproj file * Small cosmetic changes to address Jared * Revert "Small cosmetic changes to address Jared" This reverts commit 5a5e426. * Reverting version change in project and AssemblyInfo files; addressing small change requests from Jared in pull request * [ACR] Update SDK to 2017-10-01 version (#3778) * Update ACR SDK to 2017-10-01 version * Update csproj, re-record tests * Address PR review feedback Address PR review feedback * Fix issue with missing Unit enumeration values, fix documentation issues, improved tests for multi-dim metrics API (#3809) * [Monitor] Fixing doc issues, adding two values to the metric unit enumeration, generating metadata files * Increasing version number due to a bug fix and documentation updates * [Monitor] Adding multi-dimensional metrics tests * Re-generate SDKs/Resource (#3793) * Updated Network SDK version (#3814) * Added Zone Redundant Property To Database, Elastic Pool and Edition Capability (#3800) * Add zone redundant property for database, elastic pool and capability edition * Added zone redundant property release notes * Revert "Removing build tools outside of branches (#3780)" This reverts commit deceaf3. * Revert "Revert "Removing build tools outside of branches (#3780)"" This reverts commit 58265b9. * Rerun tests to fix validation errors * Remove null capability test * Cancel pipeline run (#3812) * Cancel pipeline run api * Makin cancel run to factory operation * Example and unit test for cancel pipeline run api. * Regenerating SDK accoring to latest instructions * Scenario test for cancel run api * Scenario test for pipeline run 2 * Regenerating SDK and adding text file with generation metadata * Adding version 0.2.1 * Merged ADMS changes for Oct. SDK release * Add linked service scenario test (resolves #3726) (#3798) * Adds a simple CRUD test for linked services * Also change all tests to check for proper HTTP response codes on each API call * Resolves #3726 * Updated RecoveryServices.Backup Tests (#3822) - Updated tests to address Azure/azure-sdk-for-python#1422 - Updated test settings (VM name etc) for Backup tests and re-recorded tests
JasonYang-MSFT
pushed a commit
to JasonYang-MSFT/azure-sdk-for-net
that referenced
this pull request
Dec 8, 2017
* Auto generated files for .NET SDK for Server DNS Aliasing. Also contains removing unused declarations from bunch of files. Everything generated automatically * Adding tests for server dns aliasing and their recording * Fixing sql_resource_manager.txt * Updating new version of SDK in AssemblyInfo.cs and csproj file * Small cosmetic changes to address Jared * Revert "Small cosmetic changes to address Jared" This reverts commit 5a5e426. * Reverting version change in project and AssemblyInfo files; addressing small change requests from Jared in pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This main aim of this change is to add .NET SDK changes for Server DNS Aliasing. While generating them from latest swagger, several files got updated with removing unused declarations.
Swagger pull request link: Azure/azure-rest-api-specs#1858
Description
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.