Skip to content

Microsoft.OperationalInsights: Preview version 2023-01-01-preview #28945

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

Closed
wants to merge 19 commits into from
Closed
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"summaryLogsName": "summarylogs1"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-01-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"summaryLogsName": "summarylogs1"
},
"responses": {
"200": {
"body": {
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2020-02-03T04:05:06Z"
},
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable_CL",
"binSize": 180,
"binDelay": 10,
"binStartTime": "2020-02-03T04:05:06Z",
"destinationTable": "MyDestinationTable_CL"
},
"provisioningState": "Succeeded",
"isActive": false,
"statusCode": "UserAction"
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/summarylogs1",
"name": "summarylogs1"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1"
},
"responses": {
"200": {
"body": {
"value": [
{
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2023-02-03T04:05:06Z"
},
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable_CL",
"binSize": 180,
"binDelay": 10,
"binStartTime": "2020-02-03T04:05:06Z",
"destinationTable": "MyDestinationTable_CL"
},
"provisioningState": "Succeeded",
"isActive": false,
"statusCode": "UserAction"
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/summarylogs1",
"name": "summarylogs1"
},
{
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2023-04-03T04:05:06Z"
},
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable2_CL",
"binSize": 720,
"binDelay": 60,
"destinationTable": "MyDestinationTable2_CL"
},
"provisioningState": "Updating",
"isActive": true
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/summaryLogs2",
"name": "summaryLogs2"
},
{
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2023-04-06T04:05:06Z"
},
"properties": {
"ruleType": "System"
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/microsoftSystemRule",
"name": "microsoftSystemRule"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"summaryLogsName": "summarylogs1"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-01-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"summaryLogsName": "summarylogs1"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"workspaceName": "oiautorest6685",
"api-version": "2023-01-01-preview",
"subscriptionId": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"summaryLogsName": "summarylogs1",
"parameters": {
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable_CL",
"binSize": 180,
"binDelay": 10,
"binStartTime": "2020-02-03T04:05:06Z",
"destinationTable": "MyDestinationTable_CL"
}
}
}
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-01-01-preview",
"location": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summarylogs/summarylogs1/operationresults/7fb7ae54-18a3-44ed-9604-139df1c7568e?api-version=2023-01-01-preview"
},
"body": {
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2020-02-03T04:05:06Z"
},
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable_CL",
"binSize": 180,
"binDelay": 10,
"binStartTime": "2020-02-03T04:05:06Z",
"destinationTable": "MyDestinationTable_CL"
},
"provisioningState": "Updating",
"isActive": false
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/summarylogs1",
"name": "summarylogs1"
}
},
"201": {
"headers": {
"azure-asyncoperation": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/providers/Microsoft.OperaitonalInsights/locations/eastus/operationstatuses/62e4d893-d233-4005-988e-a428d9f77076?api-version=2023-01-01-preview",
"location": "https://management.azure.com/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summarylogs/summarylogs1/operationresults/7fb7ae54-18a3-44ed-9604-139df1c7568e?api-version=2023-01-01-preview"
},
"body": {
"systemData": {
"createdBy": "a6822126-b54e-4e38-b9d0-a3de5fbf5db1",
"createdAt": "2020-02-03T04:05:06Z"
},
"properties": {
"ruleType": "User",
"ruleDefinition": {
"query": "MyTable_CL",
"binSize": 180,
"binDelay": 10,
"binStartTime": "2020-02-03T04:05:06Z",
"destinationTable": "MyDestinationTable_CL"
},
"provisioningState": "Updating",
"isActive": false
},
"id": "/subscriptions/a6822126-b54e-4e38-b9d0-a3de5fbf5db1/resourceGroups/oiautorest6685/providers/Microsoft.OperationalInsights/workspaces/oiautorest6685/summaryLogs/summarylogs1",
"name": "summarylogs1"
}
}
}
}
31 changes: 30 additions & 1 deletion specification/operationalinsights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,35 @@ openapi-type: arm
tag: package-2023-09
```

### Tag: package-2023-01-preview

These settings apply only when `--tag=package-2023-01-preview` is specified on the command line.

```yaml $(tag) == 'package-2023-01-preview'
Copy link
Member

@razvanbadea-msft razvanbadea-msft May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package-2023-01-previe

I see there is a stable version 2023-09-01, shouldn't the preview version be 2024-01-01? #Resolved

