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

Generate aks sdk with autorest.powershell #22501

Merged
merged 2 commits into from
Aug 15, 2023
Merged
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
1,283 changes: 654 additions & 629 deletions src/Aks/Aks.Sdk/Generated/AgentPoolsOperations.cs

Large diffs are not rendered by default.

1,142 changes: 525 additions & 617 deletions src/Aks/Aks.Sdk/Generated/AgentPoolsOperationsExtensions.cs

Large diffs are not rendered by default.

220 changes: 96 additions & 124 deletions src/Aks/Aks.Sdk/Generated/ContainerServiceClient.cs

Large diffs are not rendered by default.

157 changes: 63 additions & 94 deletions src/Aks/Aks.Sdk/Generated/IAgentPoolsOperations.cs

Large diffs are not rendered by default.

59 changes: 29 additions & 30 deletions src/Aks/Aks.Sdk/Generated/IContainerServiceClient.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// 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>
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.ContainerService
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;

/// <summary>
/// The Container Service Client.
/// </summary>
public partial interface IContainerServiceClient : System.IDisposable
public partial interface IContainerServiceClient : System.IDisposable
{
/// <summary>
/// The base URI of the service.
Expand All @@ -28,86 +22,91 @@ public partial interface IContainerServiceClient : System.IDisposable
/// <summary>
/// Gets or sets json serialization settings.
/// </summary>
JsonSerializerSettings SerializationSettings { get; }
Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }

/// <summary>
/// Gets or sets json deserialization settings.
/// </summary>
JsonSerializerSettings DeserializationSettings { get; }
Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }

/// <summary>
/// Credentials needed for the client to connect to Azure.
/// </summary>
ServiceClientCredentials Credentials { get; }
Microsoft.Rest.ServiceClientCredentials Credentials { get;}


/// <summary>
/// The ID of the target subscription.
/// The API version to use for this operation.
/// </summary>
string SubscriptionId { get; set; }
string ApiVersion { get;}


/// <summary>
/// The API version to use for this operation.
/// The ID of the target subscription.
/// </summary>
string ApiVersion { get; }
string SubscriptionId { get; set;}


/// <summary>
/// The preferred language for the response.
/// </summary>
string AcceptLanguage { get; set; }
string AcceptLanguage { get; set;}


/// <summary>
/// The retry timeout in seconds for Long Running Operations. Default
/// value is 30.
/// </summary>
int? LongRunningOperationRetryTimeout { get; set; }
int? LongRunningOperationRetryTimeout { get; set;}


/// <summary>
/// Whether a unique x-ms-client-request-id should be generated. When
/// set to true a unique x-ms-client-request-id value is generated and
/// Whether a unique x-ms-client-request-id should be generated. When
/// set to true a unique x-ms-client-request-id value is generated and
/// included in each request. Default is true.
/// </summary>
bool? GenerateClientRequestId { get; set; }
bool? GenerateClientRequestId { get; set;}


/// <summary>
/// Gets the IOperations.
/// Gets the IOperations
/// </summary>
IOperations Operations { get; }

/// <summary>
/// Gets the IManagedClustersOperations.
/// Gets the IManagedClustersOperations
/// </summary>
IManagedClustersOperations ManagedClusters { get; }

/// <summary>
/// Gets the IMaintenanceConfigurationsOperations.
/// Gets the IMaintenanceConfigurationsOperations
/// </summary>
IMaintenanceConfigurationsOperations MaintenanceConfigurations { get; }

/// <summary>
/// Gets the IAgentPoolsOperations.
/// Gets the IAgentPoolsOperations
/// </summary>
IAgentPoolsOperations AgentPools { get; }

/// <summary>
/// Gets the IPrivateEndpointConnectionsOperations.
/// Gets the IPrivateEndpointConnectionsOperations
/// </summary>
IPrivateEndpointConnectionsOperations PrivateEndpointConnections { get; }

/// <summary>
/// Gets the IPrivateLinkResourcesOperations.
/// Gets the IPrivateLinkResourcesOperations
/// </summary>
IPrivateLinkResourcesOperations PrivateLinkResources { get; }

/// <summary>
/// Gets the IResolvePrivateLinkServiceIdOperations.
/// Gets the IResolvePrivateLinkServiceIdOperations
/// </summary>
IResolvePrivateLinkServiceIdOperations ResolvePrivateLinkServiceId { get; }

/// <summary>
/// Gets the ISnapshotsOperations.
/// Gets the ISnapshotsOperations
/// </summary>
ISnapshotsOperations Snapshots { get; }

}
}
}
70 changes: 31 additions & 39 deletions src/Aks/Aks.Sdk/Generated/IMaintenanceConfigurationsOperations.cs
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// 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>
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.ContainerService
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// MaintenanceConfigurationsOperations operations.
/// </summary>
public partial interface IMaintenanceConfigurationsOperations
{
/// <summary>
/// Gets a list of maintenance configurations in the specified managed
/// cluster.
/// Gets a list of maintenance configurations in the specified managed cluster.
/// </summary>
/// <remarks>
/// Gets a list of maintenance configurations in the specified managed cluster.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
Expand All @@ -45,13 +37,14 @@ public partial interface IMaintenanceConfigurationsOperations
/// <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<MaintenanceConfiguration>>> ListByManagedClusterWithHttpMessagesAsync(string resourceGroupName, string resourceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<MaintenanceConfiguration>>> ListByManagedClusterWithHttpMessagesAsync(string resourceGroupName, string resourceName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets the specified maintenance configuration of a managed cluster.
/// </summary>
/// <remarks>
/// Gets the specified maintenance configuration of a managed cluster.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
Expand All @@ -73,14 +66,14 @@ public partial interface IMaintenanceConfigurationsOperations
/// <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<MaintenanceConfiguration>> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MaintenanceConfiguration>> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Creates or updates a maintenance configuration in the specified
/// managed cluster.
/// Creates or updates a maintenance configuration in the specified managed cluster.
/// </summary>
/// <remarks>
/// Creates or updates a maintenance configuration in the specified managed cluster.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
Expand All @@ -105,13 +98,14 @@ public partial interface IMaintenanceConfigurationsOperations
/// <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<MaintenanceConfiguration>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<MaintenanceConfiguration>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, MaintenanceConfiguration parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes a maintenance configuration.
/// </summary>
/// <remarks>
/// Deletes a maintenance configuration.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
Expand All @@ -130,14 +124,14 @@ public partial interface IMaintenanceConfigurationsOperations
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// 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 resourceName, string configName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string configName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets a list of maintenance configurations in the specified managed
/// cluster.
/// Gets a list of maintenance configurations in the specified managed cluster.
/// </summary>
/// <remarks>
/// Gets a list of maintenance configurations in the specified managed cluster.
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
Expand All @@ -153,9 +147,7 @@ public partial interface IMaintenanceConfigurationsOperations
/// <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<MaintenanceConfiguration>>> ListByManagedClusterNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<MaintenanceConfiguration>>> ListByManagedClusterNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

}
}
}
Loading