From 15fc21ff05c091c4ad99cb64b4a4b429310a1043 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 2 Jul 2024 02:17:35 +0000 Subject: [PATCH] CodeGen from PR 29535 in Azure/azure-rest-api-specs Merge 3e9f9ff63ee763d274bb4c860793339e9209656f into 87a08b955c257c773a3bd42553c718d4b1092955 --- common/config/rush/pnpm-lock.yaml | 5 +- .../arm-containerservice/CHANGELOG.md | 23 +++-- .../arm-containerservice/_meta.json | 8 +- .../arm-containerservice/package.json | 20 ++--- .../review/arm-containerservice.api.md | 30 ++----- .../src/containerServiceClient.ts | 4 +- .../arm-containerservice/src/models/index.ts | 53 +++--------- .../src/models/mappers.ts | 84 ++++--------------- .../src/models/parameters.ts | 12 +-- .../src/operations/managedClusters.ts | 37 -------- .../operationsInterfaces/managedClusters.ts | 11 --- .../arm-containerservice/test/sampleTest.ts | 43 ++++++++++ .../arm-containerservice/tsconfig.json | 10 +-- sdk/core/abort-controller/.tshy/browser.json | 7 +- sdk/core/abort-controller/.tshy/commonjs.json | 6 +- sdk/core/abort-controller/.tshy/esm.json | 7 +- .../abort-controller/.tshy/react-native.json | 7 +- sdk/core/core-auth/.tshy/browser.json | 7 +- sdk/core/core-auth/.tshy/commonjs.json | 6 +- sdk/core/core-auth/.tshy/esm.json | 7 +- sdk/core/core-auth/.tshy/react-native.json | 7 +- sdk/core/core-client/.tshy/browser.json | 6 +- sdk/core/core-client/.tshy/commonjs.json | 4 +- sdk/core/core-client/.tshy/esm.json | 10 ++- sdk/core/core-client/.tshy/react-native.json | 10 ++- sdk/core/core-paging/.tshy/browser.json | 7 +- sdk/core/core-paging/.tshy/commonjs.json | 6 +- sdk/core/core-paging/.tshy/esm.json | 7 +- sdk/core/core-paging/.tshy/react-native.json | 7 +- .../core-rest-pipeline/.tshy/browser.json | 14 ++-- .../core-rest-pipeline/.tshy/commonjs.json | 4 +- sdk/core/core-rest-pipeline/.tshy/esm.json | 26 +++--- .../.tshy/react-native.json | 16 ++-- sdk/core/core-tracing/.tshy/browser.json | 6 +- sdk/core/core-tracing/.tshy/commonjs.json | 4 +- sdk/core/core-tracing/.tshy/esm.json | 8 +- sdk/core/core-tracing/.tshy/react-native.json | 8 +- sdk/core/core-util/.tshy/browser.json | 10 ++- sdk/core/core-util/.tshy/commonjs.json | 4 +- sdk/core/core-util/.tshy/esm.json | 16 ++-- sdk/core/core-util/.tshy/react-native.json | 10 ++- sdk/core/core-xml/.tshy/browser.json | 7 +- sdk/core/core-xml/.tshy/commonjs.json | 4 +- sdk/core/core-xml/.tshy/esm.json | 6 +- sdk/core/core-xml/.tshy/react-native.json | 6 +- sdk/core/logger/.tshy/browser.json | 6 +- sdk/core/logger/.tshy/commonjs.json | 4 +- sdk/core/logger/.tshy/esm.json | 8 +- sdk/core/logger/.tshy/react-native.json | 6 +- 49 files changed, 295 insertions(+), 329 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 b49f448836da..07baa491784e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -13312,7 +13312,7 @@ packages: dev: false file:projects/arm-containerservice-1.tgz: - resolution: {integrity: sha512-3NNKJp8SbAodS6wtUrJy/nLUgElZqBq8JhUhbSekq7T5WADjwQNb2V5cb+15Oc11cpsic37TSYTRa3x+0PXdlg==, tarball: file:projects/arm-containerservice-1.tgz} + resolution: {integrity: sha512-9zypwvOnIqE4GKMIkKtczLYCmc8azI/Mh6aBxHW11aX1IiyaUN62pejFxJ6b3rzWRDllL+/wUFUe3lZNzhSbyQ==, tarball: file:projects/arm-containerservice-1.tgz} name: '@rush-temp/arm-containerservice-1' version: 0.0.0 dependencies: @@ -13333,6 +13333,7 @@ packages: rimraf: 5.0.7 ts-node: 10.9.2(@types/node@18.19.39)(typescript@5.4.5) tslib: 2.6.3 + tsx: 4.16.0 typescript: 5.4.5 uglify-js: 3.18.0 transitivePeerDependencies: @@ -20333,7 +20334,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-xYQLYBO4TGESs2pRrCvymd+Dcwxt1XrIGFCh2uh/W4ZV88Ylenqoq0ORPvdMUECqnGbXTsacyWMe93l1FFkq6A==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-w2QQKZjOUsNAB8h+fiYZGb3HwLMPxmrgL5k810k2KH/QjUufjwoRvrCpD860O2rBTcwSTg1IUx26Yn09p9a+eA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: diff --git a/sdk/containerservice/arm-containerservice/CHANGELOG.md b/sdk/containerservice/arm-containerservice/CHANGELOG.md index 786fc82a61bd..9018b00fb257 100644 --- a/sdk/containerservice/arm-containerservice/CHANGELOG.md +++ b/sdk/containerservice/arm-containerservice/CHANGELOG.md @@ -1,15 +1,20 @@ # Release History + +## 21.0.0 (2024-07-02) + +**Features** -## 20.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter daemonsetEvictionForEmptyNodes + - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter daemonsetEvictionForOccupiedNodes + - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter ignoreDaemonsetsUtilization + - Enum KnownNetworkPolicy has a new value None + - Enum KnownNodeOSUpgradeChannel has a new value SecurityPatch -### Other Changes +**Breaking Changes** + - Removed operation ManagedClusters.getOSOptions + + ## 20.0.0 (2024-04-26) **Features** @@ -26,7 +31,7 @@ - Interface IstioEgressGateway no longer has parameter nodeSelector - + ## 20.0.0-beta.1 (2024-04-12) **Features** diff --git a/sdk/containerservice/arm-containerservice/_meta.json b/sdk/containerservice/arm-containerservice/_meta.json index ce15afd68843..aa9e5d8c13e0 100644 --- a/sdk/containerservice/arm-containerservice/_meta.json +++ b/sdk/containerservice/arm-containerservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "34d8b6d264d9b8980a3c8fe2dde026319b2ba32f", + "commit": "2719c03411d111d503bb4fd6caca9e7bdeb68831", "readme": "specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md", - "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerservice\\resource-manager\\Microsoft.ContainerService\\aks\\readme.md --use=@autorest/typescript@6.0.21 --generate-sample=true", + "autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/readme.md --use=@autorest/typescript@^6.0.12", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.7.5", - "use": "@autorest/typescript@6.0.21" + "release_tool": "@azure-tools/js-sdk-release-tools@2.7.10", + "use": "@autorest/typescript@^6.0.12" } \ No newline at end of file diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index e12cd323493a..9c243d1e9802 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": "20.0.1", + "version": "21.0.0", "engines": { "node": ">=18.0.0" }, @@ -37,10 +37,10 @@ "@azure/dev-tool": "^1.0.0", "@azure/identity": "^4.0.1", "@azure-tools/test-recorder": "^3.0.0", - "@azure-tools/test-credential": "^1.0.0", + "@azure-tools/test-credential": "^1.1.0", "mocha": "^10.0.0", "@types/mocha": "^10.0.0", - "esm": "^3.2.18", + "tsx": "^4.7.1", "@types/chai": "^4.2.8", "chai": "^4.2.0", "cross-env": "^7.0.2", @@ -76,7 +76,7 @@ "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js", "prepack": "npm run build", "pack": "npm pack 2>&1", - "extract-api": "api-extractor run --local", + "extract-api": "dev-tool run extract-api", "lint": "echo skipped", "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "build:node": "echo skipped", @@ -106,13 +106,5 @@ ] }, "autoPublish": true, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice", - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview" - } -} + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice" +} \ 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 43dd273f42eb..2c2ad2432e01 100644 --- a/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md +++ b/sdk/containerservice/arm-containerservice/review/arm-containerservice.api.md @@ -651,13 +651,15 @@ export enum KnownNetworkPluginMode { export enum KnownNetworkPolicy { Azure = "azure", Calico = "calico", - Cilium = "cilium" + Cilium = "cilium", + None = "none" } // @public export enum KnownNodeOSUpgradeChannel { NodeImage = "NodeImage", None = "None", + SecurityPatch = "SecurityPatch", Unmanaged = "Unmanaged" } @@ -1240,7 +1242,10 @@ export interface ManagedClusterPoolUpgradeProfileUpgradesItem { // @public export interface ManagedClusterPropertiesAutoScalerProfile { balanceSimilarNodeGroups?: string; + daemonsetEvictionForEmptyNodes?: boolean; + daemonsetEvictionForOccupiedNodes?: boolean; expander?: Expander; + ignoreDaemonsetsUtilization?: boolean; maxEmptyBulkDelete?: string; maxGracefulTerminationSec?: string; maxNodeProvisionTime?: string; @@ -1287,7 +1292,6 @@ export interface ManagedClusters { getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, options?: ManagedClustersGetCommandResultOptionalParams): Promise; getMeshRevisionProfile(location: string, mode: string, options?: ManagedClustersGetMeshRevisionProfileOptionalParams): Promise; getMeshUpgradeProfile(resourceGroupName: string, resourceName: string, mode: string, options?: ManagedClustersGetMeshUpgradeProfileOptionalParams): Promise; - getOSOptions(location: string, options?: ManagedClustersGetOSOptionsOptionalParams): Promise; getUpgradeProfile(resourceGroupName: string, resourceName: string, options?: ManagedClustersGetUpgradeProfileOptionalParams): Promise; list(options?: ManagedClustersListOptionalParams): PagedAsyncIterableIterator; listByResourceGroup(resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; @@ -1411,14 +1415,6 @@ export type ManagedClustersGetMeshUpgradeProfileResponse = MeshUpgradeProfile; export interface ManagedClustersGetOptionalParams extends coreClient.OperationOptions { } -// @public -export interface ManagedClustersGetOSOptionsOptionalParams extends coreClient.OperationOptions { - resourceType?: string; -} - -// @public -export type ManagedClustersGetOSOptionsResponse = OSOptionProfile; - // @public export type ManagedClustersGetResponse = ManagedCluster; @@ -1800,20 +1796,6 @@ export interface OperationValue { // @public export type OSDiskType = string; -// @public -export interface OSOptionProfile { - readonly id?: string; - readonly name?: string; - osOptionPropertyList: OSOptionProperty[]; - readonly type?: string; -} - -// @public -export interface OSOptionProperty { - enableFipsImage: boolean; - osType: string; -} - // @public export type Ossku = string; diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index 272fa5ebc4da..4352283b6c65 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -72,7 +72,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { credential: credentials, }; - const packageDetails = `azsdk-js-arm-containerservice/20.0.1`; + const packageDetails = `azsdk-js-arm-containerservice/21.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -126,7 +126,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2024-02-01"; + this.apiVersion = options.apiVersion || "2024-05-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 87d444133f07..c8df01ff28ea 100644 --- a/sdk/containerservice/arm-containerservice/src/models/index.ts +++ b/sdk/containerservice/arm-containerservice/src/models/index.ts @@ -69,35 +69,6 @@ export interface CloudErrorBody { details?: CloudErrorBody[]; } -/** The OS option profile. */ -export interface OSOptionProfile { - /** - * The ID of the OS option resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly id?: string; - /** - * The name of the OS option resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; - /** - * The type of the OS option resource. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly type?: string; - /** The list of OS options. */ - osOptionPropertyList: OSOptionProperty[]; -} - -/** OS option property. */ -export interface OSOptionProperty { - /** The OS type. */ - osType: string; - /** Whether the image is FIPS-enabled. */ - enableFipsImage: boolean; -} - /** Hold values properties, which is array of KubernetesVersion */ export interface KubernetesVersionListResult { /** Array of AKS supported Kubernetes versions. */ @@ -748,6 +719,12 @@ export interface UpgradeOverrideSettings { export interface ManagedClusterPropertiesAutoScalerProfile { /** Valid values are 'true' and 'false' */ balanceSimilarNodeGroups?: string; + /** If set to true, all daemonset pods on empty nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted. */ + daemonsetEvictionForEmptyNodes?: boolean; + /** If set to true, all daemonset pods on occupied nodes will be evicted before deletion of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be deleted without ensuring that daemonset pods are deleted or evicted. */ + daemonsetEvictionForOccupiedNodes?: boolean; + /** If set to true, the resources used by daemonset will be taken into account when making scaling down decisions. */ + ignoreDaemonsetsUtilization?: boolean; /** If not specified, the default is 'random'. See [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more information. */ expander?: Expander; /** The default is 10. */ @@ -2488,6 +2465,8 @@ export type NetworkPluginMode = string; /** Known values of {@link NetworkPolicy} that the service accepts. */ export enum KnownNetworkPolicy { + /** Network policies will not be enforced. This is the default value when NetworkPolicy is not specified. */ + None = "none", /** Use Calico network policies. See [differences between Azure and Calico policies](https:\//docs.microsoft.com\/azure\/aks\/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. */ Calico = "calico", /** Use Azure network policies. See [differences between Azure and Calico policies](https:\//docs.microsoft.com\/azure\/aks\/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. */ @@ -2501,6 +2480,7 @@ export enum KnownNetworkPolicy { * {@link KnownNetworkPolicy} can be used interchangeably with NetworkPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service + * **none**: Network policies will not be enforced. This is the default value when NetworkPolicy is not specified. \ * **calico**: Use Calico network policies. See [differences between Azure and Calico policies](https:\/\/docs.microsoft.com\/azure\/aks\/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. \ * **azure**: Use Azure network policies. See [differences between Azure and Calico policies](https:\/\/docs.microsoft.com\/azure\/aks\/use-network-policies#differences-between-azure-and-calico-policies-and-their-capabilities) for more information. \ * **cilium**: Use Cilium to enforce network policies. This requires networkDataplane to be 'cilium'. @@ -2656,6 +2636,8 @@ export enum KnownNodeOSUpgradeChannel { Unmanaged = "Unmanaged", /** AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. */ NodeImage = "NodeImage", + /** AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. */ + SecurityPatch = "SecurityPatch", } /** @@ -2665,7 +2647,8 @@ export enum KnownNodeOSUpgradeChannel { * ### Known values supported by the service * **None**: No attempt to update your machines OS will be made either by OS or by rolling VHDs. This means you are responsible for your security updates \ * **Unmanaged**: OS updates will be applied automatically through the OS built-in patching infrastructure. Newly scaled in machines will be unpatched initially and will be patched at some point by the OS's infrastructure. Behavior of this option depends on the OS in question. Ubuntu and Mariner apply security patches through unattended upgrade roughly once a day around 06:00 UTC. Windows does not apply security patches automatically and so for them this option is equivalent to None till further notice \ - * **NodeImage**: AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. + * **NodeImage**: AKS will update the nodes with a newly patched VHD containing security fixes and bugfixes on a weekly cadence. With the VHD update machines will be rolling reimaged to that VHD following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option as AKS hosts the images. \ + * **SecurityPatch**: AKS downloads and updates the nodes with tested security updates. These updates honor the maintenance window settings and produce a new VHD that is used on new nodes. On some occasions it's not possible to apply the updates in place, in such cases the existing nodes will also be re-imaged to the newly produced VHD in order to apply the changes. This option incurs an extra cost of hosting the new Security Patch VHDs in your resource group for just in time consumption. */ export type NodeOSUpgradeChannel = string; @@ -2969,16 +2952,6 @@ export interface OperationsListOptionalParams /** Contains response data for the list operation. */ export type OperationsListResponse = OperationListResult; -/** Optional parameters. */ -export interface ManagedClustersGetOSOptionsOptionalParams - extends coreClient.OperationOptions { - /** The resource type for which the OS options needs to be returned */ - resourceType?: string; -} - -/** Contains response data for the getOSOptions operation. */ -export type ManagedClustersGetOSOptionsResponse = OSOptionProfile; - /** Optional parameters. */ export interface ManagedClustersListKubernetesVersionsOptionalParams extends coreClient.OperationOptions {} diff --git a/sdk/containerservice/arm-containerservice/src/models/mappers.ts b/sdk/containerservice/arm-containerservice/src/models/mappers.ts index 34cb9c474bb2..f9cc930b7c0c 100644 --- a/sdk/containerservice/arm-containerservice/src/models/mappers.ts +++ b/sdk/containerservice/arm-containerservice/src/models/mappers.ts @@ -136,72 +136,6 @@ export const CloudErrorBody: coreClient.CompositeMapper = { }, }; -export const OSOptionProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OSOptionProfile", - modelProperties: { - id: { - serializedName: "id", - readOnly: true, - type: { - name: "String", - }, - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String", - }, - }, - type: { - serializedName: "type", - readOnly: true, - type: { - name: "String", - }, - }, - osOptionPropertyList: { - serializedName: "properties.osOptionPropertyList", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "OSOptionProperty", - }, - }, - }, - }, - }, - }, -}; - -export const OSOptionProperty: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "OSOptionProperty", - modelProperties: { - osType: { - serializedName: "os-type", - required: true, - type: { - name: "String", - }, - }, - enableFipsImage: { - serializedName: "enable-fips-image", - required: true, - type: { - name: "Boolean", - }, - }, - }, - }, -}; - export const KubernetesVersionListResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2198,6 +2132,24 @@ export const ManagedClusterPropertiesAutoScalerProfile: coreClient.CompositeMapp name: "String", }, }, + daemonsetEvictionForEmptyNodes: { + serializedName: "daemonset-eviction-for-empty-nodes", + type: { + name: "Boolean", + }, + }, + daemonsetEvictionForOccupiedNodes: { + serializedName: "daemonset-eviction-for-occupied-nodes", + type: { + name: "Boolean", + }, + }, + ignoreDaemonsetsUtilization: { + serializedName: "ignore-daemonsets-utilization", + type: { + name: "Boolean", + }, + }, expander: { serializedName: "expander", type: { diff --git a/sdk/containerservice/arm-containerservice/src/models/parameters.ts b/sdk/containerservice/arm-containerservice/src/models/parameters.ts index a1847d4ce468..a5c015695826 100644 --- a/sdk/containerservice/arm-containerservice/src/models/parameters.ts +++ b/sdk/containerservice/arm-containerservice/src/models/parameters.ts @@ -52,7 +52,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2024-02-01", + defaultValue: "2024-05-01", isConstant: true, serializedName: "api-version", type: { @@ -86,16 +86,6 @@ export const location: OperationURLParameter = { }, }; -export const resourceType: OperationQueryParameter = { - parameterPath: ["options", "resourceType"], - mapper: { - serializedName: "resource-type", - type: { - name: "String", - }, - }, -}; - export const resourceGroupName: OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { diff --git a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts index 165ece62430a..f4e5d6d49165 100644 --- a/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operations/managedClusters.ts @@ -39,8 +39,6 @@ import { ManagedClustersListMeshUpgradeProfilesNextOptionalParams, ManagedClustersListMeshUpgradeProfilesOptionalParams, ManagedClustersListMeshUpgradeProfilesResponse, - ManagedClustersGetOSOptionsOptionalParams, - ManagedClustersGetOSOptionsResponse, ManagedClustersListKubernetesVersionsOptionalParams, ManagedClustersListKubernetesVersionsResponse, ManagedClustersGetUpgradeProfileOptionalParams, @@ -467,21 +465,6 @@ export class ManagedClustersImpl implements ManagedClusters { } } - /** - * Gets supported OS options in the specified subscription. - * @param location The name of the Azure region. - * @param options The options parameters. - */ - getOSOptions( - location: string, - options?: ManagedClustersGetOSOptionsOptionalParams, - ): Promise { - return this.client.sendOperationRequest( - { location, options }, - getOSOptionsOperationSpec, - ); - } - /** * Contains extra metadata on the version, including supported patch versions, capabilities, available * upgrades, and details on preview status of the version @@ -1849,26 +1832,6 @@ export class ManagedClustersImpl implements ManagedClusters { // Operation Specifications const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const getOSOptionsOperationSpec: coreClient.OperationSpec = { - path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default", - httpMethod: "GET", - responses: { - 200: { - bodyMapper: Mappers.OSOptionProfile, - }, - default: { - bodyMapper: Mappers.CloudError, - }, - }, - queryParameters: [Parameters.apiVersion, Parameters.resourceType], - urlParameters: [ - Parameters.$host, - Parameters.subscriptionId, - Parameters.location, - ], - headerParameters: [Parameters.accept], - serializer, -}; const listKubernetesVersionsOperationSpec: coreClient.OperationSpec = { path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions", httpMethod: "GET", diff --git a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts index a64630f29071..37e070e318b0 100644 --- a/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts +++ b/sdk/containerservice/arm-containerservice/src/operationsInterfaces/managedClusters.ts @@ -18,8 +18,6 @@ import { ManagedClustersListMeshRevisionProfilesOptionalParams, MeshUpgradeProfile, ManagedClustersListMeshUpgradeProfilesOptionalParams, - ManagedClustersGetOSOptionsOptionalParams, - ManagedClustersGetOSOptionsResponse, ManagedClustersListKubernetesVersionsOptionalParams, ManagedClustersListKubernetesVersionsResponse, ManagedClustersGetUpgradeProfileOptionalParams, @@ -118,15 +116,6 @@ export interface ManagedClusters { resourceName: string, options?: ManagedClustersListMeshUpgradeProfilesOptionalParams, ): PagedAsyncIterableIterator; - /** - * Gets supported OS options in the specified subscription. - * @param location The name of the Azure region. - * @param options The options parameters. - */ - getOSOptions( - location: string, - options?: ManagedClustersGetOSOptionsOptionalParams, - ): Promise; /** * Contains extra metadata on the version, including supported patch versions, capabilities, available * upgrades, and details on preview status of the version diff --git a/sdk/containerservice/arm-containerservice/test/sampleTest.ts b/sdk/containerservice/arm-containerservice/test/sampleTest.ts new file mode 100644 index 000000000000..d64be981b694 --- /dev/null +++ b/sdk/containerservice/arm-containerservice/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * 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 { + Recorder, + RecorderStartOptions, + env, +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + 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", +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables, +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function (this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + 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/core/abort-controller/.tshy/browser.json b/sdk/core/abort-controller/.tshy/browser.json index 32e74e04ec62..144e29682df7 100644 --- a/sdk/core/abort-controller/.tshy/browser.json +++ b/sdk/core/abort-controller/.tshy/browser.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/browser" } diff --git a/sdk/core/abort-controller/.tshy/commonjs.json b/sdk/core/abort-controller/.tshy/commonjs.json index 5ace94d041f3..7c9db50b6a5c 100644 --- a/sdk/core/abort-controller/.tshy/commonjs.json +++ b/sdk/core/abort-controller/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - "../src/**/*.mts" + "../src/**/*.mts", + "../src/package.json" ], "compilerOptions": { "outDir": "../.tshy-build/commonjs" diff --git a/sdk/core/abort-controller/.tshy/esm.json b/sdk/core/abort-controller/.tshy/esm.json index ff5264e692d1..959294a84294 100644 --- a/sdk/core/abort-controller/.tshy/esm.json +++ b/sdk/core/abort-controller/.tshy/esm.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/esm" } diff --git a/sdk/core/abort-controller/.tshy/react-native.json b/sdk/core/abort-controller/.tshy/react-native.json index f431a06985d8..e3a9d50023d6 100644 --- a/sdk/core/abort-controller/.tshy/react-native.json +++ b/sdk/core/abort-controller/.tshy/react-native.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/react-native" } diff --git a/sdk/core/core-auth/.tshy/browser.json b/sdk/core/core-auth/.tshy/browser.json index 32e74e04ec62..144e29682df7 100644 --- a/sdk/core/core-auth/.tshy/browser.json +++ b/sdk/core/core-auth/.tshy/browser.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/browser" } diff --git a/sdk/core/core-auth/.tshy/commonjs.json b/sdk/core/core-auth/.tshy/commonjs.json index 5ace94d041f3..7c9db50b6a5c 100644 --- a/sdk/core/core-auth/.tshy/commonjs.json +++ b/sdk/core/core-auth/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - "../src/**/*.mts" + "../src/**/*.mts", + "../src/package.json" ], "compilerOptions": { "outDir": "../.tshy-build/commonjs" diff --git a/sdk/core/core-auth/.tshy/esm.json b/sdk/core/core-auth/.tshy/esm.json index ff5264e692d1..959294a84294 100644 --- a/sdk/core/core-auth/.tshy/esm.json +++ b/sdk/core/core-auth/.tshy/esm.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/esm" } diff --git a/sdk/core/core-auth/.tshy/react-native.json b/sdk/core/core-auth/.tshy/react-native.json index f431a06985d8..e3a9d50023d6 100644 --- a/sdk/core/core-auth/.tshy/react-native.json +++ b/sdk/core/core-auth/.tshy/react-native.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/react-native" } diff --git a/sdk/core/core-client/.tshy/browser.json b/sdk/core/core-client/.tshy/browser.json index 58163fb8398e..2180af06eab0 100644 --- a/sdk/core/core-client/.tshy/browser.json +++ b/sdk/core/core-client/.tshy/browser.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts" + "../src/package.json", + "../src/state-cjs.cts" ], "compilerOptions": { "outDir": "../.tshy-build/browser" diff --git a/sdk/core/core-client/.tshy/commonjs.json b/sdk/core/core-client/.tshy/commonjs.json index 5bf9d5b42975..e998a19e2e73 100644 --- a/sdk/core/core-client/.tshy/commonjs.json +++ b/sdk/core/core-client/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/base64-browser.mts", "../src/state-browser.mts" ], diff --git a/sdk/core/core-client/.tshy/esm.json b/sdk/core/core-client/.tshy/esm.json index 26e2bdfa8211..e6aa9167c225 100644 --- a/sdk/core/core-client/.tshy/esm.json +++ b/sdk/core/core-client/.tshy/esm.json @@ -3,12 +3,14 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts", - ".././src/base64-browser.mts", - ".././src/state-browser.mts" + "../src/package.json", + "../src/state-cjs.cts", + "../src/base64-browser.mts", + "../src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-client/.tshy/react-native.json b/sdk/core/core-client/.tshy/react-native.json index 8f1fbed22998..a51efcfe6735 100644 --- a/sdk/core/core-client/.tshy/react-native.json +++ b/sdk/core/core-client/.tshy/react-native.json @@ -3,12 +3,14 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts", - ".././src/base64-browser.mts", - ".././src/state-browser.mts" + "../src/package.json", + "../src/state-cjs.cts", + "../src/base64-browser.mts", + "../src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/core-paging/.tshy/browser.json b/sdk/core/core-paging/.tshy/browser.json index 32e74e04ec62..144e29682df7 100644 --- a/sdk/core/core-paging/.tshy/browser.json +++ b/sdk/core/core-paging/.tshy/browser.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/browser" } diff --git a/sdk/core/core-paging/.tshy/commonjs.json b/sdk/core/core-paging/.tshy/commonjs.json index 5ace94d041f3..7c9db50b6a5c 100644 --- a/sdk/core/core-paging/.tshy/commonjs.json +++ b/sdk/core/core-paging/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - "../src/**/*.mts" + "../src/**/*.mts", + "../src/package.json" ], "compilerOptions": { "outDir": "../.tshy-build/commonjs" diff --git a/sdk/core/core-paging/.tshy/esm.json b/sdk/core/core-paging/.tshy/esm.json index ff5264e692d1..959294a84294 100644 --- a/sdk/core/core-paging/.tshy/esm.json +++ b/sdk/core/core-paging/.tshy/esm.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/esm" } diff --git a/sdk/core/core-paging/.tshy/react-native.json b/sdk/core/core-paging/.tshy/react-native.json index f431a06985d8..e3a9d50023d6 100644 --- a/sdk/core/core-paging/.tshy/react-native.json +++ b/sdk/core/core-paging/.tshy/react-native.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/react-native" } diff --git a/sdk/core/core-rest-pipeline/.tshy/browser.json b/sdk/core/core-rest-pipeline/.tshy/browser.json index 4380403a29e7..9d8d60feb6d8 100644 --- a/sdk/core/core-rest-pipeline/.tshy/browser.json +++ b/sdk/core/core-rest-pipeline/.tshy/browser.json @@ -3,14 +3,16 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/defaultHttpClient-react-native.mts", - ".././src/policies/proxyPolicy-react-native.mts", - ".././src/util/concat-react-native.mts", - ".././src/util/inspect-react-native.mts", - ".././src/util/userAgentPlatform-react-native.mts" + "../src/package.json", + "../src/defaultHttpClient-react-native.mts", + "../src/policies/proxyPolicy-react-native.mts", + "../src/util/concat-react-native.mts", + "../src/util/inspect-react-native.mts", + "../src/util/userAgentPlatform-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/browser" diff --git a/sdk/core/core-rest-pipeline/.tshy/commonjs.json b/sdk/core/core-rest-pipeline/.tshy/commonjs.json index 6b11f7c1a2c0..55310f8c228e 100644 --- a/sdk/core/core-rest-pipeline/.tshy/commonjs.json +++ b/sdk/core/core-rest-pipeline/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/defaultHttpClient-browser.mts", "../src/policies/decompressResponsePolicy-browser.mts", "../src/policies/proxyPolicy-browser.mts", diff --git a/sdk/core/core-rest-pipeline/.tshy/esm.json b/sdk/core/core-rest-pipeline/.tshy/esm.json index 5391b986aa7c..e080e6afdeef 100644 --- a/sdk/core/core-rest-pipeline/.tshy/esm.json +++ b/sdk/core/core-rest-pipeline/.tshy/esm.json @@ -3,20 +3,22 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/defaultHttpClient-browser.mts", - ".././src/policies/decompressResponsePolicy-browser.mts", - ".././src/policies/proxyPolicy-browser.mts", - ".././src/util/concat-browser.mts", - ".././src/util/inspect-browser.mts", - ".././src/util/userAgentPlatform-browser.mts", - ".././src/defaultHttpClient-react-native.mts", - ".././src/policies/proxyPolicy-react-native.mts", - ".././src/util/concat-react-native.mts", - ".././src/util/inspect-react-native.mts", - ".././src/util/userAgentPlatform-react-native.mts" + "../src/package.json", + "../src/defaultHttpClient-browser.mts", + "../src/policies/decompressResponsePolicy-browser.mts", + "../src/policies/proxyPolicy-browser.mts", + "../src/util/concat-browser.mts", + "../src/util/inspect-browser.mts", + "../src/util/userAgentPlatform-browser.mts", + "../src/defaultHttpClient-react-native.mts", + "../src/policies/proxyPolicy-react-native.mts", + "../src/util/concat-react-native.mts", + "../src/util/inspect-react-native.mts", + "../src/util/userAgentPlatform-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-rest-pipeline/.tshy/react-native.json b/sdk/core/core-rest-pipeline/.tshy/react-native.json index 97df88d94cff..cca227f152ad 100644 --- a/sdk/core/core-rest-pipeline/.tshy/react-native.json +++ b/sdk/core/core-rest-pipeline/.tshy/react-native.json @@ -3,15 +3,17 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/defaultHttpClient-browser.mts", - ".././src/policies/decompressResponsePolicy-browser.mts", - ".././src/policies/proxyPolicy-browser.mts", - ".././src/util/concat-browser.mts", - ".././src/util/inspect-browser.mts", - ".././src/util/userAgentPlatform-browser.mts" + "../src/package.json", + "../src/defaultHttpClient-browser.mts", + "../src/policies/decompressResponsePolicy-browser.mts", + "../src/policies/proxyPolicy-browser.mts", + "../src/util/concat-browser.mts", + "../src/util/inspect-browser.mts", + "../src/util/userAgentPlatform-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/core-tracing/.tshy/browser.json b/sdk/core/core-tracing/.tshy/browser.json index 58163fb8398e..2180af06eab0 100644 --- a/sdk/core/core-tracing/.tshy/browser.json +++ b/sdk/core/core-tracing/.tshy/browser.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts" + "../src/package.json", + "../src/state-cjs.cts" ], "compilerOptions": { "outDir": "../.tshy-build/browser" diff --git a/sdk/core/core-tracing/.tshy/commonjs.json b/sdk/core/core-tracing/.tshy/commonjs.json index 82ad9f8e077e..b12ef4214816 100644 --- a/sdk/core/core-tracing/.tshy/commonjs.json +++ b/sdk/core/core-tracing/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/state-browser.mts" ], "compilerOptions": { diff --git a/sdk/core/core-tracing/.tshy/esm.json b/sdk/core/core-tracing/.tshy/esm.json index 3fe24fbc7772..51f44ca9f499 100644 --- a/sdk/core/core-tracing/.tshy/esm.json +++ b/sdk/core/core-tracing/.tshy/esm.json @@ -3,11 +3,13 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts", - ".././src/state-browser.mts" + "../src/package.json", + "../src/state-cjs.cts", + "../src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-tracing/.tshy/react-native.json b/sdk/core/core-tracing/.tshy/react-native.json index 289dea78b362..92fc0c5b6bb5 100644 --- a/sdk/core/core-tracing/.tshy/react-native.json +++ b/sdk/core/core-tracing/.tshy/react-native.json @@ -3,11 +3,13 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/state-cjs.cts", - ".././src/state-browser.mts" + "../src/package.json", + "../src/state-cjs.cts", + "../src/state-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/core-util/.tshy/browser.json b/sdk/core/core-util/.tshy/browser.json index 4482fb292366..7be48232bf20 100644 --- a/sdk/core/core-util/.tshy/browser.json +++ b/sdk/core/core-util/.tshy/browser.json @@ -3,12 +3,14 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/bytesEncoding-react-native.mts", - ".././src/sha256-react-native.mts", - ".././src/uuidUtils-react-native.mts" + "../src/package.json", + "../src/bytesEncoding-react-native.mts", + "../src/sha256-react-native.mts", + "../src/uuidUtils-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/browser" diff --git a/sdk/core/core-util/.tshy/commonjs.json b/sdk/core/core-util/.tshy/commonjs.json index 57476cf91183..4431b799f994 100644 --- a/sdk/core/core-util/.tshy/commonjs.json +++ b/sdk/core/core-util/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/bytesEncoding-browser.mts", "../src/sha256-browser.mts", "../src/uuidUtils-browser.mts", diff --git a/sdk/core/core-util/.tshy/esm.json b/sdk/core/core-util/.tshy/esm.json index 474f1ccf4532..1bae3c9fd7a0 100644 --- a/sdk/core/core-util/.tshy/esm.json +++ b/sdk/core/core-util/.tshy/esm.json @@ -3,15 +3,17 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/bytesEncoding-browser.mts", - ".././src/sha256-browser.mts", - ".././src/uuidUtils-browser.mts", - ".././src/bytesEncoding-react-native.mts", - ".././src/sha256-react-native.mts", - ".././src/uuidUtils-react-native.mts" + "../src/package.json", + "../src/bytesEncoding-browser.mts", + "../src/sha256-browser.mts", + "../src/uuidUtils-browser.mts", + "../src/bytesEncoding-react-native.mts", + "../src/sha256-react-native.mts", + "../src/uuidUtils-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-util/.tshy/react-native.json b/sdk/core/core-util/.tshy/react-native.json index cfc2c4e8d1fb..214994490d8a 100644 --- a/sdk/core/core-util/.tshy/react-native.json +++ b/sdk/core/core-util/.tshy/react-native.json @@ -3,12 +3,14 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/bytesEncoding-browser.mts", - ".././src/sha256-browser.mts", - ".././src/uuidUtils-browser.mts" + "../src/package.json", + "../src/bytesEncoding-browser.mts", + "../src/sha256-browser.mts", + "../src/uuidUtils-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/core-xml/.tshy/browser.json b/sdk/core/core-xml/.tshy/browser.json index 32e74e04ec62..144e29682df7 100644 --- a/sdk/core/core-xml/.tshy/browser.json +++ b/sdk/core/core-xml/.tshy/browser.json @@ -3,9 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" + ], + "exclude": [ + "../src/package.json" ], - "exclude": [], "compilerOptions": { "outDir": "../.tshy-build/browser" } diff --git a/sdk/core/core-xml/.tshy/commonjs.json b/sdk/core/core-xml/.tshy/commonjs.json index 8b5bba6f6ebc..c98a6ce4d219 100644 --- a/sdk/core/core-xml/.tshy/commonjs.json +++ b/sdk/core/core-xml/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/xml-browser.mts" ], "compilerOptions": { diff --git a/sdk/core/core-xml/.tshy/esm.json b/sdk/core/core-xml/.tshy/esm.json index 7e1fcd5b0853..0b92d0c44056 100644 --- a/sdk/core/core-xml/.tshy/esm.json +++ b/sdk/core/core-xml/.tshy/esm.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/xml-browser.mts" + "../src/package.json", + "../src/xml-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/core-xml/.tshy/react-native.json b/sdk/core/core-xml/.tshy/react-native.json index dc2a5461ac4c..3720bb937e8d 100644 --- a/sdk/core/core-xml/.tshy/react-native.json +++ b/sdk/core/core-xml/.tshy/react-native.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/xml-browser.mts" + "../src/package.json", + "../src/xml-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native" diff --git a/sdk/core/logger/.tshy/browser.json b/sdk/core/logger/.tshy/browser.json index 8e0f24ce5707..5e245451d98d 100644 --- a/sdk/core/logger/.tshy/browser.json +++ b/sdk/core/logger/.tshy/browser.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/log-react-native.mts" + "../src/package.json", + "../src/log-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/browser" diff --git a/sdk/core/logger/.tshy/commonjs.json b/sdk/core/logger/.tshy/commonjs.json index a7aed6743533..25fa17fe8115 100644 --- a/sdk/core/logger/.tshy/commonjs.json +++ b/sdk/core/logger/.tshy/commonjs.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.cts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ "../src/**/*.mts", + "../src/package.json", "../src/log-browser.mts", "../src/log-react-native.mts" ], diff --git a/sdk/core/logger/.tshy/esm.json b/sdk/core/logger/.tshy/esm.json index 7467e5536567..19148314e710 100644 --- a/sdk/core/logger/.tshy/esm.json +++ b/sdk/core/logger/.tshy/esm.json @@ -3,11 +3,13 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/log-browser.mts", - ".././src/log-react-native.mts" + "../src/package.json", + "../src/log-browser.mts", + "../src/log-react-native.mts" ], "compilerOptions": { "outDir": "../.tshy-build/esm" diff --git a/sdk/core/logger/.tshy/react-native.json b/sdk/core/logger/.tshy/react-native.json index 1172ee291213..38052ef71984 100644 --- a/sdk/core/logger/.tshy/react-native.json +++ b/sdk/core/logger/.tshy/react-native.json @@ -3,10 +3,12 @@ "include": [ "../src/**/*.ts", "../src/**/*.mts", - "../src/**/*.tsx" + "../src/**/*.tsx", + "../src/**/*.json" ], "exclude": [ - ".././src/log-browser.mts" + "../src/package.json", + "../src/log-browser.mts" ], "compilerOptions": { "outDir": "../.tshy-build/react-native"