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

[ReleasePR Microsoft.Azure.Management.WebSites] Updating Functions ARM APIs #9348

Closed
Show file tree
Hide file tree
Changes from all 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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ internal CertificateRegistrationProviderOperations(WebSiteManagementClient clien
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand All @@ -70,30 +70,38 @@ internal CertificateRegistrationProviderOperations(WebSiteManagementClient clien
/// <exception cref="SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="ValidationException">
/// Thrown when a required parameter is null
/// </exception>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<AzureOperationResponse<IPage<CsmOperationDescription>>> ListOperationsWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
string apiVersion = "2018-02-01";
if (Client.ApiVersion == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
if (_shouldTrace)
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary<string, object> tracingParameters = new Dictionary<string, object>();
tracingParameters.Add("apiVersion", apiVersion);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "ListOperations", tracingParameters);
}
// Construct URL
var _baseUrl = Client.BaseUri.AbsoluteUri;
var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.CertificateRegistration/operations").ToString();
List<string> _queryParameters = new List<string>();
if (apiVersion != null)
if (Client.ApiVersion != null)
{
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(apiVersion)));
_queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
}
if (_queryParameters.Count > 0)
{
Expand Down Expand Up @@ -220,8 +228,8 @@ internal CertificateRegistrationProviderOperations(WebSiteManagementClient clien
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public static partial class CertificateRegistrationProviderOperationsExtensions
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -42,8 +42,8 @@ public static IPage<CsmOperationDescription> ListOperations(this ICertificateReg
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -64,8 +64,8 @@ public static IPage<CsmOperationDescription> ListOperations(this ICertificateReg
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -83,8 +83,8 @@ public static IPage<CsmOperationDescription> ListOperationsNext(this ICertificat
/// under the resource provider
/// </summary>
/// <remarks>
/// Implements Csm operations Api to exposes the list of available Csm Apis
/// under the resource provider
/// Description for Implements Csm operations Api to exposes the list of
/// available Csm Apis under the resource provider
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
Expand Down
Loading