Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ManagedNetwork SDK #7392

Merged
merged 5 commits into from
Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from 2 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
14 changes: 14 additions & 0 deletions eng/mgmt/mgmtmetadata/managednetwork.txt
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
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>
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
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>
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")]

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start-AutoRestCodeGeneration -ResourceProvider "managednetwork" -AutoRestVersion "latest"
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));
}
}
Loading