Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@
# PRLabel: %Mgmt
/sdk/notificationhubs/arm-notificationhubs/ @qiaozha @MaryGao @JialinHuang803

# PRLabel: %Mgmt
# PRLabel: %Mgmt %mgmt-review-needed
/sdk/operationalinsights/arm-operationalinsights/ @qiaozha @MaryGao @JialinHuang803

# PRLabel: %Mgmt
Expand Down
25 changes: 14 additions & 11 deletions pnpm-lock.yaml

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

87 changes: 87 additions & 0 deletions sdk/operationalinsights/arm-operationalinsights/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,92 @@
# Release History

## 11.0.0-beta.1 (2026-05-20)
Compared with version 10.1.0

### Features Added
- Added operation ClustersOperations.createOrUpdate
- Added operation ClustersOperations.delete
- Added operation ClustersOperations.update
- Added operation LinkedServicesOperations.createOrUpdate
- Added operation LinkedServicesOperations.delete
- Added operation SummaryLogsOperations.createOrUpdate
- Added operation SummaryLogsOperations.delete
- Added operation SummaryLogsOperations.retryBin
- Added operation SummaryLogsOperations.start
- Added operation TablesOperations.createOrUpdate
- Added operation TablesOperations.delete
- Added operation TablesOperations.update
- Added operation WorkspacesOperations.createOrUpdate
- Added operation WorkspacesOperations.delete
- Added operation WorkspacesOperations.failback
- Added operation WorkspacesOperations.failover
- Added operation WorkspacesOperations.reconcileNSP
- Added Interface ClusterPatchProperties
- Added Interface ClusterProperties
- Added Interface DataExportProperties
- Added Interface Destination
- Added Interface DestinationMetaData
- Added Interface LinkedServiceProperties
- Added Interface LinkedStorageAccountsProperties
- Added Interface LogAnalyticsQueryPackProperties
- Added Interface LogAnalyticsQueryPackQueryProperties
- Added Interface ManagementGroupProperties
- Added Interface PagedAsyncIterableIterator
- Added Interface PageSettings
- Added Interface QueriesListSearchOptionalParams
- Added Interface RestorePollerOptions
- Added Interface SavedSearchProperties
- Added Interface SimplePollerLike
- Added Interface StorageInsightProperties
- Added Interface SummaryLogsProperties
- Added Interface TableProperties
- Added Interface WorkspaceProperties
- Interface AzureEntityResource has a new optional parameter systemData
- Interface Cluster has a new optional parameter systemData
- Interface DataExport has a new optional parameter destination
- Interface DataExport has a new optional parameter systemData
- Interface DataSource has a new optional parameter systemData
- Interface LinkedService has a new optional parameter systemData
- Interface LinkedStorageAccountsResource has a new optional parameter systemData
- Interface ProxyResource has a new optional parameter systemData
- Interface Resource has a new optional parameter systemData
- Interface SavedSearch has a new optional parameter systemData
- Interface StorageInsight has a new optional parameter systemData
- Interface TrackedResource has a new optional parameter systemData
- Interface WorkspaceFeatures has a new optional parameter additionalProperties
- Interface WorkspacePatch has a new optional parameter systemData
- Added Type Alias AzureSupportedClouds
- Added Type Alias OperationalInsightsTableProvisioningState
- Added Enum AzureClouds
- Added Enum KnownOperationalInsightsTableProvisioningState
- Added Enum KnownVersions
- Enum KnownProvisioningStateEnum has a new value Canceled
- Enum KnownProvisioningStateEnum has a new value Failed

