From a3b3b62464f076d218c792cbbe329e0c43abad76 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 28 Jun 2022 10:03:11 +0000 Subject: [PATCH] CodeGen from PR 19416 in Azure/azure-rest-api-specs Merge a5e497b1fe22a163e1c9a50f6d5d1eaa0d6210bf into 8ff7d5ef46f43875262110a4b2df7357bdf4369c --- .../arm-operationalinsights/CHANGELOG.md | 14 ++------------ .../arm-operationalinsights/_meta.json | 6 +++--- .../arm-operationalinsights/package.json | 14 ++------------ .../review/arm-operationalinsights.api.md | 2 +- .../arm-operationalinsights/src/models/index.ts | 2 +- .../src/operations/workspacePurge.ts | 3 +++ .../src/operationsInterfaces/workspacePurge.ts | 3 +++ .../arm-operationalinsights/tsconfig.json | 10 ++-------- 8 files changed, 17 insertions(+), 37 deletions(-) diff --git a/sdk/operationalinsights/arm-operationalinsights/CHANGELOG.md b/sdk/operationalinsights/arm-operationalinsights/CHANGELOG.md index 068c1cf2c992..960dffdf6ade 100644 --- a/sdk/operationalinsights/arm-operationalinsights/CHANGELOG.md +++ b/sdk/operationalinsights/arm-operationalinsights/CHANGELOG.md @@ -1,16 +1,6 @@ # Release History - -## 9.0.0-beta.2 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 9.0.0-beta.1 (2022-06-24) + +## 9.0.0-beta.2 (2022-06-28) **Features** diff --git a/sdk/operationalinsights/arm-operationalinsights/_meta.json b/sdk/operationalinsights/arm-operationalinsights/_meta.json index 97555f514029..77b31aca7602 100644 --- a/sdk/operationalinsights/arm-operationalinsights/_meta.json +++ b/sdk/operationalinsights/arm-operationalinsights/_meta.json @@ -1,8 +1,8 @@ { - "commit": "d8dd0de9c27c21a3802a780fbef2844fcbbb4daa", + "commit": "722b16620d1349b74522d076c9ab3fcdfb0a1e25", "readme": "specification/operationalinsights/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:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\operationalinsights\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/operationalinsights/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "release_tool": "@azure-tools/js-sdk-release-tools@2.3.2", - "use": "@autorest/typescript@6.0.0-beta.20" + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/operationalinsights/arm-operationalinsights/package.json b/sdk/operationalinsights/arm-operationalinsights/package.json index edaeefd8cdb1..e72129d712aa 100644 --- a/sdk/operationalinsights/arm-operationalinsights/package.json +++ b/sdk/operationalinsights/arm-operationalinsights/package.json @@ -43,8 +43,6 @@ "@azure-tools/test-recorder": "^2.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "@types/chai": "^4.2.8", - "chai": "^4.2.0", "cross-env": "^7.0.2", "@azure/dev-tool": "^1.0.0" }, @@ -110,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-operationalinsights?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/operationalinsights/arm-operationalinsights/review/arm-operationalinsights.api.md b/sdk/operationalinsights/arm-operationalinsights/review/arm-operationalinsights.api.md index 3960697ddd22..0a5bf2e0e2ef 100644 --- a/sdk/operationalinsights/arm-operationalinsights/review/arm-operationalinsights.api.md +++ b/sdk/operationalinsights/arm-operationalinsights/review/arm-operationalinsights.api.md @@ -1065,7 +1065,7 @@ export interface PrivateLinkScopedResource { export type ProvisioningStateEnum = string; // @public -export type ProxyResource = Resource; +export type ProxyResource = Resource & {}; // @public export type PublicNetworkAccessType = string; diff --git a/sdk/operationalinsights/arm-operationalinsights/src/models/index.ts b/sdk/operationalinsights/arm-operationalinsights/src/models/index.ts index fd5f2d4146b1..cc19bb70fc0c 100644 --- a/sdk/operationalinsights/arm-operationalinsights/src/models/index.ts +++ b/sdk/operationalinsights/arm-operationalinsights/src/models/index.ts @@ -917,7 +917,7 @@ export type LogAnalyticsQueryPackQuery = AzureResourceProperties & { }; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export type ProxyResource = Resource; +export type ProxyResource = Resource & {}; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export type TrackedResource = Resource & { diff --git a/sdk/operationalinsights/arm-operationalinsights/src/operations/workspacePurge.ts b/sdk/operationalinsights/arm-operationalinsights/src/operations/workspacePurge.ts index 59cb12087176..23b3c60eafcd 100644 --- a/sdk/operationalinsights/arm-operationalinsights/src/operations/workspacePurge.ts +++ b/sdk/operationalinsights/arm-operationalinsights/src/operations/workspacePurge.ts @@ -38,6 +38,9 @@ export class WorkspacePurgeImpl implements WorkspacePurge { * should batch the execution of purge requests by sending a single command whose predicate includes * all user identities that require purging. Use the in operator to specify multiple identities. You * should run the query prior to using for a purge request to verify that the results are expected. + * Log Analytics only supports purge operations required for compliance with GDPR. The Log Analytics + * product team reserves the right to reject requests for purge operations that are not for the purpose + * of GDPR compliance. In the event of a dispute, please create a support ticket * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param body Describes the body of a request to purge data in a single table of an Log Analytics diff --git a/sdk/operationalinsights/arm-operationalinsights/src/operationsInterfaces/workspacePurge.ts b/sdk/operationalinsights/arm-operationalinsights/src/operationsInterfaces/workspacePurge.ts index 6ef05b2fd144..66b9d0c42c1b 100644 --- a/sdk/operationalinsights/arm-operationalinsights/src/operationsInterfaces/workspacePurge.ts +++ b/sdk/operationalinsights/arm-operationalinsights/src/operationsInterfaces/workspacePurge.ts @@ -23,6 +23,9 @@ export interface WorkspacePurge { * should batch the execution of purge requests by sending a single command whose predicate includes * all user identities that require purging. Use the in operator to specify multiple identities. You * should run the query prior to using for a purge request to verify that the results are expected. + * Log Analytics only supports purge operations required for compliance with GDPR. The Log Analytics + * product team reserves the right to reject requests for purge operations that are not for the purpose + * of GDPR compliance. In the event of a dispute, please create a support ticket * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param workspaceName The name of the workspace. * @param body Describes the body of a request to purge data in a single table of an Log Analytics diff --git a/sdk/operationalinsights/arm-operationalinsights/tsconfig.json b/sdk/operationalinsights/arm-operationalinsights/tsconfig.json index fccdcc69f6d3..3e6ae96443f3 100644 --- a/sdk/operationalinsights/arm-operationalinsights/tsconfig.json +++ b/sdk/operationalinsights/arm-operationalinsights/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-operationalinsights": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"