Skip to content

Commit

Permalink
CodeGen from PR 30741 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 5aa3959fc8171e59e721a55a2fb44151dae96249 into 851123422e57b3d9549306b3ac6277ee1a85b876
  • Loading branch information
SDKAuto committed Sep 26, 2024
1 parent 4db7fd5 commit 85e80f5
Show file tree
Hide file tree
Showing 35 changed files with 1,058 additions and 14,746 deletions.
9 changes: 5 additions & 4 deletions common/config/rush/pnpm-lock.yaml

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

128 changes: 43 additions & 85 deletions sdk/policyinsights/arm-policyinsights/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,50 @@
# Release History

## 6.0.0-beta.4 (Unreleased)

## 6.0.0 (2024-09-26)
### Features Added

### Breaking Changes

### Bugs Fixed
- Interface PolicyInsightsClientOptionalParams has a new optional parameter apiVersion
- Interface RemediationFilters has a new optional parameter resourceIds
- Added function getContinuationToken

### Other Changes
### Breaking Changes

- Removed operation group Attestations
- Removed operation group Operations
- Removed operation group PolicyEvents
- Removed operation group PolicyMetadataOperations
- Removed operation group PolicyRestrictions
- Removed operation group PolicyStates
- Removed operation group PolicyTrackedResources
- Class PolicyInsightsClient has a new signature
- Interface QueryOptions no longer has parameter apply
- Interface QueryOptions no longer has parameter expand
- Interface QueryOptions no longer has parameter from
- Interface QueryOptions no longer has parameter orderBy
- Interface QueryOptions no longer has parameter select
- Interface QueryOptions no longer has parameter skipToken
- Interface QueryOptions no longer has parameter to
- Interface RemediationsListDeploymentsAtManagementGroupNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListDeploymentsAtResourceGroupNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListDeploymentsAtResourceNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListDeploymentsAtSubscriptionNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListForManagementGroupNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListForResourceGroupNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListForResourceNextOptionalParams no longer has parameter queryOptions
- Interface RemediationsListForSubscriptionNextOptionalParams no longer has parameter queryOptions
- Class PolicyInsightsClient no longer has parameter attestations
- Class PolicyInsightsClient no longer has parameter operations
- Class PolicyInsightsClient no longer has parameter policyEvents
- Class PolicyInsightsClient no longer has parameter policyMetadataOperations
- Class PolicyInsightsClient no longer has parameter policyRestrictions
- Class PolicyInsightsClient no longer has parameter policyStates
- Class PolicyInsightsClient no longer has parameter policyTrackedResources
- Removed Enum KnownComplianceState
- Removed Enum KnownFieldRestrictionResult
- Removed Enum KnownPolicyStatesResource


## 6.0.0-beta.3 (2023-01-30)

### Features Added
Expand Down Expand Up @@ -103,84 +138,7 @@
- Operation PolicyTrackedResources.listQueryResultsForResourceGroup has a new signature
- Operation PolicyTrackedResources.listQueryResultsForSubscription has a new signature

## 6.0.0-beta.2 (2022-10-19)

### Features Added

- Added operation PolicyRestrictions.checkAtManagementGroupScope
- Added Interface Attestation
- Added Interface CheckManagementGroupRestrictionsRequest
- Added Interface PolicyMetadataProperties
- Added Interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams
- Added Type Alias PolicyEventsResourceType
- Added Type Alias PolicyRestrictionsCheckAtManagementGroupScopeResponse
- Added Type Alias PolicyStatesSummaryResourceType
- Added Type Alias PolicyTrackedResourcesResourceType
- Added Enum KnownPolicyEventsResourceType
- Added Enum KnownPolicyStatesSummaryResourceType
- Added Enum KnownPolicyTrackedResourcesResourceType

### Breaking Changes

- Operation PolicyEvents.listQueryResultsForManagementGroup has a new signature
- Operation PolicyEvents.listQueryResultsForPolicyDefinition has a new signature
- Operation PolicyEvents.listQueryResultsForPolicySetDefinition has a new signature
- Operation PolicyEvents.listQueryResultsForResource has a new signature
- Operation PolicyEvents.listQueryResultsForResourceGroup has a new signature
- Operation PolicyEvents.listQueryResultsForResourceGroupLevelPolicyAssignment has a new signature
- Operation PolicyEvents.listQueryResultsForSubscription has a new signature
- Operation PolicyEvents.listQueryResultsForSubscriptionLevelPolicyAssignment has a new signature
- Operation PolicyStates.summarizeForManagementGroup has a new signature
- Operation PolicyStates.summarizeForPolicyDefinition has a new signature
- Operation PolicyStates.summarizeForPolicySetDefinition has a new signature
- Operation PolicyStates.summarizeForResource has a new signature
- Operation PolicyStates.summarizeForResourceGroup has a new signature
- Operation PolicyStates.summarizeForResourceGroupLevelPolicyAssignment has a new signature
- Operation PolicyStates.summarizeForSubscription has a new signature
- Operation PolicyStates.summarizeForSubscriptionLevelPolicyAssignment has a new signature
- Operation PolicyTrackedResources.listQueryResultsForManagementGroup has a new signature
- Operation PolicyTrackedResources.listQueryResultsForResource has a new signature
- Operation PolicyTrackedResources.listQueryResultsForResourceGroup has a new signature
- Operation PolicyTrackedResources.listQueryResultsForSubscription has a new signature