Copy link
Contributor Author

@dulikvor dulikvor May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Work on that preview version started before the stable one. it was also at private preview up until this point. when switching from private preview to public usually the same preview version is kept. one of the reasons why the old privatepreview post fix was deprecated in favor of using the same preview version. when we will switch to stable version in the future it will have a different future date.

input-file:
- Microsoft.OperationalInsights/stable/2023-09-01/Operations.json
- Microsoft.OperationalInsights/stable/2023-09-01/Workspaces.json
- Microsoft.OperationalInsights/stable/2022-10-01/Tables.json
- Microsoft.OperationalInsights/stable/2019-09-01/QueryPacks.json
- Microsoft.OperationalInsights/stable/2019-09-01/QueryPackQueries.json
- Microsoft.OperationalInsights/stable/2020-08-01/DataExports.json
- Microsoft.OperationalInsights/stable/2020-08-01/DataSources.json
- Microsoft.OperationalInsights/stable/2020-08-01/IntelligencePacks.json
- Microsoft.OperationalInsights/stable/2020-08-01/LinkedServices.json
- Microsoft.OperationalInsights/stable/2020-08-01/LinkedStorageAccounts.json
- Microsoft.OperationalInsights/stable/2020-08-01/ManagementGroups.json
- Microsoft.OperationalInsights/stable/2020-08-01/OperationStatuses.json
- Microsoft.OperationalInsights/stable/2020-08-01/SharedKeys.json
- Microsoft.OperationalInsights/stable/2020-08-01/Usages.json
- Microsoft.OperationalInsights/stable/2020-08-01/StorageInsightConfigs.json
- Microsoft.OperationalInsights/stable/2020-08-01/SavedSearches.json
- Microsoft.OperationalInsights/stable/2020-08-01/AvailableServiceTiers.json
- Microsoft.OperationalInsights/stable/2020-08-01/Gateways.json
- Microsoft.OperationalInsights/stable/2020-08-01/Schema.json
- Microsoft.OperationalInsights/stable/2020-08-01/WorkspacePurge.json
- Microsoft.OperationalInsights/stable/2022-10-01/Clusters.json
- Microsoft.OperationalInsights/preview/2023-01-01-preview/SummaryLogs.json
```

### Tag: package-2023-09

Expand Down Expand Up @@ -371,4 +400,4 @@ directive:
- from: OperationalInsights.json
suppress: R3006 # BodyTopLevelProperties/R3006/RPCViolation
reason: properties etag defined as eTag in model
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
suppressions:
azure-sdk-for-python:
- package: azure-mgmt-loganalytics
breaking-changes:
- Model Table no longer has parameter is_troubleshoot_enabled
- Model Table no longer has parameter is_troubleshooting_allowed
- Model Table no longer has parameter last_troubleshoot_date
- Model Workspace no longer has parameter e_tag
- Removed operation TablesOperations.create
- Renamed operation TablesOperations.update to TablesOperations.begin_update
azure-sdk-for-go:
- package: sdk/resourcemanager/operationalinsights/armoperationalinsights
breaking-changes:
- Operation `*TablesClient.Update` has been changed to LRO, use `*TablesClient.BeginUpdate` instead.
- Type of `Cluster.Identity` has been changed from `*Identity` to `*ManagedServiceIdentity`
- Type of `ClusterPatch.Identity` has been changed from `*Identity` to `*ManagedServiceIdentity`
azure-sdk-for-js:
- package: '@azure/arm-operationalinsights'
breaking-changes:
- Type of parameter createdByType of interface SystemData is changed from IdentityType to CreatedByType
- Type of parameter createdByType of interface SystemDataAutoGenerated is changed from CreatedByType to IdentityType
- Type of parameter identity of interface Cluster is changed from Identity to ManagedServiceIdentity
- Type of parameter identity of interface ClusterPatch is changed from Identity to ManagedServiceIdentity
- Type of parameter lastModifiedByType of interface SystemData is changed from IdentityType to CreatedByType
- Type of parameter lastModifiedByType of interface SystemDataAutoGenerated is changed from CreatedByType to IdentityType
- Type of parameter systemData of interface AzureResourceProperties is changed from SystemData to SystemDataAutoGenerated
- Type of parameter systemData of interface Table is changed from SystemDataAutoGenerated to SystemData
- Type of parameter systemData of interface Workspace is changed from SystemDataAutoGenerated to SystemData