Skip to content
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
29 changes: 19 additions & 10 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# Release History

## 19.6.0 (2023-12-11)

**Features**

## 19.5.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface AgentPoolNetworkProfile
- Added Interface IPTag
- Added Interface PortRange
- Added Type Alias BackendPoolType
- Added Type Alias Protocol
- Interface AgentPool has a new optional parameter capacityReservationGroupID
- Interface AgentPool has a new optional parameter networkProfile
- Interface AgentPoolUpgradeSettings has a new optional parameter nodeSoakDurationInMinutes
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter networkProfile
- Interface ManagedClusterLoadBalancerProfile has a new optional parameter backendPoolType
- Added Enum KnownBackendPoolType
- Added Enum KnownProtocol


## 19.5.0 (2023-11-22)

**Features**
Expand Down
6 changes: 3 additions & 3 deletions sdk/containerservice/arm-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "7ae8d80917d262746790f86c98c5191bd0ce8eff",
"commit": "c65213cf3d924a5eecd4549c58ac25784f64e2a4",
"readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\aks\\readme.md --use=@autorest/typescript@6.0.12 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.12"
"use": "@autorest/typescript@^6.0.12"
}
14 changes: 3 additions & 11 deletions sdk/containerservice/arm-containerservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerServiceClient.",
"version": "19.5.1",
"version": "19.6.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -107,13 +107,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface AbsoluteMonthlySchedule {
// @public
export interface AgentPool extends SubResource {
availabilityZones?: string[];
capacityReservationGroupID?: string;
count?: number;
creationData?: CreationData;
readonly currentOrchestratorVersion?: string;
Expand All @@ -36,6 +37,7 @@ export interface AgentPool extends SubResource {
maxPods?: number;
minCount?: number;
mode?: AgentPoolMode;
networkProfile?: AgentPoolNetworkProfile;
readonly nodeImageVersion?: string;
nodeLabels?: {
[propertyName: string]: string;
Expand Down Expand Up @@ -89,6 +91,13 @@ export interface AgentPoolListResult {
// @public
export type AgentPoolMode = string;

// @public
export interface AgentPoolNetworkProfile {
allowedHostPorts?: PortRange[];
applicationSecurityGroups?: string[];
nodePublicIPTags?: IPTag[];
}

// @public
export interface AgentPools {
beginAbortLatestOperation(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: AgentPoolsAbortLatestOperationOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolsAbortLatestOperationResponse>, AgentPoolsAbortLatestOperationResponse>>;
Expand Down Expand Up @@ -213,6 +222,7 @@ export interface AgentPoolUpgradeProfilePropertiesUpgradesItem {
export interface AgentPoolUpgradeSettings {
drainTimeoutInMinutes?: number;
maxSurge?: string;
nodeSoakDurationInMinutes?: number;
}

// @public
Expand All @@ -223,6 +233,9 @@ export interface AzureKeyVaultKms {
keyVaultResourceId?: string;
}

// @public
export type BackendPoolType = string;

// @public
export interface CloudError {
error?: CloudErrorBody;
Expand Down Expand Up @@ -422,6 +435,12 @@ export type GPUInstanceProfile = string;
// @public
export type IpFamily = string;

// @public
export interface IPTag {
ipTagType?: string;
tag?: string;
}

// @public
export interface IstioCertificateAuthority {
plugin?: IstioPluginCertificateAuthority;
Expand Down Expand Up @@ -481,6 +500,12 @@ export enum KnownAgentPoolType {
VirtualMachineScaleSets = "VirtualMachineScaleSets"
}

// @public
export enum KnownBackendPoolType {
NodeIP = "NodeIP",
NodeIPConfiguration = "NodeIPConfiguration"
}

// @public
export enum KnownCode {
Running = "Running",
Expand Down Expand Up @@ -671,6 +696,12 @@ export enum KnownPrivateEndpointConnectionProvisioningState {
Succeeded = "Succeeded"
}

// @public
export enum KnownProtocol {
TCP = "TCP",
UDP = "UDP"
}

// @public
export enum KnownPublicNetworkAccess {
Disabled = "Disabled",
Expand Down Expand Up @@ -962,6 +993,7 @@ export interface ManagedClusterAgentPoolProfile extends ManagedClusterAgentPoolP
// @public
export interface ManagedClusterAgentPoolProfileProperties {
availabilityZones?: string[];
capacityReservationGroupID?: string;
count?: number;
creationData?: CreationData;
readonly currentOrchestratorVersion?: string;
Expand All @@ -979,6 +1011,7 @@ export interface ManagedClusterAgentPoolProfileProperties {
maxPods?: number;
minCount?: number;
mode?: AgentPoolMode;
networkProfile?: AgentPoolNetworkProfile;
readonly nodeImageVersion?: string;
nodeLabels?: {
[propertyName: string]: string;
Expand Down Expand Up @@ -1070,6 +1103,7 @@ export interface ManagedClusterListResult {
// @public
export interface ManagedClusterLoadBalancerProfile {
allocatedOutboundPorts?: number;
backendPoolType?: BackendPoolType;
effectiveOutboundIPs?: ResourceReference[];
enableMultipleStandardLoadBalancers?: boolean;
idleTimeoutInMinutes?: number;
Expand Down Expand Up @@ -1772,6 +1806,13 @@ export interface OutboundEnvironmentEndpointCollection {
// @public
export type OutboundType = string;

// @public
export interface PortRange {
portEnd?: number;
portStart?: number;
protocol?: Protocol;
}

// @public
export interface PowerState {
code?: Code;
Expand Down Expand Up @@ -1869,6 +1910,9 @@ export interface PrivateLinkServiceConnectionState {
status?: ConnectionStatus;
}

// @public
export type Protocol = string;

// @public
export interface ProxyResource extends Resource {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-containerservice/19.5.1`;
const packageDetails = `azsdk-js-arm-containerservice/19.6.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -125,7 +125,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2023-09-01";
this.apiVersion = options.apiVersion || "2023-11-01";
this.operations = new OperationsImpl(this);
this.managedClusters = new ManagedClustersImpl(this);
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
Expand Down
76 changes: 76 additions & 0 deletions sdk/containerservice/arm-containerservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,12 @@ export interface ManagedClusterAgentPoolProfileProperties {
gpuInstanceProfile?: GPUInstanceProfile;
/** CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */
creationData?: CreationData;
/** AKS will associate the specified agent pool with the Capacity Reservation Group. */
capacityReservationGroupID?: string;
/** This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */
hostGroupID?: string;
/** Network-related settings of an agent pool. */
networkProfile?: AgentPoolNetworkProfile;
}

/** Settings for upgrading an agentpool */
Expand All @@ -308,6 +312,8 @@ export interface AgentPoolUpgradeSettings {
maxSurge?: string;
/** The amount of time (in minutes) to wait on eviction of pods and graceful termination per node. This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not specified, the default is 30 minutes. */
drainTimeoutInMinutes?: number;
/** The amount of time (in minutes) to wait after draining a node and before reimaging it and moving on to next node. If not specified, the default is 0 minutes. */
nodeSoakDurationInMinutes?: number;
}

/** See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details. */
Expand Down Expand Up @@ -414,6 +420,34 @@ export interface CreationData {
sourceResourceId?: string;
}

/** Network settings of an agent pool. */
export interface AgentPoolNetworkProfile {
/** IPTags of instance-level public IPs. */
nodePublicIPTags?: IPTag[];
/** The port ranges that are allowed to access. The specified ranges are allowed to overlap. */
allowedHostPorts?: PortRange[];
/** The IDs of the application security groups which agent pool will associate when created. */
applicationSecurityGroups?: string[];
}

/** Contains the IPTag associated with the object. */
export interface IPTag {
/** The IP tag type. Example: RoutingPreference. */
ipTagType?: string;
/** The value of the IP tag associated with the public IP. Example: Internet. */
tag?: string;
}

/** The port range. */
export interface PortRange {
/** The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. */
portStart?: number;
/** The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. */
portEnd?: number;
/** The network protocol of the port. */
protocol?: Protocol;
}

/** Profile for Linux VMs in the container service cluster. */
export interface ContainerServiceLinuxProfile {
/** The administrator username to use for Linux VMs. */
Expand Down Expand Up @@ -614,6 +648,8 @@ export interface ManagedClusterLoadBalancerProfile {
idleTimeoutInMinutes?: number;
/** Enable multiple standard load balancers per AKS cluster or not. */
enableMultipleStandardLoadBalancers?: boolean;
/** The type of the managed inbound Load Balancer BackendPool. */
backendPoolType?: BackendPoolType;
}

/** Desired managed outbound IPs for the cluster load balancer. */
Expand Down Expand Up @@ -1734,8 +1770,12 @@ export interface AgentPool extends SubResource {
gpuInstanceProfile?: GPUInstanceProfile;
/** CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using a snapshot. */
creationData?: CreationData;
/** AKS will associate the specified agent pool with the Capacity Reservation Group. */
capacityReservationGroupID?: string;
/** This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}. For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts). */
hostGroupID?: string;
/** Network-related settings of an agent pool. */
networkProfile?: AgentPoolNetworkProfile;
}

/** Mesh upgrade profile properties for a major.minor release. */
Expand Down Expand Up @@ -2299,6 +2339,24 @@ export enum KnownGPUInstanceProfile {
*/
export type GPUInstanceProfile = string;

/** Known values of {@link Protocol} that the service accepts. */
export enum KnownProtocol {
/** TCP protocol. */
TCP = "TCP",
/** UDP protocol. */
UDP = "UDP"
}

/**
* Defines values for Protocol. \
* {@link KnownProtocol} can be used interchangeably with Protocol,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **TCP**: TCP protocol. \
* **UDP**: UDP protocol.
*/
export type Protocol = string;

/** Known values of {@link LicenseType} that the service accepts. */
export enum KnownLicenseType {
/** No additional licensing is applied. */
Expand Down Expand Up @@ -2482,6 +2540,24 @@ export enum KnownLoadBalancerSku {
*/
export type LoadBalancerSku = string;

/** Known values of {@link BackendPoolType} that the service accepts. */
export enum KnownBackendPoolType {
/** The type of the managed inbound Load Balancer BackendPool. https:\//cloud-provider-azure.sigs.k8s.io\/topics\/loadbalancer\/#configure-load-balancer-backend. */
NodeIPConfiguration = "NodeIPConfiguration",
/** The type of the managed inbound Load Balancer BackendPool. https:\//cloud-provider-azure.sigs.k8s.io\/topics\/loadbalancer\/#configure-load-balancer-backend. */
NodeIP = "NodeIP"
}

/**
* Defines values for BackendPoolType. \
* {@link KnownBackendPoolType} can be used interchangeably with BackendPoolType,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **NodeIPConfiguration**: The type of the managed inbound Load Balancer BackendPool. https:\/\/cloud-provider-azure.sigs.k8s.io\/topics\/loadbalancer\/#configure-load-balancer-backend. \
* **NodeIP**: The type of the managed inbound Load Balancer BackendPool. https:\/\/cloud-provider-azure.sigs.k8s.io\/topics\/loadbalancer\/#configure-load-balancer-backend.
*/
export type BackendPoolType = string;

/** Known values of {@link IpFamily} that the service accepts. */
export enum KnownIpFamily {
/** IPv4 */
Expand Down
Loading