Skip to content

Commit

Permalink
CodeGen from PR 18900 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Review request for Microsoft.ContainerService to add version 2022-04-02-preview (Azure#18900)

* Adds base for updating Microsoft.ContainerService from version preview/2022-03-02-preview to version 2022-04-02-preview

* Updates readme

* Updates API version in new specs and examples

* update readme (Azure#18714)

* add NetworkPluginMode to ManagedCluster (Azure#18735)

* add NetworkPluginMode to ManagedCluster

* add overlay example

* remove example

* only keep overlap as option

* Add properties for apiserver-vnet-integration (Azure#18705)

* Update for AKS trusted access feature (Azure#18708)

* Update for AKS trusted access feature

* fixup! Update for AKS trusted access feature

* fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update for AKS trusted access feature

* OSSKU supports Windows options (Azure#18706)

* OSSKU supports Windows options

* Add example Create Agent Pool with Windows OSSKU

* Improve description about the default value

* Improve the description to clarify

* Improve description about default Windows OSSKU

* add storageProfile into managedcluster (Azure#18817)

Signed-off-by: Ji An Liu <jiliu8@microsoft.com>

* capatalize NetworkPluginMode name (Azure#18884)

* capatalize NetworkPluginMode name

* capitalize in description

* aks: add enableCustomCATrust in v20220402-preview api-version (Azure#18830)

* aks: add enableCustomCATrust in v20220402-preview api-version

* aks: add description of CustomCATrust

* aks: fix typo, add DaemonSet to custom words list

Co-authored-by: Mikolaj Umanski <mumanski@microsoft.com>

* [AKS] Update on trustedaccess resource (Azure#18947)

* Add paging for trusted access

* update async state

* fixup! update async state

* Use enum for TrustedAccessRoleBinding's ProvisioningState (Azure#18950)

Co-authored-by: Tyler Lloyd <tyler.lloyd@microsoft.com>
Co-authored-by: gossion <guwe@microsoft.com>
Co-authored-by: Dong Liu <doliu@microsoft.com>
Co-authored-by: Shiqian Tao <62196586+ShiqianTao@users.noreply.github.com>
Co-authored-by: Ji'an Liu <jiliu8@microsoft.com>
Co-authored-by: Mikołaj Umański <mik.umanski@gmail.com>
Co-authored-by: Mikolaj Umanski <mumanski@microsoft.com>
  • Loading branch information
8 people committed May 10, 2022
1 parent 79ec9eb commit 915c3e2
Show file tree
Hide file tree
Showing 22 changed files with 1,500 additions and 259 deletions.
17 changes: 8 additions & 9 deletions common/config/rush/pnpm-lock.yaml

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

41 changes: 38 additions & 3 deletions sdk/containerservice/arm-containerservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Release History

## 16.1.0-beta.1 (2022-05-06)
## 16.1.0-beta.2 (2022-05-10)

**Features**

- Added operation group ManagedClusterSnapshots
- Added operation group TrustedAccessRoleBindings
- Added operation group TrustedAccessRoles
- Added operation ManagedClusters.beginRotateServiceAccountSigningKeys
- Added operation ManagedClusters.beginRotateServiceAccountSigningKeysAndWait
- Added Interface AzureKeyVaultKms
Expand All @@ -24,6 +26,17 @@
- Added Interface ManagedClusterSnapshotsUpdateTagsOptionalParams
- Added Interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams
- Added Interface NetworkProfileForSnapshot
- Added Interface TrustedAccessRole
- Added Interface TrustedAccessRoleBindingListResult
- Added Interface TrustedAccessRoleBindingsCreateOrUpdateOptionalParams
- Added Interface TrustedAccessRoleBindingsDeleteOptionalParams
- Added Interface TrustedAccessRoleBindingsGetOptionalParams
- Added Interface TrustedAccessRoleBindingsListNextOptionalParams
- Added Interface TrustedAccessRoleBindingsListOptionalParams
- Added Interface TrustedAccessRoleListResult
- Added Interface TrustedAccessRoleRule
- Added Interface TrustedAccessRolesListNextOptionalParams
- Added Interface TrustedAccessRolesListOptionalParams
- Added Type Alias ManagedClusterSnapshot
- Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse
- Added Type Alias ManagedClusterSnapshotsGetResponse
Expand All @@ -32,28 +45,50 @@
- Added Type Alias ManagedClusterSnapshotsListNextResponse
- Added Type Alias ManagedClusterSnapshotsListResponse
- Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse
- Added Type Alias NetworkPluginMode
- Added Type Alias TrustedAccessRoleBinding
- Added Type Alias TrustedAccessRoleBindingProvisioningState
- Added Type Alias TrustedAccessRoleBindingsCreateOrUpdateResponse
- Added Type Alias TrustedAccessRoleBindingsGetResponse
- Added Type Alias TrustedAccessRoleBindingsListNextResponse
- Added Type Alias TrustedAccessRoleBindingsListResponse
- Added Type Alias TrustedAccessRolesListNextResponse
- Added Type Alias TrustedAccessRolesListResponse
- Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
- Interface ContainerServiceNetworkProfile has a new optional parameter networkPluginMode
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter currentOrchestratorVersion
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter enableCustomCATrust
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter hostGroupID
- Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
- Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
- Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy
- Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
- Interface ManagedClusterSecurityProfile has a new optional parameter azureKeyVaultKms
- Interface ManagedClusterSecurityProfile has a new optional parameter workloadIdentity
- Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version
- Class ContainerServiceClient has a new parameter managedClusterSnapshots
- Class ContainerServiceClient has a new parameter trustedAccessRoleBindings
- Class ContainerServiceClient has a new parameter trustedAccessRoles
- Type Alias AgentPool has a new parameter messageOfTheDay
- Type Alias AgentPool has a new parameter currentOrchestratorVersion
- Type Alias AgentPool has a new parameter enableCustomCATrust
- Type Alias AgentPool has a new parameter capacityReservationGroupID
- Type Alias AgentPool has a new parameter hostGroupID
- Type Alias ManagedCluster has a new parameter creationData
- Type Alias ManagedCluster has a new parameter currentKubernetesVersion
- Type Alias ManagedCluster has a new parameter oidcIssuerProfile
- Type Alias ManagedCluster has a new parameter enableNamespaceResources
- Type Alias ManagedCluster has a new parameter storageProfile
- Type Alias ManagedCluster has a new parameter ingressProfile
- Added Enum KnownNetworkPluginMode
- Added Enum KnownTrustedAccessRoleBindingProvisioningState
- Enum KnownNetworkPlugin has a new value None
- Enum KnownSnapshotType has a new value ManagedCluster
- Enum KnownOssku has a new value Windows2019
- Enum KnownOssku has a new value Windows2022
- Enum KnownSnapshotType has a new value ManagedCluster


## 16.0.0 (2022-04-20)

Expand Down
11 changes: 0 additions & 11 deletions sdk/containerservice/arm-containerservice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ The Container Service Client.
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -51,17 +49,8 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { ContainerServiceClient } = require("@azure/arm-containerservice");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ContainerServiceClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new ContainerServiceClient(credential, subscriptionId);
```


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": "63ecc4782618d9f20f3b1d9d0b5153d4cf4e45be",
"commit": "44b6c8c84d1d20d1c02a1537e39794378cfd52e8",
"readme": "specification/containerservice/resource-manager/readme.md",
"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=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
40 changes: 12 additions & 28 deletions sdk/containerservice/arm-containerservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerServiceClient.",
"version": "16.1.0-beta.1",
"version": "16.1.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -28,14 +28,14 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-containerservice.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@microsoft/api-extractor": "^7.18.11",
"@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.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand Down Expand Up @@ -98,21 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/containerServiceClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
}
}
"autoPublish": true
}
Loading

0 comments on commit 915c3e2

Please sign in to comment.