Skip to content

Commit

Permalink
Merge pull request #586 from JingchuanHuangMSFT/main
Browse files Browse the repository at this point in the history
Update pipeline-group API version 2024-10-01-preview
  • Loading branch information
kairu-ms authored Oct 24, 2024
2 parents 7bf1187 + f7d6d82 commit c6650b8
Show file tree
Hide file tree
Showing 12 changed files with 2,845 additions and 3 deletions.
11 changes: 11 additions & 0 deletions Commands/monitor/pipeline-group/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create a pipeline group instance.
```bash
monitor pipeline-group create --resource-group myResourceGroup --pipeline-group-name plGroup1 --location eastus2 --extended-location "{name:/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation,type:CustomLocation}" --tags "{tag1:A,tag2:B}" --receivers "[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]" --processors "[]" --exporters "[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]" --service "{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}"
```

### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2024-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2024-10-01-preview -->

#### examples

- Create a PipelineGroup instance using UDP receiver
```bash
monitor pipeline-group create --resource-group myResourceGroup --pipeline-group-name plGroup1 --location eastus2 --extended-location "{name:/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation,type:CustomLocation}" --tags "{tag1:A,tag2:B}" --receivers "[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]" --processors "[]" --exporters "[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]" --service "{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}"
```
4 changes: 4 additions & 0 deletions Commands/monitor/pipeline-group/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Delete a pipeline group instance.
### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2023-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2023-10-01-preview -->

### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2024-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2024-10-01-preview -->
5 changes: 5 additions & 0 deletions Commands/monitor/pipeline-group/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ List all workspaces in the specified subscription

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.monitor/pipelinegroups 2023-10-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups 2023-10-01-preview -->

### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBz/2024-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.monitor/pipelinegroups 2024-10-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups 2024-10-01-preview -->
4 changes: 4 additions & 0 deletions Commands/monitor/pipeline-group/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Get the specific pipeline group instance.
### [2023-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2023-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2023-10-01-preview -->

### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2024-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2024-10-01-preview -->
11 changes: 11 additions & 0 deletions Commands/monitor/pipeline-group/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update a pipeline group instance.
```bash
monitor pipeline-group update --resource-group myResourceGroup --pipeline-group-name plGroup1 --receivers "[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]" --processors "[]" --exporters "[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]" --service "{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}"
```

### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5tb25pdG9yL3BpcGVsaW5lZ3JvdXBzL3t9/2024-10-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{} 2024-10-01-preview -->

#### examples

- Update a pipeline-group instance
```bash
monitor pipeline-group update --resource-group myResourceGroup --pipeline-group-name plGroup1 --receivers "[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]" --processors "[]" --exporters "[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]" --service "{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}"
```
6 changes: 3 additions & 3 deletions Commands/monitor/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ Manage the Azure Monitor Service.
- [metrics](/Commands/monitor/metrics/readme.md)
: View Azure resource metrics.

- [pipeline-group](/Commands/monitor/pipeline-group/readme.md)
: Manage Pipeline Groups

- [private-link-scope](/Commands/monitor/private-link-scope/readme.md)
: Manage monitor private link scope resource.

- [tenant-action-group](/Commands/monitor/tenant-action-group/readme.md)
: monitor tenant-action-group

- [pipeline-group](/Commands/monitor/pipeline-group/readme.md)
: Manage Pipeline Groups
71 changes: 71 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -72945,6 +72945,24 @@
"version": "2023-10-01-preview"
}
]
},
{
"examples": [
{
"commands": [
"monitor pipeline-group create --resource-group myResourceGroup --pipeline-group-name plGroup1 --location eastus2 --extended-location \"{name:/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.extendedlocation/customlocations/myTestCustomLocation,type:CustomLocation}\" --tags \"{tag1:A,tag2:B}\" --receivers \"[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]\" --processors \"[]\" --exporters \"[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]\" --service \"{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}\""
],
"name": "Create a PipelineGroup instance using UDP receiver"
}
],
"name": "2024-10-01-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{}",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
}
]
}
]
},
Expand All @@ -72967,6 +72985,16 @@
"version": "2023-10-01-preview"
}
]
},
{
"name": "2024-10-01-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{}",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
}
]
}
]
},
Expand Down Expand Up @@ -72994,6 +73022,21 @@
"version": "2023-10-01-preview"
}
]
},
{
"name": "2024-10-01-preview",
"resources": [
{
"id": "/subscriptions/{}/providers/microsoft.monitor/pipelinegroups",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
},
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
}
]
}
]
},
Expand All @@ -73016,6 +73059,16 @@
"version": "2023-10-01-preview"
}
]
},
{
"name": "2024-10-01-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{}",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
}
]
}
]
},
Expand Down Expand Up @@ -73046,6 +73099,24 @@
"version": "2023-10-01-preview"
}
]
},
{
"examples": [
{
"commands": [
"monitor pipeline-group update --resource-group myResourceGroup --pipeline-group-name plGroup1 --receivers \"[{type:UDP,name:udp-receiver1,udp:{endpoint:'0.0.0.0:518',encoding:utf-8}}]\" --processors \"[]\" --exporters \"[{type:AzureMonitorWorkspaceLogs,name:my-workspace-logs-exporter1,azure-monitor-workspace-logs:{api:{data-collection-endpoint-url:'https://logs-myingestion-eb0s.eastus-1.ingest.monitor.azure.com',stream:Custom-MyTableRawData_CL,data-collection-rule:dcr-00000000000000000000000000000000,schema:{record-map:[{from:body,to:Body},{from:severity_text,to:SeverityText},{from:time_unix_nano,to:TimeGenerated}]}},concurrency:{worker-count:4,batch-queue-size:100}}}]\" --service \"{pipelines:[{name:MyPipelineForLogs1,type:logs,receivers:[udp-receiver1],processors:[],exporters:[my-workspace-logs-exporter1]}]}\""
],
"name": "Update a pipeline-group instance"
}
],
"name": "2024-10-01-preview",
"resources": [
{
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.monitor/pipelinegroups/{}",
"plane": "mgmt-plane",
"version": "2024-10-01-preview"
}
]
}
]
}
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit c6650b8

Please sign in to comment.