### Breaking Changes
- Operation SummaryLogs.beginDeleteAndWait has a new signature
- Operation SummaryLogs.beginRetryBinAndWait has a new signature
- Operation SummaryLogs.beginStartAndWait has a new signature
- Operation Workspaces.beginFailbackAndWait has a new signature
- Operation Workspaces.beginFailoverAndWait has a new signature
- Operation Workspaces.beginReconcileNSPAndWait has a new signature
- Removed Interface DataSourceFilter
- Removed Interface ErrorDetailAutoGenerated
- Removed Interface ErrorDetailAutoGenerated2
- Removed Interface ErrorResponseAutoGenerated
- Removed Interface ErrorResponseAutoGenerated2
- Removed Interface ProxyResourceAutoGenerated
- Removed Interface ProxyResourceAutoGenerated2
- Removed Interface QueriesSearchOptionalParams
- Removed Interface ResourceAutoGenerated
- Removed Interface ResourceAutoGenerated2
- Removed Interface TrackedResourceAutoGenerated
- Removed Interface WorkspaceReplicationPatProperties
- Interface DataExport no longer has parameter eventHubName
- Interface DataExport no longer has parameter resourceId
- Interface DataExport no longer has parameter typePropertiesDestinationType
- Enum KnownProvisioningStateEnum no longer has value InProgress

## 10.1.0 (2026-01-05)

### Features Added
Expand Down
22 changes: 11 additions & 11 deletions sdk/operationalinsights/arm-operationalinsights/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

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

Operational Insights Client
Provides NSP operations for working with Log Analytics.

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/arm-operationalinsights) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-operationalinsights) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-operationalinsights) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
Key links:

- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/arm-operationalinsights)
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-operationalinsights)
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-operationalinsights)
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/arm-operationalinsights/samples)

## Getting started

Expand Down Expand Up @@ -35,7 +37,7 @@ npm install @azure/arm-operationalinsights
To create a client object to access the Azure OperationalInsightsManagement API, you will need the `endpoint` of your Azure OperationalInsightsManagement resource and a `credential`. The Azure OperationalInsightsManagement client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure OperationalInsightsManagement resource in the [Azure Portal][azure_portal].

You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:

Expand Down Expand Up @@ -66,14 +68,15 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { OperationalInsightsManagementClient } from "@azure/arm-operationalinsights";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new OperationalInsightsManagementClient(credential, subscriptionId);
```


### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

Expand All @@ -99,7 +102,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur

## Next steps

Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/arm-operationalinsights/samples) directory for detailed examples on how to use this library.

## Contributing

Expand All @@ -109,9 +112,6 @@ If you'd like to contribute to this library, please read the [contributing guide

- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)


[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
Expand Down
8 changes: 0 additions & 8 deletions sdk/operationalinsights/arm-operationalinsights/_meta.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/operationalinsights/arm-operationalinsights",
"Tag": "js/operationalinsights/arm-operationalinsights_d7833c3de6"
"Tag": "js/operationalinsights/arm-operationalinsights_f51859bffd"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"extends": "../../../../eng/tsconfigs/samples.json",
"compilerOptions": {
"paths": {
"@azure/arm-operationalinsights": [
"../dist/esm"
]
"@azure/arm-operationalinsights": ["../dist/esm"]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"extends": "../../../../eng/tsconfigs/src.browser.json",
"include": [
"../src/index.ts"
]
"include": ["../src/index.ts"]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"extends": "../../../../eng/tsconfigs/src.cjs.json",
"include": [
"../src/index.ts"
]
"include": ["../src/index.ts"]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{
"extends": "../../../../eng/tsconfigs/src.esm.json",
"include": [
"../src/index.ts"
]
"include": ["../src/index.ts"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "../../../../eng/tsconfigs/test.browser.json",
"compilerOptions": {
"paths": {
"@azure/arm-operationalinsights": ["../src/index.ts"],
"@azure/arm-operationalinsights/*": ["../src/*"],
"$internal/*": ["../src/*"]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{
"extends": "../../../../eng/tsconfigs/test.node.json"
"extends": "../../../../eng/tsconfigs/test.node.json",
"compilerOptions": {
"paths": {
"@azure/arm-operationalinsights": ["../src/index.ts"],
"@azure/arm-operationalinsights/*": ["../src/*"],
"$internal/*": ["../src/*"]
}
}
}
Loading