Skip to content

Commit

Permalink
[mgmt] containerservice release (#31783)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Nov 21, 2024
1 parent 3069b40 commit cba1b32
Show file tree
Hide file tree
Showing 195 changed files with 758 additions and 483 deletions.
5 changes: 4 additions & 1 deletion common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 23 additions & 9 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Release History

## 21.2.1 (Unreleased)

## 21.3.0 (2024-11-15)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface AdvancedNetworking
- Added Interface AdvancedNetworkingObservability
- Added Interface AdvancedNetworkingSecurity
- Added Interface ManagedClusterNodeResourceGroupProfile
- Added Type Alias RestrictionLevel
- Interface AgentPool has a new optional parameter eTag
- Interface AgentPoolsCreateOrUpdateOptionalParams has a new optional parameter ifMatch
- Interface AgentPoolsCreateOrUpdateOptionalParams has a new optional parameter ifNoneMatch
- Interface AgentPoolsDeleteOptionalParams has a new optional parameter ifMatch
- Interface ContainerServiceNetworkProfile has a new optional parameter advancedNetworking
- Interface ManagedCluster has a new optional parameter eTag
- Interface ManagedCluster has a new optional parameter nodeResourceGroupProfile
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter eTag
- Interface ManagedClustersCreateOrUpdateOptionalParams has a new optional parameter ifMatch
- Interface ManagedClustersCreateOrUpdateOptionalParams has a new optional parameter ifNoneMatch
- Interface ManagedClustersDeleteOptionalParams has a new optional parameter ifMatch
- Interface ManagedClustersUpdateTagsOptionalParams has a new optional parameter ifMatch
- Added Enum KnownRestrictionLevel


## 21.2.0 (2024-10-15)

### Features Added
Expand Down
8 changes: 4 additions & 4 deletions sdk/containerservice/arm-containerservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "f0573da04ed934620c566b96e04ddd80d46d2742",
"commit": "ff7b8e12e78b352561e2e470dd045be310a313fa",
"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/[email protected].27 --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=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\aks\\readme.md --use=@autorest/[email protected].28 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].13",
"use": "@autorest/[email protected].27"
"release_tool": "@azure-tools/[email protected].15",
"use": "@autorest/[email protected].28"
}
2 changes: 1 addition & 1 deletion sdk/containerservice/arm-containerservice/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/containerservice/arm-containerservice",
"Tag": "js/containerservice/arm-containerservice_ac83844a87"
"Tag": "js/containerservice/arm-containerservice_1cb77746c8"
}
6 changes: 4 additions & 2 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": "21.2.1",
"version": "21.3.0",
"engines": {
"node": ">=18.0.0"
},
Expand All @@ -28,6 +28,7 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-containerservice.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"typescript": "~5.6.2",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
Expand Down Expand Up @@ -89,7 +90,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@ export interface AbsoluteMonthlySchedule {
intervalMonths: number;
}

// @public
export interface AdvancedNetworking {
enabled?: boolean;
observability?: AdvancedNetworkingObservability;
security?: AdvancedNetworkingSecurity;
}

// @public
export interface AdvancedNetworkingObservability {
enabled?: boolean;
}

// @public
export interface AdvancedNetworkingSecurity {
enabled?: boolean;
}

