forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1859 from naveedaz/AutoRest
Some API fixes and enhancements
- Loading branch information
Showing
38 changed files
with
4,852 additions
and
5,320 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
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
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
120 changes: 120 additions & 0 deletions
120
...ement/WebSite/Microsoft.Azure.Management.Websites/Generated/IRecommendationsOperations.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,120 @@ | ||
// 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 0.14.0.0 | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
|
||
namespace Microsoft.Azure.Management.WebSites | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Azure; | ||
using Models; | ||
|
||
/// <summary> | ||
/// RecommendationsOperations operations. | ||
/// </summary> | ||
public partial interface IRecommendationsOperations | ||
{ | ||
/// <summary> | ||
/// Gets a list of recommendations associated with the specified | ||
/// subscription. | ||
/// </summary> | ||
/// <param name='featured'> | ||
/// If set, this API returns only the most critical recommendation | ||
/// among the others. Otherwise this API returns all recommendations | ||
/// available | ||
/// </param> | ||
/// <param name='filter'> | ||
/// Return only channels specified in the filter. Filter is specified | ||
/// by using OData syntax. Example: $filter=channels eq 'Api' or | ||
/// channel eq 'Notification' | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IList<Recommendation>>> GetRecommendationBySubscriptionWithHttpMessagesAsync(bool? featured = default(bool?), string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the detailed properties of the recommendation object for the | ||
/// specified web site. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// Resource group name | ||
/// </param> | ||
/// <param name='siteName'> | ||
/// Site name | ||
/// </param> | ||
/// <param name='name'> | ||
/// Recommendation rule name | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<RecommendationRule>> GetRuleDetailsBySiteNameWithHttpMessagesAsync(string resourceGroupName, string siteName, string name, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets a list of recommendations associated with the specified web | ||
/// site. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// Resource group name | ||
/// </param> | ||
/// <param name='siteName'> | ||
/// Site name | ||
/// </param> | ||
/// <param name='featured'> | ||
/// If set, this API returns only the most critical recommendation | ||
/// among the others. Otherwise this API returns all recommendations | ||
/// available | ||
/// </param> | ||
/// <param name='siteSku'> | ||
/// The name of site SKU. | ||
/// </param> | ||
/// <param name='numSlots'> | ||
/// The number of site slots associated to the site | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IList<Recommendation>>> GetRecommendedRulesForSiteWithHttpMessagesAsync(string resourceGroupName, string siteName, bool? featured = default(bool?), string siteSku = default(string), int? numSlots = default(int?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
/// <summary> | ||
/// Gets the list of past recommendations optionally specified by the | ||
/// time range. | ||
/// </summary> | ||
/// <param name='resourceGroupName'> | ||
/// Resource group name | ||
/// </param> | ||
/// <param name='siteName'> | ||
/// Site name | ||
/// </param> | ||
/// <param name='startTime'> | ||
/// The start time of a time range to query, e.g. $filter=startTime eq | ||
/// '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z' | ||
/// </param> | ||
/// <param name='endTime'> | ||
/// The end time of a time range to query, e.g. $filter=startTime eq | ||
/// '2015-01-01T00:00:00Z' and endTime eq '2015-01-02T00:00:00Z' | ||
/// </param> | ||
/// <param name='customHeaders'> | ||
/// The headers that will be added to request. | ||
/// </param> | ||
/// <param name='cancellationToken'> | ||
/// The cancellation token. | ||
/// </param> | ||
Task<AzureOperationResponse<IList<Recommendation>>> GetRecommendationHistoryForSiteWithHttpMessagesAsync(string resourceGroupName, string siteName, string startTime = default(string), string endTime = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); | ||
} | ||
} |
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
Oops, something went wrong.