## 6.0.0-beta.1 (2022-03-31)

### Features Added

- Added operation PolicyRestrictions.checkAtManagementGroupScope
- Added Interface CheckManagementGroupRestrictionsRequest
- Added Interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams
- Added Type Alias PolicyEventsResourceType
- Added Type Alias PolicyRestrictionsCheckAtManagementGroupScopeResponse
- Added Type Alias PolicyStatesSummaryResourceType
- Added Type Alias PolicyTrackedResourcesResourceType
- Added Enum KnownPolicyEventsResourceType
- Added Enum KnownPolicyStatesSummaryResourceType
- Added Enum KnownPolicyTrackedResourcesResourceType

### Breaking Changes

- Operation PolicyEvents.listQueryResultsForManagementGroup has a new signature
- Operation PolicyEvents.listQueryResultsForPolicyDefinition has a new signature
- Operation PolicyEvents.listQueryResultsForPolicySetDefinition has a new signature
- Operation PolicyEvents.listQueryResultsForResource has a new signature
- Operation PolicyEvents.listQueryResultsForResourceGroup has a new signature
- Operation PolicyEvents.listQueryResultsForResourceGroupLevelPolicyAssignment has a new signature
- Operation PolicyEvents.listQueryResultsForSubscription has a new signature
- Operation PolicyEvents.listQueryResultsForSubscriptionLevelPolicyAssignment has a new signature
- Operation PolicyStates.summarizeForManagementGroup has a new signature
- Operation PolicyStates.summarizeForPolicyDefinition has a new signature
- Operation PolicyStates.summarizeForPolicySetDefinition has a new signature
- Operation PolicyStates.summarizeForResource has a new signature
- Operation PolicyStates.summarizeForResourceGroup has a new signature
- Operation PolicyStates.summarizeForResourceGroupLevelPolicyAssignment has a new signature
- Operation PolicyStates.summarizeForSubscription has a new signature
- Operation PolicyStates.summarizeForSubscriptionLevelPolicyAssignment has a new signature
- Operation PolicyTrackedResources.listQueryResultsForManagementGroup has a new signature
- Operation PolicyTrackedResources.listQueryResultsForResource has a new signature
- Operation PolicyTrackedResources.listQueryResultsForResourceGroup has a new signature
- Operation PolicyTrackedResources.listQueryResultsForSubscription has a new signature

## 5.0.0 (2022-01-24)

The package of @azure/arm-policyinsights is using our next generation design principles since version 5.0.0, which contains breaking changes.
Expand All @@ -189,4 +147,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/policyinsights/arm-policyinsights/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions sdk/policyinsights/arm-policyinsights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure PolicyInsights client.

Query component policy states at varying resource scopes for Resource Provider mode policies.


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

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/policyinsights/arm-policyinsights/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "78ec1b99699a4bf44869bd13f1b0ed7d92a99c27",
"commit": "c7c9bf74d1a3e72160c80c7c094c8ac608a19cc0",
"readme": "specification/policyinsights/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\policyinsights\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.7 --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/policyinsights/resource-manager/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.6.0",
"use": "@autorest/[email protected].0-rc.7"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
75 changes: 32 additions & 43 deletions sdk/policyinsights/arm-policyinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for PolicyInsightsClient.",
"version": "6.0.0-beta.4",
"version": "6.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/abort-controller": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.6.1",
"@azure/core-lro": "^2.2.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -28,23 +26,24 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-policyinsights.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@microsoft/api-extractor": "^7.31.1",
"@types/chai": "^4.2.8",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^16.0.0",
"mkdirp": "^3.0.1",
"mocha": "^10.0.0",
"rimraf": "^5.0.5",
"ts-node": "^10.0.0",
"typescript": "~5.6.2",
"uglify-js": "^3.4.9"
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand All @@ -71,31 +70,29 @@
"types/*"
],
"scripts": {
"audit": "echo skipped",
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"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": "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",
"build:samples": "echo skipped.",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"update-snippets": "echo skipped"
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -107,13 +104,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policyinsights/arm-policyinsights",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-policyinsights?view=azure-node-preview"
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policyinsights/arm-policyinsights"
}
Loading

0 comments on commit 85e80f5

Please sign in to comment.