Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR policyinsights/resource-manager] Fix PolicyInsights code generation issue #1578

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
982 changes: 661 additions & 321 deletions packages/@azure/arm-policyinsights/lib/models/index.ts

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions packages/@azure/arm-policyinsights/lib/models/mappers.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
OperationsListResults,
Operation,
OperationDisplay,
OperationsListResults,
QueryFailure,
QueryFailureError
} from "../models/mappers";

Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
PolicyEvent,
PolicyEventsQueryResults,
PolicyEvent,
QueryFailure,
QueryFailureError
} from "../models/mappers";

Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
PolicyStatesQueryResults,
PolicyState,
PolicyEvaluationDetails,
ExpressionEvaluationDetails,
IfNotExistsEvaluationDetails,
PolicyAssignmentSummary,
PolicyDefinitionSummary,
PolicyEvaluationDetails,
PolicyState,
PolicyStatesQueryResults,
QueryFailure,
QueryFailureError,
SummarizeResults,
Summary,
SummaryResults
SummaryResults,
PolicyAssignmentSummary,
PolicyDefinitionSummary
} from "../models/mappers";

Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
PolicyDetails,
PolicyTrackedResource,
PolicyTrackedResourcesQueryResults,
PolicyTrackedResource,
PolicyDetails,
TrackedResourceModificationDetails,
QueryFailure,
QueryFailureError,
TrackedResourceModificationDetails
QueryFailureError
} from "../models/mappers";

Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

export {
BaseResource,
RemediationDeploymentsListResult,
RemediationDeployment,
ErrorDefinition,
TypedErrorInfo,
ErrorResponse,
Remediation,
RemediationDeployment,
RemediationDeploymentsListResult,
RemediationDeploymentSummary,
BaseResource,
RemediationFilters,
RemediationListResult,
TypedErrorInfo
RemediationDeploymentSummary,
RemediationListResult
} from "../models/mappers";

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/arm-policyinsights";
const packageVersion = "2.0.1";
const packageVersion = "2.1.0";

export class PolicyInsightsClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand Down
8 changes: 3 additions & 5 deletions packages/@azure/arm-policyinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "PolicyInsightsClient Library with typescript type definitions for node.js and browser.",
"version": "2.1.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.6.0",
"@azure/ms-rest-azure-js": "^1.2.0",
"@azure/ms-rest-js": "^1.2.0",
"tslib": "^1.9.3"
},
"keywords": [
Expand Down Expand Up @@ -44,7 +44,6 @@
"esm/**/*.d.ts",
"esm/**/*.d.ts.map",
"lib/**/*.ts",
"README.md",
"rollup.config.js",
"tsconfig.json"
],
Expand All @@ -53,6 +52,5 @@
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/arm-policyinsights.js.map'\" -o ./dist/arm-policyinsights.min.js ./dist/arm-policyinsights.js",
"prepack": "npm install && npm run build"
},
"sideEffects": false,
"autoPublish": true
"sideEffects": false
}