Skip to content
Draft
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
582 changes: 417 additions & 165 deletions src/Aks/Aks.Management.Sdk/Generated/AgentPoolsOperations.cs

Large diffs are not rendered by default.

174 changes: 158 additions & 16 deletions src/Aks/Aks.Management.Sdk/Generated/AgentPoolsOperationsExtensions.cs

Large diffs are not rendered by default.

24 changes: 21 additions & 3 deletions src/Aks/Aks.Management.Sdk/Generated/ContainerServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public partial class ContainerServiceClient : Microsoft.Rest.ServiceClient<Conta
public string ApiVersion { get; private set; }

/// <summary>
/// The ID of the target subscription.
/// The ID of the target subscription. The value must be an UUID.
/// </summary>
public string SubscriptionId { get; set;}
public System.Guid SubscriptionId { get; set;}

/// <summary>
/// The preferred language for the response.
Expand Down Expand Up @@ -93,6 +93,18 @@ public partial class ContainerServiceClient : Microsoft.Rest.ServiceClient<Conta
/// </summary>
public virtual ISnapshotsOperations Snapshots { get; private set; }
/// <summary>
/// Gets the ITrustedAccessRoleBindingsOperations
/// </summary>
public virtual ITrustedAccessRoleBindingsOperations TrustedAccessRoleBindings { get; private set; }
/// <summary>
/// Gets the ITrustedAccessRolesOperations
/// </summary>
public virtual ITrustedAccessRolesOperations TrustedAccessRoles { get; private set; }
/// <summary>
/// Gets the IMachinesOperations
/// </summary>
public virtual IMachinesOperations Machines { get; private set; }
/// <summary>
/// Initializes a new instance of the ContainerServiceClient class.
/// </summary>
/// <param name='httpClient'>
Expand Down Expand Up @@ -296,6 +308,9 @@ public ContainerServiceClient(System.Uri baseUri, Microsoft.Rest.ServiceClientCr
/// <param name='rootHandler'>
/// Optional. The http client handler used to handle http transport.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
Expand Down Expand Up @@ -335,8 +350,11 @@ private void Initialize()
this.PrivateLinkResources = new PrivateLinkResourcesOperations(this);
this.ResolvePrivateLinkServiceId = new ResolvePrivateLinkServiceIdOperations(this);
this.Snapshots = new SnapshotsOperations(this);
this.TrustedAccessRoleBindings = new TrustedAccessRoleBindingsOperations(this);
this.TrustedAccessRoles = new TrustedAccessRolesOperations(this);
this.Machines = new MachinesOperations(this);
this.BaseUri = new System.Uri("https://management.azure.com");
this.ApiVersion = "2023-04-01";
this.ApiVersion = "2025-08-01";
this.AcceptLanguage = "en-US";
this.LongRunningOperationRetryTimeout = 30;
this.GenerateClientRequestId = true;
Expand Down
92 changes: 88 additions & 4 deletions src/Aks/Aks.Management.Sdk/Generated/IAgentPoolsOperations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ public partial interface IAgentPoolsOperations
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='ifMatch'>
/// The request should only proceed if an entity matches this string.
/// </param>
/// <param name='ifNoneMatch'>
/// The request should only proceed if no entity matches this string.
/// </param>
/// <param name='parameters'>
/// The agent pool to create or update.
/// </param>
Expand All @@ -130,7 +136,7 @@ public partial interface IAgentPoolsOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<AgentPool>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<AgentPool>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, string ifMatch = default(string), string ifNoneMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes an agent pool in the specified managed cluster.
Expand All @@ -147,6 +153,13 @@ public partial interface IAgentPoolsOperations
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='ignorePodDisruptionBudget'>
/// ignore-pod-disruption-budget=true to delete those pods on a node without
/// considering Pod Disruption Budget
/// </param>
/// <param name='ifMatch'>
/// The request should only proceed if an entity matches this string.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -156,7 +169,7 @@ public partial interface IAgentPoolsOperations
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, bool? ignorePodDisruptionBudget = default(bool?), string ifMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets the upgrade profile for an agent pool.
Expand Down Expand Up @@ -187,6 +200,35 @@ public partial interface IAgentPoolsOperations
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<AgentPoolUpgradeProfile>> GetUpgradeProfileWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes specific machines in an agent pool.
/// </summary>
/// <remarks>
/// Deletes specific machines in an agent pool.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='machineNames'>
/// The agent pool machine names.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteMachinesHeaders>> DeleteMachinesWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.IList<string> machineNames, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// See [supported Kubernetes
/// versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions)
Expand Down Expand Up @@ -299,6 +341,12 @@ public partial interface IAgentPoolsOperations
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='ifMatch'>
/// The request should only proceed if an entity matches this string.
/// </param>
/// <param name='ifNoneMatch'>
/// The request should only proceed if no entity matches this string.
/// </param>
/// <param name='parameters'>
/// The agent pool to create or update.
/// </param>
Expand All @@ -314,7 +362,7 @@ public partial interface IAgentPoolsOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<AgentPool>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<AgentPool>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, AgentPool parameters, string ifMatch = default(string), string ifNoneMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes an agent pool in the specified managed cluster.
Expand All @@ -331,6 +379,42 @@ public partial interface IAgentPoolsOperations
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='ignorePodDisruptionBudget'>
/// ignore-pod-disruption-budget=true to delete those pods on a node without
/// considering Pod Disruption Budget
/// </param>
/// <param name='ifMatch'>
/// The request should only proceed if an entity matches this string.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, bool? ignorePodDisruptionBudget = default(bool?), string ifMatch = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Deletes specific machines in an agent pool.
/// </summary>
/// <remarks>
/// Deletes specific machines in an agent pool.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='machineNames'>
/// The agent pool machine names.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -340,7 +424,7 @@ public partial interface IAgentPoolsOperations
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<AgentPoolsDeleteMachinesHeaders>> BeginDeleteMachinesWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.IList<string> machineNames, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Upgrading the node image version of an agent pool applies the newest OS and
Expand Down
19 changes: 17 additions & 2 deletions src/Aks/Aks.Management.Sdk/Generated/IContainerServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public partial interface IContainerServiceClient : System.IDisposable


/// <summary>
/// The ID of the target subscription.
/// The ID of the target subscription. The value must be an UUID.
/// </summary>
string SubscriptionId { get; set;}
System.Guid SubscriptionId { get; set;}


/// <summary>
Expand Down Expand Up @@ -108,5 +108,20 @@ public partial interface IContainerServiceClient : System.IDisposable
/// </summary>
ISnapshotsOperations Snapshots { get; }

/// <summary>
/// Gets the ITrustedAccessRoleBindingsOperations
/// </summary>
ITrustedAccessRoleBindingsOperations TrustedAccessRoleBindings { get; }

/// <summary>
/// Gets the ITrustedAccessRolesOperations
/// </summary>
ITrustedAccessRolesOperations TrustedAccessRoles { get; }

/// <summary>
/// Gets the IMachinesOperations
/// </summary>
IMachinesOperations Machines { get; }

}
}
101 changes: 101 additions & 0 deletions src/Aks/Aks.Management.Sdk/Generated/IMachinesOperations.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// 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.

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

/// <summary>
/// MachinesOperations operations.
/// </summary>
public partial interface IMachinesOperations
{
/// <summary>
/// Gets a list of machines in the specified agent pool.
/// </summary>
/// <remarks>
/// Gets a list of machines in the specified agent pool.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Machine>>> ListWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Get a specific machine in the specified agent pool.
/// </summary>
/// <remarks>
/// Get a specific machine in the specified agent pool.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='resourceName'>
/// The name of the managed cluster resource.
/// </param>
/// <param name='agentPoolName'>
/// The name of the agent pool.
/// </param>
/// <param name='machineName'>
/// host name of the machine
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Machine>> GetWithHttpMessagesAsync(string resourceGroupName, string resourceName, string agentPoolName, string machineName, 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 machines in the specified agent pool.
/// </summary>
/// <remarks>
/// Gets a list of machines in the specified agent pool.
/// </remarks>
/// <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="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Machine>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

}
}
Loading