-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ManagedNetwork SDK * update mgmt file * Add SessionRecords * reduce load of test * remove unnecessary lib
- Loading branch information
Showing
59 changed files
with
13,201 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Installing AutoRest version: latest | ||
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/managednetwork/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=E:\wd\forkrepo\azure-sdk-for-net\sdk | ||
2019-08-24 00:42:10 UTC | ||
Azure-rest-api-specs repository information | ||
GitHub fork: Azure | ||
Branch: master | ||
Commit: 8afd6663d145c938b80a9a9709aa2a9b101b3df2 | ||
AutoRest information | ||
Requested version: latest | ||
Bootstrapper version: autorest@2.0.4283 |
7 changes: 7 additions & 0 deletions
7
sdk/managednetwork/Microsoft.Azure.Management.ManagedNetwork/AzSdk.RP.props
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file--> | ||
<PropertyGroup> | ||
<AzureApiTag>ManagedNetwork_2019-06-01-preview;</AzureApiTag> | ||
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags> | ||
</PropertyGroup> | ||
</Project> |
31 changes: 31 additions & 0 deletions
31
...k/Microsoft.Azure.Management.ManagedNetwork/Microsoft.Azure.Management.ManagedNetwork.sln
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.28307.779 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Management.ManagedNetwork", "src\Microsoft.Azure.Management.ManagedNetwork.csproj", "{84555D52-26BF-4FBA-8E4E-983170275F2C}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.Management.ManagedNetwork.Tests", "tests\Microsoft.Azure.Management.ManagedNetwork.Tests.csproj", "{0BBAFF7A-75B6-465D-AE1E-52C6AA3C6284}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{84555D52-26BF-4FBA-8E4E-983170275F2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{84555D52-26BF-4FBA-8E4E-983170275F2C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{84555D52-26BF-4FBA-8E4E-983170275F2C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{84555D52-26BF-4FBA-8E4E-983170275F2C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{0BBAFF7A-75B6-465D-AE1E-52C6AA3C6284}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{0BBAFF7A-75B6-465D-AE1E-52C6AA3C6284}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{0BBAFF7A-75B6-465D-AE1E-52C6AA3C6284}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{0BBAFF7A-75B6-465D-AE1E-52C6AA3C6284}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {8AA755DD-3073-423C-A68F-F3BB8FA77871} | ||
EndGlobalSection | ||
EndGlobal |
24 changes: 24 additions & 0 deletions
24
...soft.Azure.Management.ManagedNetwork/src/Microsoft.Azure.Management.ManagedNetwork.csproj
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<!-- Please do not move/edit code below this line --> | ||
<Import Project="$(RepoEngPath)/mgmt/AzSdk.reference.props" /> | ||
<!-- Please do not move/edit code below this line --> | ||
|
||
<PropertyGroup> | ||
<PackageId>Microsoft.Azure.Management.ManagedNetwork</PackageId> | ||
<Description>Network Controller is a fully managed networking solution that allows customers to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.</Description> | ||
<AssemblyName>Microsoft.Azure.Management.ManagedNetwork</AssemblyName> | ||
<Version>1.0.0-preview</Version> | ||
<PackageTags>Microsoft Azure MangedNetwork management;ManagedNetwork;ManagedNetwork management;</PackageTags> | ||
<PackageReleaseNotes> | ||
<![CDATA[ | ||
- Initiation of SDK | ||
]]></PackageReleaseNotes> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFrameworks>$(SdkTargetFx)</TargetFrameworks> | ||
</PropertyGroup> | ||
|
||
<!-- Please do not move/edit code below this line --> | ||
<Import Condition=" Exists('$([MSBuild]::GetPathOfFileAbove(AzSdk.RP.props))') " Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.RP.props'))" /> | ||
<!-- Please do not move/edit code above this line --> | ||
</Project> |
21 changes: 21 additions & 0 deletions
21
sdk/managednetwork/Microsoft.Azure.Management.ManagedNetwork/src/Properties/AssemblyInfo.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
using System.Reflection; | ||
using System.Resources; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: AssemblyTitle("Microsoft Azure ManagedNetwork Management Library")] | ||
[assembly: AssemblyDescription("Provides Microsoft Azure ManagedNetwork management functions for managing the Microsoft Azure ManagedNetwork service.")] | ||
|
||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] | ||
|
||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("Azure .NET SDK")] | ||
[assembly: AssemblyCopyright("${AuthorCopyright}")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: NeutralResourcesLanguage("en")] | ||
|
1 change: 1 addition & 0 deletions
1
sdk/managednetwork/Microsoft.Azure.Management.ManagedNetwork/src/generate.ps1
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Start-AutoRestCodeGeneration -ResourceProvider "managednetwork" -AutoRestVersion "latest" |
238 changes: 238 additions & 0 deletions
238
...icrosoft.Azure.Management.ManagedNetwork/src/generated/IManagedNetworkGroupsOperations.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
// <auto-generated> | ||
// 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.ManagedNetwork | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
|
||
/// <summary> | ||
/// ManagedNetworkGroupsOperations operations. | ||
/// </summary> | ||
public partial interface IManagedNetworkGroupsOperations | ||
{ | ||
/// <summary> | ||
/// The Get ManagedNetworkGroups operation gets a Managed Network Group | ||
/// specified by the resource group, Managed Network name, and group | ||
/// name | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='managedNetworkGroupName'> | ||
/// The name of the Managed Network Group. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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<ManagedNetworkGroup>> GetWithHttpMessagesAsync(string resourceGroupName, string managedNetworkName, string managedNetworkGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The Put ManagedNetworkGroups operation creates or updates a Managed | ||
/// Network Group resource | ||
/// </summary> | ||
/// <param name='managedNetworkGroup'> | ||
/// Parameters supplied to the create/update a Managed Network Group | ||
/// resource | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='managedNetworkGroupName'> | ||
/// The name of the Managed Network Group. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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<ManagedNetworkGroup>> CreateOrUpdateWithHttpMessagesAsync(ManagedNetworkGroup managedNetworkGroup, string resourceGroupName, string managedNetworkName, string managedNetworkGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The Delete ManagedNetworkGroups operation deletes a Managed Network | ||
/// Group specified by the resource group, Managed Network name, and | ||
/// group name | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='managedNetworkGroupName'> | ||
/// The name of the Managed Network Group. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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> DeleteWithHttpMessagesAsync(string resourceGroupName, string managedNetworkName, string managedNetworkGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The ListByManagedNetwork ManagedNetworkGroup operation retrieves | ||
/// all the Managed Network Groups in a specified Managed Networks in a | ||
/// paginated format. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='top'> | ||
/// May be used to limit the number of results in a page for list | ||
/// queries. | ||
/// </param> | ||
/// <param name='skiptoken'> | ||
/// Skiptoken is only used if a previous operation returned a partial | ||
/// result. If a previous response contains a nextLink element, the | ||
/// value of the nextLink element will include a skiptoken parameter | ||
/// that specifies a starting point to use for subsequent calls. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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<IPage<ManagedNetworkGroup>>> ListByManagedNetworkWithHttpMessagesAsync(string resourceGroupName, string managedNetworkName, int? top = default(int?), string skiptoken = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The Put ManagedNetworkGroups operation creates or updates a Managed | ||
/// Network Group resource | ||
/// </summary> | ||
/// <param name='managedNetworkGroup'> | ||
/// Parameters supplied to the create/update a Managed Network Group | ||
/// resource | ||
/// </param> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='managedNetworkGroupName'> | ||
/// The name of the Managed Network Group. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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<ManagedNetworkGroup>> BeginCreateOrUpdateWithHttpMessagesAsync(ManagedNetworkGroup managedNetworkGroup, string resourceGroupName, string managedNetworkName, string managedNetworkGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The Delete ManagedNetworkGroups operation deletes a Managed Network | ||
/// Group specified by the resource group, Managed Network name, and | ||
/// group name | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// The name of the resource group. | ||
/// </param> | ||
/// <param name='managedNetworkName'> | ||
/// The name of the Managed Network. | ||
/// </param> | ||
/// <param name='managedNetworkGroupName'> | ||
/// The name of the Managed Network Group. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string managedNetworkName, string managedNetworkGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// The ListByManagedNetwork ManagedNetworkGroup operation retrieves | ||
/// all the Managed Network Groups in a specified Managed Networks in a | ||
/// paginated format. | ||
/// </summary> | ||
/// <param name='nextPageLink'> | ||
/// The NextLink from the previous successful call to List operation. | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
/// <exception cref="ErrorResponseException"> | ||
/// 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<IPage<ManagedNetworkGroup>>> ListByManagedNetworkNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
Oops, something went wrong.