Skip to content

Commit

Permalink
Feature/api 2019 08 01 preview (Azure#7404)
Browse files Browse the repository at this point in the history
* Squashed changed.

* added model

* Delete peering_resource-manager.txt

* removed non peering project props.

* Updated peering test json.
  • Loading branch information
rileymckenna authored and isra-fel committed Aug 27, 2019
1 parent fe4be45 commit 4acb016
Show file tree
Hide file tree
Showing 54 changed files with 6,439 additions and 1,081 deletions.
1 change: 1 addition & 0 deletions Documentation/sdk-for-net-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Below are the packages maintained in this repository.
| Notification Hubs | `Microsoft.Azure.Management.NotificationHubs` | [![Notification Hubs](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.NotificationHubs.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.NotificationHubs) |
| Peering | `Microsoft.Azure.Management.Peering` | [![Peering](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.Peering.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.Peering) |
| Policy Insights | `Microsoft.Azure.Management.PolicyInsights` | [![Policy Insights](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.PolicyInsights.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.PolicyInsights) |
| Peering | `Microsoft.Azure.Management.Peering` | [![Peering](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.Peering.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.Peering) |
| Operational Insights | `Microsoft.Azure.Management.OperationalInsights` | [![Operational Insights](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.OperationalInsights.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.OperationalInsights) |
| Power BI Embedded | `Microsoft.Azure.Management.PowerBIEmbedded` | [![Power BI Embedded](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.PowerBIEmbedded.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.PowerBIEmbedded) |
| RecoveryServices | `Microsoft.Azure.Management.RecoveryServices` | [![RecoveryServices](https://img.shields.io/nuget/vpre/Microsoft.Azure.Management.RecoveryServices.svg)](https://www.nuget.org/packages/Microsoft.Azure.Management.RecoveryServices) |
Expand Down
14 changes: 14 additions & 0 deletions eng/mgmt/mgmtmetadata/peering_resource-manager.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/peering/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=F:\azure\azure-sdk-for-net\sdk
2019-08-23 17:48:19 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 8afd6663d145c938b80a9a9709aa2a9b101b3df2
AutoRest information
Requested version: latest
Bootstrapper version: [email protected]

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions sdk/batch/Microsoft.Azure.Management.Batch/AzSdk.RP.props

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +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>Peering_2019-03-01-preview;</AzureApiTag>
<AzureApiTag>Peering_2019-08-01-preview;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ public partial interface IPeeringLocationsOperations
/// The kind of the peering. Possible values include: 'Direct',
/// 'Exchange'
/// </param>
/// <param name='directPeeringType'>
/// The type of direct peering. Possible values include: 'Edge',
/// 'Transit', 'Cdn', 'Internal'
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -42,7 +46,7 @@ public partial interface IPeeringLocationsOperations
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<IPage<PeeringLocation>>> ListWithHttpMessagesAsync(string kind, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<IPage<PeeringLocation>>> ListWithHttpMessagesAsync(string kind, string directPeeringType = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all of the available peering locations for the specified kind
/// of peering.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ namespace Microsoft.Azure.Management.Peering
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// APIs to manage Peering resources through the Azure Resource Manager.
Expand Down Expand Up @@ -90,5 +94,46 @@ public partial interface IPeeringManagementClient : System.IDisposable
/// </summary>
IPeeringsOperations Peerings { get; }

/// <summary>
/// Gets the IPeeringServiceLocationsOperations.
/// </summary>
IPeeringServiceLocationsOperations PeeringServiceLocations { get; }

/// <summary>
/// Gets the IPeeringServicePrefixesOperations.
/// </summary>
IPeeringServicePrefixesOperations PeeringServicePrefixes { get; }

/// <summary>
/// Gets the IPrefixesOperations.
/// </summary>
IPrefixesOperations Prefixes { get; }

/// <summary>
/// Gets the IPeeringServiceProvidersOperations.
/// </summary>
IPeeringServiceProvidersOperations PeeringServiceProviders { get; }

/// <summary>
/// Gets the IPeeringServicesOperations.
/// </summary>
IPeeringServicesOperations PeeringServices { get; }

/// <summary>
/// Checks if the peering service provider is present within 1000 miles
/// of customer's location
/// </summary>
/// <param name='checkServiceProviderAvailabilityInput'>
/// The CheckServiceProviderAvailabilityInput
/// indicating customer location and service provider.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<string>> CheckServiceProviderAvailabilityWithHttpMessagesAsync(CheckServiceProviderAvailabilityInput checkServiceProviderAvailabilityInput, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// <auto-generated>
// 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.Peering
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// PeeringServiceLocationsOperations operations.
/// </summary>
public partial interface IPeeringServiceLocationsOperations
{
/// <summary>
/// Lists all of the available peering service locations for the
/// specified kind of peering.
/// </summary>
/// <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<PeeringServiceLocation>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all of the available peering service locations for the
/// specified kind of peering.
/// </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<PeeringServiceLocation>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
// <auto-generated>
// 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.Peering
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// PeeringServicePrefixesOperations operations.
/// </summary>
public partial interface IPeeringServicePrefixesOperations
{
/// <summary>
/// Gets the peering service prefix.
/// </summary>
/// <param name='resourceGroupName'>
/// The resource group name.
/// </param>
/// <param name='peeringServiceName'>
/// The peering service name.
/// </param>
/// <param name='prefixName'>
/// The prefix name.
/// </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<PeeringServicePrefix>> GetWithHttpMessagesAsync(string resourceGroupName, string peeringServiceName, string prefixName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Creates or updates the peering prefix.
/// </summary>
/// <param name='resourceGroupName'>
/// The resource group name.
/// </param>
/// <param name='peeringServiceName'>
/// The peering service name.
/// </param>
/// <param name='prefixName'>
/// The prefix name
/// </param>
/// <param name='peeringServicePrefix'>
/// The IP prefix for an peering
/// </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<PeeringServicePrefix>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string peeringServiceName, string prefixName, PeeringServicePrefix peeringServicePrefix, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// removes the peering prefix.
/// </summary>
/// <param name='resourceGroupName'>
/// The resource group name.
/// </param>
/// <param name='peeringServiceName'>
/// The peering service name.
/// </param>
/// <param name='prefixName'>
/// The prefix name
/// </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 peeringServiceName, string prefixName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// <auto-generated>
// 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.Peering
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// PeeringServiceProvidersOperations operations.
/// </summary>
public partial interface IPeeringServiceProvidersOperations
{
/// <summary>
/// Lists all of the available peering service locations for the
/// specified kind of peering.
/// </summary>
/// <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<PeeringServiceProvider>>> ListWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Lists all of the available peering service locations for the
/// specified kind of peering.
/// </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<PeeringServiceProvider>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Loading

0 comments on commit 4acb016

Please sign in to comment.