Skip to content

Commit 5f8fbf0

Browse files
colawwjSDK Automation
andauthored
Sdk automation/@Azure arm operationalinsights (Azure#12276)
Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
1 parent 526de1e commit 5f8fbf0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+154
-151
lines changed

sdk/operationalinsights/arm-operationalinsights/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install @azure/arm-operationalinsights
1515

1616
### How to use
1717

18-
#### nodejs - Authentication, client creation and listByWorkspace dataExports as an example written in TypeScript.
18+
#### nodejs - client creation and listByWorkspace dataExports as an example written in TypeScript.
1919

2020
##### Install @azure/ms-rest-nodeauth
2121

@@ -26,11 +26,10 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0"
2626

2727
##### Sample code
2828

29+
While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package
2930
```typescript
30-
import * as msRest from "@azure/ms-rest-js";
31-
import * as msRestAzure from "@azure/ms-rest-azure-js";
32-
import * as msRestNodeAuth from "@azure/ms-rest-nodeauth";
33-
import { OperationalInsightsManagementClient, OperationalInsightsManagementModels, OperationalInsightsManagementMappers } from "@azure/arm-operationalinsights";
31+
const msRestNodeAuth = require("@azure/ms-rest-nodeauth");
32+
const { OperationalInsightsManagementClient } = require("@azure/arm-operationalinsights");
3433
const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
3534

3635
msRestNodeAuth.interactiveLogin().then((creds) => {

sdk/operationalinsights/arm-operationalinsights/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-operationalinsights",
33
"author": "Microsoft Corporation",
44
"description": "OperationalInsightsManagementClient Library with typescript type definitions for node.js and browser.",
5-
"version": "4.0.0",
5+
"version": "5.0.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.0.1",
88
"@azure/ms-rest-js": "^2.0.4",

sdk/operationalinsights/arm-operationalinsights/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
"@azure/ms-rest-azure-js": "msRestAzure"
2222
},
2323
banner: `/*
24-
* Copyright (c) Microsoft Corporation. All rights reserved.
25-
* Licensed under the MIT License. See License.txt in the project root for license information.
24+
* Copyright (c) Microsoft Corporation.
25+
* Licensed under the MIT License.
2626
*
2727
* Code generated by Microsoft (R) AutoRest Code Generator.
2828
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/availableServiceTiersMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/clustersMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/dataExportsMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/dataSourcesMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/deletedWorkspacesMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/gatewaysMappers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.

sdk/operationalinsights/arm-operationalinsights/src/models/index.ts

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) Microsoft Corporation. All rights reserved.
3-
* Licensed under the MIT License. See License.txt in the project root for license information.
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
44
*
55
* Code generated by Microsoft (R) AutoRest Code Generator.
66
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
@@ -19,10 +19,6 @@ export interface DataExport extends BaseResource {
1919
* The data export rule ID.
2020
*/
2121
dataExportId?: string;
22-
/**
23-
* When ‘true’, all workspace's tables are exported.
24-
*/
25-
allTables?: boolean;
2622
/**
2723
* An array of tables to export, for example: [“Heartbeat, SecurityEvent”].
2824
*/
@@ -73,7 +69,9 @@ export interface ErrorAdditionalInfo {
7369
}
7470

7571
/**
76-
* The resource management error response.
72+
* Common error response for all Azure Resource Manager APIs to return error details for failed
73+
* operations. (This also follows the OData error response format.)
74+
* @summary Error Response
7775
*/
7876
export interface ErrorResponse {
7977
/**
@@ -115,11 +113,12 @@ export interface DataExportErrorResponse {
115113
}
116114

117115
/**
118-
* An interface representing Resource.
116+
* Common fields that are returned in the response for all Azure Resource Manager resources
117+
* @summary Resource
119118
*/
120119
export interface Resource extends BaseResource {
121120
/**
122-
* Fully qualified resource Id for the resource. Ex -
121+
* Fully qualified resource ID for the resource. Ex -
123122
* /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
124123
* **NOTE: This property will not be serialized. It can only be populated by the server.**
125124
*/
@@ -130,15 +129,17 @@ export interface Resource extends BaseResource {
130129
*/
131130
readonly name?: string;
132131
/**
133-
* The type of the resource. Ex- Microsoft.Compute/virtualMachines or
134-
* Microsoft.Storage/storageAccounts.
132+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
133+
* "Microsoft.Storage/storageAccounts"
135134
* **NOTE: This property will not be serialized. It can only be populated by the server.**
136135
*/
137136
readonly type?: string;
138137
}
139138

140139
/**
141-
* The resource model definition for a ARM tracked top level resource
140+
* The resource model definition for an Azure Resource Manager tracked top level resource which has
141+
* 'tags' and a 'location'
142+
* @summary Tracked Resource
142143
*/
143144
export interface TrackedResource extends Resource {
144145
/**
@@ -152,7 +153,8 @@ export interface TrackedResource extends Resource {
152153
}
153154

154155
/**
155-
* The resource model definition for a Azure Resource Manager resource with an etag.
156+
* The resource model definition for an Azure Resource Manager resource with an etag.
157+
* @summary Entity Resource
156158
*/
157159
export interface AzureEntityResource extends Resource {
158160
/**
@@ -163,8 +165,9 @@ export interface AzureEntityResource extends Resource {
163165
}
164166

165167
/**
166-
* The resource model definition for a ARM proxy resource. It will have everything other than
167-
* required location and tags
168+
* The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
169+
* and a location
170+
* @summary Proxy Resource
168171
*/
169172
export interface ProxyResource extends Resource {
170173
}
@@ -1137,6 +1140,16 @@ export interface DataSourcesListByWorkspaceOptionalParams extends msRest.Request
11371140
skiptoken?: string;
11381141
}
11391142

1143+
/**
1144+
* Optional Parameters.
1145+
*/
1146+
export interface DataSourcesListByWorkspaceNextOptionalParams extends msRest.RequestOptionsBase {
1147+
/**
1148+
* Starting point of the collection of data source instances.
1149+
*/
1150+
skiptoken?: string;
1151+
}
1152+
11401153
/**
11411154
* Optional Parameters.
11421155
*/

0 commit comments

Comments
 (0)