Skip to content

Commit

Permalink
Merge pull request Azure#233 from kairu-ms/feature-log-analytics-2022…
Browse files Browse the repository at this point in the history
…-10-01-support

support operation insights 2022-10-01
  • Loading branch information
kairu-ms authored Jul 20, 2023
2 parents e3a2b00 + 4d02a34 commit d1b41a4
Show file tree
Hide file tree
Showing 32 changed files with 13,043 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Commands/monitor/log-analytics/workspace/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a workspace instance
```bash
monitor log-analytics workspace create -g MyResourceGroup -n MyWorkspace
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{} 2022-10-01 -->

#### examples

- Create a workspace instance
```bash
monitor log-analytics workspace create -g MyResourceGroup -n MyWorkspace
```
16 changes: 16 additions & 0 deletions Commands/monitor/log-analytics/workspace/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,19 @@ The name is kept for 14 days and cannot be used for another workspace. To remove
```bash
monitor log-analytics workspace delete --force --resource-group MyResourceGroup --workspace-name MyWorkspace
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{} 2022-10-01 -->

#### examples

- Soft delete a workspace instance.
```bash
monitor log-analytics workspace delete --resource-group MyResourceGroup --workspace-name MyWorkspace
```

- Completely delete a workspace instance.
```bash
monitor log-analytics workspace delete --force --resource-group MyResourceGroup --workspace-name MyWorkspace
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ Get a list of deleted workspaces that can be recovered in a subscription or a re
```bash
monitor log-analytics workspace list-deleted-workspaces --resource-group MyResourceGroup
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL2RlbGV0ZWR3b3Jrc3BhY2Vz/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.operationalinsights/deletedworkspaces 2022-10-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/deletedworkspaces 2022-10-01 -->

#### examples

- Get a list of deleted workspaces that can be recovered in a resource group
```bash
monitor log-analytics workspace list-deleted-workspaces --resource-group MyResourceGroup
```
5 changes: 5 additions & 0 deletions Commands/monitor/log-analytics/workspace/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ Get a list of workspaces under a resource group or a subscription.

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.operationalinsights/workspaces 2021-12-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces 2021-12-01-preview -->

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXM=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.operationalinsights/workspaces 2022-10-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces 2022-10-01 -->
11 changes: 11 additions & 0 deletions Commands/monitor/log-analytics/workspace/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Show a workspace instance.
```bash
monitor log-analytics workspace show --resource-group MyResourceGroup --workspace-name MyWorkspace
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{} 2022-10-01 -->

#### examples

- Show a workspace instance.
```bash
monitor log-analytics workspace show --resource-group MyResourceGroup --workspace-name MyWorkspace
```
16 changes: 16 additions & 0 deletions Commands/monitor/log-analytics/workspace/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@ Update a workspace instance.
```bash
monitor log-analytics workspace update --resource-group myresourcegroup --workspace-name myworkspace --data-collection-rule "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}".
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{} 2022-10-01 -->

#### examples

- Update a workspace instance.
```bash
monitor log-analytics workspace update --resource-group myresourcegroup --retention-time 30 --workspace-name myworkspace
```

- Update the defaultDataCollectionRuleResourceId of the workspace
```bash
monitor log-analytics workspace update --resource-group myresourcegroup --workspace-name myworkspace --data-collection-rule "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}".
```
4 changes: 4 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Create a Log Analytics workspace table.
### [2021-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2021-12-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2021-12-01-preview -->

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2022-10-01 -->
4 changes: 4 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Delete a Log Analytics workspace table.
### [2021-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2021-12-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2021-12-01-preview -->

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2022-10-01 -->
11 changes: 11 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ List all the tables for the given Log Analytics workspace.
```bash
monitor log-analytics workspace table list --resource-group MyResourceGroup --workspace-name MyWorkspace
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVz/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables 2022-10-01 -->

#### examples

- List all the tables for the given Log Analytics workspace
```bash
monitor log-analytics workspace table list --resource-group MyResourceGroup --workspace-name MyWorkspace
```
11 changes: 11 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Migrate a Log Analytics table from support of the Data Collector API and Custom
```bash
monitor log-analytics workspace table migrate --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyTable_CL
```

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9L21pZ3JhdGU=/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}/migrate 2022-10-01 -->

#### examples

- Migrate a Log Analytics workspace table.
```bash
monitor log-analytics workspace table migrate --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyTable_CL
```
4 changes: 4 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Get a Log Analytics workspace table.
### [2021-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2021-12-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2021-12-01-preview -->

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2022-10-01 -->
4 changes: 4 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Update a Log Analytics workspace table.
### [2021-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2021-12-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2021-12-01-preview -->

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{} 2022-10-01 -->
5 changes: 5 additions & 0 deletions Commands/monitor/log-analytics/workspace/table/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Manage tables for log analytics workspace.

## Subgroups

- [search-job](/Commands/monitor/log-analytics/workspace/table/search-job/readme.md)
: Manage tables for log analytics workspace search results table.

## Commands

- [create](/Commands/monitor/log-analytics/workspace/table/_create.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _monitor log-analytics workspace table search-job cancel_

Cancel a log analytics workspace search results table query run.

## Versions

### [2022-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9L2NhbmNlbHNlYXJjaA==/2022-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}/cancelsearch 2022-10-01 -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _monitor log-analytics workspace table search-job_

Manage tables for log analytics workspace search results table.

## Commands

- [cancel](/Commands/monitor/log-analytics/workspace/table/search-job/_cancel.md)
: Cancel a log analytics workspace search results table query run.
Loading

0 comments on commit d1b41a4

Please sign in to comment.