// @public
export interface AgentPool extends SubResource {
availabilityZones?: string[];
Expand All @@ -28,6 +45,7 @@ export interface AgentPool extends SubResource {
enableFips?: boolean;
enableNodePublicIP?: boolean;
enableUltraSSD?: boolean;
readonly eTag?: string;
gpuInstanceProfile?: GPUInstanceProfile;
hostGroupID?: string;
kubeletConfig?: KubeletConfig;
Expand Down Expand Up @@ -140,6 +158,8 @@ export type AgentPoolsAbortLatestOperationResponse = AgentPoolsAbortLatestOperat

// @public
export interface AgentPoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
ifNoneMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}
Expand Down Expand Up @@ -168,6 +188,7 @@ export type AgentPoolsDeleteMachinesResponse = AgentPoolsDeleteMachinesHeaders;

// @public
export interface AgentPoolsDeleteOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
ignorePodDisruptionBudget?: boolean;
resumeFrom?: string;
updateIntervalInMs?: number;
Expand Down Expand Up @@ -349,6 +370,7 @@ export interface ContainerServiceLinuxProfile {

// @public
export interface ContainerServiceNetworkProfile {
advancedNetworking?: AdvancedNetworking;
dnsServiceIP?: string;
ipFamilies?: IpFamily[];
loadBalancerProfile?: ManagedClusterLoadBalancerProfile;
Expand Down Expand Up @@ -744,6 +766,12 @@ export enum KnownPublicNetworkAccess {
Enabled = "Enabled"
}

// @public
export enum KnownRestrictionLevel {
ReadOnly = "ReadOnly",
Unrestricted = "Unrestricted"
}

// @public
export enum KnownScaleDownMode {
Deallocate = "Deallocate",
Expand Down Expand Up @@ -1016,6 +1044,7 @@ export interface ManagedCluster extends TrackedResource {
dnsPrefix?: string;
enablePodSecurityPolicy?: boolean;
enableRbac?: boolean;
readonly eTag?: string;
extendedLocation?: ExtendedLocation;
readonly fqdn?: string;
fqdnSubdomain?: string;
Expand All @@ -1031,6 +1060,7 @@ export interface ManagedCluster extends TrackedResource {
metricsProfile?: ManagedClusterMetricsProfile;
networkProfile?: ContainerServiceNetworkProfile;
nodeResourceGroup?: string;
nodeResourceGroupProfile?: ManagedClusterNodeResourceGroupProfile;
oidcIssuerProfile?: ManagedClusterOidcIssuerProfile;
podIdentityProfile?: ManagedClusterPodIdentityProfile;
readonly powerState?: PowerState;
Expand Down Expand Up @@ -1096,6 +1126,7 @@ export interface ManagedClusterAgentPoolProfileProperties {
enableFips?: boolean;
enableNodePublicIP?: boolean;
enableUltraSSD?: boolean;
readonly eTag?: string;
gpuInstanceProfile?: GPUInstanceProfile;
hostGroupID?: string;
kubeletConfig?: KubeletConfig;
Expand Down Expand Up @@ -1258,6 +1289,11 @@ export interface ManagedClusterNATGatewayProfile {
managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile;
}

// @public
export interface ManagedClusterNodeResourceGroupProfile {
restrictionLevel?: RestrictionLevel;
}

// @public
export interface ManagedClusterOidcIssuerProfile {
enabled?: boolean;
Expand Down Expand Up @@ -1408,6 +1444,8 @@ export type ManagedClustersAbortLatestOperationResponse = ManagedClustersAbortLa

// @public
export interface ManagedClustersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
ifNoneMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}
Expand All @@ -1422,6 +1460,7 @@ export interface ManagedClustersDeleteHeaders {

// @public
export interface ManagedClustersDeleteOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}
Expand Down Expand Up @@ -1749,6 +1788,7 @@ export interface ManagedClusterStorageProfileSnapshotController {

// @public
export interface ManagedClustersUpdateTagsOptionalParams extends coreClient.OperationOptions {
ifMatch?: string;
resumeFrom?: string;
updateIntervalInMs?: number;
}
Expand Down Expand Up @@ -2053,6 +2093,9 @@ export interface ResourceReference {
id?: string;
}

// @public
export type RestrictionLevel = string;

// @public
export interface RunCommandRequest {
clusterToken?: string;
Expand Down
5 changes: 1 addition & 4 deletions sdk/containerservice/arm-containerservice/sample.env
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# App registration secret for AAD authentication
AZURE_CLIENT_SECRET=
AZURE_CLIENT_ID=
AZURE_TENANT_ID=
# Feel free to add your own environment variables.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
*
* @summary Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-08-01/examples/AgentPoolsAbortOperation.json
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-09-01/examples/AgentPoolsAbortOperation.json
*/
async function abortOperationOnAgentPool() {
const subscriptionId =
Expand Down
Loading

0 comments on commit cba1b32

Please sign in to comment.