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

policyinsights release #23552

Merged
merged 4 commits into from
Oct 19, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
41 changes: 21 additions & 20 deletions common/config/rush/pnpm-lock.yaml

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

16 changes: 4 additions & 12 deletions sdk/policyinsights/arm-policyinsights/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
# Release History

## 6.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

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

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

**Features**

- Added operation PolicyRestrictions.checkAtManagementGroupScope
- Added Interface Attestation
- Added Interface CheckManagementGroupRestrictionsRequest
- Added Interface PolicyMetadataProperties
- Added Interface PolicyRestrictionsCheckAtManagementGroupScopeOptionalParams
- Added Type Alias PolicyEventsResourceType
- Added Type Alias PolicyRestrictionsCheckAtManagementGroupScopeResponse
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": "3c1da29166fe1306071c939ac1344b092bafd0ce",
"commit": "54b27b92dc50b8f7361c6afb9872066ab14700b5",
"readme": "specification/policyinsights/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\policyinsights\\resource-manager\\readme.md --use=@autorest/[email protected]alpha.18.20220329.1 --generate-sample=true",
"autorest_command": "autorest --version=3.8.4 --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\\policyinsights\\resource-manager\\readme.md --use=@autorest/[email protected]rc.2.20221018.1 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "@autorest/[email protected]alpha.18.20220329.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected]rc.2.20221018.1"
}
22 changes: 13 additions & 9 deletions sdk/policyinsights/arm-policyinsights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -36,13 +36,18 @@
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.2.0",
"typescript": "~4.6.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policyinsights/arm-policyinsights",
"repository": {
Expand Down Expand Up @@ -93,9 +98,8 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -115,4 +119,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-policyinsights?view=azure-node-preview"
}
}
}

This file was deleted.

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ import { PollerLike } from '@azure/core-lro';
import { PollOperationState } from '@azure/core-lro';

// @public
export type Attestation = Resource & {
readonly systemData?: SystemData;
policyAssignmentId: string;
policyDefinitionReferenceId?: string;
export interface Attestation extends Resource {
assessmentDate?: Date;
comments?: string;
complianceState?: ComplianceState;
evidence?: AttestationEvidence[];
expiresOn?: Date;
readonly lastComplianceStateChangeAt?: Date;
metadata?: Record<string, unknown>;
owner?: string;
comments?: string;
evidence?: AttestationEvidence[];
policyAssignmentId: string;
policyDefinitionReferenceId?: string;
readonly provisioningState?: string;
readonly lastComplianceStateChangeAt?: Date;
};
readonly systemData?: SystemData;
}

// @public
export interface AttestationEvidence {
Expand Down Expand Up @@ -312,13 +314,9 @@ export enum KnownComplianceState {

// @public
export enum KnownCreatedByType {
// (undocumented)
Application = "Application",
// (undocumented)
Key = "Key",
// (undocumented)
ManagedIdentity = "ManagedIdentity",
// (undocumented)
User = "User"
}

Expand All @@ -331,27 +329,22 @@ export enum KnownFieldRestrictionResult {

// @public
export enum KnownPolicyEventsResourceType {
// (undocumented)
Default = "default"
}

// @public
export enum KnownPolicyStatesResource {
// (undocumented)
Default = "default",
// (undocumented)
Latest = "latest"
}

// @public
export enum KnownPolicyStatesSummaryResourceType {
// (undocumented)
Latest = "latest"
}

// @public
export enum KnownPolicyTrackedResourcesResourceType {
// (undocumented)
Default = "default"
}

Expand Down Expand Up @@ -715,10 +708,10 @@ export interface PolicyMetadataOperations {
}

// @public
export type PolicyMetadataProperties = PolicyMetadataSlimProperties & {
export interface PolicyMetadataProperties extends PolicyMetadataSlimProperties {
readonly description?: string;
readonly requirements?: string;
};
}

// @public
export interface PolicyMetadataSlimProperties {
Expand Down
Loading