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 track2_@azure/arm-containerservice] AKS: update description for security profile #7447

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
33 changes: 15 additions & 18 deletions common/config/rush/pnpm-lock.yaml

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

26 changes: 15 additions & 11 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Release History

## 15.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 15.1.0-beta.1 (2022-02-08)

**Features**

- Added Interface ManagedClusterOidcIssuerProfile
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
- Type Alias AgentPool has a new parameter messageOfTheDay
- Type Alias AgentPool has a new parameter capacityReservationGroupID
- Type Alias ManagedCluster has a new parameter currentKubernetesVersion
- Type Alias ManagedCluster has a new parameter oidcIssuerProfile
- Type Alias ManagedCluster has a new parameter enableNamespaceResources


## 15.0.0 (2021-12-09)

The package of @azure/arm-containerservice is using our next generation design principles since version 15.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/containerservice/arm-containerservice/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/containerservice/arm-containerservice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Container Service Client.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerservice) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerservice) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
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,7 +1,7 @@
{
"commit": "d710fb7f40338ca6ef00e0a9680be0a3d4cf5059",
"commit": "a03d1deb8b25f782759c20a541a270204d8c70ee",
"readme": "specification/containerservice/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md --use=@autorest/[email protected].20211130.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211130.1"
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/containerservice/arm-containerservice/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-containerservice.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
8 changes: 4 additions & 4 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": "15.0.1",
"version": "15.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-containerservice.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type AgentPool = SubResource & {
osDiskType?: OSDiskType;
kubeletDiskType?: KubeletDiskType;
workloadRuntime?: WorkloadRuntime;
messageOfTheDay?: string;
vnetSubnetID?: string;
podSubnetID?: string;
maxPods?: number;
Expand Down Expand Up @@ -55,6 +56,7 @@ export type AgentPool = SubResource & {
enableFips?: boolean;
gpuInstanceProfile?: GPUInstanceProfile;
creationData?: CreationData;
capacityReservationGroupID?: string;
};

// @public
Expand Down Expand Up @@ -1047,6 +1049,7 @@ export type ManagedCluster = Resource & {
readonly powerState?: PowerState;
readonly maxAgentPools?: number;
kubernetesVersion?: string;
readonly currentKubernetesVersion?: string;
dnsPrefix?: string;
fqdnSubdomain?: string;
readonly fqdn?: string;
Expand All @@ -1060,9 +1063,11 @@ export type ManagedCluster = Resource & {
[propertyName: string]: ManagedClusterAddonProfile;
};
podIdentityProfile?: ManagedClusterPodIdentityProfile;
oidcIssuerProfile?: ManagedClusterOidcIssuerProfile;
nodeResourceGroup?: string;
enableRbac?: boolean;
enablePodSecurityPolicy?: boolean;
enableNamespaceResources?: boolean;
networkProfile?: ContainerServiceNetworkProfile;
aadProfile?: ManagedClusterAADProfile;
autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile;
Expand Down Expand Up @@ -1115,6 +1120,7 @@ export type ManagedClusterAgentPoolProfile = ManagedClusterAgentPoolProfilePrope
// @public
export interface ManagedClusterAgentPoolProfileProperties {
availabilityZones?: string[];
capacityReservationGroupID?: string;
count?: number;
creationData?: CreationData;
enableAutoScaling?: boolean;
Expand All @@ -1128,6 +1134,7 @@ export interface ManagedClusterAgentPoolProfileProperties {
linuxOSConfig?: LinuxOSConfig;
maxCount?: number;
maxPods?: number;
messageOfTheDay?: string;
minCount?: number;
mode?: AgentPoolMode;
readonly nodeImageVersion?: string;
Expand Down Expand Up @@ -1236,6 +1243,12 @@ export interface ManagedClusterNATGatewayProfile {
managedOutboundIPProfile?: ManagedClusterManagedOutboundIPProfile;
}

// @public
export interface ManagedClusterOidcIssuerProfile {
enabled?: boolean;
readonly issuerURL?: string;
}

// @public
export interface ManagedClusterPodIdentity {
bindingSelector?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-containerservice/15.0.0`;
const packageDetails = `azsdk-js-arm-containerservice/15.1.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -86,7 +86,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-10-01";
this.apiVersion = options.apiVersion || "2021-11-01-preview";
this.operations = new OperationsImpl(this);
this.managedClusters = new ManagedClustersImpl(this);
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
Expand Down
Loading