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

[AutoPR Microsoft.Azure.Management.ManagedServices] Fix json format by prettier #434

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
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ public partial interface IManagedServicesClient : System.IDisposable
/// </summary>
IRegistrationAssignmentsOperations RegistrationAssignments { get; }

/// <summary>
/// Gets the IMarketplaceRegistrationDefinitionsOperations.
/// </summary>
IMarketplaceRegistrationDefinitionsOperations MarketplaceRegistrationDefinitions { get; }

/// <summary>
/// Gets the IOperations.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
// <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.ManagedServices
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// MarketplaceRegistrationDefinitionsOperations operations.
/// </summary>
public partial interface IMarketplaceRegistrationDefinitionsOperations
{
/// <summary>
/// Gets a list of the marketplace registration definitions for the
/// marketplace identifier.
/// </summary>
/// <param name='scope'>
/// Scope of the resource.
/// </param>
/// <param name='filter'>
/// The filter query parameter. Might be used to filter marketplace
/// registration definition by plan identifier, publisher, version etc.
/// </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<RegistrationDefinition>>> ListWithHttpMessagesAsync(string scope, string filter = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Get the marketplace registration definition for the marketplace
/// identifier.
/// </summary>
/// <param name='scope'>
/// Scope of the resource.
/// </param>
/// <param name='marketplaceIdentifier'>
/// Market place identifer. Expected Formats -
/// {publisher}.{product[-preview]}.{planName}.{version} or
/// {publisher}.{product[-preview]}.{planName} or
/// {publisher}.{product[-preview]} or {publisher}).
/// </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<RegistrationDefinition>> GetWithHttpMessagesAsync(string scope, string marketplaceIdentifier, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets a list of the marketplace registration definitions for the
/// marketplace identifier.
/// </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<RegistrationDefinition>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ public partial class ManagedServicesClient : ServiceClient<ManagedServicesClient
/// </summary>
public virtual IRegistrationAssignmentsOperations RegistrationAssignments { get; private set; }

/// <summary>
/// Gets the IMarketplaceRegistrationDefinitionsOperations.
/// </summary>
public virtual IMarketplaceRegistrationDefinitionsOperations MarketplaceRegistrationDefinitions { get; private set; }

/// <summary>
/// Gets the IOperations.
/// </summary>
Expand Down Expand Up @@ -327,9 +332,10 @@ private void Initialize()
{
RegistrationDefinitions = new RegistrationDefinitionsOperations(this);
RegistrationAssignments = new RegistrationAssignmentsOperations(this);
MarketplaceRegistrationDefinitions = new MarketplaceRegistrationDefinitionsOperations(this);
Operations = new Operations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-06-01";
ApiVersion = "2019-09-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Loading