From 97d59b10a314e621d6fd81225252826be2349a42 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 21 Mar 2022 05:29:50 +0000 Subject: [PATCH] CodeGen from PR 18324 in Azure/azure-rest-api-specs Merge 5beeec96aa762217130a876905029df99ca6c8d6 into e94b0da0c7f80e2986af90c1dd7e9c8f4c336c61 --- common/config/rush/pnpm-lock.yaml | 15 ++- .../arm-containerservice/CHANGELOG.md | 17 ++- .../arm-containerservice/README.md | 11 -- .../arm-containerservice/_meta.json | 7 +- .../arm-containerservice/package.json | 34 ++---- .../review/arm-containerservice.api.md | 2 +- .../arm-containerservice/rollup.config.js | 78 ++++++++++++- .../src/containerServiceClient.ts | 7 +- .../arm-containerservice/src/models/index.ts | 86 +++++++-------- .../src/models/mappers.ts | 104 +++++++++--------- .../src/models/parameters.ts | 9 +- .../src/operations/agentPools.ts | 24 ++-- .../operations/maintenanceConfigurations.ts | 12 +- .../src/operations/managedClusters.ts | 64 +++++------ .../operations/privateEndpointConnections.ts | 10 +- .../src/operations/privateLinkResources.ts | 2 +- .../operations/resolvePrivateLinkServiceId.ts | 2 +- .../src/operations/snapshots.ts | 14 +-- .../src/operationsInterfaces/agentPools.ts | 20 ++-- .../maintenanceConfigurations.ts | 8 +- .../operationsInterfaces/managedClusters.ts | 56 +++++----- .../privateEndpointConnections.ts | 10 +- .../privateLinkResources.ts | 2 +- .../resolvePrivateLinkServiceId.ts | 2 +- .../src/operationsInterfaces/snapshots.ts | 10 +- .../arm-containerservice/test/sampleTest.ts | 48 ++++++++ .../arm-containerservice/tsconfig.json | 10 +- sdk/containerservice/ci.mgmt.yml | 7 +- 28 files changed, 378 insertions(+), 293 deletions(-) create mode 100644 sdk/containerservice/arm-containerservice/test/sampleTest.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index bd59853d5e49..a1e0038649a5 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9823,28 +9823,27 @@ packages: dev: false file:projects/arm-containerservice.tgz: - resolution: {integrity: sha512-p7RNsvXGprehoIHvHB5ycGU7H32+SE9M9JPEYvwquTmgpEVh58fxHNaNbio9LCNOfSxl/1jlxIEiK56Udxpj2g==, tarball: file:projects/arm-containerservice.tgz} + resolution: {integrity: sha512-xsvax5ejhQf6od++due7jG07ThW9oVYJten5uBhVTIAsUFBcFJqWdisPQRIXccVNlJ+AP4cmE/JZeiKq/3jI0A==, tarball: file:projects/arm-containerservice.tgz} name: '@rush-temp/arm-containerservice' version: 0.0.0 dependencies: '@azure-tools/test-recorder': 1.0.2 '@azure/identity': 2.0.4 '@microsoft/api-extractor': 7.19.4 - '@rollup/plugin-commonjs': 21.0.2_rollup@2.70.1 - '@rollup/plugin-json': 4.1.0_rollup@2.70.1 - '@rollup/plugin-multi-entry': 4.1.0_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.1.3_rollup@2.70.1 + '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 + '@rollup/plugin-json': 4.1.0_rollup@1.32.1 + '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 + '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 cross-env: 7.0.3 mkdirp: 1.0.4 mocha: 7.2.0 rimraf: 3.0.2 - rollup: 2.70.1 - rollup-plugin-sourcemaps: 0.6.3_rollup@2.70.1 + rollup: 1.32.1 + rollup-plugin-sourcemaps: 0.4.2_rollup@1.32.1 tslib: 2.3.1 typescript: 4.2.4 uglify-js: 3.15.3 transitivePeerDependencies: - - '@types/node' - debug - encoding - supports-color diff --git a/sdk/containerservice/arm-containerservice/CHANGELOG.md b/sdk/containerservice/arm-containerservice/CHANGELOG.md index dea1683f6a2d..cab2cbe75d6d 100644 --- a/sdk/containerservice/arm-containerservice/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice/CHANGELOG.md @@ -1,15 +1,12 @@ # Release History + +## 15.2.0 (2022-03-21) + +**Features** -## 15.1.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - + - Interface Resource has a new optional parameter systemData + + ## 15.1.0 (2022-02-24) **Features** diff --git a/sdk/containerservice/arm-containerservice/README.md b/sdk/containerservice/arm-containerservice/README.md index e82804d19418..af59cad6e49a 100644 --- a/sdk/containerservice/arm-containerservice/README.md +++ b/sdk/containerservice/arm-containerservice/README.md @@ -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]. @@ -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: "", -// clientId: "" -// }); -// const client = new ContainerServiceClient(credential, subscriptionId); ``` diff --git a/sdk/containerservice/arm-containerservice/_meta.json b/sdk/containerservice/arm-containerservice/_meta.json index 2cd25d537556..688d3f1f5af0 100644 --- a/sdk/containerservice/arm-containerservice/_meta.json +++ b/sdk/containerservice/arm-containerservice/_meta.json @@ -1,7 +1,8 @@ { - "commit": "9f48feaf684784644513d11ddb7bd0ac2e32f48e", + "commit": "f766000bc48d39076154bed8b2b84a8cb693d4eb", "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:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220221.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=/home/vsts/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", - "use": "@autorest/typescript@6.0.0-alpha.16.20220221.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.1.3", + "use": "@autorest/typescript@6.0.0-alpha.16.20220105.1" } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index 3b134ca6bbfb..42c55d61677c 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for ContainerServiceClient.", - "version": "15.1.1", + "version": "15.2.0", "engines": { "node": ">=12.0.0" }, @@ -29,13 +29,13 @@ "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", + "@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", @@ -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 +} \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md index 4c095d9e0f20..1f56b830651c 100644 --- a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md @@ -1771,6 +1771,7 @@ export interface Resource { readonly id?: string; location: string; readonly name?: string; + readonly systemData?: SystemData; tags?: { [propertyName: string]: string; }; @@ -1814,7 +1815,6 @@ export type ScaleSetPriority = string; // @public export type Snapshot = Resource & { - readonly systemData?: SystemData; creationData?: CreationData; snapshotType?: SnapshotType; readonly kubernetesVersion?: string; diff --git a/sdk/containerservice/arm-containerservice/rollup.config.js b/sdk/containerservice/arm-containerservice/rollup.config.js index 3f89d7309da5..9be1955eb7f1 100644 --- a/sdk/containerservice/arm-containerservice/rollup.config.js +++ b/sdk/containerservice/arm-containerservice/rollup.config.js @@ -14,14 +14,62 @@ import json from "@rollup/plugin-json"; import nodeBuiltins from "builtin-modules"; +/** + * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. + * + * NOTE: this manual configuration is only needed because OpenTelemetry uses an + * __exportStar downleveled helper function to declare its exports which confuses + * rollup's automatic discovery mechanism. + * + * @returns an object reference that can be `...`'d into your cjs() configuration. + */ +export function openTelemetryCommonJs() { + const namedExports = {}; + + for (const key of [ + "@opentelemetry/api", + "@azure/core-tracing/node_modules/@opentelemetry/api" + ]) { + namedExports[key] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "SpanStatusCode", + "getSpanContext", + "setSpanContext" + ]; + } + + const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; + + for (const version of releasedOpenTelemetryVersions) { + namedExports[ + // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. + `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` + ] = [ + "SpanKind", + "TraceFlags", + "getSpan", + "setSpan", + "StatusCode", + "CanonicalCode", + "getSpanContext", + "setSpanContext" + ]; + } + + return namedExports; +} + // #region Warning Handler /** - * A function that can determine whether a rollup warning should be ignored. If + * A function that can determine whether a rollupwarning should be ignored. If * the function returns `true`, then the warning will not be displayed. */ -function ignoreNiseSinonEval(warning) { +function ignoreNiseSinonEvalWarnings(warning) { return ( warning.code === "EVAL" && warning.id && @@ -30,14 +78,17 @@ function ignoreNiseSinonEval(warning) { ); } -function ignoreChaiCircularDependency(warning) { +function ignoreChaiCircularDependencyWarnings(warning) { return ( warning.code === "CIRCULAR_DEPENDENCY" && warning.importer && warning.importer.includes("node_modules/chai") === true ); } -const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; +const warningInhibitors = [ + ignoreChaiCircularDependencyWarnings, + ignoreNiseSinonEvalWarnings +]; /** * Construct a warning handler for the shared rollup configuration @@ -71,7 +122,22 @@ function makeBrowserTestConfig() { nodeResolve({ mainFields: ["module", "browser"] }), - cjs(), + cjs({ + namedExports: { + // Chai's strange internal architecture makes it impossible to statically + // analyze its exports. + chai: [ + "version", + "use", + "util", + "config", + "expect", + "should", + "assert" + ], + ...openTelemetryCommonJs() + } + }), json(), sourcemaps() //viz({ filename: "dist-test/browser-stats.html", sourcemap: true }) @@ -107,7 +173,7 @@ export function makeConfig(pkg, options) { ], output: { file: "dist/index.js", format: "cjs", sourcemap: true }, preserveSymlinks: false, - plugins: [sourcemaps(), nodeResolve()] + plugins: [sourcemaps(), nodeResolve(), cjs()] }; const config = [baseConfig]; diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index eada17b45128..6d03f19673c4 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -38,8 +38,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { /** * Initializes a new instance of the ContainerServiceClient class. * @param credentials Subscription credentials which uniquely identify client subscription. - * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure subscription. - * The subscription ID forms part of the URI for every service call. + * @param subscriptionId The ID of the target subscription. * @param options The parameter options */ constructor( @@ -63,7 +62,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-containerservice/15.1.1`; + const packageDetails = `azsdk-js-arm-containerservice/15.2.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -86,7 +85,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-01-01"; + this.apiVersion = options.apiVersion || "2022-02-01"; this.operations = new OperationsImpl(this); this.managedClusters = new ManagedClustersImpl(this); this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this); diff --git a/sdk/containerservice/arm-containerservice/src/models/index.ts b/sdk/containerservice/arm-containerservice/src/models/index.ts index a37e638ddfd8..6d06b7a79713 100644 --- a/sdk/containerservice/arm-containerservice/src/models/index.ts +++ b/sdk/containerservice/arm-containerservice/src/models/index.ts @@ -714,29 +714,50 @@ export interface ManagedClusterSecurityProfileAzureDefender { logAnalyticsWorkspaceResourceId?: string; } -/** The Resource model definition. */ +/** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** - * Resource Id + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** - * Resource name + * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** - * Resource type + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly systemData?: SystemData; /** Resource location */ location: string; /** Resource tags */ tags?: { [propertyName: string]: string }; } +/** Metadata pertaining to creation and last modification of the resource. */ +export interface SystemData { + /** The identity that created the resource. */ + createdBy?: string; + /** The type of identity that created the resource. */ + createdByType?: CreatedByType; + /** The timestamp of resource creation (UTC). */ + createdAt?: Date; + /** The identity that last modified the resource. */ + lastModifiedBy?: string; + /** The type of identity that last modified the resource. */ + lastModifiedByType?: CreatedByType; + /** The timestamp of resource last modification (UTC) */ + lastModifiedAt?: Date; +} + /** The list of available upgrades for compute pools. */ export interface ManagedClusterUpgradeProfile { /** @@ -819,22 +840,6 @@ export interface MaintenanceConfigurationListResult { readonly nextLink?: string; } -/** Metadata pertaining to creation and last modification of the resource. */ -export interface SystemData { - /** The identity that created the resource. */ - createdBy?: string; - /** The type of identity that created the resource. */ - createdByType?: CreatedByType; - /** The UTC timestamp of resource creation. */ - createdAt?: Date; - /** The identity that last modified the resource. */ - lastModifiedBy?: string; - /** The type of identity that last modified the resource. */ - lastModifiedByType?: CreatedByType; - /** The type of identity that last modified the resource. */ - lastModifiedAt?: Date; -} - /** Time in a week. */ export interface TimeInWeek { /** The day of the week. */ @@ -1243,11 +1248,6 @@ export type ManagedClusterAccessProfile = Resource & { /** A node pool snapshot resource. */ export type Snapshot = Resource & { - /** - * The system metadata relating to this snapshot. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly systemData?: SystemData; /** CreationData to be used to specify the source agent pool resource ID to create this snapshot. */ creationData?: CreationData; /** The type of a snapshot. The default is NodePool. */ @@ -1872,24 +1872,6 @@ export enum KnownPublicNetworkAccess { */ export type PublicNetworkAccess = string; -/** Known values of {@link Format} that the service accepts. */ -export enum KnownFormat { - /** Return azure auth-provider kubeconfig. This format is deprecated in 1.22 and will be fully removed in 1.25. */ - Azure = "azure", - /** Return exec format kubeconfig. This format requires kubelogin binary in the path. */ - Exec = "exec" -} - -/** - * Defines values for Format. \ - * {@link KnownFormat} can be used interchangeably with Format, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **azure**: Return azure auth-provider kubeconfig. This format is deprecated in 1.22 and will be fully removed in 1.25. \ - * **exec**: Return exec format kubeconfig. This format requires kubelogin binary in the path. - */ -export type Format = string; - /** Known values of {@link CreatedByType} that the service accepts. */ export enum KnownCreatedByType { User = "User", @@ -1910,6 +1892,24 @@ export enum KnownCreatedByType { */ export type CreatedByType = string; +/** Known values of {@link Format} that the service accepts. */ +export enum KnownFormat { + /** Return azure auth-provider kubeconfig. This format is deprecated in 1.22 and will be fully removed in 1.25. */ + Azure = "azure", + /** Return exec format kubeconfig. This format requires kubelogin binary in the path. */ + Exec = "exec" +} + +/** + * Defines values for Format. \ + * {@link KnownFormat} can be used interchangeably with Format, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **azure**: Return azure auth-provider kubeconfig. This format is deprecated in 1.22 and will be fully removed in 1.25. \ + * **exec**: Return exec format kubeconfig. This format requires kubelogin binary in the path. + */ +export type Format = string; + /** Known values of {@link WeekDay} that the service accepts. */ export enum KnownWeekDay { Sunday = "Sunday", diff --git a/sdk/containerservice/arm-containerservice/src/models/mappers.ts b/sdk/containerservice/arm-containerservice/src/models/mappers.ts index 3a7264d811d0..3a9ab68fc97e 100644 --- a/sdk/containerservice/arm-containerservice/src/models/mappers.ts +++ b/sdk/containerservice/arm-containerservice/src/models/mappers.ts @@ -2085,6 +2085,13 @@ export const Resource: coreClient.CompositeMapper = { name: "String" } }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + }, location: { serializedName: "location", required: true, @@ -2103,6 +2110,51 @@ export const Resource: coreClient.CompositeMapper = { } }; +export const SystemData: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const ManagedClusterUpgradeProfile: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2305,51 +2357,6 @@ export const MaintenanceConfigurationListResult: coreClient.CompositeMapper = { } }; -export const SystemData: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "SystemData", - modelProperties: { - createdBy: { - serializedName: "createdBy", - type: { - name: "String" - } - }, - createdByType: { - serializedName: "createdByType", - type: { - name: "String" - } - }, - createdAt: { - serializedName: "createdAt", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - lastModifiedByType: { - serializedName: "lastModifiedByType", - type: { - name: "String" - } - }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime" - } - } - } - } -}; - export const TimeInWeek: coreClient.CompositeMapper = { type: { name: "Composite", @@ -3376,13 +3383,6 @@ export const Snapshot: coreClient.CompositeMapper = { className: "Snapshot", modelProperties: { ...Resource.type.modelProperties, - systemData: { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData" - } - }, creationData: { serializedName: "properties.creationData", type: { diff --git a/sdk/containerservice/arm-containerservice/src/models/parameters.ts b/sdk/containerservice/arm-containerservice/src/models/parameters.ts index 9190edbb2e86..c28a6033f4e2 100644 --- a/sdk/containerservice/arm-containerservice/src/models/parameters.ts +++ b/sdk/containerservice/arm-containerservice/src/models/parameters.ts @@ -51,7 +51,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-01-01", + defaultValue: "2022-02-01", isConstant: true, serializedName: "api-version", type: { @@ -63,6 +63,9 @@ export const apiVersion: OperationQueryParameter = { export const subscriptionId: OperationURLParameter = { parameterPath: "subscriptionId", mapper: { + constraints: { + MinLength: 1 + }, serializedName: "subscriptionId", required: true, type: { @@ -74,6 +77,9 @@ export const subscriptionId: OperationURLParameter = { export const location: OperationURLParameter = { parameterPath: "location", mapper: { + constraints: { + MinLength: 1 + }, serializedName: "location", required: true, type: { @@ -96,6 +102,7 @@ export const resourceGroupName: OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { constraints: { + MaxLength: 90, MinLength: 1 }, serializedName: "resourceGroupName", diff --git a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts index 9fdedf693260..2c9321a35cf2 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/agentPools.ts @@ -47,7 +47,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Gets a list of agent pools in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -106,7 +106,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Gets a list of agent pools in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -123,7 +123,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Gets the specified managed cluster agent pool. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -142,7 +142,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Creates or updates an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param parameters The agent pool to create or update. @@ -212,7 +212,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Creates or updates an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param parameters The agent pool to create or update. @@ -237,7 +237,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Deletes an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -300,7 +300,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Deletes an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -322,7 +322,7 @@ export class AgentPoolsImpl implements AgentPools { /** * Gets the upgrade profile for an agent pool. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -343,7 +343,7 @@ export class AgentPoolsImpl implements AgentPools { * See [supported Kubernetes * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about * the version lifecycle. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -362,7 +362,7 @@ export class AgentPoolsImpl implements AgentPools { * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the * nodes. AKS provides one new image per week with the latest updates. For more details on node image * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -427,7 +427,7 @@ export class AgentPoolsImpl implements AgentPools { * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the * nodes. AKS provides one new image per week with the latest updates. For more details on node image * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -449,7 +449,7 @@ export class AgentPoolsImpl implements AgentPools { /** * ListNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operations/maintenanceConfigurations.ts b/sdk/containerservice/arm-containerservice/src/operations/maintenanceConfigurations.ts index 6faa03586585..3ab63c2b23bb 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/maintenanceConfigurations.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/maintenanceConfigurations.ts @@ -41,7 +41,7 @@ export class MaintenanceConfigurationsImpl /** * Gets a list of maintenance configurations in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -112,7 +112,7 @@ export class MaintenanceConfigurationsImpl /** * Gets a list of maintenance configurations in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -129,7 +129,7 @@ export class MaintenanceConfigurationsImpl /** * Gets the specified maintenance configuration of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param options The options parameters. @@ -148,7 +148,7 @@ export class MaintenanceConfigurationsImpl /** * Creates or updates a maintenance configuration in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param parameters The maintenance configuration to create or update. @@ -169,7 +169,7 @@ export class MaintenanceConfigurationsImpl /** * Deletes a maintenance configuration. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param options The options parameters. @@ -188,7 +188,7 @@ export class MaintenanceConfigurationsImpl /** * ListByManagedClusterNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param nextLink The nextLink from the previous successful call to the ListByManagedCluster method. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts index 5eeb5804c38f..f7bfe538ce82 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts @@ -120,7 +120,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Lists managed clusters in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ public listByResourceGroup( @@ -174,7 +174,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified * managed cluster. The operation returns properties of each egress endpoint. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -245,7 +245,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets supported OS options in the specified subscription. - * @param location The name of a supported Azure region. + * @param location The name of Azure region. * @param options The options parameters. */ getOSOptions( @@ -270,7 +270,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Lists managed clusters in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _listByResourceGroup( @@ -285,7 +285,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets the upgrade profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -306,7 +306,7 @@ export class ManagedClustersImpl implements ManagedClusters { * or * [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) * . - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param roleName The name of the role for managed cluster accessProfile resource. * @param options The options parameters. @@ -325,7 +325,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Lists the admin credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -342,7 +342,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Lists the user credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -359,7 +359,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Lists the cluster monitoring user credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -376,7 +376,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -393,7 +393,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Creates or updates a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The managed cluster to create or update. * @param options The options parameters. @@ -461,7 +461,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Creates or updates a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The managed cluster to create or update. * @param options The options parameters. @@ -483,7 +483,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Updates tags on a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update Managed Cluster Tags operation. * @param options The options parameters. @@ -551,7 +551,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Updates tags on a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update Managed Cluster Tags operation. * @param options The options parameters. @@ -573,7 +573,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Deletes a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -634,7 +634,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Deletes a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -653,7 +653,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * This action cannot be performed on a cluster that is not using a service principal - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The service principal profile to set on the managed cluster. * @param options The options parameters. @@ -716,7 +716,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * This action cannot be performed on a cluster that is not using a service principal - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The service principal profile to set on the managed cluster. * @param options The options parameters. @@ -738,7 +738,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Reset the AAD Profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The AAD profile to set on the Managed Cluster * @param options The options parameters. @@ -801,7 +801,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Reset the AAD Profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The AAD profile to set on the Managed Cluster * @param options The options parameters. @@ -824,7 +824,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more * details about rotating managed cluster certificates. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -886,7 +886,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more * details about rotating managed cluster certificates. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -909,7 +909,7 @@ export class ManagedClustersImpl implements ManagedClusters { * cluster does not accrue charges while it is stopped. See [stopping a * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a * cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -974,7 +974,7 @@ export class ManagedClustersImpl implements ManagedClusters { * cluster does not accrue charges while it is stopped. See [stopping a * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a * cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -994,7 +994,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details * about starting a cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -1056,7 +1056,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details * about starting a cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -1077,7 +1077,7 @@ export class ManagedClustersImpl implements ManagedClusters { * AKS will create a pod to run the command. This is primarily useful for private clusters. For more * information see [AKS Run * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param requestPayload The run command request * @param options The options parameters. @@ -1147,7 +1147,7 @@ export class ManagedClustersImpl implements ManagedClusters { * AKS will create a pod to run the command. This is primarily useful for private clusters. For more * information see [AKS Run * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param requestPayload The run command request * @param options The options parameters. @@ -1169,7 +1169,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets the results of a command which has been run on the Managed Cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param commandId Id of the command. * @param options The options parameters. @@ -1189,7 +1189,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified * managed cluster. The operation returns properties of each egress endpoint. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -1221,7 +1221,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ @@ -1238,7 +1238,7 @@ export class ManagedClustersImpl implements ManagedClusters { /** * ListOutboundNetworkDependenciesEndpointsNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param nextLink The nextLink from the previous successful call to the * ListOutboundNetworkDependenciesEndpoints method. diff --git a/sdk/containerservice/arm-containerservice/src/operations/privateEndpointConnections.ts b/sdk/containerservice/arm-containerservice/src/operations/privateEndpointConnections.ts index b6daa56522cd..03c9e8935226 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/privateEndpointConnections.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/privateEndpointConnections.ts @@ -39,7 +39,7 @@ export class PrivateEndpointConnectionsImpl /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -56,7 +56,7 @@ export class PrivateEndpointConnectionsImpl /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. @@ -80,7 +80,7 @@ export class PrivateEndpointConnectionsImpl /** * Updates a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters The updated private endpoint connection. @@ -107,7 +107,7 @@ export class PrivateEndpointConnectionsImpl /** * Deletes a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. @@ -175,7 +175,7 @@ export class PrivateEndpointConnectionsImpl /** * Deletes a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operations/privateLinkResources.ts b/sdk/containerservice/arm-containerservice/src/operations/privateLinkResources.ts index a91d0d4498ba..4ab432060b63 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/privateLinkResources.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/privateLinkResources.ts @@ -30,7 +30,7 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources { /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ diff --git a/sdk/containerservice/arm-containerservice/src/operations/resolvePrivateLinkServiceId.ts b/sdk/containerservice/arm-containerservice/src/operations/resolvePrivateLinkServiceId.ts index d334da9ee5ad..acf373660e42 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/resolvePrivateLinkServiceId.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/resolvePrivateLinkServiceId.ts @@ -32,7 +32,7 @@ export class ResolvePrivateLinkServiceIdImpl /** * Gets the private link service ID for the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters required in order to resolve a private link service ID. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operations/snapshots.ts b/sdk/containerservice/arm-containerservice/src/operations/snapshots.ts index 0447a15cddc7..ee8bc66f14fe 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/snapshots.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/snapshots.ts @@ -89,7 +89,7 @@ export class SnapshotsImpl implements Snapshots { /** * Lists snapshots in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ public listByResourceGroup( @@ -152,7 +152,7 @@ export class SnapshotsImpl implements Snapshots { /** * Lists snapshots in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _listByResourceGroup( @@ -167,7 +167,7 @@ export class SnapshotsImpl implements Snapshots { /** * Gets a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -184,7 +184,7 @@ export class SnapshotsImpl implements Snapshots { /** * Creates or updates a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The snapshot to create or update. * @param options The options parameters. @@ -203,7 +203,7 @@ export class SnapshotsImpl implements Snapshots { /** * Updates tags on a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update snapshot Tags operation. * @param options The options parameters. @@ -222,7 +222,7 @@ export class SnapshotsImpl implements Snapshots { /** * Deletes a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -254,7 +254,7 @@ export class SnapshotsImpl implements Snapshots { /** * ListByResourceGroupNext - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/agentPools.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/agentPools.ts index 5efb1a5b83ab..4e16d6840a5d 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/agentPools.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/agentPools.ts @@ -28,7 +28,7 @@ import { export interface AgentPools { /** * Gets a list of agent pools in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -39,7 +39,7 @@ export interface AgentPools { ): PagedAsyncIterableIterator; /** * Gets the specified managed cluster agent pool. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -52,7 +52,7 @@ export interface AgentPools { ): Promise; /** * Creates or updates an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param parameters The agent pool to create or update. @@ -72,7 +72,7 @@ export interface AgentPools { >; /** * Creates or updates an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param parameters The agent pool to create or update. @@ -87,7 +87,7 @@ export interface AgentPools { ): Promise; /** * Deletes an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -100,7 +100,7 @@ export interface AgentPools { ): Promise, void>>; /** * Deletes an agent pool in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -113,7 +113,7 @@ export interface AgentPools { ): Promise; /** * Gets the upgrade profile for an agent pool. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -128,7 +128,7 @@ export interface AgentPools { * See [supported Kubernetes * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details about * the version lifecycle. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -141,7 +141,7 @@ export interface AgentPools { * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the * nodes. AKS provides one new image per week with the latest updates. For more details on node image * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. @@ -156,7 +156,7 @@ export interface AgentPools { * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the * nodes. AKS provides one new image per week with the latest updates. For more details on node image * versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param agentPoolName The name of the agent pool. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/maintenanceConfigurations.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/maintenanceConfigurations.ts index 038cd7c8fe5d..19374d823d3d 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/maintenanceConfigurations.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/maintenanceConfigurations.ts @@ -22,7 +22,7 @@ import { export interface MaintenanceConfigurations { /** * Gets a list of maintenance configurations in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -33,7 +33,7 @@ export interface MaintenanceConfigurations { ): PagedAsyncIterableIterator; /** * Gets the specified maintenance configuration of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param options The options parameters. @@ -46,7 +46,7 @@ export interface MaintenanceConfigurations { ): Promise; /** * Creates or updates a maintenance configuration in the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param parameters The maintenance configuration to create or update. @@ -61,7 +61,7 @@ export interface MaintenanceConfigurations { ): Promise; /** * Deletes a maintenance configuration. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param configName The name of the maintenance configuration. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts index ae31d916b17b..ff803ac9e121 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts @@ -60,7 +60,7 @@ export interface ManagedClusters { ): PagedAsyncIterableIterator; /** * Lists managed clusters in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup( @@ -70,7 +70,7 @@ export interface ManagedClusters { /** * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified * managed cluster. The operation returns properties of each egress endpoint. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -81,7 +81,7 @@ export interface ManagedClusters { ): PagedAsyncIterableIterator; /** * Gets supported OS options in the specified subscription. - * @param location The name of a supported Azure region. + * @param location The name of Azure region. * @param options The options parameters. */ getOSOptions( @@ -90,7 +90,7 @@ export interface ManagedClusters { ): Promise; /** * Gets the upgrade profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -105,7 +105,7 @@ export interface ManagedClusters { * or * [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) * . - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param roleName The name of the role for managed cluster accessProfile resource. * @param options The options parameters. @@ -118,7 +118,7 @@ export interface ManagedClusters { ): Promise; /** * Lists the admin credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -129,7 +129,7 @@ export interface ManagedClusters { ): Promise; /** * Lists the user credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -140,7 +140,7 @@ export interface ManagedClusters { ): Promise; /** * Lists the cluster monitoring user credentials of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -151,7 +151,7 @@ export interface ManagedClusters { ): Promise; /** * Gets a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -162,7 +162,7 @@ export interface ManagedClusters { ): Promise; /** * Creates or updates a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The managed cluster to create or update. * @param options The options parameters. @@ -180,7 +180,7 @@ export interface ManagedClusters { >; /** * Creates or updates a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The managed cluster to create or update. * @param options The options parameters. @@ -193,7 +193,7 @@ export interface ManagedClusters { ): Promise; /** * Updates tags on a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update Managed Cluster Tags operation. * @param options The options parameters. @@ -211,7 +211,7 @@ export interface ManagedClusters { >; /** * Updates tags on a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update Managed Cluster Tags operation. * @param options The options parameters. @@ -224,7 +224,7 @@ export interface ManagedClusters { ): Promise; /** * Deletes a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -235,7 +235,7 @@ export interface ManagedClusters { ): Promise, void>>; /** * Deletes a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -246,7 +246,7 @@ export interface ManagedClusters { ): Promise; /** * This action cannot be performed on a cluster that is not using a service principal - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The service principal profile to set on the managed cluster. * @param options The options parameters. @@ -259,7 +259,7 @@ export interface ManagedClusters { ): Promise, void>>; /** * This action cannot be performed on a cluster that is not using a service principal - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The service principal profile to set on the managed cluster. * @param options The options parameters. @@ -272,7 +272,7 @@ export interface ManagedClusters { ): Promise; /** * Reset the AAD Profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The AAD profile to set on the Managed Cluster * @param options The options parameters. @@ -285,7 +285,7 @@ export interface ManagedClusters { ): Promise, void>>; /** * Reset the AAD Profile of a managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The AAD profile to set on the Managed Cluster * @param options The options parameters. @@ -299,7 +299,7 @@ export interface ManagedClusters { /** * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more * details about rotating managed cluster certificates. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -311,7 +311,7 @@ export interface ManagedClusters { /** * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more * details about rotating managed cluster certificates. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -326,7 +326,7 @@ export interface ManagedClusters { * cluster does not accrue charges while it is stopped. See [stopping a * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a * cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -341,7 +341,7 @@ export interface ManagedClusters { * cluster does not accrue charges while it is stopped. See [stopping a * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a * cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -353,7 +353,7 @@ export interface ManagedClusters { /** * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details * about starting a cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -365,7 +365,7 @@ export interface ManagedClusters { /** * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details * about starting a cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -378,7 +378,7 @@ export interface ManagedClusters { * AKS will create a pod to run the command. This is primarily useful for private clusters. For more * information see [AKS Run * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param requestPayload The run command request * @param options The options parameters. @@ -398,7 +398,7 @@ export interface ManagedClusters { * AKS will create a pod to run the command. This is primarily useful for private clusters. For more * information see [AKS Run * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param requestPayload The run command request * @param options The options parameters. @@ -411,7 +411,7 @@ export interface ManagedClusters { ): Promise; /** * Gets the results of a command which has been run on the Managed Cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param commandId Id of the command. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateEndpointConnections.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateEndpointConnections.ts index dd014090e3d9..faf42cf3d537 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateEndpointConnections.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateEndpointConnections.ts @@ -22,7 +22,7 @@ import { export interface PrivateEndpointConnections { /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -33,7 +33,7 @@ export interface PrivateEndpointConnections { ): Promise; /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. @@ -46,7 +46,7 @@ export interface PrivateEndpointConnections { ): Promise; /** * Updates a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters The updated private endpoint connection. @@ -61,7 +61,7 @@ export interface PrivateEndpointConnections { ): Promise; /** * Deletes a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. @@ -74,7 +74,7 @@ export interface PrivateEndpointConnections { ): Promise, void>>; /** * Deletes a private endpoint connection. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateLinkResources.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateLinkResources.ts index 2b71519698c6..b2412c048a1f 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateLinkResources.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/privateLinkResources.ts @@ -15,7 +15,7 @@ import { export interface PrivateLinkResources { /** * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/resolvePrivateLinkServiceId.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/resolvePrivateLinkServiceId.ts index 179e04cc3312..cad325dd5630 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/resolvePrivateLinkServiceId.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/resolvePrivateLinkServiceId.ts @@ -16,7 +16,7 @@ import { export interface ResolvePrivateLinkServiceId { /** * Gets the private link service ID for the specified managed cluster. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters required in order to resolve a private link service ID. * @param options The options parameters. diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/snapshots.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/snapshots.ts index 07101c914b14..1240edf93e3e 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/snapshots.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/snapshots.ts @@ -33,7 +33,7 @@ export interface Snapshots { ): PagedAsyncIterableIterator; /** * Lists snapshots in the specified subscription and resource group. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup( @@ -42,7 +42,7 @@ export interface Snapshots { ): PagedAsyncIterableIterator; /** * Gets a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ @@ -53,7 +53,7 @@ export interface Snapshots { ): Promise; /** * Creates or updates a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters The snapshot to create or update. * @param options The options parameters. @@ -66,7 +66,7 @@ export interface Snapshots { ): Promise; /** * Updates tags on a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param parameters Parameters supplied to the Update snapshot Tags operation. * @param options The options parameters. @@ -79,7 +79,7 @@ export interface Snapshots { ): Promise; /** * Deletes a snapshot. - * @param resourceGroupName The name of the resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param resourceName The name of the managed cluster resource. * @param options The options parameters. */ diff --git a/sdk/containerservice/arm-containerservice/test/sampleTest.ts b/sdk/containerservice/arm-containerservice/test/sampleTest.ts new file mode 100644 index 000000000000..7ed89b043e1b --- /dev/null +++ b/sdk/containerservice/arm-containerservice/test/sampleTest.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + env, + record, + RecorderEnvironmentSetup, + Recorder +} from "@azure-tools/test-recorder"; +import * as assert from "assert"; + +const recorderEnvSetup: RecorderEnvironmentSetup = { + replaceableVariables: { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" + }, + customizationsOnRecordings: [ + (recording: any): any => + recording.replace( + /"access_token":"[^"]*"/g, + `"access_token":"access_token"` + ) + ], + queryParametersToSkip: [] +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function() { + recorder = record(this, recorderEnvSetup); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/containerservice/arm-containerservice/tsconfig.json b/sdk/containerservice/arm-containerservice/tsconfig.json index 5bad5556bbfd..3e6ae96443f3 100644 --- a/sdk/containerservice/arm-containerservice/tsconfig.json +++ b/sdk/containerservice/arm-containerservice/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-containerservice": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules" diff --git a/sdk/containerservice/ci.mgmt.yml b/sdk/containerservice/ci.mgmt.yml index b5f529901ec4..0d74508dd7a5 100644 --- a/sdk/containerservice/ci.mgmt.yml +++ b/sdk/containerservice/ci.mgmt.yml @@ -1,5 +1,5 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - + trigger: branches: include: @@ -10,6 +10,7 @@ trigger: include: - sdk/containerservice/ci.mgmt.yml - sdk/containerservice/arm-containerservice/ + - sdk/containerservice/arm-containerservice pr: branches: include: @@ -23,11 +24,11 @@ pr: include: - sdk/containerservice/ci.mgmt.yml - sdk/containerservice/arm-containerservice/ - + - sdk/containerservice/arm-containerservice extends: template: /eng/pipelines/templates/stages/archetype-sdk-client.yml parameters: ServiceDirectory: containerservice Artifacts: - name: azure-arm-containerservice - safeName: azurearmcontainerservice \ No newline at end of file + safeName: azurearmcontainerservice